sonicretro/s2disasm

hidden palace restoration error

Opened this issue · 24 comments

hello! so i am trying to restore hidden palace zone by clownacys tutorial, all of the stuff i did correctly until this:

i swear i did everything right so what is going on

image
the image

You wrote a '1' instead of a 'l' for the operand size. The size denotes whether it is word sized (2 bytes) or longword sized (4 bytes).

no i swear in the tutorial you putted a 1
(Level_HPZ1_FG).1,A1 is what i typed

If I did, then that was a mistake: it should be an 'l'.

so i type: (Level_HPZ1_FG).I,A1

Yes.

alright

alright i typed that and the same error shows up
image

Why must 'l' and 'I' look the same in so many fonts? I mean a lowercase 'L', not an uppercase 'i'. The 'l' is short for 'longword'.

ohh lmao

ok that got rid of it

image
i think i have not implemented the chunks correct

i use kenssharp frontend to decompress

That looks more like a tile problem to me: corrupt chunks would at least still show whole tiles, but that shows nothing but garbage data.

A disassembly's issue tracker isn't the best place to help debug a ROM-hack: you might be better off joining SSRG's or MDDC's Discord server.

image
Color pal changes, then crashes
EDIT: PROBLEM RESOLVED! i was using the new disasm update which makes the file extensions kos, so i thought you had to actually compress the layout files to kos! just rename the .dat to .kos and you're good!

what

theres a new disasm update????????
edit:i was talking abt knuckles in sonic 2,not sonic 2

theres a new disasm update???????? edit:i was talking abt knuckles in sonic 2,not sonic 2

It has not been updated in the last fourth months, but since you mentioned it, I have now brought it up to date with the the main disassembly.

ok ill try it

ok uhm i swear i fixed this but its persistent
image

fixed that but what the hell does this mean
image

You have an 'endif' on line 21061 of s2.asm that does not have a corresponding 'if' before it. Every 'if' must be terminated with an 'endif', and every 'endif' be preceded by an 'if'. A section of your code must be missing.

um ok ill redo everything

is this still on?