Loading Game information for Extinfo file only.

Discussion in 'NDS - Tutorials' started by drwhojan, Nov 30, 2010.

Nov 30, 2010
  1. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Tutorial - Loading Game information for Extinfo file only - Any thought's welcome?

    (Note) They has to be Very Small AP in the Games for this Tutorial - It's just loading information

    First this is about rom loading information

    From what I have worked out and understand of - They is a Cretin patten in extinfo that would allow a game to load if
    The information in infolib.dat is also correct - They are two vital parts of the loading information, Hear they are

    This is what you should understand and shown witch offsets need the change - They are Cretin ones not to touch

    We also need DeSmuME emulator tool for the Job - Grate tool to have!

    Example

    0x020D3380 - Changes in RAM for Each Game, I will show you how to locate this "later" for each ROM in RAM

    Arm9 memory with DeSmuME - use view memory

    In the RAM the HEX will be to find

    38 40 2D E9 00 0C A0 E1 21 24 80 E1

    The Patch over this will be

    00 0C A0 E1 21 04 80 E1 00 10 A0 E3

    The next offset that is "important" also both work together with the first offset - Either any of these - It's ok to have them all in the extinfo.dat file
    As a tester - eliminate ones later


    0x02380668 - 0x023806B8 - 0x023807F0 - 0x023807C8 - Hex Patch for all listed 00 00 A0 E1

    0x02380850 - Hex Patch 00 E0 C0 46

    These will work with the first offset listed ^

    (Note)

    If Hex start's at with DeSmuME

    0x02000000 - Then we start at that, point in extinfo.dat
    0x02004000 - Then we start at that, point in extinfo.dat

    This is ARM9 Area

    OK work out so far

    (Note) The offsets do have to be in this pacific order, are the game will not load fully - just black or white screens - sometimes it dose load with the two main offsets and infomation in infolib correct

    Code:
    0x020D3380 - change-es for each ROM in RAM as noted abouth ^
    
    0x0233A1A8 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    04 4A BA 42 02 D1 80 22 92 00 BF 18 01 A2 17 60
    4F 60 0D E1 FF FF FF FF FF FF FF FF
    
    0x0233A3D4 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    0A 60 E7 E6
    
    0x02339FA8 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    94 E8 3F 02
    
    0x0233A2D8 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    85 42 3A E0
    
    0x0233A228 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    B8 20 00 23 88 60 CB 60 01 4A 01 3B 13 60 01 E0
    B8 E8 3F 02
    
    0x02380668 - changes but could use all - AS listed abouth ^
    00 00 A0 E1
    
    0xC2339E40 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    F8 B5 04 1C
    
    0x02339E50 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    09 E0 55 4F
    
    0x02339E70 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    4B 48 53 21
    
    0x02339ED0 - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    43 1C 03 E0
    
    0x0233A50C - Unsure of what it does - but same for each rom listed in extinfo.dat remains the same!? - don't touch
    03 E0 00 21
    
    0xD0000000 - Don't know? - could be a barrier between ARM9 offsets
    
    Debugger patches after this for cretin Games
    How to locate first known offset with DeSmuME

    38 40 2D E9 00 0C A0 E1 21 24 80 E1

    Patch Hex

    00 0C A0 E1 21 04 80 E1 00 10 A0 E3

    Ok so we do a search - but use with the least hex in RAM very little of - Do a RAM Search with DeSmuME

    RAM Search - Take 21 24 80 E1 Reverse order the HEX E1 80 24 21

    Tick - Equal to - DATA Size 4 bytes - Hexadecimal - Specific Value - E1802421

    Then do a search - we have 020D3388 - Minus 8 = 020D3380 - Then do a Memory search of the Offset Address

    Now we have found the Correct ARM9 Hex to Patch, for extinfo!

    [​IMG]

    Applys to most ROM's

    Anyover thoughs ?
     
  2. FireGrey

    Member FireGrey Undercover Admin

    Joined:
    Apr 13, 2010
    Messages:
    3,916
    Country:
    Australia
    I wanna start doing this but i need a PC that can actually emulate the DS
     
  3. bitonio6

    Member bitonio6 GBAtemp Advanced Maniac

    Joined:
    Sep 30, 2009
    Messages:
    1,801
    Country:
    Switzerland
    Whaou!!! GREAT Lesson!!!

    i will wait for next... [​IMG]
     
  4. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  5. bitonio6

    Member bitonio6 GBAtemp Advanced Maniac

    Joined:
    Sep 30, 2009
    Messages:
    1,801
    Country:
    Switzerland
    this time, i hope to see retro coming here and explain to everybody, how it's work!

    [​IMG]
     
  6. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  7. retrogamefan

    Member retrogamefan GBAtemp Advanced Fan

    Joined:
    Oct 8, 2009
    Messages:
    790
    Country:
    Antarctica
    drwhojan,

    To correct you...If a game does NOT have any AP, then an extinfo entry is NOT required for that game but 99.9% of new games do require extinfo entries. The above 13 entries can be classed as 'MINOR AP' as the DSTT requires them to assist infolib and allow certain games to save correctly and stop freezing in games.

    As for infolib, no, I do NOT use any tool to find the data.

    OPTIONS.SYS is part of the TTMenu firmware.
     
  8. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  9. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Retro is infolib a Changing Value in RAM from a ROM ? - and not a stable one Value ...

    Just checking up with DeSmuME ....

    With the same game + Data for that game out of infolib

    EDIT: Made a cold and hot Game ? - lol!

    -------------------------

    How do extract infolib data from a rom are ram ?...

    EDIT: Do you patch some data inside of the rom ?
     
  10. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  11. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    Please stop double and triple posting, as well as bumping.
    It's also in the rules :/

    A little patience wouldn't kill you.
     
  12. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  13. Phoenix Goddess

    Member Phoenix Goddess The Ninja's Protégée

    Joined:
    Apr 25, 2009
    Messages:
    3,810
    Location:
    Away from civilization.
    Country:
    United States
    That made no sense.

    You didn't choose the wrong box. I read what the post said before you removed it, it was related to this.
    You're pretty known for doing things like this.

    Anyway, hope you figure out what it is you're trying to figure out.
     
  14. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     
  15. drwhojan
    OP

    Member drwhojan GBAtemp Addict

    Joined:
    Jul 14, 2009
    Messages:
    2,858
    Location:
    this planet earth
    Country:
    United Kingdom
    Removed
     

Share This Page