Commit graph

12 commits

Author SHA1 Message Date
KeybadeBlox
4dae5206c0 Minor decompiling in JSRF/Core 2026-01-02 23:14:59 -05:00
KeybadeBlox
1b08163c08 Disable inlining
JSRF appears to have it disabled despite other optimizations.  Even if
it was enabled, anyways, we'd still be decompiling the post-inlining
functions and wouldn't want any further inlining to take place (we want
the compiler to compile each function the way we write it).
2026-01-02 22:38:23 -05:00
KeybadeBlox
08abfd3913 Finish populating JSRF/Core 2026-01-02 00:05:52 -05:00
KeybadeBlox
22a8c350eb Correct .data section ranges in delinked objects
The change in the previous commit was a silly case of not thinking
things through, not realizing that the .data range moved to Core.obj was
nowhere near the beginning of the section as it should be.  g_game has
been moved back into Jet2.obj (time will tell if this is correct) and a
missed data strucure at the beginning of .data (where it ought to be)
now makes up Core.obj's .data portion.
2025-12-30 00:39:14 -05:00
KeybadeBlox
22a0e1fa9a Update progress 2025-12-29 00:54:59 -05:00
KeybadeBlox
8eda56dcdf Change executable section flags to please objiff
objdiff assumes that all symbols in executable memory sections are code,
which led to misbehaviour due to .rdata and .data being marked as
executable in JSRF.  We now set these sections to non-executable in
Ghidra to work around this.
2025-12-21 19:36:09 -05:00
KeybadeBlox
fe94d467df Update repository URLs 2025-12-18 22:41:08 -05:00
KeybadeBlox
115052d2a5 Rewrite readme for official decomp repository
I guess this isn't just notes anymore.
2025-12-18 22:38:21 -05:00
KeybadeBlox
1a48d4323e Complete delink workflow; separate from decomp
We can now create a fresh Ghidra project, import the JSRF executable
into it, import symbols into it, delink object files from it, and then
decompile with objdiff.  Just needs some documentation.
2025-12-16 22:30:49 -05:00
KeybadeBlox
87c56f01d6 Update delink.sh for Windows
If you've cloned this repository on Windows, you have either a POSIX
environment or Git Bash and can run this script.  It just needs to call
the right headless Ghidra script depending on the OS (which it now tries
to do).
2025-12-14 23:55:08 -05:00
KeybadeBlox
fe20d64d27 Add delink POSIX script
Also reworked the directory structure a little.
2025-12-14 22:53:33 -05:00
KeybadeBlox
aaddf5213a Initial commit 2025-12-10 22:38:12 -05:00