don't click here

Puyo Tools

Discussion in 'Technical Discussion' started by NickW, Sep 25, 2008.

  1. NickW

    NickW

    Member
    Hi, the project is not dead. Puyo Tools now has ONE archive support (the ones from Sonic Unleashed, not the ones from Shadow the Hedgehog.)

    Also, Game Archive Explorer has been added to the project page. Use that and Puyo Tools if you want to extract everything from PS2 Sonic Unleashed.

    Were also working on the ONZ compression from the Wii version of Sonic Unleashed.
     
  2. NickW

    NickW

    Member
    Hi again everybody. I won't be able to make a New Years Release of the next version of Puyo Tools. I'm currently completely rewriting the archive extraction/creation code, and added support for PVM's and GVM's.

    [​IMG]
    [​IMG]
    Don't worry that it is a different program. The archive code between them is the same.

    I will probably also add support for SADX DAT files eventually.
     
  3. Meat Miracle

    Meat Miracle

    Researcher
    1,664
    5
    18
    See if you guys can crack the script format in Madou Monogatari. It's driving me nuts.
     
  4. evilhamwizard

    evilhamwizard

    Researcher
    1,403
    493
    63
  5. NickW

    NickW

    Member
    I'll take a look at it soon, don't worry.

    :) I'm surprised why no one made a GVM extractor before, considering the format is identical to a PVM but with some values byte-swapped.

    You should ask nmn about that, he's the one that mainly figured out the GVR format. Also, not all GVR's are currently supported, and even fewer are supported in the version of GvrConv I included. Also, GvrConv expects the first 4 bytes of the GVR to be GCIX (I found out later that Gamecube GVR's use GBIX). That's probably why your batch program isn't working.

    I should also mention that PVM and GVM reading is probably much faster than the other PVM extractors because I don't search through the PVM looking for the text "PVRT" (GVRT in GMV's) as the start of a new PVR. Maybe you can guess how :colbert: (Hint: Look at the 4 bytes after the PVRT header.) And AFS reading is SO much faster than in AFS Explorer. *end bragging*
     
  6. NickW

    NickW

    Member
    It's been a long time but now 0.12 Alpha 1 has been released!

    - Rewrote mostly everything.
    - LZSS compression format is now supported.
    - The following archive formats are now supported:
    • GVM (GBIX header is automatically added to the extracted GVR files.)
    • NARC, both ones that contain and do not contain filenames (and CARC since LZSS is supported)
    • PVM (GBIX header is automatically added to the extracted PVR files.)
    - GvrConv replaced by VrSharp. Now supports a few more GVR image formats and no longer requires a seperate program.

    Current limitations of the new alpha:
    - Cannot LZSS compress files.
    - Cannot create archives (I still have to rewrite the code).
    - Cannot convert GMP->PNG.
     
  7. NickW

    NickW

    Member
    Version 0.12 Alpha 3 released! Since I haven't posted 0.12 Alpha 2 here, I'll post those changes too.

    New in 0.12 alpha 2:
    - Adds support for ONZ compression (Sonic Unleashed Wii). Now ONZ/ONE files can be extracted.
    - Adds support for Storybook Archives (ONE files in Sonic Secret Rings and Sonic & The Black Knight).
    - Adds support for TXAG Archives (TXD archives containing gvr files in Black Knight)
    - The compression decompressor and the image converter now work.
    - Some bugs fixed.

    New in 0.12 alpha 3:
    - Adds an archive explorer; replaces the need for Game Archive Explorer. It will auto-decompress files upon opening them, so you don't need to decompress them first (you don't need to decompress the onz files to open them for example). Also, you can double click on internal archives to open them.
    - Adds support for MDL archives.
     
  8. Polygon Jim

    Polygon Jim

    Eternal Tech Member
    0
    3
    0
    across town from Hinchy
    All the bitches.
    Awesome, can't wait to get into the Unleashed onz files :(
     
  9. NickW

    NickW

    Member
    Version 0.12 Alpha 4 Released!

    - Puyo Tools now requires .NET Framework 3.5. Make sure you have it installed before complaining that the program won't run.
    - Adds archive creation support for every archive except Storybook Archives.
    - Adds a compressor for CXLZ and LZSS compression.
    - Fixed bug with CXLZ decompression.
    - New menu screen.

    Since we now have the ability to create GVM files, maybe we can see some texture hacks of Billy Hatcher (or not).
     
  10. NickW

    NickW

    Member
    Version 0.12 Alpha 5 released! It's probably the last release before Version 1.0.0 ;) This release greatly improves on the image support in Puyo Tools:

    * Adds an Image Viewer; now you no longer need to convert GIM/GVR/SVR images to PNG to view them. It's also embedded into the archive explorer so you don't need to extract them to view them; double click and they should open (including ones that require an external palette, as long as the palette is in the archive).
    * Many more GVR formats supports. I'd say about 99% of GVR's are now supported (so far there are only a couple in SADX that don't work, in the AL_BODY.gvm file).
    * PS2 Unswizzling fixes, now 8-bit SVR's work. Also, many SVR fomats (all of them?) added; 4-bit images work but aren't unswizzled properly.
    * GimConv replaced with GimSharp. Now GIM files are processed much faster and don't require a separate program to work.
    * Adds support for PRS decompression.
    * Fixes some issues in VrSharp: PVR images no longer get detected as an SVR, Gamecube GVR files now work, files without the GBIX/GCIX header that start with PVRT/GVRT now work.

    As usual the link is in the first post.
     
  11. NickW

    NickW

    Member
    Sorry I didn't post the last 2 updates here, but here they are now:

    1.0.0 Beta 1:
    * Adds PVZ compression and decompression support.
    * PVR support added for some PVR formats.
    * Creation for some PVR formats added.

    1.0.0 Beta 2:
    * Fixed 4-bit and 8-bit PVR textures when their width and height were not the same.
    * Fixed bug where the Global Index was not written to the PVR file.
    * Fixed bug where the GBIX header was always added to the PVR file, regardless of the setting that was chosen.
    * Image decoding where the file requires an external palette now works whenever you can convert an image to PNG. Note that if you are extracting via Archive Explorer, the palette file must be in the archive itself; there is no need to extract it.
    * The Archive Extractor now extracts all files first before converting them to images. This is due to the fact that the image may be extracted before the external palette file it relies upon.
    * Adds support for some more SVR formats. Note that SVR unswizzling for 4-bit textures are still wrong.
    * Compressing/decompressing with PVZ no longer requires you to have the GBIX header (as the file still works in Puyo Puyo Fever without the GBIX header.)
    * Fixed bug where PVZ compression might be incorrectly identified as LZSS or ONZ compression.
    * Importing another PVR file in the Image Encoder will now check/uncheck the add GBIX header box if the file contains a GBIX header.
    * Fixed MRG archive creation.
    * Some changes to the Archive Creator.
    * Some big internal changes.
    * Some changes to the archive names.
     
  12. Meat Miracle

    Meat Miracle

    Researcher
    1,664
    5
    18
    Any chance you can look into extracting the script from Madou Monogatar SS?
     
  13. NickW

    NickW

    Member
    I'll be on vacation for the next few days, but I'll probably be able to check it out Sunday.
     
  14. Meat Miracle

    Meat Miracle

    Researcher
    1,664
    5
    18
    I'm pretty sure the only thing missing is an ascii table to make the text readable, diary.seq and common.seq should be mostly text.
     
  15. evilhamwizard

    evilhamwizard

    Researcher
    1,403
    493
    63
    Hey Yoshi15, I was wondering if you could possibly look into the PAKFILE format that's being used for some of the Sega Ages collections (like Space Harrier and Phantasy Star Collection)? They contain some roms that haven't been released in a GoodSet yet (some of the Phantasy Star text adventures are in the GoodSets but not all of them).
     
  16. NickW

    NickW

    Member
    Can you post one of those files?
     
  17. evilhamwizard

    evilhamwizard

    Researcher
    1,403
    493
    63
  18. NickW

    NickW

    Member
    The file format appears to be rather easy, the main problem is that all the files appear to be compressed with lzs2, according to the file header.
     
  19. evilhamwizard

    evilhamwizard

    Researcher
    1,403
    493
    63
    Hey, I was wondering if you (or anyone else) could help crack this compression format they used for the Sonic's Ultimate Genesis Collection. This should be where all the roms are, as there really is no other place the data could be (besides the artwork, the movies, and one .xma). You can check it out here.

    Not familiar with the 30GF/FRG compression. :\
     
  20. Meat Miracle

    Meat Miracle

    Researcher
    1,664
    5
    18