encounter / decomp-toolkit

A GameCube & Wii decompilation toolkit
Apache License 2.0
115 stars 16 forks source link

[BUG] failed to analyze Karaoke Revolution Party (GK9EA4) #62

Open ieee802dot11ac opened 4 months ago

ieee802dot11ac commented 4 months ago

Repository URL

https://github.com/ieee802dot11ac/krp

Game Name

Karaoke Revolution Party

Game Version

NTSC-U/C

Description

the SPLIT stage of the ninja script fails with the following error:

[1/2] SPLIT config/GK9EA4/config.yml
FAILED: build/GK9EA4/config.json 
build/tools/dtk dol split config/GK9EA4/config.yml build/GK9EA4
 INFO Loading config/GK9EA4/config.yml
 INFO Loading and analyzing 1 module (using 1 thread)
 WARN module{name=main}: Failed to locate _rom_copy_info    
 WARN module{name=main}: Failed to locate BSS sections    
Failed: While loading object 'main.dol'

Caused by:
    Couldn't determine alignment for section '.data5' (0x802CC660 -> 0x803B3F80)
ninja: error: rebuilding 'build.ninja': subcommand failed

This appears to be caused by the fact that ProDG GCC for GameCube emits less data sections in the dol than MetroWerks for GameCube does, only having .data0 through .data4 before hitting the .bss sections.

ieee802dot11ac commented 4 months ago

After using the latest release of dtk, there is a new set of errors visible in the uploaded log. err.log