Welcome dear guest! Very Happy

To start posting and being part of the community, you simply need to register an account or log into an existing one.

Be sure to check out disposable e-mail services, in case you prefer using one for this site instead of your legit address: http://10minutemail.com/10MinuteMail/

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can see and download all content provided for regular members even without an account!

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation

Display results as :

Rechercher Advanced Search

April 2018

Calendar Calendar

Country Statistics
Free counters!
LaTeX Generator

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]


Admin & Writer
I've been doing lots of code porting lately and have found that my preferred method of porting, HxD Hex Editor isn't truly meant for Gecko code porting. The only reason why I prefer this over code porting programs is because I can actually see the Hex and know if I'm making a mistake.

Now, what I've come across is 32 bit memory segments (ending in 0,4,8,C) that are very similar but change in just a few characters, usually near the beginning or end of the segment. Below is an example of some of the ones that I've found.

41 82 00 14
Can change to something like 41 82 00 18

3C 80 43 30
Can change to something like 3C 80 80 81

7F A0 1B 00
Can change to something like 7F A3 EB 78

It would be much easier if there was a Hex editor that could multi-select bytes instead of having to select an entire row. I have failed many times to port all sorts of codes because of this drawback. Just an idea.



Good observation Smile
Because the original value CAN change, I respected this in my porting program. It basically tries templates until one worked reasonably and does NOT check if the original value is identical. It's almost as good as a human porter Wink

The only problem is that it can return a wrong result but mostly it's correct. If you have the game you can easily test the ported code(s) so it's little efforts to port a ton of codes overall. Also you can use HxD or whatever to check if it looks right as well like you said, seeing is believing.


View previous topic View next topic Back to top  Message [Page 1 of 1]

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