Arrange decompilation source/target in directories

This commit is contained in:
KeybadeBlox 2025-12-17 21:46:17 -05:00
parent 21c3864bb7
commit 1c8eb137ee
11 changed files with 9 additions and 9 deletions

View file

@ -6,12 +6,12 @@
], ],
"units": [ "units": [
{ {
"name": "Jet2", "name": "JSRF/Jet2",
"target_path": "target/Jet2.obj", "target_path": "target/JSRF/Jet2.obj",
"base_path": "src/Jet2.obj", "base_path": "src/JSRF/Jet2.obj",
"complete": true,
"metadata": { "metadata": {
"source_path": "src/Jet2.cpp" "source_path": "src/JSRF/Jet2.cpp",
"complete": true
}, },
"symbol_mappings": { "symbol_mappings": {
"_main_handler": "$L522", "_main_handler": "$L522",
@ -19,4 +19,4 @@
} }
} }
] ]
} }

View file

@ -51,7 +51,7 @@ delink() {
# $2: Ghidra project path # $2: Ghidra project path
# $3: Ghidra project name # $3: Ghidra project name
# $4: Whitespace-separated address ranges to include in object # $4: Whitespace-separated address ranges to include in object
# $5: Output path (inside /target) # $5: Output path (inside decompile/target/)
# Call the right script depending on whether we're on Windows # Call the right script depending on whether we're on Windows
# (this seems like the most reliable method I can find for POSIX sh) # (this seems like the most reliable method I can find for POSIX sh)
if [ -n "$WINDIR" ]; then suffix=.bat if [ -n "$WINDIR" ]; then suffix=.bat

View file

@ -1,6 +1,6 @@
Object,Delink?,.text,.text$x,D3D,DSOUND,MMATRIX,XGRPH,XPP,.rdata,.rdata$x,.data,DOLBY Object,Delink?,.text,.text$x,D3D,DSOUND,MMATRIX,XGRPH,XPP,.rdata,.rdata$x,.data,DOLBY
Core.obj,false,0x00011000-0x00013FF0,0x00186BA0-0x00186C1F,,,,,,0x001C4390-0x001C44FF,0x001E4D20-0x001E4DAB,0x00251D40-0x00251DAB, JSRF/Core.obj,false,0x00011000-0x00013FF0,0x00186BA0-0x00186C1F,,,,,,0x001C4390-0x001C44FF,0x001E4D20-0x001E4DAB,0x00251D40-0x00251DAB,
Jet2.obj,true,0x0006F9E0-0x0006FA6F,0x00187710-0x00187724,,,,,,,0x001E620C-0x001E622F,0x0022FCE0-0x0022FCE7, JSRF/Jet2.obj,true,0x0006F9E0-0x0006FA6F,0x00187710-0x00187724,,,,,,,0x001E620C-0x001E622F,0x0022FCE0-0x0022FCE7,
ADX (need to decompose),false,0x0013A570-0x0014555F,?,,,,,,?,?,?, ADX (need to decompose),false,0x0013A570-0x0014555F,?,,,,,,?,?,?,
XDK Core (need to decompose),false,0x00145560-0x0014B79F,?,,,,,,?,?,?, XDK Core (need to decompose),false,0x00145560-0x0014B79F,?,,,,,,?,?,?,
Smilebit libs (need to decompose),false,0x0014B7A0-0x0017BF3F,?,,,,,,?,?,?-0x0022ED2B, Smilebit libs (need to decompose),false,0x0014B7A0-0x0017BF3F,?,,,,,,?,?,?-0x0022ED2B,

1 Object Delink? .text .text$x D3D DSOUND MMATRIX XGRPH XPP .rdata .rdata$x .data DOLBY
2 Core.obj JSRF/Core.obj false 0x00011000-0x00013FF0 0x00186BA0-0x00186C1F 0x001C4390-0x001C44FF 0x001E4D20-0x001E4DAB 0x00251D40-0x00251DAB
3 Jet2.obj JSRF/Jet2.obj true 0x0006F9E0-0x0006FA6F 0x00187710-0x00187724 0x001E620C-0x001E622F 0x0022FCE0-0x0022FCE7
4 ADX (need to decompose) false 0x0013A570-0x0014555F ? ? ? ?
5 XDK Core (need to decompose) false 0x00145560-0x0014B79F ? ? ? ?
6 Smilebit libs (need to decompose) false 0x0014B7A0-0x0017BF3F ? ? ? ?-0x0022ED2B