Sonic Games PAC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(12 intermediate revisions by the same user not shown)
Line 4: Line 4:
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian \ Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian \ Little Endian <br>
* ''' Signature ''':    PACx <br>




Line 14: Line 15:
3 bytes (char) - version  // "201" - Mario & Sonic at the Rio 2016 Olympic Games  
3 bytes (char) - version  // "201" - Mario & Sonic at the Rio 2016 Olympic Games  
                           // "301" - Sonic Forces
                           // "301" - Sonic Forces
                          // "403" - Sonic Frontiers
1 byte (char) - endian flag  // "B" - big endian
1 byte (char) - endian flag  // "B" - big endian
                             // "L" - little endian
                             // "L" - little endian
Line 32: Line 34:
=== Notes and Comments ===  
=== Notes and Comments ===  


None.
* Files inside archive may be compressed with '''LZ4''' or '''Deflate''' compression methods.


=== Games ===  
=== Games ===  
Line 40: Line 42:
* Mario & Sonic at the Olympic Games Tokyo 2020
* Mario & Sonic at the Olympic Games Tokyo 2020
* Sakura Wars
* Sakura Wars
* Sonic Frontiers
* Sonic Forces
* Sonic Forces
* Sonic Lost World (PC/Wii U)
* Sonic Lost World (PC/Wii U)
Line 46: Line 49:
=== Compatible Programs ===  
=== Compatible Programs ===  


* [https://github.com/Radfordhound/HedgeLib HedgeLib (HedgeArcPack)]
* [https://github.com/Radfordhound/HedgeLib HedgeLib / HedgeArcPack / HedgeTools]
* [https://github.com/KillzXGaming/Switch-Toolbox Switch-Toolbox] (support for Sonic Forces only)
* [https://github.com/KillzXGaming/Switch-Toolbox Switch-Toolbox] (support for Sonic Forces only)
* [https://gist.github.com/blueskythlikesclouds/887d227301dd3c0ea3c62ab6984388cc SFPac] (support for Sonic Forces only)
* [https://gist.github.com/blueskythlikesclouds/887d227301dd3c0ea3c62ab6984388cc SFPac] (support for Sonic Forces only)

Latest revision as of 20:22, 8 November 2022

Back to index | Edit this page

PAC

  • Format Type : Archive
  • Endian Order : Big Endian \ Little Endian
  • Signature : PACx


Format Specifications

//header
4 bytes (char) - signature  // "PACx"
3 bytes (char) - version  // "201" - Mario & Sonic at the Rio 2016 Olympic Games 
                          // "301" - Sonic Forces
                          // "403" - Sonic Frontiers
1 byte (char) - endian flag  // "B" - big endian
                             // "L" - little endian
4 bytes (uint32) - UID / Archive Size

//TODO

MultiEx BMS Script

Not written yet.

QuickBMS Script

Notes and Comments

  • Files inside archive may be compressed with LZ4 or Deflate compression methods.

Games

List of games using this file format:

  • Puyo Puyo Tetris 2
  • Olympic Games Tokyo 2020 - The Official Video Game
  • Mario & Sonic at the Olympic Games Tokyo 2020
  • Sakura Wars
  • Sonic Frontiers
  • Sonic Forces
  • Sonic Lost World (PC/Wii U)
  • Mario & Sonic at the Rio 2016 Olympic Games (Wii U)

Compatible Programs

HedgeArcPack Example

HedgeArcPack can be used to unpack data:

HedgeArcPack.exe -T=rio -E pea_anim_gymcln_BRZ.pac out_dir