Results 1 to 3 of 3

Thread: Hex Editor Offset -> MySEQ offset?

  1. #1
    Registered User
    Join Date
    Dec 2017
    Posts
    10

    Hex Editor Offset -> MySEQ offset?

    Good Morning.
    I was just wondering if anyone could tell me how to convert an offset from a Hex Editor to a MySEQ offset.

    An Example would be:
    In the Hex Editor, it shows the offset as 0099CAB1, but the MySEQ equivilant would be 0xA0CAB1 I understand the 0x is just a prefix to signal a hex number, so really its just how does A0 compare to 0099 as far as offsets go.

    I understand the Offsets in a Hex Editor are supposed to actually be in hex, (i.e. 0x0099CAB1 would be what you enter into MySEQ) but it doesn't work despite it claiming to be hex. something is different. Plus if you convert to Decimal, its pretty obviously A0CAB1 doesn't equal 0099CAB1. so either MySEQ is using some special code to enter its data, or the hex editor is doing something, or (the most likely culprit) I just don't know enough to see what is going on.

    I can provide many more examples but they are all real similar.

    Thanks.

    EDIT: It's possible the Hex Editor I was using (WinHex) is my issue. I started using another one and "all of a sudden" the offsets in the hex editor are exactly the same as the offsets in the .ini file (!!!) So I'm going to do more research with this different editor and see if I can yet figure this out! thanks for reading.
    Last edited by coloradoderek; 08-21-2018 at 12:59 PM. Reason: update

  2. #2
    MySEQ Developer
    Join Date
    Nov 2002
    Posts
    186

    Re: Hex Editor Offset -> MySEQ offset?

    Start address is 0x400000 by default for windows executables.

    But Eqgame.exe use ASLR, that means it can load in on any start address.
    You will need to check the module list in your hex editor to determine the start address.

    In your example it looks like it loaded in at 0x470000 (0xA0CAB1 - 0x470000 = 0x59CAB1 and 0x59CAB1 + 0x400000 IS 0x99CAB1)
    That needs to make sense to you if you are going to locate offsets using a hex editor while eq is running...
    Click Here To Download Latest MySEQ (with Level 105 support)
    @eqmule
    If you like MySEQ and would like to contribute, please do. My goal is 25 donations per month. There is no amount that's too small.
    So far I've received donations for this month's patches.
    Paypal:
    Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq

  3. #3
    Registered User
    Join Date
    Dec 2017
    Posts
    10

    Re: Hex Editor Offset -> MySEQ offset?

    Thank you for explaining that to me. It will help get me in the right direction.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Tags for this Thread

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On