mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
- Decompile and patch `texture.gc` for PC - Improve decompiler when offset doesn't fit in immediate (for types larger than 8k and some scratchpad accesses) - Fix symbol->string issues in both jak 1 and 2 - Fix bug with VIF interrupt used to profile VU code (hooked up to OpenGLRenderer BucketRenderers in PC port) - Support `~o` in `format`. - Uncomment stuff in `merc.gc` that now works! ![image](https://user-images.githubusercontent.com/48171810/189505469-941b4a3e-23c7-4740-aa1b-2e461ed19fa9.png) fixes https://github.com/open-goal/jak-project/issues/1850
121 lines
3 KiB
CMake
121 lines
3 KiB
CMake
add_library(
|
|
decomp
|
|
|
|
analysis/analyze_inspect_method.cpp
|
|
analysis/atomic_op_builder.cpp
|
|
analysis/cfg_builder.cpp
|
|
analysis/expression_build.cpp
|
|
analysis/final_output.cpp
|
|
analysis/find_defpartgroup.cpp
|
|
analysis/find_defstates.cpp
|
|
analysis/find_skelgroups.cpp
|
|
analysis/inline_asm_rewrite.cpp
|
|
analysis/insert_lets.cpp
|
|
analysis/label_types.cpp
|
|
analysis/mips2c.cpp
|
|
analysis/reg_usage.cpp
|
|
analysis/stack_spill.cpp
|
|
analysis/static_refs.cpp
|
|
analysis/symbol_def_map.cpp
|
|
analysis/type_analysis.cpp
|
|
analysis/variable_naming.cpp
|
|
|
|
data/dir_tpages.cpp
|
|
data/game_count.cpp
|
|
data/game_text.cpp
|
|
data/streamed_audio.cpp
|
|
data/StrFileReader.cpp
|
|
data/TextureDB.cpp
|
|
data/tpage.cpp
|
|
|
|
Disasm/Instruction.cpp
|
|
Disasm/InstructionDecode.cpp
|
|
Disasm/InstructionMatching.cpp
|
|
Disasm/InstructionParser.cpp
|
|
Disasm/OpcodeInfo.cpp
|
|
Disasm/Register.cpp
|
|
|
|
Function/BasicBlocks.cpp
|
|
Function/CfgVtx.cpp
|
|
Function/Function.cpp
|
|
|
|
IR2/AtomicOp.cpp
|
|
IR2/AtomicOpForm.cpp
|
|
IR2/AtomicOpTypeAnalysis.cpp
|
|
IR2/bitfields.cpp
|
|
IR2/Env.cpp
|
|
IR2/ExpressionHelpers.cpp
|
|
IR2/Form.cpp
|
|
IR2/FormExpressionAnalysis.cpp
|
|
IR2/FormStack.cpp
|
|
IR2/GenericElementMatcher.cpp
|
|
IR2/LabelDB.cpp
|
|
IR2/OpenGoalMapping.cpp
|
|
|
|
level_extractor/BspHeader.cpp
|
|
level_extractor/extract_collide_frags.cpp
|
|
level_extractor/extract_common.cpp
|
|
level_extractor/extract_level.cpp
|
|
level_extractor/extract_merc.cpp
|
|
level_extractor/extract_tfrag.cpp
|
|
level_extractor/extract_tie.cpp
|
|
level_extractor/extract_shrub.cpp
|
|
level_extractor/fr3_to_gltf.cpp
|
|
level_extractor/MercData.cpp
|
|
level_extractor/tfrag_tie_fixup.cpp
|
|
|
|
ObjectFile/LinkedObjectFile.cpp
|
|
ObjectFile/LinkedObjectFileCreation.cpp
|
|
ObjectFile/ObjectFileDB.cpp
|
|
ObjectFile/ObjectFileDB_IR2.cpp
|
|
|
|
types2/ForwardProp.cpp
|
|
types2/types2.cpp
|
|
|
|
util/config_parsers.cpp
|
|
util/data_decompile.cpp
|
|
util/DataParser.cpp
|
|
util/DecompilerTypeSystem.cpp
|
|
util/goal_data_reader.cpp
|
|
util/sparticle_decompile.cpp
|
|
util/TP_Type.cpp
|
|
util/type_utils.cpp
|
|
|
|
VuDisasm/VuDisassembler.cpp
|
|
VuDisasm/VuInstruction.cpp
|
|
|
|
config.cpp)
|
|
|
|
target_link_libraries(decomp
|
|
lzokay
|
|
common
|
|
fmt
|
|
stb_image
|
|
xdelta3
|
|
tiny_gltf
|
|
)
|
|
|
|
add_executable(decompiler
|
|
main.cpp)
|
|
|
|
target_link_libraries(decompiler
|
|
decomp
|
|
common
|
|
lzokay
|
|
fmt
|
|
stb_image
|
|
tiny_gltf)
|
|
|
|
|
|
add_executable(extractor
|
|
extractor/main.cpp extractor/extractor_util.hpp )
|
|
|
|
target_link_libraries(extractor
|
|
decomp
|
|
common
|
|
lzokay
|
|
fmt
|
|
compiler
|
|
stb_image
|
|
tiny_gltf)
|