Sign in to follow this  
Followers 0
Made_s

Pokemon XD: GoD (and Pokemon Colosseum) File editing Tools

9 posts in this topic

This is a collection of a few small Java programs I wrote and have been using to edit some files in Pokemon xD: GoD and I've also recently found out that some of them also work with Pokemon Channel files.

They're mainly just more convenient than manually editing the files.

Almost all of them have size limits because changing file sizes needs modifications to the game's .toc and FSYS list.

  • GTX to TGA: Converts .gtx files to TGA images, mainly useful to find out what they are
  • I_SF Tool: Inserts/extracts DSP files into/from XD's music FSYS files, the filenames usually begin with "stm_"
  • SAMP Tool: The same as above, uses .samp and .sdir files to extract and insert music samples, can be used to replace sound samples for sequenced music (Colosseum) and soundeffects, Pokemon Channel contains some too
  • LZSS Tool: Inserts/extracts files into/from .fsys files, filenames should not be changed for the insertion to work
  • ModelTextureExtractor/Inserter: Inserts/Extracts textures from model files in the form of .tpl files, the standard offset should usually work for most battle models, the offset needs to be set to 32 for overworld models and maps and to custom ones for some battle models that have particle data before the model
    Insertion has two options of reducing the palette of a TPL using a palette in case it is too large, though both are quite buggy, it's mostly a last resort option
    Again, don't change filenames of extracted textures for the insertion to work
    These should also work for Pokemon Channel's .dat files and Pokemon Colosseum's models
  • MoveTextureExtractor/Inserter: Does the same as the model one, but only works directly on FSYS files, I'm really not sure why I wrote it like this
  • String Table Editor: Just a more convenient way of editing the String tables, just removes the need to manage offsets and so on, top right corner shows all Special characters, adding a single byte can be done with {} too
  • xD THP Tool: Inserts/Exracts THP files from FSYS archives, the filenames usually start with "movie" 

Download: Here

EDIT 22.03.2017: bug fixes to model texture tools

Edited by Made_s
1 person likes this

Share this post


Link to post
Share on other sites

Seems cool! And you did a very great job. However I don't hack Colosseum or XD, IMHO were perfect games, maybe the only wrong things were the pokémon cryes that were horrible to ear in NGC games (Anime cryes were be better) and that in Colosseum you cannot caught other wild pokémon like in XD...

Share this post


Link to post
Share on other sites

You could replace the cries with the SAMP Tool if you wanted to put in the effort.

Share this post


Link to post
Share on other sites

This is really great! Thanks for all the hard work on this. How is the research on editing the models going btw?

Share this post


Link to post
Share on other sites

I could get the mesh with textures, materials and so on easily, it's just the HAL DAT (Super Smash Bros Melee's) format hidden under some layers of structures.

I could also get it completely rigged if I was more experienced with Matrices and changing between spaces/coordinate systems/file formats and importing them into programs.

The things I'm looking for are the format of the animations and the arious property sections in these top layers of which I don't know what they do.

 

I can't really put an other meshes inside these files because the data is all mixed with other parts that I don't know.

Editing vertex positions is really easy though.

 

Oh, and I'm somewhat progressing onmap hitboxes.

Edited by Made_s

Share this post


Link to post
Share on other sites
On 25 January 2017 at 3:43 PM, Made_s said:

This is a collection of a few small Java programs I wrote and have been using to edit some files in Pokemon xD: GoD and I've also recently found out that some of them also work with Pokemon Channel files.

They're mainly just more convenient than manually editing the files.

Almost all of them have size limits because changing file sizes needs modifications to the game's .toc and FSYS list.

  • GTX to TGA: Converts .gtx files to TGA images, mainly useful to find out what they are
  • I_SF Tool: Inserts/extracts DSP files into/from XD's music FSYS files, the filenames usually begin with "stm_"
  • SAMP Tool: The same as above, uses .samp and .sdir files to extract and insert music samples, can be used to replace sound samples for sequenced music (Colosseum) and soundeffects, Pokemon Channel contains some too
  • LZSS Tool: Inserts/extracts files into/from .fsys files, filenames should not be changed for the insertion to work
  • ModelTextureExtractor/Inserter: Inserts/Extracts textures from model files in the form of .tpl files, the standard offset should usually work for most battle models, the offset needs to be set to 32 for overworld models and maps and to custom ones for some battle models that have particle data before the model
    Insertion has two options of reducing the palette of a TPL using a palette in case it is too large, though both are quite buggy, it's mostly a last resort option
    Again, don't change filenames of extracted textures for the insertion to work
    These should also work for Pokemon Channel's .dat files and Pokemon Colosseum's models
  • MoveTextureExtractor/Inserter: Does the same as the model one, but only works directly on FSYS files, I'm really not sure why I wrote it like this
  • String Table Editor: Just a more convenient way of editing the String tables, just removes the need to manage offsets and so on, top right corner shows all Special characters, adding a single byte can be done with {} too
  • xD THP Tool: Inserts/Exracts THP files from FSYS archives, the filenames usually start with "movie" 

Download: Here

These tools have been really helpful! I've hit a little snag though. When inserting tpls back into a model some of them aren't working. When reextracting them the textures are completely black. Do you know what causes this problem? Like maybe the new texture is too large or has too many colours?

Share this post


Link to post
Share on other sites

Can you send me a copy or the location in the iso of the model and the texture (s) you tried to insert?

EDIT: fixed some bugs in model texture tools try again now.

Edited by Made_s

Share this post


Link to post
Share on other sites
On 21 March 2017 at 6:06 AM, Made_s said:

Can you send me a copy or the location in the iso of the model and the texture (s) you tried to insert?

EDIT: fixed some bugs in model texture tools try again now.

Thanks, I'll give the new version ago. I was working with pkx_groudon.fsys at 0x1af3e6c0.

Here are the textures I'm trying to insert: https://www.mediafire.com/?ipukt940be23qrj

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0