Jump to content

Tutorial Forum
Welcome to our Tutorials and Guides section!

Here you will find all guides written by our members. The guides can also be found in the Tutorial and Guides index and will temporarily be listed on our front page.

If you have used a guide, please don't forget to rate it (open the topic and use the stars on the top right)!

  • Please log in to reply
- - - - -

Tutorial - Loading Game information for Extinfo file only.

, Any thought's welcome? (Go to first unread post)
drwhojan Post #1 Posted 30 November 2010 - 01:38 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

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!



Applys to most ROM's

Anyover thoughs ?

Edited by drwhojan, 02 December 2010 - 12:23 PM.



FireGrey Post #2 Posted 30 November 2010 - 01:42 PM

    Ỉ̻͉̹̫͍̮̠̿͘


  • Group: Members
  • Posts: 2,792
  • Member No.: 251,104
  • Joined: 13-April 10

  •  

I wanna start doing this but i need a PC that can actually emulate the DS


bitonio6 Post #3 Posted 30 November 2010 - 01:42 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,772
  • Member No.: 219,710
  • Joined: 30-September 09

  •  

Whaou!!! GREAT Lesson!!!

i will wait for next... wink.gif


drwhojan Post #4 Posted 30 November 2010 - 01:45 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:53 PM.


bitonio6 Post #5 Posted 30 November 2010 - 02:08 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,772
  • Member No.: 219,710
  • Joined: 30-September 09

  •  

this time, i hope to see retro coming here and explain to everybody, how it's work!

wink.gif


drwhojan Post #6 Posted 30 November 2010 - 02:39 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:52 PM.


retrogamefan Post #7 Posted 30 November 2010 - 03:18 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 597
  • Member No.: 221,134
  • Joined: 08-October 09

  •  

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 Post #8 Posted 30 November 2010 - 03:28 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:53 PM.


drwhojan Post #9 Posted 30 November 2010 - 11:00 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

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 ?

Edited by drwhojan, 02 December 2010 - 12:19 PM.


drwhojan Post #10 Posted 01 December 2010 - 06:37 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 02 December 2010 - 11:13 AM.


Phoenix Goddess Post #11 Posted 02 December 2010 - 07:38 AM

    The Ninja's Protégéé


  • Group: Members
  • Posts: 3,570
  • Member No.: 175,436
  • Joined: 25-April 09
  • Location: Away from civilization.

  •  

Please stop double and triple posting, as well as bumping.
It's also in the rules :/

A little patience wouldn't kill you.

Edited by phoenixgoddess27, 02 December 2010 - 07:38 AM.


drwhojan Post #12 Posted 02 December 2010 - 11:13 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:53 PM.


Phoenix Goddess Post #13 Posted 02 December 2010 - 11:24 AM

    The Ninja's Protégéé


  • Group: Members
  • Posts: 3,570
  • Member No.: 175,436
  • Joined: 25-April 09
  • Location: Away from civilization.

  •  

QUOTE(drwhojan @ Dec 2 2010, 04:13 AM) <{POST_SNAPBACK}>
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.


drwhojan Post #14 Posted 02 December 2010 - 11:53 AM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:54 PM.


drwhojan Post #15 Posted 02 December 2010 - 12:20 PM

    GBAtemp Advance Maniac


  • Group: Members
  • Posts: 1,602
  • Member No.: 187,766
  • Joined: 14-July 09
  • Location: Grater Manchester, UK

  •  

Removed

Edited by drwhojan, 04 December 2010 - 05:54 PM.







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users