1. CharizardMen99

    OP CharizardMen99 GBAtemp Regular
    Member

    Joined:
    Aug 20, 2015
    Messages:
    147
    Country:
    Italy
    With PKSM, I just managed to extract the folder with the mugshots from the game and I replaced and swapped a few mugshots since I wanted to try something, but the problem now is...

    what do I need to do after I did everything I needed to do?

    Do I need to rebuild something? or do something else?
     
  2. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    20,896
    Country:
    Norway
    With Luma3DS' LayeredFS you can simply place the modified files in the correct locations on the SD card and they will be loaded (if game patches are enabled in config) Otherwise, normally you'd have to rebuild the RomFS, and I'm not sure what goes there for Pokemon because Game Freak are a bit odd and like to not use file names at all in archives in any of the DS or 3DS games, which can trip up some tools. Rebuilding the RomFS is something you would usually do with the same tool you used to unpack it, which is especially true for Pokemon as due to not having file names, one tool might (not sure if this is the case or not) name the files slightly differently than another, and then when rebuilding it won't work correctly if the names are wrong. LayeredFS is by far the easier option though. How to use LayeredFS is a bit much to get into here but you can probably find some good tutorials around.
     
    Last edited by The Real Jdbye, Aug 6, 2020
  3. CharizardMen99

    OP CharizardMen99 GBAtemp Regular
    Member

    Joined:
    Aug 20, 2015
    Messages:
    147
    Country:
    Italy
    You use that on pc or 3ds? Because I wanna try building a 3ds file for citra
     
  4. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    20,896
    Country:
    Norway
    In that case, give this a try: https://gbatemp.net/threads/installing-mods-hacks-for-citra-3ds-emulator.521228/
    As far as I remember, Game Freak uses their own archives inside the RomFS, which also contain multiple files. So before you can use your modified files, you need to put them back into the same archive(s) they came from. Once the RomFS is unpacked, you can use GARCTool to unpack the .bin files, replace whatever you want, and repack the folder again using the same tool before the RomFS is ready to be repacked with your edits. PKSM by itself does not seem like it allows you to repack the archives. Well, it is a save editing tool, not a modding tool after all.
    GARCTool: https://projectpokemon.org/home/forums/topic/33035-kaphotics-xy-tools/
    The tricky part is figuring out what file(s) the things you want to edit are in, since there are no filenames. There are probably incomplete lists scattered around the forum that should have most of the things people would want to edit.
     
  5. CharizardMen99

    OP CharizardMen99 GBAtemp Regular
    Member

    Joined:
    Aug 20, 2015
    Messages:
    147
    Country:
    Italy
    After I got the 0_.garc file, can I rebuild? Or I need to delete the original "0" file and the 0_ folder?
     
  6. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    20,896
    Country:
    Norway
    Delete or move them, name the .garc the same as the original one.
     
  7. CharizardMen99

    OP CharizardMen99 GBAtemp Regular
    Member

    Joined:
    Aug 20, 2015
    Messages:
    147
    Country:
    Italy
    The problem is that the og file does't have a file extension, so... I just delete the .garc and I'm ready to go?
     
  8. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08
    Member

    Joined:
    Mar 17, 2010
    Messages:
    20,896
    Country:
    Norway
    Yeah. GARC is just the format, since like I said the RomFS doesn't have any file names, so they just decided to name it that. The important thing is that it's called the exact same thing as the old file so that the RomFS builder will put it in the right place. If you for example changed it to a different number, it might build the RomFS fine, but the game wouldn't find the file where it expects it and likely crash. And if it's named something other than just a number the RomFS builder might ignore it entirely.
     
  9. CharizardMen99

    OP CharizardMen99 GBAtemp Regular
    Member

    Joined:
    Aug 20, 2015
    Messages:
    147
    Country:
    Italy
    I did it yesterday, and managed to make it work on citra, everything works.

    But something strange I noticed is... that PK3DS option to export to .3ds is greyed out and not avaiable while it always was?
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - mugshots, Pokémon, related