Difference between revisions of "Juiced 2: Hot Import Nights JFS"

From XentaxWiki
Jump to: navigation, search
(Created page with "{{GRAFPageHeader}} == JFS == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...")
 
(Games)
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 
<pre>
 
<pre>
 +
//header
 +
4 bytes (uint32) - total number of files
  
 +
// files info
 +
num_of_files *
 +
{
 +
  4 bytes (uint32) - filename hash
 +
  4 bytes (uint32) - file offset
 +
  4 bytes (uint32) - file compressed size
 +
  4 bytes (uint32) - file uncompressed size
 +
  4 bytes (uint32) - file compression level
 +
  4 bytes (uint32) - compression flag  // 0 - not compressed
 +
                                        // 1 - compressed (ZLIB)
 +
}
 +
 +
// data
 +
num_of_files *
 +
{
 +
  x bytes - file data
 +
}
 
</pre>
 
</pre>
 
</div>
 
</div>
Line 21: Line 40:
 
=== Notes and Comments ===  
 
=== Notes and Comments ===  
  
None.
+
* Data can be compressed with '''ZLIB'''.
 +
* Custom hash function is in use for filenames.
  
 
=== Games ===  
 
=== Games ===  
 
List of games using this file format:
 
List of games using this file format:
* Juiced 2: Hot Import Nights
+
* Juiced 2: Hot Import Nights (*.JFS)
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
  
 
* [https://github.com/Ekey/JCED2.JFS.Tool JCED2.JFS.Tool (+source code)]
 
* [https://github.com/Ekey/JCED2.JFS.Tool JCED2.JFS.Tool (+source code)]
 +
 +
=== See Also ===
 +
 +
* [https://github.com/Ekey/JCED2.JFS.Tool/blob/main/JCED2.Unpacker/JCED2.Unpacker/FileSystem/Package/JfsHash.cs Juiced 2 hash function]
 
<br/><br>
 
<br/><br>
  
  
[[Category:Complete WIP|Juiced 2: Hot Import Nights JFS]]
+
[[Category:Complete Complete|Juiced 2: Hot Import Nights JFS]]
 
[[Category:Platform PC|Juiced 2: Hot Import Nights JFS]]
 
[[Category:Platform PC|Juiced 2: Hot Import Nights JFS]]
[[Category:CE None|Juiced 2: Hot Import Nights JFS]]
+
[[Category:CE Compressed|Juiced 2: Hot Import Nights JFS]]
 
[[Category:Format_Archive | Type: Archive]]
 
[[Category:Format_Archive | Type: Archive]]
 
[[Category:Extension_jfs | Extension: jfs]]
 
[[Category:Extension_jfs | Extension: jfs]]
 
[[Category:BMS_None | BMS: None]]
 
[[Category:BMS_None | BMS: None]]
 +
[[Category:ZLIB compression]]
 
[[Category:File Format]]
 
[[Category:File Format]]

Latest revision as of 21:42, 4 December 2021

Back to index | Edit this page

JFS

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : None


Format Specifications

//header 
4 bytes (uint32) - total number of files

// files info
num_of_files *
{
   4 bytes (uint32) - filename hash
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file compressed size
   4 bytes (uint32) - file uncompressed size
   4 bytes (uint32) - file compression level
   4 bytes (uint32) - compression flag  // 0 - not compressed
                                        // 1 - compressed (ZLIB)
}

// data
num_of_files *
{
   x bytes - file data
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Data can be compressed with ZLIB.
  • Custom hash function is in use for filenames.

Games

List of games using this file format:

  • Juiced 2: Hot Import Nights (*.JFS)

Compatible Programs

See Also