Tutorial Loading Game information for Extinfo file only.

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
43
Location
Where I Am!
XP
1,681
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!

DeSmuuME-1.png


Applys to most ROM's

Anyover thoughs ?
 

retrogamefan

***DSTT Coder*** ***AP Destroyer***
Developer
Joined
Oct 8, 2009
Messages
922
Trophies
0
XP
1,152
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.
 

drwhojan

Well-Known Member
OP
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
43
Location
Where I Am!
XP
1,681
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 ?
 

Phoenix Goddess

The Ninja's Protégée
Member
Joined
Apr 25, 2009
Messages
3,799
Trophies
0
Age
108
Location
Away from civilization.
XP
778
Country
United States
drwhojan said:
Lol, phoenixgoddess27, patience about two years XD!

bumping is easy done if click on rong box

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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: Mini Smartphone iLight 11 Pro The World's Smallest 11 Pro Android Mobile Phone, Super Small...