Cvm tool: Difference between revisions

From Ryu Ga Gotoku Wiki
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
cvm_tool was released by roxfan in 2010. It can "split" the [[CVM]] into separate header and ISO files, so that you can edit the contents of the archive and then "make" a new CVM.
cvm_tool was released by roxfan in 2010. It can split the [[CVM|.cvm]] into a header and ISO file. You can then edit the contents of the archive and create a new ROFS image.
<br>
<br>
The tool can be found [https://github.com/mchubby/RE-games-attic/tree/master/sega-nextech/cvm_tool%20%5Broxfan%5D here]
The tool can be found [https://github.com/mchubby/RE-games-attic/tree/master/sega-nextech/cvm_tool%20%5Broxfan%5D here]


=Usage=
=Usage=
First, you need to extract the tool and put the [[CVM]] archive on the same folder <br>
Use the following commands to:  
Second, open Command Prompt then type <code>cd /d your_folder_directory</code> <br>
<ul><li>Extract ISO file from a ROFS image:<br><code>split [-p <password>] <file.cvm> <file.iso> [<file.hdr>]</code></li>
Then use the following command to:
<li>Create a ROFS image from an ISO file and header file:<br><code>mkcvm [-p <password>] <file.cvm> <file.iso>  <file.hdr></code></li></ul>
<br>
 
'''Output an ISO file for you to edit:'''
===For Linux===
<br>
You can build cvmtool by cloning this [https://github.com/JayFoxRox/cvm_tool repository].
<code>cvm_tool.exe -p archive_password split file.CVM  file.iso file.hdr</code>
<br>
'''Use this to repack your CVM back:'''
<br>
<code>cvm_tool.exe -p archive_password mkcvm file.CVM  file.iso file.hdr</code>


*Go to the cloned repository directory and create a new directory for building and go there.
*Use the command <code>cmake ..</code> then <code>make</code>
*Use the commands above with <code>cvm_tool</code> before them.
[[Category:Tools]]
[[Category:Tools]]

Latest revision as of 00:54, 6 April 2025

cvm_tool was released by roxfan in 2010. It can split the .cvm into a header and ISO file. You can then edit the contents of the archive and create a new ROFS image.
The tool can be found here

Usage

Use the following commands to:

  • Extract ISO file from a ROFS image:
    split [-p <password>] <file.cvm> <file.iso> [<file.hdr>]
  • Create a ROFS image from an ISO file and header file:
    mkcvm [-p <password>] <file.cvm> <file.iso> <file.hdr>

For Linux

You can build cvmtool by cloning this repository.

  • Go to the cloned repository directory and create a new directory for building and go there.
  • Use the command cmake .. then make
  • Use the commands above with cvm_tool before them.