Fixed wrong offsets

This commit is contained in:
KiritoDv 2025-02-05 01:33:10 -06:00
parent ddf9db7bb7
commit 9bce23cb07
3 changed files with 34 additions and 3 deletions

View File

@ -9,8 +9,8 @@ audio_setup:
type: NAUDIO:V1:AUDIO_SETUP
driver: SF64
audio_seq:
size: 0x3AFD0
offset: 0xE9950
size: 0x3AB10
offset: 0xDD890
audio_bank:
size: 0x1CB20
offset: 0x1183A0

View File

@ -118,4 +118,33 @@ d064229a32cc05ab85e2381ce07744eb3ffaf530:
# - include/sf64mesg.h
# - include/sf64audio_external.h
# - include/sf64event.h
# - include/sf64player.
# - include/sf64player.h
c8a10699dea52f4bb2e2311935c1376dfb352e7a:
name: Star Fox 64 (CN) (V1.1) (Compressed)
preprocess:
decompress_mio0:
method: mio0-comptool
type: decompress
target: 3a05aba5549fa71e8b16a0c6e2c8481b070818a9
restart: true
3a05aba5549fa71e8b16a0c6e2c8481b070818a9:
name: Star Fox 64 (CN) (V1.1)
path: assets/yaml/cn/rev1
config:
gbi: F3DEX
sort: OFFSET
logging: INFO
output:
binary: ./mods/sf64cn.o2r
code: src/cn/assets
headers: include/assets
modding: src/cn/assets
# enums:
# - include/sf64object.h
# - include/sf64level.h
# - include/sf64mesg.h
# - include/sf64audio_external.h
# - include/sf64event.h
# - include/sf64player.h

View File

@ -16,6 +16,8 @@ std::unordered_map<std::string, std::string> mGameList = {
{ "d064229a32cc05ab85e2381ce07744eb3ffaf530", "Star Fox 64 (J) (V1.0) (Uncompressed)" },
{ "05b307b8804f992af1a1e2fbafbd588501fdf799", "Star Fox 64 (E) (V1.0)" },
{ "09f5d5c14219fc77a36c5a6ad5e63f7abd8b3385", "Star Fox 64 (E) (V1.0) (Uncompressed)" },
{ "c8a10699dea52f4bb2e2311935c1376dfb352e7a", "Star Fox 64 (C) (V1.1)" },
{ "3a05aba5549fa71e8b16a0c6e2c8481b070818a9", "Star Fox 64 (C) (V1.1) (Uncompressed)" },
};
bool GameExtractor::SelectGameFromUI() {