Can Someone Explain to me how to do the infolib stuff.

Discussion in 'NDS - ROM Hacking and Translations' started by maddude155, Nov 17, 2010.

  1. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    Heyy guys i have a a question........How do you guys Know what to put in the infolib file (i use ttdt and open the file then i go to add it...i put in its 4 letter game id but but then there is it's 8 number/letter id....how do u guys find out what it is?)
     
  2. Depravo

    Depravo KALSARIKÄNNIT

    Global Moderator
    GBAtemp Patron
    Depravo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,257
    3,572
    Oct 13, 2008
    Purgatory
    Yasu's R4CCE will show the full game ID of a ROM but simply adding that to the infolib will not make the ROM load more quickly.
     
  3. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    no for when it has like errcode4 or errcode5 parrently that fixes it?!
     
  4. darkspirit456

    darkspirit456 GBAtemp Fan

    Member
    330
    0
    Nov 11, 2009
    United States
    First you must know the basic structure of the infolib (layout of RAM in infolib) and how to get the rom encrypted ID then you gave to learn how to debug a DS rom to get it data for infolib.

    Sadly I know those but not debug... so I can't fix infolib, only extinfo...
     
  5. drwhojan

    drwhojan GBAtemp Psycho!

    Member
    3,743
    803
    Jul 14, 2009
    United Kingdom
    Where I Am!
    Im tring to look into this one myself - not much luck

    http://gbatemp.net/index.php?showtopic=256...t=0&start=0

    Yes you do need the encrypted GameCode and ID - by making a copy of the original rom and encrypt it to use for both infolib and extinfo, eNDryptS Advanced to encrypt and r4cee to get the new gamecode and ID for use with infolib and extinfo
     
  6. twiztidsinz

    twiztidsinz Taiju Yamada Fan

    Member
    4,981
    6
    Dec 23, 2008
    United States
    You sound like bitonio6.
     
  7. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    haha i dont know weather that is a good thing or a bad thing......and DRwhojan (think thats how yours is spelt) basicly for infolib it takes quite a bit of debugging BUT for extinfolib it doesnt?! as in you just add them(the id and 4 letter id) to the list and thats the infolib part done?! also what is savlib used for?
     
  8. twiztidsinz

    twiztidsinz Taiju Yamada Fan

    Member
    4,981
    6
    Dec 23, 2008
    United States
    There are three files:
    savlib.dat - Set save size.
    infolib.dat - Loading Speed (also helps bypass loading AP).
    extinfo.dat - Bypass AntiPiracy.

    savlib.dat is the easiest of the three, and I think extinfo.dat is the hardest.
    With savlib.dat all you need to do is know the GameID and save size then add the info, like this:
    [​IMG]

    I don't know much about infolib.dat and extinfo.dat, but I think with infolib.dat, you need to know how the game loads and add that info 'reversed'. For example, if the info is 1A 2B 3C 4D you'd add it as 4D 3C 2B 1A.
     
  9. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    thanks... i really wanna find out how to do this extinfo.dat though.........
     
  10. drwhojan

    drwhojan GBAtemp Psycho!

    Member
    3,743
    803
    Jul 14, 2009
    United Kingdom
    Where I Am!
    twiztidsinz

    Many thanks - ill try to look into of what you have mentioned in infolib - i have may have bean looking into it in farward data mood

    PS: Im also trying to update titlelist.xml for TTdT.exe at the moment - if you would like to nip in the DSTT toyshop section for retro's latest extinfo file - about quarter way done!

    Chears drwhojan!
     
  11. drwhojan

    drwhojan GBAtemp Psycho!

    Member
    3,743
    803
    Jul 14, 2009
    United Kingdom
    Where I Am!
    If the game done't load then extinfo.dat pather for the rom will be useless

    thats infolib speedup and loader of the roms job - but also extinfo patcher can help it at times also load the game are rom
     
  12. twiztidsinz

    twiztidsinz Taiju Yamada Fan

    Member
    4,981
    6
    Dec 23, 2008
    United States
    Good luck...
    To make a working extinfo.dat entry, you need to know how to bypass the games AP -- essentially, it's the same as making an AP patch.
    Infolib is easier, but still beyond me for how to do it.

    Have you seen TTdT? It's a tool that helps to manage savlib.dat/infolib.dat/extinfo.dat files.
    I worked on updating the translation for Beta2 & 3 a while back: http://gbatemp.net/index.php?showtopic=218467
     
  13. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    yes i happen to have TTDT also forgive the noobish question but what is a game AP???
    i thought you where meaning AR (as in action replay) but now i get it must be somthin else
     
  14. gifi4

    gifi4 How am I a 'New Member'?

    Member
    2,352
    143
    Apr 21, 2010
    Melbourne
    AP is Anti-Piracy, it is what game developers add to the games to stop people pirating it, this is usually fixed with a hex edit, there are more simpler ways like an IPS patch or Rudolphs patch, Xdelta patch, but those are the same as a hex edit but they just 'inject' the fix, making it more simpler to do than hex editing.

    Hope that helped.
     
  15. twiztidsinz

    twiztidsinz Taiju Yamada Fan

    Member
    4,981
    6
    Dec 23, 2008
    United States
    To add to what gifi4 said, hex Editing and Patches edits the actual game.
    Menu updates (including infolib.dat and extinfo.dat) modify the game as it is loaded into memory.

    They're similar, but different.
     
  16. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    Ok so let me get this stright an infolib type fix just fixes it as it is loaded HOWEVER a hex fix fixes it an can be used on any flashcart... am i correct? also how do you guys tend to find where the AP is located?
     
  17. twiztidsinz

    twiztidsinz Taiju Yamada Fan

    Member
    4,981
    6
    Dec 23, 2008
    United States
    I'm not completely sure what you're getting at, but... yes (I think).
    infolib.dat fixes the memory loaded in the DS, meaning nothing about the game is changed permanently. This will only work for menus that use infolib.dat
    An AP Patch or hex edit fix (like you'll see with the Pokemon games) modifies the actual copy of the game. This will usually work for all carts (sometimes the game has AP that affects specific carts).
     
  18. maddude155
    OP

    maddude155 Member

    Newcomer
    21
    0
    Jun 6, 2008
    ok thanks alot for your help, i shall now try an fix some of my games.
     
  19. drwhojan

    drwhojan GBAtemp Psycho!

    Member
    3,743
    803
    Jul 14, 2009
    United Kingdom
    Where I Am!
    I don't this data backwards is the case

    Some how the DSTT are Ysmenu genrators must extract the data information from ARM9 them ARM7 inside of a ROM ....