Quibilia Posted October 21, 2015 Share Posted October 21, 2015 (edited) I've noticed there seems to be issues with extracting readable data from a Pokémon X/Y ROM. There are plenty of tools, like Ohana3DS and GARCTool, but they don't go together very well, and they don't support some file types. Therefore, I've posted a consolidated tutorial here for those of us who crave complete control over their data! All the files you need are in a ZIP file attached to this thread, save for the ROM because posting a 2 GB file would be a big no-no. You'll find a program labeled XObj (https://github.com/Quibilia/XObj) in the ZIP file. I wrote this program myself to examine the formats of the X/Y files and rename them accordingly. The copy of Ohana3DS Rebirth included in this ZIP file is a modified version designed to read the animations and textures in the ROM, which are containers of BCH files. I call it: Ohana3DS Transfigured! (https://github.com/Quibilia/Ohana3DS-Transfigured) The steps are as follows: 1. Run 3DS To CIA Converter.bat. Select option 5, then option 5 again. Type in the path to your ROM, and let it run. When the batch file tells you it's time to modify the files, close it. 2. Locate the subdirectory "romfs" where the batch file is stored. Enter it, and go into the subfolder "a". Copy (not move, COPY) everything in this folder to another folder labeled "XModels". The folder can be anywhere you want, as long as it's easy to get to. 3. Copy XObj.exe, GARC UnPacker.exe, and their accompanying batch files to the parent folder of XModels (if XModels is on your desktop, then your desktop), and run GARC.bat. This'll take a few minutes, so grab a soda. 4. When it's done, run XObj.exe, and it will look for any files that are compressed, and rename them to ".lz" files. Go into XModels, and enter the subdirectory "0/0/7.garc_". If there are no .lz files here, skip the next two steps. 5. Open Ohana3DS Rebirth.exe, and drag all of the .lz files into the window. They should be all grouped together in Windows Explorer (thanks, alphabetical order). It'll whir for a minute, and more likely than not stop responding, but let it run and it'll spit out some decompressed files. Go back into the parent folder of XModels, and run ClearCompressed.bat. This will delete all the compressed files, and leave the decompressed ones. Close Ohana3DS. 6. Run XObj again, and it'll convert each file in XModels to a format readable by our modified Ohana3DS. There are a lot of directories in XModels, but for this tutorial, we'll just be focusing on the files in 0/0/7.garc_, which hold the data for our favorite characters themselves. 7. Run ClearOriginals.bat, and it'll delete the original files, but leave the ones that we converted with XObj. 8. If you're looking for all of the models at once, here's where the real fun starts. Open Ohana3DS again, and go back into 0/0/7.garc_. Highlight all 8000-something files here, and drag them into the Ohana3DS window. The program will stop responding. After about five minutes, it should start responding again; when it does, the parent folder of XModels should be filled with .obj and .png files. Congratulations! You've successfully extracted all of the models and textures from your X/Y ROM. I'm still working out a conversion algorithm for the animations, but they should be convertible with Ohana3DS if you need them (just not with drag-drop support like the models and textures). 9. If you're looking for one or two models, I've outfitted Ohana3DS for that as well. Before dragging those 8000 files into the window, just go to the Open menu, and select a .PC file; this is a 3D model. From there, you can import textures in .PT format, or animations in .PB, .PK, or .PF formats. As for me, there are some questions I have about the animation files. It seems that all three formats contain more than one kind of animation, and they can be read pretty much the same way, so...what's the point in having more than one format? Also, if anyone could tell me where the skeletal animations are stored, I'd appreciate it. The material and visibility animations are stored along with the models, but the skeletal...they're hiding from me. Edited February 13, 2016 by Quibilia 1 Link to comment Share on other sites More sharing options...
Koalabuttz Posted December 28, 2015 Share Posted December 28, 2015 Sweet thread for X/Y man. But it's annoying having to figure out where everything is hidden Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 um, i followed everything it says, and its not working for me, im stuck at using the "garc.bat" file. if you could make a screenshot tutorial on how the files should be looking like, that'd be a great help Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 um, i followed everything it says, and its not working for me, im stuck at using the "garc.bat" file.if you could make a screenshot tutorial on how the files should be looking like, that'd be a great help Certainly. My apologies for the issue. [ATTACH=CONFIG]12889[/ATTACH] Make sure the romfs folder is NOT in the same directory as XModels. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 Certainly. My apologies for the issue.[ATTACH=CONFIG]12889[/ATTACH] Make sure the romfs folder is NOT in the same directory as XModels. cant see the attachment file :c also, whenever I attempt using the garc.bat i get this Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 cant see the attachment file :calso, whenever I attempt using the garc.bat i get this It should be a link to the picture? Have the GARC files already been extracted...? I'm using a ROM where the files are all still compressed, but it seems some ROMs leave them unpackaged. I will modify my tutorial to account for uncompressed ROMs. In the meantime, you should skip this step and check the files in the directory I've instructed. If they're all .bch files, and there are no files with any other extension, go to step 8. If there ARE other files, go to step 4. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 It should be a link to the picture?Have the GARC files already been extracted...? I'm using a ROM where the files are all still compressed, but it seems some ROMs leave them unpackaged. I will modify my tutorial to account for uncompressed ROMs. In the meantime, you should skip this step and check the files in the directory I've instructed. If they're all .bch files, and there are no files with any other extension, go to step 8. If there ARE other files, go to step 4. I tried to open the bch files earlier, but ohana literally shows nothing :c theres also no 0/0/7.garc_ directory either x.x it feels like it didnt extract the files at all Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 I tried to open the bch files earlier, but ohana literally shows nothing :c theres also no 0/0/7.garc_ directory either x.x it feels like it didnt extract the files at all Hmm... Can you attach a picture of your directory and a few folders in XModels? I've done this myself, but like I said, some ROMs might be different than others. EDIT: Also, if you're dragging and dropping, Ohana3DS isn't supposed to show anything in the window. It converts the files to other formats. If you go to the File->Open menu, THEN it should show something. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 This is the main directory and these are some of the folders pretty much all the other directories inside the xmodels folder have the .bch files added in as for when i open ohana, it literally shows nothing, just the grid, no models, no textures, nothing Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 This is the main directory and these are some of the folders pretty much all the other directories inside the xmodels folder have the .bch files added in as for when i open ohana, it literally shows nothing, just the grid, no models, no textures, nothing A-ha! Redownload the ZIP file. You're using an older version that I reuploaded because it had some problems. Use the copy of Ohana3DS included in the ZIP file. It's been modified for this tutorial. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 A-ha!Redownload the ZIP file. You're using an older version that I reuploaded because it had some problems. Use the copy of Ohana3DS included in the ZIP file. It's been modified for this tutorial. Wait, I'm confused, which ZIP file? the one in the attachment? because i did, but it's still the same x.x I've also used the same Ohana3DS within that file, and thats the one that loads nothing but grid on the BCH files x.x Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 Wait, I'm confused, which ZIP file? the one in the attachment? because i did, but it's still the same x.xI've also used the same Ohana3DS within that file, and thats the one that loads nothing but grid on the BCH files x.x Started to write a theory. Then it hit me. Download the ZIP file again. I've reuploaded it with a single minor tweak. Instead of renaming the GARC files to a different extension, it is now moving them to the same location with those extensions. This should fix it. EDIT: Also, I HIGHLY recommend you re-extract your ROM and start with a fresh XModels. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 Started to write a theory. Then it hit me.Download the ZIP file again. I've reuploaded it with a single minor tweak. Instead of renaming the GARC files to a different extension, it is now moving them to the same location with those extensions. This should fix it. EDIT: Also, I HIGHLY recommend you re-extract your ROM and start with a fresh XModels. I did that, however, for some reason, once it reaches the 0/0 section, the program stops working whenever i click "close program" it just continues to the next one, to prompt me again that pack stopped working Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 I did that, however, for some reason, once it reaches the 0/0 section, the program stops workingwhenever i click "close program" it just continues to the next one, to prompt me again that pack stopped working Aaaaaand I think I'm done for the night. I'll get back to you tomorrow. Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 Aaaaaand I think I'm done for the night. I'll get back to you tomorrow. lol same, ill wait x.x i just wanna be able to see the models with their in-game animations and whatnot x.x Link to comment Share on other sites More sharing options...
Quibilia Posted February 13, 2016 Author Share Posted February 13, 2016 lol same, ill wait x.xi just wanna be able to see the models with their in-game animations and whatnot x.x I've taken several looks around, but I just can't seem to figure out why the GARC Unpacker doesn't like your computer...if you'd like, I can send you a link to the finished models on my Google Drive (provided it's allowed by the moderators). Link to comment Share on other sites More sharing options...
Momotaro26 Posted February 13, 2016 Share Posted February 13, 2016 I've taken several looks around, but I just can't seem to figure out why the GARC Unpacker doesn't like your computer...if you'd like, I can send you a link to the finished models on my Google Drive (provided it's allowed by the moderators). if it lets me see the models with their animations/poses then yes please!!!! i would appreciate it so much, i'm already getting a heading over how long i've been looking around lol Link to comment Share on other sites More sharing options...
ccfman2004 Posted August 22, 2018 Share Posted August 22, 2018 Where is the Zip file that's supposed to be attached here? Link to comment Share on other sites More sharing options...
theSLAYER Posted August 22, 2018 Share Posted August 22, 2018 21 minutes ago, ccfman2004 said: Where is the Zip file that's supposed to be attached here? The post was last edited in 2016. Safe to say the zip was lost to time... Until @Quibilia comes online and gives you the zip, check Quibilia's Github page. it looks like some of the tools are there. (Also CC: @evandixon, in case you came across this zip during the shift) Link to comment Share on other sites More sharing options...
Quibilia Posted August 22, 2018 Author Share Posted August 22, 2018 I have been summoned! Yes, @theSLAYER is correct; the zip file was saved on my Google Drive, which since 2016 I have understandably reorganized and cleaned up, and the zip was not a file that survived. However, Ohana3DS Transfigured is still on my Github page, and from time to time I continue to update it. XObj, on the other hand, has been obsoleted by added features to Ohana and is no longer needed. Frankly, I might head over there once I'm done with this post and close that repository. 1 Link to comment Share on other sites More sharing options...
ccfman2004 Posted August 25, 2018 Share Posted August 25, 2018 How do I extract all the textures and sprites from the ROM files then? Link to comment Share on other sites More sharing options...
theSLAYER Posted August 25, 2018 Share Posted August 25, 2018 9 hours ago, ccfman2004 said: How do I extract all the textures and sprites from the ROM files then? I used to use this tool to help decrypt and obtain the relevant garc. Then, I would have to PK3DS to unpack the garcs. After that, the bins can be viewed with Ohana3DS. Link to comment Share on other sites More sharing options...
ccfman2004 Posted August 26, 2018 Share Posted August 26, 2018 I keep getting a "Not valid Win32 application" in your Ohana3DS with the Direct X dlls. Link to comment Share on other sites More sharing options...
skedgyedgy Posted September 3, 2018 Share Posted September 3, 2018 (edited) I may just be blind, but I can't find out how to download the zip. Edit: nvm, I just read the rest of the thread. Edited September 3, 2018 by skedgyedgy Link to comment Share on other sites More sharing options...
ccfman2004 Posted September 10, 2018 Share Posted September 10, 2018 On 8/26/2018 at 2:24 AM, ccfman2004 said: I keep getting a "Not valid Win32 application" in your Ohana3DS with the Direct X dlls. Any word on why I keep getting "Not a valid Win32 application" on the DirectX Dlls? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now