sonicretro / s2disasm

Sonic 2 Disassembly
243 stars 74 forks source link

"ROM size is $100000 bytes (1024 KiB). About $684 bytes are padding" #62

Open theflamer12 opened 2 months ago

theflamer12 commented 2 months ago

ROM size is $100000 bytes (1024 KiB). About $684 bytes are padding.

s2.asm(78960):7: error #1010: symbol undefined MapRUnc_Sonic.frame45 dc.l MapRUnc_Sonic.frame45

s2.asm(78961):7: error #1010: symbol undefined
MapRUnc_Sonic.frame46
 dc.l MapRUnc_Sonic.frame46

s2.asm(78962):7: error #1010: symbol undefined MapRUnc_Sonic.frame47 dc.l MapRUnc_Sonic.frame47

s2.asm(78963):7: error #1010: symbol undefined
MapRUnc_Sonic.frame48
 dc.l MapRUnc_Sonic.frame48

whenever i build s2 after editing the idle (which is using the same number of tiles as the og) it says this, i've tried everything but nothing is working

FourHawk commented 2 months ago

this tends to happen after editing the sprites for sonic. the "Sega" screen loads sprites of sonic, those "undefined symbols" normally point to the DPLC file for sonic, normally they line up, but sprite editors tend to change the names of things in said DPLC files which causes this error.

EDIT-I meant DPLC, not mappings, fixed that error

theflamer12 commented 2 months ago

now it is telling me

s2.asm(78960): error #1107: undefined attribute MapRUnc_Sonic.frame45 s2.asm(78961): error #1107: undefined attribute MapRUnc_Sonic.frame46 s2.asm(78962): error #1107: undefined attribute MapRUnc_Sonic.frame47 s2.asm(78963): error #1107: undefined attribute MapRUnc_Sonic.frame48

theflamer12 commented 2 months ago

i actually found out that i needed to add the "MapRUnc_sonic.frame" into the asm label but idk how to add all 4 of them