Skip to content

Commit

Permalink
misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
y-ack committed Jan 13, 2023
1 parent 433d1d9 commit c120ae6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# PalMod (for Land Maker)
forked because the original maintainer doesn't want to expand scope outside fighting games (understandably)

previews were previously handled by 'imgdat,' a non-modular binary format with poor compression that depended on one person with private scripts.
since it'd be pointless without previews, y stripped that out. we now load .RAW or indexed .PNG previews from a "Previews/" folder in the same directory.
`Previews/Section/Game-unit-0x00-imgid-0x00-H-0-W-0.png`

probably not maintained(?)


original readme:

---

# PalMod
Palette-editing software for classic fighting games, mostly centered around Capcom games.

Expand Down
3 changes: 3 additions & 0 deletions palmod/PreviewGen/renamePreviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
print("failed to match imgid for file ", f,"(parsed img key '",img_k,"')")

# GAME-unit-0xUU-imgid-0xII-W-#-H-#-compF-#
# compF is probably compression format, but we're incompatible with it
# we do not handle rle nonsense because we just load pngs
# y is 9, so let's set that (bad) ww
newName = game+'-unit-'+unit_id+'-imgid-'+img_id+'-W-'+width+'-H-'+height+'-compF-9'
print(newName)

Expand Down

0 comments on commit c120ae6

Please sign in to comment.