Pc port - #487
Closed
Lyraedan wants to merge 40 commits into
Closed
Conversation
- Makefile.pc: auto-detect ARM GNU toolchain under build/deps (was hardcoded darwin-arm64), prefer pkg-config libpng over the slow source auto-build, and use -idirafter for the project include/ on PC-backend objects so SDL's <strings.h> is not shadowed by the game's include/strings.h. - main_game.c: guard execinfo/backtrace/sigaction crash handlers with #ifndef _WIN32 (mingw-w64 lacks them). - tools/gen_assets.py: generate every INCBIN-referenced derived asset (*.4bpp/.8bpp/.1bpp from .png, *.pmdpal/.gbapal from .pal) via gbagfx; idempotent + parallel; handles multi-arg INCBIN_U8(a,b,...) concat form. pc-syntax now passes 544/544.
…kground image when adding audio, can get into Tiny Woods 1F
In data/titlemenu_sbin.s, titlen1's header is emitted with .string "AT4PX" — GNU as's .string appends a NUL, so the blob becomes "AT4PX" + 0x00 + data instead of the real "AT4PX" + 0x47 + data. That corrupts the compressed-length field (clen becomes 0x4100 instead of 0x4147), so DecompressATFile produces garbage for titlen1. The PC's RNG always picks rnd=1, so the corruption always appears.
…irectory as the exe
…ase, town, etc, but there is collision in dungeons)
…ape no longer closes the game, pressing the "x" on the window should now correctly close the game
Author
|
Was suppose to PR this into my own repo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Game is playable, audio sounds a little higher then it should