Jump to content

Kaphotics

Helpful Member
  • Posts

    6901
  • Joined

  • Last visited

  • Days Won

    325

Everything posted by Kaphotics

  1. PPTXT is only used to change text, or edit lines for event scripts. It can't add battle features.
  2. This was asked no less than a month ago in the same forum. http://projectpokemon.org/forums/showthread.php?26960-Convert-.3gpkm-to-.pkm 1. Save Game at Pal Park -> Export Backup Save 2. Do Pal Parking (with DeSmuME) 3. Save Game -> Export Save -> Extract PKMs 4. Reload Backup Save, repeat steps 2+.
  3. That or recompile using the Spanish data offsets you find using the method I previously described. I don't have any Spanish games so I'm not able to know where each narc starts.
  4. Changing sprites is done so long as you know their narc locations. Changing text is easy with PPTXT. Controlling opponent moves in a certain order requires TAS manipulation of the Mersenne Twister (randomness). The TAS aspect is only doable on emulator, and by those who have mastered controlling the RNG. I've posted that information at Smogon.
  5. Games aren't localized to Continent, they are localized to languages. So any English tool will work on your (U) ROM.
  6. The boxes are still there, you just can't see them. If you just want to delete "Box #", use the activator for Box #. Everything else isn't used.
  7. Technically it could be possible with a bunch of scripting to overwrite the zone data based on each square via script trigger tiles. However the writebytetooffset command (that is known to exist in gen 3) hasn't been identified. Besides that, an entire map can only use one encounter table. Which will always be the case (because doing ^ is stupid). So what andrewmyles said is correct.
  8. English localizations are the same regardless of EU / US. They are only localized per language, not region.
  9. Overworld Structure (unfinished) ~ Might look at PPRE source later to see if there's any similarity. Basically there's 8 bytes for a header, followed by any Furniture entries, then followed by NPCs, then Warps, then Triggers. At the end, every OW has 00000000 to signify the end of the file. [u]Header (0x08 long)[/u] 0x00-0x03: Overworld Data Read Length 0x04-0x07: Header Data (Count) 0x04: Furniture 0x05: NPCs/Interactables 0x06: Warps 0x07: Triggers (Floor) [u]Furniture (0x14 long) [/u] 0x00-0x01 - Script Used (???) 0x02-0x03 - ??? 0x04-0x05 - ??? 0x06-0x0B - X Coordinate 0x0C-0x0F - Y Coordinate 0x10-0x13 - Z Coordinate (lowest 4 bits for something else), signed! [u]NPC/Interactable (0x24 long) [/u] 0x00-0x01 - Overworld ID 0x02-0x03 - Overworld Sprite 0x04-0x05 - Movement Permissions 0x06-0x07 - Unused / Permission 2 0x08-0x09 - Overworld Flag ~ Items (checkflag related. Default 0) 0x0A-0x0B - Script Called (Special for Overworld Items) 0x0C-0x0D - Face Direction Default 00 00 = Up 01 00 = Down 02 00 = Left 03 00 = Right 0x0E-0x0F - Sight Range (Eyecatch Leash) 0x10-0x11 - ???? 0x12-0x13 - ???? 0x14-0x15 - Left/Righ Leash (Deviation) 0x16-0x17 - Up/Down Leash (Deviation) 0x18-0x19 - ???? 0x1A-0x1B - ???? 0x1C-0x1D - X Coordinate (Left/Right) 0x1E-0x1F - Y Coordinate (Up / Down) 0x20-0x21 - ???? 0x22-0x23 - Z Coordinate (Levitation) [u]Warp (0x14 long) [/u] 0x00-0x01 - Map 0x02-0x03 - UseWarpCoordinates (From Above Map) essentially chooses which Building/Side 0x04 - ??? (1/2/4) 0x05 - ??? (1/3/4) 0x06-0x09 - Exit X (lowest 4 bits act as directional flags?) 0x0A-0x0D - Exit Y (^) 0x0E-0x0F - X Extention (how far the warp extends RIGHT) 0x10-0x11 - Y Extention (how far the warp extends up/down, unsure) 0x12-0x13 - ??? (00) [u]Trigger (0x16 long) [/u] 0x00-0x01 - Entity Number? 0x02-0x03 - Constant Value 0x04-0x05 - Constant Reference - Apparently, if Ref=Val, trigger. 0x06-0x07 - ???? 0x08-0x09 - ???? 0x0A-0x0B - X Coordinate (16bit) 0x0C-0x0D - Y Coordinate (16bit) 0x0E-0x0F - Z Coordinate (16 Bit) 0x10-0x11 - ???? 0x12-0x13 - ???? 0x14-0x15 - ???? Extra Stuff (Trigger Related?) 0x06 long 0x00-0x01 - Selects One of something 0x02-0x05 - Does something to it [u]00 00 00 00 = end of overworld (at the end of every OW file), sometimes 00 00 [/u] for parsing: Furniture Start (if readbyte(0x04)>0): 0x08 NPC Start (if readbyte(0x05)>0): 0x08+readbyte(0x04)*0x14 Warp Start (if readbyte(0x06)>0): 0x08+readbyte(0x04)*0x14+readbyte(0x05)*0x24 Trigger Start (if readbyte(0x07)>0): 0x08+readbyte(0x04)*0x14+readbyte(0x05)*0x24+readbyte(0x06)*0x14 Extra/End: 0x08+readbyte(0x04)*0x14+readbyte(0x05)*0x24+readbyte(0x06)*0x14+readbyte(0x07)*0x16 BW Movement Permissions ~ via Oxnite 02 00 Looking AROUND (randomly) 03 00 Walking AROUND randomly till max 04 00 Looking UP and DOWN 05 00 Looking LEFT and RIGHT 06 00 Looking UP and LEFT 07 00 Looking UP and RIGHT 08 00 Looking LEFT and DOWN 09 00 Looking RIGHT and DOWN 0A 00 Looking UP, DOWN and LEFT (randomly) 0B 00 Looking UP, DOWN and RIGHT (randomly) 0C 00 Looking UP, LEFT and RIGHT (randomly) 0D 00 Looking DOWN, LEFT and RIGHT (randomly) 0E 00 Looking UP 0F 00 Looking DOWN 10 00 Looking LEFT 11 00 Looking RIGHT 12 00 Looking UP, LEFT, DOWN, RIGHT (counter-clockwise) 13 00 Looking UP, RIGHT, DOWN, LEFT (clockwise) 20 00 Running DOWN till max, RIGHT till max; then returns + repeats 21 00 Running RIGHT till max, UP till max; then returns + repeats ezmeh tutorial video
  10. The patched ROM is not compressed, it's trimmed. There's not that much data inside the ROM; there's just meaningless padding to reach 512 MB. You can still extract narcs with editor.exe / Tinke.
  11. Nah, I haven't dabbled in overworld editing. Drayano has added NPCs but we're not totally sure on what the overall structure is. Since I'm home on break I can't really give anything to help but I can tell you what I know: If you open an overworld file (similar to a script file), it's essentially a list that tells the game what (and how much) to load when it comes to NPCs, objects, etc. There's a header at the top which contains a bunch of #'s similar to how Advance Map has a NPC counter and other counts. The game then loads the overworld occupants/objects depending on how many it is instructed to load. All one would have to do is add the desired hex string in the proper format and edit the header setting. Identification and editing is similar to script editing. Use my zone data Lua script (B/W Lua scripts w/e) and it will tell you what overworld file is loaded in the game. You then extract the narc and open the overworld file that is used. For NPCs there's a certain structure (I think there's a thread on Moving Overworld NPCs) which has XZY coordinates, sprite, script assignment, and movement leashes. Drayano could possibly have something to help, but when he made BBVW2 he didn't really document the exact structure afaik. Figuring out the structure wouldn't take too much time so long as you know how to look!
  12. That question was asked already (post #33) and I provided an answer. Not possible atm, feel free to research it yourself.
  13. narc locations: http://projectpokemon.org/forums/showthread.php?24589-B2W2-General-ROM-Info Evolution Editing: http://projectpokemon.org/forums/showthread.php?17426-Pokemon-ROM-Changer There isn't any info on how to edit overworlds but it's pretty easy. You just have to add in the string for a NPC at the end of the NPC list, and increase the header's NPC_count by 1.
  14. k (note: nationality is kept when hatching a traded egg; presumably the origin game doesn't either). Gen IV ~= Gen V
  15. >Pal Parked using DeSmuMe. There's your problem. We don't support it because they are so wildly variant... we just support Retail resultant trash bytes (and a few emulator ones); just run them through trashbytes.exe if you want to fix them.
  16. You said you edited it to Hydreigon. You made no mention of fixing its level >=64. Plus it doesn't help when I have nothing to reference; it's not on your account.
  17. You probably didn't change the level to be legal. Pokecheck is set up to try and find a valid encounter (place, and level), and when it fails it gives that message.
  18. Neat that it has Nasty Plot and Dark Pulse, two previously unobtainables (?) Official page on the event: http://www.pokemon.co.jp/info/2012/12/121210_g01.html
  19. Most likely to be >10 games without DQ, distributed to the PGL account once results are out.
  20. Those are scattered around in each map's script. There's no table.
  21. PokeGen does do it correctly. You just have to type the \ first. It will allow you to enter whatever 4 digits in place of a character. lol @ "I'm trying to beat Pokecheck and code legit Pokemon"
  22. they're going to be available in the entree forest, so there's no wondercards.
  23. More on Giving Items: Using Flags and more Subscripts! One of the cool things about B2W2 is that there's a bunch of built in secondary scripts you can call by using variables. For example, we'll look at a GiveItem script that goes beyond just giving an item; it's super easy to set an NPC up with this kind of script. A bit of background on the 0x001C command: The 0x001C command instructs the game to branch out to another script file to continue the event. By setting variables in the main script, the secondary script can then execute a common routine with ease. If you ever need to do the same kind of script again, you just call the script again! Basically it's a subfunction you can use at any time. The secondary script we'll be using is 0x0AF0; this script uses 7 defined variables to give one (+quantity) item, check and set a flag, and play 3 unique messages based on the flag setting. Example Script that uses 0x001C 0x0AF0: ===== Analyzing the script to use in a desired custom script: Here's the raw hex for a main script that calls 0x0AF0: Now a somewhat translated to readable via the Lua script: If you want this in a custom script, all you have to do is define your variables and call 0x0AF0 the same way the example script does. Be sure to define an item, quantity, flag, and the 3 text messages that are to used. The secondary script does the rest of the work for you! Just for kicks, here's the layout of 0x0AF0 so you can see how it works.
  24. >always crit code never happening. Just because you won't abuse it doesn't mean others won't. Plus, lol wondertomb?
×
×
  • Create New...