Jump to content

Antar

Member
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Antar

  1. This pull request will put Pokemon, Abilities and Moves at 100%. Items that were in BW1 are also fully translated.

    Edit: The work above was generated entirely by script. This script (and consequently this translation) could be further extended by modifying the script to include natures, types, stats ("Attack," "Defense," etc.) or anything else that's likely going to be an easy word-for-word replacement kind of thing. I'm tapping out--got some things that actually need to get done today, but feel free to modify my script yourself.

  2. So I just finished a project called CC4Wifi (Challenge Cup for Wi-Fi), which generates pkm files for random pokemon with random movesets, as per "Challenge Cup" rules.

    Here's the weird thing, though--while the files import fine into Pokesav, when I try importing one into Pokegen, it's complete nonsense.

    I've done some additional testing. My template file imports fine. But when I load the template, change just *one* byte (see below)--even something as innocuous as an EV value--and write it back, Pokegen refuses to read it any more. Does Pokegen have some sort of weird checksum thing that Pokesav does not? Or is something else going on?

    Test code (in python):

    from array import *
    p=array('B'); p.fromstring(open("template.pkm",'rb').read()) #template.pkm imports fine into Pokegen
    p[0x18]=120
    p.tofile(open("test.pkm",'wb')) #test.pkm imports as garbage
    

    And I've tried looking at the files in a hex editor--the only difference between the files is indeed the value at 0x18.

    Edit: Looked back over this handy reference. So there is indeed a checksum. Now I just gotta figure out how to calculate it...

  3. I've got this project mulling about in my brain right now: Challenge Cup for Wi-Fi. Basically, if you're familiar with Pokemon Online, there's an option to have what are called Challenge Cup battles, in which teams are completely randomly generated, from pokemon to their moves to their IVs and EVs. It's basically like Pokedex Roulette, but even MORE random (there's also cool stuff like level balancing to make things a *little* more fair).

    The PO code is publicly available, so it looks to be a relatively simple matter to generate the random teams, and from there, battlers could conceivably open up Pokesav and enter everything manually.

    But what I'd like to do instead is have the program generate six pkm files that can then be loaded into Pokesav.

    From playing around in hexedit, the pkm file structure seems *relatively* straightforward, and I could conceivably figure out how to parse it on my own, but if one of you has already done this and could lend me your code, it would be a HUGE help.

    Thanks in advance.

    Edit: Okay, I just found this. It should be a huge help. But again, if someone's already written similar code, it would be nice not to have to duplicate their work. Also, it appears to be only for DPPt.

    Edit 2: If I can reverse-engineer Infinite Recursion's stats.py from IR-GTS-BW, that might be the way to go. I'm not looking for pokemon that pass hack checks--I plan on putting every one in a Cherish Ball be from "Faraway Place."

    Edit 3: I actually accomplished this, although I never actually ended up writing to / reading from an intermediate plaintext file (though it would be trivial to adapt my code to do so).

  4. This is an awful, horribly inefficient code, but it appears to work. I've only tested it for Pokemon Black.

    I took KazoWAR's "Random Music in Wi-Fi battles" code and changed a bunch of lines to "00000000." The result? NO MUSIC (but yes sound FX) in Wi-Fi / Vs. Recorder battles. Note that this does NOT mute low-HP music, unfortunately.

    023FFFFC 000000FF

    62258230 00000000

    62258230 0000047A

    62258230 00000490

    023FFFFC FFFFFFFF

    D2000000 00000000

    523FFFFC FFFFFFFF

    DB000000 02256FD7

    D6000000 023FFFFC

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000000

    020B9EDC 00000000

    120B9EE0 0000379C

    020BFF0C 00000000

    120BFF10 00000590

    020C5C6C 00000000

    120C5C70 0000695C

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000002

    020B9EDC 00000000

    120B9EE0 00003920

    020BFF0C 00000000

    120BFF10 00000540

    020C5C6C 00000000

    120C5C70 00001E14

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000006

    020B9EDC 00000000

    120B9EE0 00004ABC

    020BFF0C 00000000

    120BFF10 00000514

    020C5C6C 00000000

    120C5C70 00007424

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000000A

    020B9EDC 00000000

    120B9EE0 00005C52

    020BFF0C 00000000

    120BFF10 00000400

    020C5C6C 00000000

    120C5C70 00006940

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000000E

    020B9EDC 00000000

    120B9EE0 0000396C

    020BFF0C 00000000

    120BFF10 00000538

    020C5C6C 00000000

    120C5C70 0000878C

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000012

    020B9EDC 00000000

    120B9EE0 00002500

    020BFF0C 00000000

    120BFF10 00000534

    020C5C6C 00000000

    120C5C70 000060F8

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000016

    020B9EDC 00000000

    120B9EE0 00004314

    020BFF0C 00000000

    120BFF10 00000618

    020C5C6C 00000000

    120C5C70 00006F68

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000001A

    020B9EDC 00000000

    120B9EE0 000039D4

    020BFF0C 00000000

    120BFF10 000005F4

    020C5C6C 00000000

    120C5C70 00001678

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000001E

    020B9EDC 00000000

    120B9EE0 00004004

    020BFF0C 00000000

    120BFF10 00000564

    020C5C6C 00000000

    120C5C70 00006590

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000022

    020B9EDC 00000000

    120B9EE0 000029BC

    020BFF0C 00000000

    120BFF10 00000528

    020C5C6C 00000000

    120C5C70 000004C4

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000026

    020B9EDC 00000000

    120B9EE0 00006288

    020BFF0C 00000000

    120BFF10 00000618

    020C5C6C 00000000

    120C5C70 00002FDC

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000002A

    020B9EDC 00000000

    120B9EE0 00002B28

    020BFF0C 00000000

    120BFF10 00000374

    020C5C6C 00000000

    120C5C70 00005B08

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 0000002E

    020B9EDC 00000000

    120B9EE0 0000511C

    020BFF0C 00000000

    120BFF10 00000598

    020C5C6C 00000000

    120C5C70 00006A0C

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000032

    020B9EDC 00000000

    120B9EE0 00003444

    020BFF0C 00000000

    120BFF10 000005F0

    020C5C6C 00000000

    120C5C70 00001968

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000036

    020B9EDC 00000000

    120B9EE0 00003B28

    020BFF0C 00000000

    120BFF10 000004B4

    020C5C6C 00000000

    120C5C70 00008A08

    D2000000 00000000

    623FFFFC 000000FF

    423FFFFC 00000039

    020B9EDC 00000000

    120B9EE0 00003F44

    020BFF0C 00000000

    120BFF10 00000458

    020C5C6C 00000000

    120C5C70 000089DC

    D2000000 00000000

    I just checked, and this code IS compatible with the "No Low HP music" code! So put 'em both together, and no music in Wi-Fi / Vs. Recorder battles AT ALL!

  5. Darn it!

    The AR codes for battle music modification don't work with the Vs. Recorder. Anyone know of a different code that DOES work with it? This is the code for the Japanese version, if that's helpful at all:

    For Black:

    !Battle Music Modifier for Pokemon Black

    ::Wild Battle

    :::Start+A

    54000130 000003F6

    020B9C7C 00105E40

    120B9C80 0000379C

    020BFCAC 001D96E0

    120BFCB0 00000590

    020C5A0C 0212B740

    120C5A10 0000695C

    D2000000 00000000

    ::Rare Wild Battle

    :::Start+B

    54000130 000003F5

    020B9C7C 001095E0

    120B9C80 00003920

    020BFCAC 001D9C80

    120BFCB0 00000540

    020C5A0C 021620A0

    120C5A10 00001E14

    D2000000 00000000

    ::Trainer Battle

    :::Start+Up

    54000130 000003B7

    020B9C7C 0010CF00

    120B9C80 00004ABC

    020BFCAC 001DA1C0

    120BFCB0 00000514

    020C5A0C 02193EC0

    120C5A10 00007424

    D2000000 00000000

    ::Subway Trainer Battle

    :::Start+Down

    54000130 00000377

    020B9C7C 001119C0

    120B9C80 00005C52

    020BFCAC 001DA6E0

    120BFCB0 00000400

    020C5A0C 021CB300

    120C5A10 00006940

    D2000000 00000000

    ::Gymleader Battle

    :::Start+Left

    54000130 000003D7

    020B9C7C 00116C20

    120B9C80 0000396C

    020BFCAC 001DAAE0

    120BFCB0 00000538

    020C5A0C 02201C40

    120C5A10 0000878C

    D2000000 00000000

    ::Rival Battle

    :::Start+Right

    54000130 000003E7

    020B9C7C 0011A5A0

    120B9C80 00002500

    020BFCAC 001DB020

    120BFCB0 00000534

    020C5A0C 0223A3E0

    120C5A10 000060F8

    D2000000 00000000

    ::Plasma Battle

    :::Start+L

    54000130 000001F7

    020B9C7C 0011CAA0

    120B9C80 00004314

    020BFCAC 001DB560

    120BFCB0 00000618

    020C5A0C 022704E0

    120C5A10 00006F68

    D2000000 00000000

    ::Elite 4 Battle

    :::Start+R

    54000130 000002F7

    020B9C7C 00120DC0

    120B9C80 000039D4

    020BFCAC 001DBB80

    120BFCB0 000005F4

    020C5A0C 022A7460

    120C5A10 00001678

    D2000000 00000000

    ::Champion Battle

    :::Select+A

    54000130 000003FA

    020B9C7C 001247A0

    120B9C80 00004004

    020BFCAC 001DC180

    120BFCB0 00000564

    020C5A0C 022D8AE0

    120C5A10 00006590

    D2000000 00000000

    ::N Battle

    :::Select+B

    54000130 000003F9

    020B9C7C 001287C0

    120B9C80 000029BC

    020BFCAC 001DC700

    120BFCB0 00000528

    020C5A0C 0230F080

    120C5A10 000004C4

    D2000000 00000000

    ::N Battle 2

    :::Select+Up

    54000130 000003BB

    020B9C7C 0012B180

    120B9C80 00006288

    020BFCAC 001DCC40

    120BFCB0 00000618

    020C5A0C 0232F560

    120C5A10 00002FDC

    D2000000 00000000

    ::Geechisu Battle

    :::Select+Down

    54000130 0000037B

    020B9C7C 00131420

    120B9C80 00002B28

    020BFCAC 001DD260

    120BFCB0 00000374

    020C5A0C 02362540

    120C5A10 00005B08

    D2000000 00000000

    ::Reshiram/Zekrom/Kyurem Battle

    :::Select+Left

    54000130 000003DB

    020B9C7C 00133F60

    120B9C80 0000511C

    020BFCAC 001DD5E0

    120BFCB0 00000598

    020C5A0C 02398060

    120C5A10 00006A0C

    D2000000 00000000

    ::Legendary Battle

    :::Select+Right

    54000130 000003EB

    020B9C7C 00146B40

    120B9C80 00003444

    020BFCAC 001DECE0

    120BFCB0 000005F0

    020C5A0C 0246B560

    120C5A10 00001968

    D2000000 00000000

    ::Cynthia Battle

    :::Select+L

    54000130 000001FB

    020B9C7C 00149FA0

    120B9C80 00003B28

    020BFCAC 001DF2E0

    120BFCB0 000004B4

    020C5A0C 0249CEE0

    120C5A10 00008A08

    D2000000 00000000

    ::World Champion Battle

    :::Select+R

    54000130 000002FB

    020B9C7C 00173200

    120B9C80 00003F44

    020BFCAC 001E3AC0

    120BFCB0 00000458

    020C5A0C 02787780

    120C5A10 000089DC

    D2000000 00000000

    For White:

    !Battle Music Modifier for Pokemon White

    ::Wild Battle

    :::Start+A

    54000130 000003F6

    020B9C9C 00105E40

    120B9CA0 0000379C

    020BFCCC 001D96E0

    120BFCD0 00000590

    020C5A2C 0212B740

    120C5A30 0000695C

    D2000000 00000000

    ::Rare Wild Battle

    :::Start+B

    54000130 000003F5

    020B9C9C 001095E0

    120B9CA0 00003920

    020BFCCC 001D9C80

    120BFCD0 00000540

    020C5A2C 021620A0

    120C5A30 00001E14

    D2000000 00000000

    ::Trainer Battle

    :::Start+Up

    54000130 000003B7

    020B9C9C 0010CF00

    120B9CA0 00004ABC

    020BFCCC 001DA1C0

    120BFCD0 00000514

    020C5A2C 02193EC0

    120C5A30 00007424

    D2000000 00000000

    ::Subway Trainer Battle

    :::Start+Down

    54000130 00000377

    020B9C9C 001119C0

    120B9CA0 00005C52

    020BFCCC 001DA6E0

    120BFCD0 00000400

    020C5A2C 021CB300

    120C5A30 00006940

    D2000000 00000000

    ::Gymleader Battle

    :::Start+Left

    54000130 000003D7

    020B9C9C 00116C20

    120B9CA0 0000396C

    020BFCCC 001DAAE0

    120BFCD0 00000538

    020C5A2C 02201C40

    120C5A30 0000878C

    D2000000 00000000

    ::Rival Battle

    :::Start+Right

    54000130 000003E7

    020B9C9C 0011A5A0

    120B9CA0 00002500

    020BFCCC 001DB020

    120BFCD0 00000534

    020C5A2C 0223A3E0

    120C5A30 000060F8

    D2000000 00000000

    ::Plasma Battle

    :::Start+L

    54000130 000001F7

    020B9C9C 0011CAA0

    120B9CA0 00004314

    020BFCCC 001DB560

    120BFCD0 00000618

    020C5A2C 022704E0

    120C5A30 00006F68

    D2000000 00000000

    ::Elite 4 Battle

    :::Start+R

    54000130 000002F7

    020B9C9C 00120DC0

    120B9CA0 000039D4

    020BFCCC 001DBB80

    120BFCD0 000005F4

    020C5A2C 022A7460

    120C5A30 00001678

    D2000000 00000000

    ::Champion Battle

    :::Select+A

    54000130 000003FA

    020B9C9C 001247A0

    120B9CA0 00004004

    020BFCCC 001DC180

    120BFCD0 00000564

    020C5A2C 022D8AE0

    120C5A30 00006590

    D2000000 00000000

    ::N Battle

    :::Select+B

    54000130 000003F9

    020B9C9C 001287C0

    120B9CA0 000029BC

    020BFCCC 001DC700

    120BFCD0 00000528

    020C5A2C 0230F080

    120C5A30 000004C4

    D2000000 00000000

    ::N Battle 2

    :::Select+Up

    54000130 000003BB

    020B9C9C 0012B180

    120B9CA0 00006288

    020BFCCC 001DCC40

    120BFCD0 00000618

    020C5A2C 0232F560

    120C5A30 00002FDC

    D2000000 00000000

    ::Geechisu Battle

    :::Select+Down

    54000130 0000037B

    020B9C9C 00131420

    120B9CA0 00002B28

    020BFCCC 001DD260

    120BFCD0 00000374

    020C5A2C 02362540

    120C5A30 00005B08

    D2000000 00000000

    ::Reshiram/Zekrom/Kyurem Battle

    :::Select+Left

    54000130 000003DB

    020B9C9C 00133F60

    120B9CA0 0000511C

    020BFCCC 001DD5E0

    120BFCD0 00000598

    020C5A2C 02398060

    120C5A30 00006A0C

    D2000000 00000000

    ::Legendary Battle

    :::Select+Right

    54000130 000003EB

    020B9C9C 00146B40

    120B9CA0 00003444

    020BFCCC 001DECE0

    120BFCD0 000005F0

    020C5A2C 0246B560

    120C5A30 00001968

    D2000000 00000000

    ::Cynthia Battle

    :::Select+L

    54000130 000001FB

    020B9C9C 00149FA0

    120B9CA0 00003B28

    020BFCCC 001DF2E0

    120BFCD0 000004B4

    020C5A2C 0249CEE0

    120C5A30 00008A08

    D2000000 00000000

    ::World Champion Battle

    :::Select+R

    54000130 000002FB

    020B9C9C 00173200

    120B9CA0 00003F44

    020BFCCC 001E3AC0

    120BFCD0 00000458

    020C5A2C 02787780

    120C5A30 000089DC

    D2000000 00000000

  6. Im Taking It Nobody Knows If there is a full english translated pokesav?

    I've actually found that the version of Pokesav that I have works fine with the English savs. In fact, I've also found that savs don't care about language--you can play a Japanese sav with an English ROM/cart just fine. My version is the one marked "PSN [COMPLETE]." Please don't take my word for it, though, and if you're fooling around with this stuff, make appropriate backups first.

    Also, pardon me if I just missed it, but is there a battle music modifier code for the English games yet? [Edit: nvm, faospark has it. Yaay! So happy!]

×
×
  • Create New...