Jump to content

Recommended Posts

Posted

Obsolete, please use suloku's Gen 5 save tool for Memory Link injection!

 

Original Post

Spoiler

This might be helpfull for those of you who can't activate the Memory Link features on B2W2, due to the lack of a copy of BW, a second DS or whatever.
After using the Memory Link feature on BW2 extra data will be stored in your save file from 0x7E000 to 0x7EA1F.
This data can be dumped and be inserted into another save file of BW2 with an hex editor.
For instructions on how to insert it read Kaphotics post (#3) below.
Content that will be unlocked (including N's Pokemon!):

Spoiler

Flashbacks:
- A Triple Team (Striaton City restaurant)
- Different Bones & Dreams (Nacrene Museum)
- Hearts' Desire (Icirrus Gym)
- A New Light (Opelucid City)
- Taking It To The Next Level (Mistralton Gym)
- White And Black (Driftveil City, Team Plasma member's house)
- Farewell, Beloved Sister (gives you the chance to obtain a full Prop Case instead of an empty one when you first enter the Musical Hall)
- Meeting Friends, Saying Good-Bye (unlocks N's Pokemon after talking to that guy in any Pokemon Center near the stairs on the left)

Others:
- Battle with Cheren on Route 5
- Battle with Bianca in Nuvema Town
- NPCs who are talking about the one who stopped Team Plasma 2 years ago will now call him "Black" instead of just "a Trainer"

Missing:
- Loblolly's Studio (would unlock DW furniture from BW on BW2) There's no need for this one because the DW is closing soon.
- Certificates for completed Pokedex and trophies from Battle Subway (would be placed in the players room)


I dumped that data from my save and attached it to this post. It has .sav extension but it's not a save file! It only contains the Memory Link data.

memorylink..sav

 

Posted

  1. open your save file in HxD
  2. open this attached file in HxD
  3. select all of the hex from the attached file, copy
  4. highlight 0x7E000 to 0x7EA1F in your save file
  5. paste in to your save file
  6. save your save file (with a new name)
  7. open new save in pokegen
  8. save save file in pokegen (to fix checksums)
  9. import save file to your cart/emulator.

Posted

I only found the codes for rebattling Cheren and Bianca. There might be one for recatching N's Pokemon too.

Rematch Cheren (Start+Select) :

94000130 FFF30000

B2000024 00000000

DA000000 00020BF8

D3000000 00000000

D7000000 02000010

A2000010 FFFB0000

D4000000 0000FFFC

B2000022 00000000

D7000000 00020BF8

D2000000 00000000

94000130 FFF30000

B2000024 00000000

DA000000 00020BB4

D3000000 00000000

D7000000 02000010

A2000010 FFF70000

D4000000 0000FFF8

B2000022 00000000

D7000000 00020BB4

D2000000 00000000

Rematch Bianca (Start+Select) :

94000130 FFF30000

B2000024 00000000

DA000000 00020A8C

D3000000 00000000

D7000000 02000010

A2000010 FFFD0000

D4000000 0000FFFE

B2000022 00000000

D7000000 00020A8C

D2000000 00000000

NB: Those codes will not work if you have not activated the Memory Link. Logic.

  • 2 weeks later...
Posted

I wish someone could make my OCD happy by uploading their memory link save data that has "all" the unlock able content, like the certificates and trophies.

Since you can't register your game card anymore the only way to do memory link is with two DS's.

This is gonna be a longshot but if anyone has two flash carts with two DS's can anyone take my two save files and do a memory link for me?

Or at least upload a complete memory link data!

My thanks for any help.

  • 4 months later...
  • 3 months later...
Posted

I have the code to catch N's Pokemon without have to activate Memory Link. Here it is (Press Start and Select to activate; press again if you wish to catch one of N's pokemon twice (I've tried and succeeded, so don't worry):

94000130 FFF30000

B2000024 00000000

200208B8 00000001

10022250 00000000

DA000000 00020CAE

D3000000 00000000

D7000000 02000010

92000010 FBFF0000

D4000000 00000400

B2000022 00000000

D7000000 00020CAE

D2000000 00000000

  • 1 year later...
Posted (edited)
anyone here who have found a why for extracting Memory Link data from the original Pokemon Black.dsv files?

It's not possible to just extract the data from BW and move it over into B2W2 since it's not in the needed structure.

But I guess it should be possible to check for the required flags in BW and then modify the Memory Link data in B2W2 to match the data in BW.

Actually I wanted to look into this but I currently don't have the time and motivation.

Here is all I know about the Memory Link structure.

General Structure
0x000 - 0x373	1st Block (encrypted)
0x400 - 0x773	2nd Block (encrypted)
0x800 - 0xA1F	3rd Block


1st/2nd Block
0x000 - 0x007	Unknown
0x008 - 0x009	Checksum (CRC-16-CCITT from 0x00C - 0x373)
0x00C - 0x373	Encrypted Data (Not sure what is supposed to be here. It's empty (filled with 0x00) when decrypted in all the files I have.)

Encrypted Data
Encryption is done via LCRNG -> newSeed = (0x41C64E6D * seed + 0x6073);
Initial seed is at 0x370 - 0x373


3rd Block
0x000 - 0x007	Unknown
0x008 - 0x009	Checksum (CRC-16-CCITT from 0x00C - 0x21F)
0x020 - 0x034	Key Data

Edited by BlackShark
Posted

Well I guess it cannot be helped... :frown:

I'm wondering how you performed Memory Link before you dumped the data unto the save file posted in this thread... :confused:

Posted (edited)
Well I guess it cannot be helped... :frown:

I'm wondering how you performed Memory Link before you dumped the data unto the save file posted in this thread... :confused:

I had both saves from BW and B2W2 registered to the same PGL account. So I was able to use "Link via Nintendo WFC" in the Memory Link.

Now that the PGL and Wifi was discontinued local wireless is your only option.

EDIT:

Bad news. It seems I can't take a further look into the structure, at least not in the near future.

DeSmuMe can't handle DS Download Play and since my flashcard died I can't even access my retail cart saves anymore :\

Edited by BlackShark
Posted
I had both saves from BW and B2W2 registered to the same PGL account. So I was able to use "Link via Nintendo WFC" in the Memory Link.

Now that the PGL and Wifi was discontinued local wireless is your only option.

EDIT:

Bad news. It seems I can't take a further look into the structure, at least not in the near future.

DeSmuMe can't handle DS Download Play and since my flashcard died I can't even access my retail cart saves anymore :\

Oh no... the future of Memory Linking is doomed..... :(

Sigh.. Now I just wish that the Legendary creator of PokeGen would include it if he's going to release an update in the future...

After all, someone once manage to do the impossible in manipulating the PWT by creating a DTE

  • 2 months later...
Posted (edited)

A little reviving. I've reached this by trying to find the reason why I'm unable to unlock the "Farewell, Beloved Sister" memory after doing memory link.

I have all props in black 1 (got them today, my trainer card changed colors after getting the last prop). Seems there might be something else about how to unlock that memory. I think I've never actually used the entralink, also I've never entered dream worls since it was already closed when I started my savegame, but I found a gamefaqs thread with this very same problem and it is from 3 years ago so it might not be that...

I'll try tomorrow after messing with the entralink, see if that's what I'm missing.

Also, I was aiming to obtain all possible memory link data prior to starting my black 2 savegame, so when I get to know how to unlock that memory I'm missing I'll post the data, as it also contains pokedex diplomas and subway trophies.

EDIT: I've found the answer, seems that having put a pokemon to sleep is also a requirement. The question then is, how do I get a pokemon to sleep with dream world down?

Did you already get the prop case in White 2? You can't obtain it twice. Once you recieve it, through Memory Link or regular, you can't recieve it from Memory Link again. Also, if you're trying to get the prop case from Memory Link from DW, you have to put a Pokemon to sleep from your White game AFTER you get the prop case in White, THEN it will be availible to you in White 2 with all your acquired props.

EDIT2: I'm really happy to say that having a pokemon tucked in / have accessed dream world/gamesync was not the requirment for that link memory unlock: the requirement is having entered entralink at least once.

I can finally start my black 2 savegame! Also, I'm attaching the following memory link data from spanish black (essentially the same as in the first post, but with pokedex and trophies, no dream world related stuff, but again, it is closed now), and also two blank spanish black 2 savegames with only the memory link data transfered, one with the "Farewell beloved sister" memory not listed and one with it listed. Surprisingly, the memory link data from pokemon black savegame is exactly the same, so that block of the savegame isn't the only that the transfer tool checks when unlocking content.

@BlackShark maybe you are interested in checking those save differences

Edited by suloku
Posted

@suloku nice, thanks! I'll take a look at them. Maybe later today or tomorrow.

Where did you extract the data in "Black_spanish_memorylinkdata.sav"? It is different to what it should look like (see structure below).

This is what I already know about the structure. There are still some unknown values and others are not verified yet.

Memory Link can already be used on empty B2W2 save files.
The BW save file is not beeing modified in this process.

Save file location 0x7E000 (0xA20 Bytes)

General Structure
0x000 - 0x373	first block (encrypted)
0x374 - 0x3FF	unused, filled by 00 or FF
0x400 - 0x773	first block mirror (encrypted)
0x774 - 0x77F	unused, filled by 00 or FF
0x800 - 0xA1F	second block


First Block Structure
0x000 - 0x003	maybe signature (always: AE 49 0F A1)
0x004 - 0x007	update counter
0x008 - 0x009	checksum from 0x00C - 0x373 (CRC-16-CCITT)
0x00A - 0x00B	00 00
0x00C - 0x36F	unknown (filled by 00 by default)
0x370 - 0x374	encryption key (randomly set the first time)


Second Block Structure
0x000 - 0x003	maybe signature (always: AE 49 0F A1)
0x004 - 0x007	update counter
0x008 - 0x009	checksum from 0x00C - 0x21F (CRC-16-CCITT)
0x00A - 0x00B	unknown (always: 14 02)
0x020 - 0x034	Key Data
0x040 - 0x043	unknown but used
0x044 - 0x045	Trainer ID
0x046 - 0x047	Trainer SID
0x048 - 0x057	Trainer Name (7x2 bytes) + String-Terminator 0xFFFF
0x074 - 0x075	Trainer ID (purpose unknow)
0x076 - 0x077	Trainer SID (purpose unknow)
0x078 - 0x087	Trainer Name (7x2 bytes) + String-Terminator 0xFFFF (purpose unknow)
0x08D		Flags (see below)
0x0B8 - 0x21F	Hall of Fame Pokemon entries (copy of the BW Hall of Fame data from 0x23B00 - 0x23C67)



0x08D (Flags)
Bit
0	A Triple Team (1st BW Badge: 0x1C704)
1
2
3
4
5
6
7


Posted

Thanks!

I looked at your files and noticed a few things.

- for some reason your nofarewell save has Farewell beloved sister unlocked

- the decryption key for the first block is different on both files, it didn't change on my files

- the unknown data at offset 0x40 from the second block also differs between your files, it doesn't differ on mine

You transfered the data directly from BW to those empty B2W2 saves, right?

Did you do anything else besides entering the Entralink between those two transfers?

Posted

Sorry, I missed the conversation notification in my email.

I transfered data to empty black2 saves (used a tool to erase the savegame, all save is 0xFF).

I didn't make anything besides entering and exiting entralink, as far as I recall. Decryption key being different might be because it is as if it were transfered anew, so a new key was generated?

I keep a lot of saves from the same gameplay at different story points, so if you want some specific test I'll try to get the saves.

Posted

@BlackShark a friend lend me a white 2 cartridge and I did the key transfer thing, here are the saves (I searched a little and found no info aside the AR codes):

Pokemon white 2 no keys receiverd: https://www.dropbox.com/s/0npkxfv33ramad5/POKEMON%20W2.0.sav?dl=0

Pokemon white 2 after receiving challenge Key: https://www.dropbox.com/s/b1dw2qyf99zzsbk/POKEMON%20W2.1_afterchallengekey.sav?dl=0

Pokemon black 2 no keys received: https://www.dropbox.com/s/f9xi6ysshsc4ado/Pokemon%20-%20Edicion%20Negra%202%20%5BS%5D-42_afterleague1.dsv?dl=0

Pokemon black 2 after receiving help key: https://www.dropbox.com/s/9pet69eav42wx8h/Pokemon%20-%20Edicion%20Negra%202%20%5BS%5D-42.5_afterleague1_helpmode_keytransfer%20%28test%29.sav?dl=0

Pokemon black 2 after receiving all 3 keys at once (from the no keys received save): https://www.dropbox.com/s/aedjcjgal5dyfjn/Pokemon%20-%20Edicion%20Negra%202%20%5BS%5D-43_afterleague1_all_keytransfer.sav?dl=0

note: "Pokemon black 2 after receiving all 3 keys at once" save has been generated with a different white 2 save, which already had all keys. The challenge and help keys were received in white2 and black2 respectively in a reciprocous way.

I took a look at the differences in hex viewer, without decripting, and unfortunately more than one section of data was changed. I guess decrypted data will make more sense. Do you have a decriptor/encriptor for genV saves? I do have the code I used in entralink forest tool, but only works for that black/white data block , it would be useful to have a tool to decrypt and re-encrypt the full save.

Posted

@suloku Thanks!

Yeah, it would make sense if a new key is generated on each new save file. Well, maybe I shouldn't worry to much about that as the key doesn't affect anything and the encrypted area is empty anyways, for whatever reason.

Also I couldn't do much the last few day. I'll see if I can get some progress at the weekend.

I don't have a tool to decrypt the full save file, only one to decrypt the memory link data, sorry.

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...