Pages: 1
Posted on 12-31-20, 08:57 pm (rev. 1 by  utubeluigi4life on 12-31-20, 09:04 pm)
Goomba
bashfulwizard

Karma: 39
Posts: 17/24
Since: 01-14-18
I'm working on my ROM hack, and I've discovered an issue. If I use the asm scripts via the template, and then attempt the use the hex edit code from skawo (2183E00BB220D2E1 -> 2183E00B0000A0E1), the code isn't in the rom anymore and forcing the edit where the line used to be will brick the file. Wondering if there's an asm script that does the same thing.
_________________________


Posted on 01-01-21, 05:53 am (rev. 1 by  poudink on 01-01-21, 05:53 am)
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 1190/1447
Since: 02-12-16
when you do hex edits on overlays, you need to do it on the overlays inside the template's bak folder.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 01-01-21, 09:32 pm
Goomba
bashfulwizard

Karma: 39
Posts: 18/24
Since: 01-14-18
Posted by poudink
when you do hex edits on overlays, you need to do it on the overlays inside the template's bak folder.


Could you clarify how I can do that? I tried looking for the values in the main.bin file but couldn't find it, nor in any of the other files. (I'm still kind of new to hex editing stuff so )
_________________________


Posted on 01-01-21, 10:58 pm
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 1192/1447
Since: 02-12-16
each file in the bak folder is an overlay. in this case it should probably be in main.bin.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 01-01-21, 11:19 pm
Goomba
bashfulwizard

Karma: 39
Posts: 19/24
Since: 01-14-18
Posted by poudink
each file in the bak folder is an overlay. in this case it should probably be in main.bin.


Nope, cannot find the value in the main.bin file. It's also not in the other files, so I don't know what's up.
_________________________


Posted on 01-01-21, 11:40 pm
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 1194/1447
Since: 02-12-16
It should be though. The way this works is that the first time you use the template it takes the rom's overlays and arm9 binary and puts them in the bak folder. Then, when it has to compile code, it uses the "clean" overlays inside the bak folder so that it doesn't re-apply code to overlays that already have the code. This removes any hex edits you did to the overlays or arm9 binary because they are replaced with the ones in the bak folder.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 01-02-21, 01:51 am (rev. 3 by  utubeluigi4life on 01-02-21, 01:56 am)
Goomba
bashfulwizard

Karma: 39
Posts: 20/24
Since: 01-14-18
Posted by poudink
It should be though. The way this works is that the first time you use the template it takes the rom's overlays and arm9 binary and puts them in the bak folder. Then, when it has to compile code, it uses the "clean" overlays inside the bak folder so that it doesn't re-apply code to overlays that already have the code. This removes any hex edits you did to the overlays or arm9 binary because they are replaced with the ones in the bak folder.


I see, but I just can't find the value in the overlay files, nor the rom after I compile. I'm stuck right now basically. It seems to disappear from the rom after I use the asm hacks in the source folder.
_________________________


Pages: 1