Jump to content

Recommended Posts

  • Replies 94
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

I think I've found 3 places that seem to affect the direction you face:

0x1290

0x2865

0x2866

Haven't been able to test them properly yet (I've still gotta learn how to do that...)

EDIT: the values for direction seem to be:

00: up

01: down

02: left

03: right

Edited by Relyte
added the direction values
Posted
I think I've found 3 places that seem to affect the direction you face:

0x1290

0x2865

0x2866

Haven't been able to test them properly yet (I've still gotta learn how to do that...)

EDIT: the values for direction seem to be:

00: up

01: down

02: left

03: right

How did you find these?

Did you use only a HEX Editor, a HEX Editor and my tool, or other tools/combonations?

You have to use codemonkey85's checksum fixer along with a HEX Editor. Use the HEX Editor to edit the vales, and the checksum fixer to make it work. I also recomend that you join the social group for this thread.

Also to clearify things, what game is this for? When I found locations, they are for Diamond.

Posted

I used a HEX editor, your tool, and fixed the checksums with Pokesav Plat (codemonkey85's checksum fixer didn't work, it basically cleared all the data on plat saves)

These locations are all for platinum

Posted

These locations are all for platinum

That should help:

I just got my platinum, and It hasn't even touched any hacking devices (other than a DSi that once had an AR in it to see for myself if it really isn't compatible).

And it's good to know that someone in the world uses my stuff. May be that's why I'm losing about 30MB of bandwidth per day on my website.

Posted

Each DS has a Nintendo WFC ID, at least I think that's what its called. Just get to the Nintendo Wi-fi setup screen in any WiFi capable game and select Options > System Information which shows your DS's MAC Adress(assuming this is used as a GUID of sorts?) and if you've ever gone into Wifi you'll see the Wifi ID assigned to your DS.

If you have no clue how to get to the wifi setup screen, in the Main menu (where you choose to continue or start a new game) scroll down to the last option which should be "Nintendo WFC Settings"

Posted (edited)

Thanks Relyte! Your findings have been checked off the list. I think I know where to look for the DP offset for which direction one is facing, so I'll probably add that in later.

EDIT: For Diamond and Pearl, the value for the direction one is facing is stored at general block offset 0x1248. The values are:

  • 0 for up
  • 1 for down
  • 2 for left
  • 3 for right

Interesting that it's so far off from Platinum.

I just got my platinum, and It hasn't even touched any hacking devices (other than a DSi that once had an AR in it to see for myself if it really isn't compatible).

Does this mean you will be researching the Platinum save file? That would be awesome! So far all I know is that the general and storage blocks are slightly bigger, and that the general save information that we know about starts about four bytes later than in DP (until a certain point where the alignment changes slightly).

And it's good to know that someone in the world uses my stuff. May be that's why I'm losing about 30MB of bandwidth per day on my website.

I think your tool is a great idea. But to be honest, I haven't used it in a while. ;p

EDIT: I just used the tool to find the direction one is facing in for DP saves. One thing I will say is that there should be a hex view option for the location list. Otherwise, pretty handy stuff.

Edited by codemonkey85
Posted

Hey everyone,

I figured out the structure of the Pokétch Pokémon History app (the one that keeps track of which Pokémon you have obtained) in Diamond and Pearl.

The data begins at general block offset 0x1202. It is a series of 12 structures of 4 bytes each. Each structure represents a Pokémon, in order from oldest to newest. The first two bytes in each structure designates the National Pokédex number of the Pokémon, and the next two bytes designate that Pokémon's forme index. So for an Unown in J forme, the data for such a structure would be C9 00 09 00. C9 = 201 in decimal (Unown's 'Dex number), and 09 is Unown's J forme. Bear in mind that this is stored in Little Endian.

Now to go share this info with SCV, and create an app to let you load PKM files in your game and have them automatically registered in the Pokédex and the Pokétch!

EDIT: And for the structure of the Pokétch Trainer History app (the one that keeps track of PokéRadar chains) in DP:

The data begins at general block offset 0x738C. It is made of 3 4-byte structures. The first two bytes are for the Pokémon's National 'Dex number, and the second two are the number of chains attained for that Pokémon. There are three Pokémon, and they are ordered in the save file in descending order of chains.

Posted
At the moment I'm working on finding the poketch step counter and I think I've pretty much narrowed down the possibilities.

If you can't pin-point the exact location, post the possible locations and attach the save file, because save files that aren't the same adventure normally don't have too many of the same value.

Posted (edited)

sorry, I was kinda rushed that post, I was literally out the door.

Ok, 0x1184-0x1186 are the variables for the number of steps on the step counter in platinum. It stores the three hex numbers corresponding to the number of steps (dur).

Used evandixon's kit, hxd, pokesav plat to fix the checksums.

EDIT: For DP the offsets for step counter app are at 0x1170-0x1172

Here are the save files:

Pokemon_Platinum (0).SAV

Pokemon_Platinum (18940).SAV

Pokémon Diamond (0).SAV

Pokémon Diamond (25153).SAV

Pokemon_Platinum (0).SAV

Pokemon_Platinum (18940).SAV

Pokémon Diamond (0).SAV

Pokémon Diamond (25153).SAV

Edited by Relyte
adding the DP locations
Posted
sorry, I was kinda rushed that post, I was literally out the door.

Ok, 0x1184-0x1186 are the variables for the number of steps on the step counter in platinum. It stores the three hex numbers corresponding to the number of steps (dur).

Used evandixon's kit, hxd, pokesav plat to fix the checksums.

EDIT: For DP the offsets for step counter app are at 0x1170-0x1172

Here are the save files:

I haven't specifically looked, but it looks like the locations you posted all store the same value. Each location can only hold 0-255, so havint multiple locations like that is normal. You may want to test that.

Posted

sorry about any confusion, I meant that the three bits store the hex value for the total number of steps in little endian (the three bits all together form one number. The total number of steps you can take is 99999 which, in hex is 0x1869F, taking up the three bits)

Posted
sorry about any confusion, I meant that the three bits store the hex value for the total number of steps in little endian (the three bits all together form one number. The total number of steps you can take is 99999 which, in hex is 0x1869F, taking up the three bits)

Don't you mean bytes?

Good to know one more thing is off the list :)

Posted

Just FYI guys, I am going to be digging into the Platinum structure more aggressively now, so I can finally add Platinum support to my software.

Currently I am finding that the Pokétch Pokémon History app is slightly different from the structure in Diamond and Pearl. The data begins at general block offset 0x1218, and it is 12 structures of 8 bytes as opposed to 4 bytes (so now it's two bytes for species ID, then two bytes for forme, then four bytes of unknown data).

  • 2 months later...
Posted (edited)

Below are the new items which can be found in HGSS. The IDs of these items are used in the save file.

468	0x01D4	ぼんぐりケース (Apricorn Case)
469	0x01D5	アンノーンノート (Unown Notebook)
470	0x01D6	きのみプランター (Berry Planter)
471	0x01D7	ダウジングマシン (Dowsing Machine)
472	0x01D8	ブルーカード (Blue Card)
473	0x01D9	おいしいシッポ (Delicious Tail / Slowpoke Tail)
474	0x01DA	とうめいなスズ (Clear Bell)
475	0x01DB	カードキー (Card Key)
476	0x01DC	ちかのかぎ (Basement Key)
477	0x01DD	ゼニガメじょうろ (Squirtbottle)
478	0x01DE	あかいウロコ (Red Scale)
479	0x01DF	おとしもの (Lost Property?)
480	0x01E0	リニアパス (Linear Pass?)
481	0x01E1	きかいのぶひん (Weird Part?)
482	0x01E2	ぎんいろのはね (Silver Wing)
483	0x01E3	にじいろのはね (Rainbow Wing)
484	0x01E4	ふしぎなタマゴ (Mystery Egg)
485	0x01E5	Red Apricorn
486	0x01E6	Yellow Apricorn
487	0x01E7	Blue Apricorn
488	0x01E8	Green Apricorn
489	0x01E9	Pink Apricorn
490	0x01EA	White Apricorn
491	0x01EB	Black Apricorn
492	0x01EC	スピードボール (Fast Ball)
493	0x01ED	レベルボール (Level Ball)
494	0x01EE	ルアーボール (Lure Ball)
495	0x01EF	ヘビーボール  (Heavy Ball)
496	0x01F0	ラブラブボール (Love Ball)
497	0x01F1	フレンドボール (Friend Ball)
498	0x01F2	ムーンボール (Moon Ball)
499	0x01F3	コンペボール (Competition Ball?)
500	0x01F4	パークボール (Park Ball)
501	0x01F5	フォトアルバム (Photo Album)
502	0x01F6	GBプレイヤー (GB Player)
503	0x01F7	うみなりのスズ (Sea Bell?)
504	0x01F8	いかりまんじゅう (??)
505	0x01F9	データカード01 (Date Card 01)
506	0x01FA	データカード02
507	0x01FB	データカード03
508	0x01FC	データカード04
509	0x01FD	データカード05
510	0x01FE	データカード06
511	0x01FF	データカード07
512	0x0200	データカード08
513	0x0201	データカード09
514	0x0202	データカード10
515	0x0203	データカード11
516	0x0204	データカード12
517	0x0205	データカード13
518	0x0206	データカード14
519	0x0207	データカード15
520	0x0208	データカード16
521	0x0209	データカード17
522	0x020A	データカード18
523	0x020B	データカード19
524	0x020C	データカード20
525	0x020D	データカード21
526	0x020E	データカード22
527	0x020F	データカード23
528	0x0210	データカード24
529	0x0211	データカード25
530	0x0212	データカード26
531	0x0213	データカード27
532	0x0214	もえぎいろのたま (Green Orb)
533	0x0215	ロックカプセル (Rock Capsule?)
534	0x0216	べにいろのたま (Red Orb)
535	0x0217	あいいろのたま (Blue Orb)
536	0x0218	なぞのすいしょう (Crystal Puzzle?)

Anything >536 will cause a crash.

Translation source (some): mitchman_93 @ Serebiiforums.net

Also, I'm pretty sure that the Pokémon caught in a Apricorn Ball will have its 0x86 value as follows:

17	0x11	Fast Ball
18	0x12	Level Ball
19	0x13	Lure Ball
20	0x14	Heavy Ball
21	0x15	Love Ball
22	0x16	Friend Ball
23	0x17	Moon Ball
24	0x18	Park Ball (actually not an Apricorn, but you get the idea)

Grtzz!!

Edited by Grovyle91
Posted

Hey guys!

If I found this earlier, I didn't create a new thread about the new items in HGSS. Oh well, here it is: http://projectpokemon.org/forums/showthread.php?t=4670

So, now about some new offsets I found in the saves of HGSS. I think you already knew about the items, but I've also found the current selected item as a shortcut (with the Y-button and like, you know what I mean) and the current position on the map. I haven't found the map ID itself though.

Offsets HGSS:

0x00644 - 0x008D7	Items placeholder (each item takes 4 bytes)
0x008D8 - 0x00909	Key Items placeholder (each item takes 4 bytes)
0x0090A - 0x00B33	TMs & HMs placeholder (each item takes 4 bytes)
0x00B34 - 0x00B63	Mail placeholder (each item takes 4 bytes)
0x00B64 - 0x00C03	Medicines placeholder (each item takes 4 bytes)
0x00C04 - 0x00D03	Berries placeholder (each item takes 4 bytes)
0x00D04 - 0x00D63	Poké Balls placeholder (each item takes 4 bytes)
0x00D64 - 0x00DDF	Battle Items placeholder (each item takes 4 bytes)
0x00DE0 - 0x00DE1	Current shortcut item (Y-button) (identifies with the ID of a item)
0x00DE2 - 0x00DE3	Current second shortcut item (identifies with the ID of a item)
0x0236E - 0x02371	Current x coordinate
0x02372 - 0x02375	Current y coordinate
0x02376 - 0x02379	Current z coordinate

The funniest thing is, when you change your coordinate, the Pokémon that follows you will still have his old coordinates, which means it walks meters behind you, sometimes even through walls or something xD

Grtzz!!

Posted

green ball, red ball and blue ball are we know as Green orb, red orb and blue orb,

required for Ray, Grou and Kyo events in HGSS.

What im interested in is Rock capsule, crystal puzzle, Date cards,

Gb player, sea bell, and いかりまんじゅう (according to my weak direct translation, some kind of door pass, i dunno.)

Photo album --> photos la lol.

Rock capsule --> what purpose?

Crystal puzzle --> same question

Date cards --> What is this for

GB player --> playing old GB music

Seaa bell --> IS IT FOR A NEW EVENT!!!

いかりまんじゅう -->??

How do we get the above items anyway?

Posted
green ball, red ball and blue ball are we know as Green orb, red orb and blue orb,

required for Ray, Grou and Kyo events in HGSS.

Changed it :)

What im interested in is Rock capsule, crystal puzzle, Date cards,

Gb player, sea bell, and いかりまんじゅう (according to my weak direct translation, some kind of door pass, i dunno.)

Photo album --> photos la lol.

Rock capsule --> what purpose?

Crystal puzzle --> same question

Date cards --> What is this for

GB player --> playing old GB music

Seaa bell --> IS IT FOR A NEW EVENT!!!

いかりまんじゅう -->??

How do we get the above items anyway?

I've the same questions as you. Because the only thing I know is that you can get the GB Player somewhere in Celadon City, according to Serebii.net. But for the rest... :confused:

Grtzz!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...