Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement .pic to .2bpp decompression #470

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

Rangi42
Copy link
Member

@Rangi42 Rangi42 commented Sep 24, 2024

Fixes #350

This correctly uncompresses every .pic file to exactly reproduce its .2bpp data:

$ for f in `find gfx -name '*.pic'`; do tools/pkmncompress -u $f ${f%pic}tmp; done
$ for f in `find gfx -name '*.tmp'`; do cmp $f ${f%tmp}2bpp; done
$ find gfx -name '*.tmp' -delete

@Rangi42 Rangi42 force-pushed the uncompress branch 6 times, most recently from b8c13aa to 67748f6 Compare September 25, 2024 19:10
@Rangi42 Rangi42 marked this pull request as ready for review September 25, 2024 19:17
@Rangi42 Rangi42 requested review from mid-kid and dannye and removed request for mid-kid and dannye September 25, 2024 19:17
@Rangi42 Rangi42 force-pushed the uncompress branch 5 times, most recently from 09f67fe to c33ebdb Compare September 25, 2024 19:45
@Rangi42 Rangi42 merged commit 9a2f1b2 into pret:master Sep 26, 2024
1 check passed
@Rangi42 Rangi42 deleted the uncompress branch September 26, 2024 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend tools/pkmncompress.c to allow decompressing .pic to .2bpp
1 participant