Advertiser Content

Pokeemerald USUM Data Files for Pokedex Expansion

Started by Buffel Saft February 6th, 2019 10:57 PM
  • 2310 views
  • 21 replies

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
This resource is exactly what the title says; Pokemon data files formatted for pokeemerald, dumped directly from Ultra Sun and Ultra Moon using a lightly modified version of pk3DS.
These files include data for every Pokemon in those games, including alternate forms, Mega evolutions, etc. Hopefully it'll be useful to anyone looking to expand the Pokedex in future.

The resource currently includes files for:
  • Base stats
  • Level up moves
  • Level up move pointers
  • Egg moves
  • Pokedex entries
  • Species list
  • Species names
  • High quality cries
  • Evolution data

In future I plan to add files for:
  • TM/HM compatibility
  • Move tutor compatibility
  • More cries

There are a few things to note:
  • All files are ordered based on Pokedex number, with sets for forms listed after Zeraora.
  • The Unown forms, egg and ??? slots present in the GBA games were removed in later games, so these are not included.
  • Some Pokemon names with special characters may need to be changed to match the decomp format; I replaced these by editing the USUM ROM by hand rather than doing it automatically, so some may have been overlooked.
  • Level up moves use the same format as they do in Dizzy's Battle Engine Upgrade.
  • Base stats include all three ability and held item slots (as opposed to the two slots the GBA games have for each of these), and use two bytes for base experience yield instead of one.
  • Pokedex text entries and height/weight etc are all in one file, and are available in both Chinese and English.
  • English Pokedex text entries have been reformatted to match pokeemerald in a separate file.
  • Cries must remain uncompressed to preserve quality.
  • Level up move pointers are set up so that in-battle forms (megas, Cherrim, etc.) share the same learnset as their base form, which makes editing them simpler.

All files are available in this repository: https://github.com/BuffelSaft/decomp_resources

Credits:
  • Kaphotics and other contributors to pk3DS for doing most of the real work put into this
  • Taの境界 for the evolution data and fantastic bilingual Pokedex entries files
  • MegaMawile999 for the species and species names files

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
I actually made pokedex entries and many other things <808, cant remember how exactly and how long i did it. I mean to update them in this few week break, if you dont mind pls count me in.
Attachment 87294
That's fantastic, great timing too; I was just about to start on those. I'll add them to the repository. Thanks for contributing, I look forward to seeing what else you've done!

Delta231

A noob

Male
India
Seen 1 Week Ago
Posted August 18th, 2019
689 posts
3.4 Years
That's fantastic, great timing too; I was just about to start on those. I'll add them to the repository. Thanks for contributing, I look forward to seeing what else you've done!
That file cannot be used for PokeEmerald as it uses Pokeagb as its header and file is bit different as well comparing from the repo one.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
That file cannot be used for PokeEmerald as it uses Pokeagb as its header and file is bit different as well comparing from the repo one.
It'll definitely need some restructuring, but the important thing is that all the dex entries are typed up and ready to go. I've made a file with the correct structure, so it'll just be a matter of copying all the entries into it, and making another file for all the dex data.
Seen March 5th, 2019
Posted March 3rd, 2019
18 posts
1.2 Years
i made "species_names.h" and "species.h" files!

to be sure i edited pokemon like nidoran and mr mime, using the original naming (Nidoran_M/NIDORAN_F/MR_MIME),
i also added manually the alternative forms of Arceus, Unown and Silvally, i don't know why but seems that in this resource they were absent :/

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
i made "species_names.h" and "species.h" files!

to be sure i edited pokemon like nidoran and mr mime, using the original naming (Nidoran_M/NIDORAN_F/MR_MIME),
i also added manually the alternative forms of Arceus, Unown and Silvally, i don't know why but seems that in this resource they were absent :/
Thanks for both of these! I've added them to the repository.

The alternative forms for those Pokemon haven't been included so far just because they don't have separate form data in the 3DS games. They don't need to be separate forms if they're implemented properly, as all their stats and movesets are the same, but they can always be added in future if needed.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
This is an awesome resource that'll be of great use to the decomps as well as binary hacks...and even to the people over at gamedev. Great work!
Thanks! Hopefully it'll let people spend more time on the fun parts of their hacks and less time on tedious data entry.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
I've just uploaded cries for gens IV - VII, as well as most forms. All cries are formatted as signed 8-bit PCM .aif files with 13379Hz sample rates (as suggested by Chaos Rush's old tutorial - it seems to be a good balance between quality and size). They haven't been filtered as they seemed pretty clean, but if you think otherwise please let me know so I can fix it. Also, note that all of these need to stay uncompressed; this is simple to do in a binary hack, so presumably it can be done easily in pokeemerald too.

3DS cries for gens I - V aren't done yet (a lot of them are horrible anyway), but they'll be uploaded sometime soon.

Avara

Female
Izantine
Seen 1 Day Ago
Posted 1 Day Ago
1,085 posts
7.9 Years
Thanks a lot for sharing! I'm sure loads of people will find these resources useful x

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
fixed the pokemon order in HOENN_DEX, now they're in the correct sequence!
Thanks! I've uploaded your fix to the repository.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
Waiting for a kind soul to add all gen4-7 mon sprites in decomp format. :15:
I was going to wait for MrDollSteak's Sugimori palette resource to be done before adding those (mostly because it includes second frames for animations), but I guess I could just use the DS style resources until then.

Taの境界

Seen September 4th, 2019
Posted September 4th, 2019
22 posts
4.8 Years
It'll definitely need some restructuring, but the important thing is that all the dex entries are typed up and ready to go. I've made a file with the correct structure, so it'll just be a matter of copying all the entries into it, and making another file for all the dex data.
Cool, glad that I could help. I will do the Chinese part(even no one might care).

I also worked on evolution list(even no one notice it was missing on the list), here's what I generated:evo_output_fix.txt.

Before I make it into the right structure I want to make sure of some quick question:
1. In species.h I realise that there are 3 instance of Raticate and others' define:
SPECIES_RATICATE
SPECIES_RATICATE_1
SPECIES_RATICATE_2
So which one is Alolan form and what is the use of the other one. I suggest to rename.

2. Alolan evolution condition
I believe related evolution branch need to consider the Alolan form as I will add constant into the method section.
eg.:
{{EVO_ITEM + ALOLAN_FORM, ITEM_THUNDER_STONE, SPECIES_RAICHU_ALOLAN}},
or better suggestion?

3. Mega and Primal revert
So does it still matter in evolution list?

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
Cool, glad that I could help. I will do the Chinese part(even no one might care).

I also worked on evolution list(even no one notice it was missing on the list), here's what I generated:Attachment 87407.

Before I make it into the right structure I want to make sure of some quick question:
1. In species.h I realise that there are 3 instance of Raticate and others' define:
SPECIES_RATICATE
SPECIES_RATICATE_1
SPECIES_RATICATE_2
So which one is Alolan form and what is the use of the other one. I suggest to rename.

2. Alolan evolution condition
I believe related evolution branch need to consider the Alolan form as I will add constant into the method section.
eg.:
{{EVO_ITEM + ALOLAN_FORM, ITEM_THUNDER_STONE, SPECIES_RAICHU_ALOLAN}},
or better suggestion?

3. Mega and Primal revert
So does it still matter in evolution list?
Can't believe no one noticed that was missing lol. The list looks good so far, just needs item names instead of IDs by the looks of it. To answer your questions:
  1. RATICATE_1 is the Alolan form, RATICATE_2 is the totem form, which is useless for this resource; I'll delete the totem forms entirely sometime soon.
  2. That's probably a good idea for now, people can always change that to whatever they want later.
  3. Same with Megas and Primals, it'd be good to have the data included, as it's easier to remove it than add it.

Thanks again for contributing!

Taの境界

Seen September 4th, 2019
Posted September 4th, 2019
22 posts
4.8 Years
evolution.txt

few thing to note:
Inkay evolution method seem to be impossible in gba so i change to level up normally.
Evolution at certain place shall be specified later as I use some placeholder map id.
I m not sure if Eevee evolution 6th 7th 8th branches is legal in decomp.

Here is the list of used evolution method:
EVO_NONE
EVO_FRIENDSHIP
EVO_FRIENDSHIP_DAY
EVO_FRIENDSHIP_NIGHT
EVO_LEVEL
EVO_TRADE
EVO_TRADE_ITEM
EVO_ITEM
EVO_LEVEL_ATK_GT_DEF
EVO_LEVEL_ATK_EQ_DEF
EVO_LEVEL_ATK_LT_DEF
EVO_LEVEL_SILCOON
EVO_LEVEL_CASCOON
EVO_LEVEL_NINJASK
EVO_LEVEL_SHEDINJA
EVO_BEAUTY
EVO_MOVE
EVO_MAP
EVO_LEVEL_DAY
EVO_LEVEL_NIGHT
EVO_ITEM_HOLD_DAY
EVO_ITEM_HOLD_NIGHT
EVO_LEVEL_MALE
EVO_LEVEL_FEMALE
EVO_RAINING_RAIN
EVO_SPECIFIC_POKEMON_IN_PARTY
EVO_SPECIFIC_POKEMON_TYPE_IN_PARTY
EVO_ITEM_MALE
EVO_ITEM_FEMALE
EVO_TRADE_WITH_SPECIFIC_POKEMON
EVO_LEVEL_DUSK
EVO_MEGA_EVOLUTION
EVO_WISH_MEGA_EVOLUTION
EVO_PRIMAL_REVERT
EVO_REVERT_MEGA

also pls check if any typo I did.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
Attachment 87480

few thing to note:
Inkay evolution method seem to be impossible in gba so i change to level up normally.
Evolution at certain place shall be specified later as I use some placeholder map id.
I m not sure if Eevee evolution 6th 7th 8th branches is legal in decomp.

also pls check if any typo I did.
Great work, thanks for that! I've added the file to the repository as is for now, it looks fine. I'll give all the files a check for typos and rename the forms to something more understandable as you suggested.

Once that's done the only things missing from the resource will be sprite- and cry-related tables, the rest of the 3DS cries and all the TM/HM/tutor data.

Buffel Saft

Male
Seen 7 Hours Ago
Posted 7 Hours Ago
579 posts
6.1 Years
I've just added a level up learnsets pointer file and renamed almost all of the forms to have more informative names. There's still a bit of clean up to do, but most files should now have consistent names for everything.
Advertiser Content