Bounty to whoever can fix my rom!

Go down

Bounty to whoever can fix my rom!

Post by GweiloGopher on Sat 24 Nov 2018 - 17:19

I started modding Hylian Legacy about a year ago (chose it because I liked the customized start menu). I've put in many hours and have three full dungeons completed, working on two more.

The problem I ran into is that the custom start menu created a issue where statues cannot coexist with any other sprite in the same room. After confirming the issue exists with the original romhack creator IntimFuchtler, I'm now a little stuck.

I have made multiple puzzles for the last two dungeons that include statues so fixing this issue is a must. Either returning to the original start menu or somehow fixing the glitch.

If anyone would like to tackle the issue, I would be extremely grateful and would be willing to reward you for your time.

Thanks,
GG

(A couple of screenshots of completed dungeons)
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]

GweiloGopher
Bee
Bee

Since : 2018-07-12

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by Puzzledude on Sun 25 Nov 2018 - 6:44

You know better than that. No bounty.

I tested this out for you and it is not the menu. I examined the TOT menu, from the original code that Conn posted. So basically I can insert this menu into the ALTTP or revert it back to original again... but Hylian Legacy is different. It can not be inverted or reverted this way, since its code is different and also works.

For instance I inserted the original TOT menu code into the HL and the game is bugged, crashes midgame. Then I inserted the revert back to original menu - again bugged, crashes midgame... while in all instances the statue+sprites is crashing anyway.

So you are in trouble in any case, even if you could bring back the normal menu, which you can't, since this is crashing too. Which basically means HL will need this exact menu code, that is already in. So the Rom is quite bugged, which is understandable, since it was heavily edited. Thus reverting the menu will not help you since the statue+sprite is still crashing.


You have 2 choices:
1.) you find an ASM person, who can somehow debug the statue+sprite crash, which is not menu related, but a general bug. The menu must remain as it is. Tackling the menu will make further crashes.

2.) you take ALTTP clean rom, insert TOT menu via Euclid's original code (I decoded this inserting), which is not crashing, and the statue+sprites works by default (since Nintendo's code is clean on this), and then transfer in all dungeons which you made via hex gluing. Or simply renaunce on the TOT menu and just transfer the dungeons. While also transfering GFX.
avatar
Puzzledude



Since : 2012-06-20

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by Puzzledude on Sun 25 Nov 2018 - 7:58

Actually, scratch that.
I found it with advanced Hex compare.


Go to hex address 34299, if no headered rom.
There is a jump there: 22 00 FD 07, jumps to 3FD00.
Now change it to original ALTTP, which is:

at 34299, write
30 0D 85 05.

And the statue will be debugged and will be able to coexist with other sprites in the same room.



There are 2 locations which jump to 3FD00:
34099 and 34299.
The first one does not affect this bug.

The code at 3FD00 is:
08 C2 20 DA A2 32 A5 A0 DF 22 FD 07 F0 0B CA CA 10 F4 FA 28 22 3F EF 05 6B

Which I have no idea what it does.

So in any case, at 34099 it will still jump to this code, but at 34299 it will not, so I don't know what changes this might make, but this jump is bugging the statue.

If you remove the jump, the statue is debugged, but the newly written code no longer loads at 34299. Only if we could figuere out what the code at 3FD00 is (does not seem to be menu), can we know the consequence of not having this jump (which otherwise debugs the statue). It however still jumps here at 34099.


I'm assuming the author made a mistake here, since in ALTTP at 34099, you have a jump 22 3F EF 05, ie jump  to 2EF33F. So it is logical to write another jump here: 22 00 FD 07, so now instead of 2EF33F jump to new code at 3FD00. But the jump at 34299 is in middle of something: 30 0D 85 05, where B9 is before it, so 30 might not be a command at all, which is now a command 22= long jump. No idea if this is valid.

And the addresses are exactly 200 in hex apart, as if the header was the problem and the jump was inserted twice by accident. If this is true, than the debug is ok.
avatar
Puzzledude



Since : 2012-06-20

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by Puzzledude on Sun 25 Nov 2018 - 8:14

[You must be registered and logged in to see this image.]
Testing... works.
avatar
Puzzledude



Since : 2012-06-20

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by GweiloGopher on Sun 25 Nov 2018 - 15:47

Wow Puzzledude! You are the best. Works great for me, much appreciation!

GweiloGopher
Bee
Bee

Since : 2018-07-12

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by Puzzledude on Sun 25 Nov 2018 - 16:11

Yea. I was wondering why the statue was crashing myself, so I looked into it. Now you can bring us your statue puzzles.


avatar
Puzzledude



Since : 2012-06-20

Back to top Go down

Re: Bounty to whoever can fix my rom!

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum