Hacking Project : Code infolib.dat, extinfo.dat for DSTT.

JiN1337

Well-Known Member
OP
Member
Joined
Sep 19, 2010
Messages
121
Trophies
0
XP
146
Country
United States
Alright, let's do this where we last started off.

First of all, Conja0, drwhojan, and Xeno, you guys still up for this?

If you want to start helping in our exploration, follow along below!

Download TTDT.exe

(Thanks to Drwhojan)

Code:
http://filetrip.net/f9936-TTDT-for-editing-infolib-dat-extinfo-dat-savlib-dat-v1-0.html
- This is the tool to extract info from the infolib.dat, and extinfo.dat, it also allows us to edit the hex in them.

To get the latest TTDSi firmware, and as well as the latest official infolib.dat and extinfo.dat, go here.

Code:
http://www.ndstti.cn/50.html

Get a copy of Pokemon Black or White (Black recommended however) and make 2 copies of it. (I WILL not support the distribution of ROMS, as it is in violation of GBATemp rules), sorry to say but if you can't find a copy of these ROMs, you will not be of any use to this project. Thank-you.

Label the ROMS as Pokemon Black (Patched).nds and Pokemon Black (clean).nds

Download your favorite hex editor, HexCmp2 is the best but I will not give the warez for it. If you need to crack it, find it out on your own.

Search for the hex code AP patch for Black and White, and use the appropriate tool to patch them.

And more importantly, get DeSMuME, as HexCmp2 or any other hex editor is basically is needed to do this.

Launch any of the roms on DeSMuME, and look for the differences. (For those of you that want to learn, you'll figure it out rather quickly)



Thanks to Retro for this INCREDIBLY useful information about extinfo.lib locations for the patch within the game. I hope he does come back, as he and Pong are very intelligent people. The community could benefit from what they have learned, and more importantly, how they learned it.

Here goes.

Code:
extinfo locations 

Pocket Monsters: White
IRAJ - 0203EC40
HEX OFFSETS - for EXP and FREEZING
0x02076ae0
0x0233a1a8
0x0233a3d4
0x02339fa8
0x0233a2d8
0x0233a228
0x023806b8
0xc2339e40
0x02339e50
0x02339e70
0x02339ed0
0x0233a50c
0xd0000000
0x02004600
0x02004ea4

Pocket Monsters: Black
IRBJ - 5F0EA646
HEX OFFSETS - for EXP and FREEZING (I am doing the Union Room code now but I can tell you it DEFINITELY is not located @ 0x020c2400)
0x02076ac8
0x0233a1a8
0x0233a3d4
0x02339fa8
0x0233a2d8
0x0233a228
0x023806b8
0xc2339e40
0x02339e50
0x02339e70
0x02339ed0
0x0233a50c
0xd0000000
0x02004660
0x02004ea4


Update :

Retro and Pong have released 6.30 with support for Pokemon Black and White (J).

It can be found here :

Code:
http://filetrip.net/f13032-TTDS-EXT-INFO-SAV-6-30.html

I will keep up the information they have provided in case anyone wants to learn like I do.

TESTED AND WORKING ON NDSTTi!!! I'm not sure about it working on R4 although it should.

Without further ado, I wish that Retro and Pong can finally just enjoy themselves, not worrying about updating because of ungreatful naggers. I hope you guys all learned a lesson, and to treat EVERYONE with respect, not just Retro and Pong.

Good luck you two, you have a bright future, I say this because of the intelligence you have shown through support. Again, thank-you sincerely from myself, JiN1337 and on behalf of all of GBATemp. =)
 

Red_Slash

Well-Known Member
Newcomer
Joined
Mar 2, 2009
Messages
73
Trophies
0
XP
202
Country
Brazil
Not sure what I can do, but you guys have my full support for this. Its a brave effort and I respect that.
Just ignore the whining of the ungrown masses folks, and try your best.
 

joker777

Active Member
Newcomer
Joined
Sep 19, 2010
Messages
31
Trophies
0
Age
30
Location
Boston MA
XP
162
Country
United States
yeah we might as well continue

ill help you guys

lets fix these games and just start with a fresh team for DSTT

EDIT: im going to try to rid of the error messages
 

0ddity

Well-Known Member
Member
Joined
Aug 7, 2010
Messages
444
Trophies
0
Age
39
Location
Ontario
Website
Visit site
XP
247
Country
Canada
Good luck. I won't be buying another card in any case. Question though, are you going to be able to merge your project with 6.28 or have seperate infolib etc files?
 

Red_Slash

Well-Known Member
Newcomer
Joined
Mar 2, 2009
Messages
73
Trophies
0
XP
202
Country
Brazil
0ddity said:
Good luck. I won't be buying another card in any case. Question though, are you going to be able to merge your project with 6.28 or have seperate infolib etc files?

For what my opinion is worth, I suggest a separate file tree in case Pong's and Retro's blessing can't be granted to merge sources, just
as to avoid a torrent of confusion, false accusations and other yadda that could ensue.
 

JiN1337

Well-Known Member
OP
Member
Joined
Sep 19, 2010
Messages
121
Trophies
0
XP
146
Country
United States
0ddity said:
Good luck. I won't be buying another card in any case. Question though, are you going to be able to merge your project with 6.28 or have seperate infolib etc files?

They will be merged of course.
 

qazqaz123

Well-Known Member
Member
Joined
Sep 19, 2010
Messages
130
Trophies
0
XP
118
Country
United States
good luck
hrth.gif
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
Thank me for what ??, I did not make the TTDT.exe program , But it is a usefull tool to edit the infolib.dat , extinfo.dat , savlib.dat , usrcheat.dat

It's a question of knowing the offset's and hex to use , untill i have anuther DS lite back it would be hard for me to lern any furver

Some advice though: Just toy around with hex - and offset's to where you may think the problem is, they is no harm in that... , you might hit a narve and then you know if they is a reaction there!
 

JiN1337

Well-Known Member
OP
Member
Joined
Sep 19, 2010
Messages
121
Trophies
0
XP
146
Country
United States
drwhojan said:
Thank me for what ??, I did not make the TTDT.exe program , But it is a usefull tool to edit the infolib.dat , extinfo.dat , savlib.dat , usrcheat.dat

It's a question of knowing the offset's and hex to use , untill i have anuther DS lite back it would be hard for me to lern any furver

Some advice though: Just toy around with hex - and offset's to where you may think the problem is, they is no harm in that... , you might hit a narve and then you know if they is a reaction there!

No, I'm thanking you for uploading the program. It happens to be useful as it's the easiest and maybe only solution to editing these files right now.
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
JiN1337 said:
drwhojan said:
Thank me for what ??, I did not make the TTDT.exe program , But it is a usefull tool to edit the infolib.dat , extinfo.dat , savlib.dat , usrcheat.dat

It's a question of knowing the offset's and hex to use , untill i have anuther DS lite back it would be hard for me to lern any furver

Some advice though: Just toy around with hex - and offset's to where you may think the problem is, they is no harm in that... , you might hit a narve and then you know if they is a reaction there!

No, I'm thanking you for uploading the program. It happens to be useful as it's the easiest and maybe only solution to editing these files right now.


Chears!

The real-post is hear http://gbatemp.net/index.php?showtopic=218...t=0&start=0

Plus i should not do this : But it will be most helpfull to people who know how to use it proper

Code:
*snip

Hope this helps!

They are RAM location's and the first two is known

CODE
0x02000660

3C 00 9F E5 00 10 90 E5 38 20 9F E5 02 00 51 E1 34 10 9F 05 08 10 80 05 48 11 80 05 2C 10 9F
05 A8 10 80 05 E8 11 80 05 24 00 9F E5 00 10 90 E5 20 20 9F E5 02 00 51 E1 01 10 A0 03 0A 10
C0 05 1E FF 2F E1 64 80 18 02 4F 03 5F E1 37 B3 AA 36 6A E0 AA 36 60 0C 18 02 1F FF AA 28

0X02000EA4

ED FD FF EA
 

joker777

Active Member
Newcomer
Joined
Sep 19, 2010
Messages
31
Trophies
0
Age
30
Location
Boston MA
XP
162
Country
United States
am dissapoint

i got the r4i sdhc to pass the error 4 problem but it freezes on the loading screen

NOOOOOOOOOOOOO!

edit: im going to do some work so ill be back to this soon

hopefully i can fix this by tonight or tomorrow
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
joker777 said:
am dissapoint

i got the r4i sdhc to pass the error 4 problem but it freezes on the loading screen

NOOOOOOOOOOOOO!

edit: im going to do some work so ill be back to this soon

hopefully i can fix this by tonight or tomorrow

Pokemon Black (J)

Most of it was worked out

CODE00 00 00 00 00 00 00 00 AC AA 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 AB 00 00 28 AC 00 00
70 AB 00 00 E0 AC 00 00 FF FF FF FF 70 AD 00 00
A8 AE 00 00 9C AF 00 00 5C 41 04 00 FF FF FF FF
XX XX xx 00 FF FF FF FF B0 42 04 00 FF FF FF FF
XX XX 00 00 XX XX XX 00 FF FF FF FF FF FF FF FF

Thanks to xenokieser and alittlebit from myself just B0 42 04

Just XXXXxx are unknown

B0 42 04 is added

Below 5C could either be one of thease hex

F0 - B0 - 59

04 Will be mostly the same underneath it
 

joker777

Active Member
Newcomer
Joined
Sep 19, 2010
Messages
31
Trophies
0
Age
30
Location
Boston MA
XP
162
Country
United States
drwhojan said:
joker777 said:
am dissapoint

i got the r4i sdhc to pass the error 4 problem but it freezes on the loading screen

NOOOOOOOOOOOOO!

edit: im going to do some work so ill be back to this soon

hopefully i can fix this by tonight or tomorrow

Pokemon Black (J)

Most of it was worked out

sorry but i did white
smileipb2.png


CODE00 00 00 00 00 00 00 00 AC AA 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 AB 00 00 28 AC 00 00
70 AB 00 00 E0 AC 00 00 FF FF FF FF 70 AD 00 00
A8 AE 00 00 9C AF 00 00 5C 41 04 00 FF FF FF FF
XX XX xx 00 FF FF FF FF B0 42 04 00 FF FF FF FF
XX XX 00 00 XX XX XX 00 FF FF FF FF FF FF FF FF

Thanks to xenokieser and alittlebit from myself just B0 42 04

Just XXXXxx are unknown

B0 42 04 is added

Below 5C could either be one of thease hex

F0 - B0 - 59

04 Will be mostly the same underneath it
 

JiN1337

Well-Known Member
OP
Member
Joined
Sep 19, 2010
Messages
121
Trophies
0
XP
146
Country
United States
drwhojan said:
joker777 said:
am dissapoint

i got the r4i sdhc to pass the error 4 problem but it freezes on the loading screen

NOOOOOOOOOOOOO!

edit: im going to do some work so ill be back to this soon

hopefully i can fix this by tonight or tomorrow

Pokemon Black (J)

Most of it was worked out

CODE00 00 00 00 00 00 00 00 AC AA 00 00 00 00 00 00
00 00 00 00 00 00 00 00 04 AB 00 00 28 AC 00 00
70 AB 00 00 E0 AC 00 00 FF FF FF FF 70 AD 00 00
A8 AE 00 00 9C AF 00 00 5C 41 04 00 FF FF FF FF
XX XX xx 00 FF FF FF FF B0 42 04 00 FF FF FF FF
XX XX 00 00 XX XX XX 00 FF FF FF FF FF FF FF FF

Thanks to xenokieser and alittlebit from myself just B0 42 04

Just XXXXxx are unknown

B0 42 04 is added

Below 5C could either be one of thease hex

F0 - B0 - 59

04 Will be mostly the same underneath it

Could you elaborate on what exactly you've done so far?
 

joker777

Active Member
Newcomer
Joined
Sep 19, 2010
Messages
31
Trophies
0
Age
30
Location
Boston MA
XP
162
Country
United States
[/quote]

Could you elaborate on what exactly you've done so far?
[/quote]

Not now, i dont want to amp people and then i screw up, but im going to try my best later this evening, weird but thats how i want to work. I hate being dissapointed so i dont want to dissapouint others
wink2.gif



drwhojan said:
& joker777

QUOTE said:
sorry but i did white

?
huh.gif


QUOTEi got the r4i sdhc to pass the error 4 problem but it freezes on the loading screen

Dose your r4i Auto bypass errcodes ?
no, if it did i would'nt be doing this
glare.gif


be back tonight guys
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
& JiN1337

Could you elaborate on what exactly you've done so far?

xenokieser: Got most of the code

Not you see 5C 41 04 area , the botton part was not there , at time i figured out like i did for wario wares DIY (E)

You can see what codes are underneath it by looking though all the code in the infolib.dat file

Get as many as you can

Not 04 underneath should be the same 04

41 under it a matched 42

Below 5C was either F0 - B0 - 59 any one number can be used
 

JiN1337

Well-Known Member
OP
Member
Joined
Sep 19, 2010
Messages
121
Trophies
0
XP
146
Country
United States
drwhojan said:
& JiN1337

Could you elaborate on what exactly you've done so far?

xenokieser: Got most of the code

Not you see 5C 41 04 area , the botton part was not there , at time i figured out like i did for wario wares DIY (E)

You can see what codes are underneath it by looking though all the code in the infolib.dat file

Get as many as you can

Not 04 underneath should be the same 04

41 under it a matched 42

Below 5C was either F0 - B0 - 59 any one number can be used


Thanks for the update. I'm afraid I'm a bit lost at the moment, if there was no entry for Pokemon Black to begin with, how did you look through the infolib.dat file for it? Or I'm I misunderstanding?
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
& joker777

QUOTE said:
no, if it did i would'nt be doing this

be back tonight guys

Shame, I could have posted the r4patch.dat lib gentator, Where you place a LIB folder in the root of your microSD , If it did bypass it would make a XXXX_ZZZZZZZZ.dat file in the LIB folder with the genrated code inside of it - "On the game loading fully that is", Even if it has white screens are black - that's the part for extinfo.dat to take care of

Infolib.dat Generator For R4 Ysmenu

http://www.mediafire.com/download.php?82jdu1jdeewujl1

Text file inside to read first
 

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
45
Location
Where I Am!
XP
1,702
Country
United Kingdom
JiN1337 said:
drwhojan said:
& JiN1337

Could you elaborate on what exactly you've done so far?

xenokieser: Got most of the code

Now you see 5C 41 04 area , The botton part was not there originaly , At time i figured out like i did for wario wares DIY (E)

You can see what codes are underneath it by looking though all the code in the infolib.dat file

Get as many as you can

Not 04 underneath should be the same 04

41 under it matched 42

Below 5C was either F0 - B0 - 59 any one number can be used


Thanks for the update. I'm afraid I'm a bit lost at the moment, if there was no entry for Pokemon Black to begin with, how did you look through the infolib.dat file for it? Or I'm I misunderstanding?

No the rest of this has to be found in the RAM are ROM - ARM9 and ARM7 offset's

It's somethink abit bouth be head lol!

It-s the only part i know how to do manuly - If most of the code is there to go on

EDITED: Quote , some miss spellings sorry

Both 5C 41 04 and the line underneth is the main type of boot - thease codes are mixed diffrent for each rom - Game
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: