{"id":18391147,"url":"https://github.com/fragglet/doom-limited-palette","last_synced_at":"2025-07-09T15:36:35.823Z","repository":{"id":136770851,"uuid":"149033471","full_name":"fragglet/doom-limited-palette","owner":"fragglet","description":"Doom limited palette hack","archived":false,"fork":false,"pushed_at":"2019-02-19T01:11:31.000Z","size":385,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T08:11:37.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fragglet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-16T20:34:17.000Z","updated_at":"2023-02-18T16:23:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f76c6cb4-994c-49b6-9d9a-bb21ccc2a7a4","html_url":"https://github.com/fragglet/doom-limited-palette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fragglet%2Fdoom-limited-palette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fragglet%2Fdoom-limited-palette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fragglet%2Fdoom-limited-palette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fragglet%2Fdoom-limited-palette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fragglet","download_url":"https://codeload.github.com/fragglet/doom-limited-palette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543858,"owners_count":21121838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T01:50:50.422Z","updated_at":"2025-04-12T09:00:23.376Z","avatar_url":"https://github.com/fragglet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a \"limited\" version of the Doom palette for making gameplay mods which\nare \"compatible\" with various Doom WADs that use custom palettes. Specifically\nthis palette is compatible with the following:\n\n* [Back to Saturn X](https://doomwiki.org/wiki/Back_to_Saturn_X) episode 1 \u0026 2\n* [Doom 2 the Way id Did](https://doomwiki.org/wiki/Doom_2_the_Way_id_Did)\n* [Sunlust](https://doomwiki.org/wiki/Sunlust)\n\nNot supported because their custom palettes are too different to Doom's\noriginal palette to make something compatible:\n\n* [Ancient Aliens](https://doomwiki.org/wiki/Ancient_Aliens)\n* [Dimension of the Boomed](https://www.doomworld.com/forum/topic/92574-dimension-of-the-boomed/)\n\n## How to use with deutex\n\nIf you're using [deutex](https://doomwiki.org/wiki/DeuTex) to build your WADs,\nthis is easy to use. Simply copy `doom2.wad` from this repository and add\n`-doom2 doom2.wad` to the deutex command line. For example:\n\n```\ndeutex -doom2 doom2.wad -build wadinfo.txt my-wad.wad\n```\n\nFeedback is requested on how to use this with other tools; I myself usually\nuse deutex. If you have suggestions please get in contact or file a pull\nrequest.\n\n## Explanation\n\nBack to Saturn X (along with other mods listed above) has a palette that is a\nderivative of the Doom palette. The following animation shows how the two\ndiffer:\n\n![Palette animation](img/palette-anim.gif)\n\nThe result is that if a mod is created for Doom's stock palette, most of the\nimage will display correctly under the modified palette, but there will likely\nbe \"patches\" with wrong-color artifacting caused by the disparity. Here's an\nexample from a weapons mod that increases the number of animation frames for\nDoom's weapons:\n\n![Purple artifacts in SSG flash](img/purple-artifacting.png)\n\nMost of the weapon displays correctly but there are purple areas in the gun\nflash caused by the fact that the BTSX palette replaces part of the\nwhite/yellow color range with purple colors. Mods which replace the palette\navoid this problem by replacing every sprite and graphic.\n\nThe limited palette here takes the Doom palette and \"blocks out\" entries in\nthe palette which have been changed in popular PWADs (some color ranges, like\nthe blue range, are kept because they are \"compatible\" even though they\nhave been changed). The changed color entries are replaced by cyan, which is\nusually used in Doom editing for transparency. When converting graphics to\nthis palette, these palette entries will therefore be avoided:\n\n![Limited palette animation](img/limited-palette-anim.gif)\n\nWhen built with the limited palette, the artifacting then disappears:\n\n![SSG flash with no artifacting](img/no-artifacting.png)\n\nThere's only a very small amount of lost quality caused by using the modified\npalette (at least in this example):\n\n![Animation showing lost quality with limited palette](img/quality-difference.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffragglet%2Fdoom-limited-palette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffragglet%2Fdoom-limited-palette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffragglet%2Fdoom-limited-palette/lists"}