Editing Save disk space for ISOs

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 17: Line 17:
 
:* BIN/ISO is the full disc data, including Audio-CD sound data and game data
 
:* BIN/ISO is the full disc data, including Audio-CD sound data and game data
 
:* CUE is the datasheet file
 
:* CUE is the datasheet file
: '''Light Dump:''' ISO + MP3/FLAC/WAV + CUE
+
: '''Light Dump:''' ISO + MP3/WAV + CUE
 
:* ISO is the disc data with only the game data
 
:* ISO is the disc data with only the game data
:* MP3/FLAC/WAV is the sound data from the Audio-CD, but these formats take much less disk space
+
:* MP3/WAV is the sound data from the Audio-CD, but these formats take much less disk space
 
:* CUE is the datasheet file
 
:* CUE is the datasheet file
  
Line 27: Line 27:
 
* '''Gain:''' Several hundreds of MBs to just a few dozens, depending on how much this specific game relies on the Audio-CD sound format
 
* '''Gain:''' Several hundreds of MBs to just a few dozens, depending on how much this specific game relies on the Audio-CD sound format
 
* '''Tools Used:''' Load the BIN+CUE using a virtual drive, then use a CD dumping tool
 
* '''Tools Used:''' Load the BIN+CUE using a virtual drive, then use a CD dumping tool
* '''Can be reverted?''' Yes, just burn the ISO+MP3/FLAC/WAV+CUE again using a CD burner tool (ImgBurner) either to a physical disk or as an ISO+BIN file. Lossy audio formats will result in data loss.
+
* '''Can be reverted?''' Yes, just burn the ISO+MP3/WAV+CUE again using a CD burner tool (ImgBurner) either to a physical disk or as an ISO+BIN file. Lossy audio formats will result in data loss.
 
* '''Playable on Hardware?''' No, but can be reverted to be
 
* '''Playable on Hardware?''' No, but can be reverted to be
 
* '''Playable on Emulators?''' Anything that supports loading from .cue files, or direct from the optical drive (if you use a virtual disc loader like CDEmu). Some aren't compatible with MP3, if that's the case, convert them to WAV with MP32WAV. You may need Sega Cue Maker.
 
* '''Playable on Emulators?''' Anything that supports loading from .cue files, or direct from the optical drive (if you use a virtual disc loader like CDEmu). Some aren't compatible with MP3, if that's the case, convert them to WAV with MP32WAV. You may need Sega Cue Maker.
Line 60: Line 60:
  
 
'''Instructions'''
 
'''Instructions'''
Place the chdman executable and extractcd in the same directory as the dumps you want to compress (dumps must be in BIN+CUE format or GDI).  Open Command Prompt or a terminal emulator and navigate to the directory where you placed the chdman executable and input one of the following:
+
Place chdman.exe and extractcd in the same directory as the dumps you want to compress (dumps must be in BIN+CUE format or GDI).  Open Command Prompt and navigate to the directory where you placed chdman.exe and input one of the following:
* BIN/CUE-GDI to CHD:
+
* BIN/CUE-GDI to CHD: <code>for /R %i in (*.cue, *.gdi) do chdman createcd -i "%i" -o "%~ni.chd"</code> (Windows)
for /R %i in (*.cue, *.gdi) do chdman createcd -i "%i" -o "%~ni.chd" (Windows)
+
* CHD to BIN/CUE: <code>for /R %i in (*.chd) do chdman extractcd -i "%i" -o "%~ni.cue"</code> (Windows)
for i in *.(cue|gdi); do chdman createcd -i "$i" -o "${i%.*}.chd"; done (Linux)
 
* CHD to BIN/CUE:  
 
for /R %i in (*.chd) do chdman extractcd -i "%i" -o "%~ni.cue" (Windows)
 
for i in *.chd; do chdman extractcd -i "$i" -o "${i%.*}.cue"; done (Linux)
 
 
Alternatively, if you only need to do one file you can use this: <code>chdman createcd -i "<FILENAME>.cue" -o "<FILENAME>.chd"</code>
 
Alternatively, if you only need to do one file you can use this: <code>chdman createcd -i "<FILENAME>.cue" -o "<FILENAME>.chd"</code>
  
Line 134: Line 130:
 
* '''Tools Used:''' [https://github.com/unknownbrackets/maxcso#features maxcso], [https://github.com/ps2homebrew/Open-PS2-Loader/blob/master/pc/ziso.py ziso.py (requires python3 and pip install lz4)], [https://www.psx-place.com/resources/psxiso-compression-tool.1258/ PSXiSO (contains ziso CLI tool)]
 
* '''Tools Used:''' [https://github.com/unknownbrackets/maxcso#features maxcso], [https://github.com/ps2homebrew/Open-PS2-Loader/blob/master/pc/ziso.py ziso.py (requires python3 and pip install lz4)], [https://www.psx-place.com/resources/psxiso-compression-tool.1258/ PSXiSO (contains ziso CLI tool)]
 
* '''Can be reverted?''' Yes, using the same tool. No data loss.
 
* '''Can be reverted?''' Yes, using the same tool. No data loss.
* '''Playable on Hardware?''' Yes - Open PS2 Loader.
+
* '''Playable on Hardware?''' YES - Open PS2 Loader.
* '''Playable on Emulators?''' Yes - PCSX2 (since v1.7.5293)<ref>[https://github.com/PCSX2/pcsx2/releases/tag/v1.7.5293 v1.7.5293]</ref>
+
* '''Playable on Emulators?''' NO.<ref>https://github.com/PCSX2/pcsx2/pull/6594</ref>
  
 
===CHD===
 
===CHD===
Line 143: Line 139:
 
* '''Can be reverted?''' Yes, using the same tool (chdman).
 
* '''Can be reverted?''' Yes, using the same tool (chdman).
 
* '''Playable on Hardware?''' No.
 
* '''Playable on Hardware?''' No.
* '''Playable on Emulators?''' Yes - PCSX2 (since v1.7.0-dev-1156)<ref>Added in 1150 but wasn't built. 1156 is the first release with CHD support. [https://web.archive.org/web/20210416020418/https://buildbot.orphis.net/pcsx2/index.php?m=fulllist Automated Pcsx2 builds]</ref>
+
* '''Playable on Emulators?''' Yes - PCSX2 (since v1.7.0-dev-1156<ref>Added in 1150 but wasn't built. 1156 is the first release with CHD support. https://buildbot.orphis.net/pcsx2/index.php?m=fulllist</ref>).
  
 
==PlayStation 3==
 
==PlayStation 3==
Line 161: Line 157:
 
*You can either use [https://github.com/RPCS3/rpcs3/issues/4021#issuecomment-1650682400 this tool], or [https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox this one] for playing directly your ISO dumps with RPCS3.
 
*You can either use [https://github.com/RPCS3/rpcs3/issues/4021#issuecomment-1650682400 this tool], or [https://github.com/ptmorris1/RPCS3-ISOLauncher-Launchbox this one] for playing directly your ISO dumps with RPCS3.
  
*or use [https://www.mediafire.com/file/v5yslivyurr5luy/Make_sure_edit_path_locations_first.bat/file this simple batch script] ('''edit path locations first of course''') which mounts your ISO using powershell commands and launching it using RPCS3 CLI commands and ejecting it when you done with RPCS3
+
*or create batch script;
 +
 
 +
:Mount your ISO with powershell commands and launch with RPCS3 CLI commands;
 +
  PowerShell Mount-DiskImage -ImagePath """X:\PlayStation 3\TitleName.iso"""
 +
  explorer.exe "D:"
 +
  start /d "C:\Users\USERNAME\AppData\RPCS3\" rpcs3.exe --no-gui "D:"
 +
 
 +
:And here is another batch script for quickly eject mounted ISO from created virtual drive after done emulation;
 +
  PowerShell Dismount-DiskImage -DevicePath \\.\CDROM0
  
 
==PlayStation Portable==
 
==PlayStation Portable==
Line 190: Line 194:
  
 
===CHD===
 
===CHD===
* '''Archive-quality dump?''' Yes
+
[[#External_links|There is a pull request for PPSSPP]].
* '''Gain:''' Immediate (Less than PBP).
 
* '''Tools Used:'''  chdman
 
* '''Can be reverted?''' Yes, using the same tool (chdman).
 
* '''Playable on Hardware?''' No.
 
* '''Playable on Emulators?''' Yes - PPSSPP.
 
  
 
==PlayStation Vita==
 
==PlayStation Vita==
Line 392: Line 391:
  
 
==Switch==
 
==Switch==
 +
 +
See overview of formats [https://yuzu-emu.org/wiki/overview-of-switch-game-formats/ here].
 +
 
===NSZ===
 
===NSZ===
 
* '''Archive-quality dump?''' Yes
 
* '''Archive-quality dump?''' Yes
Line 399: Line 401:
 
* '''Playable on Hardware?''' No
 
* '''Playable on Hardware?''' No
 
* '''Playable on Emulators?''' No
 
* '''Playable on Emulators?''' No
 
It is possible to merge the game base, update and DLCs on a single NSP with the tool [https://github.com/julesontheroad/NSC_BUILDER NSC_Builder] and compress it to NSZ
 
  
 
==Game Boy Advance / Nintendo DS / Nintendo 3DS==
 
==Game Boy Advance / Nintendo DS / Nintendo 3DS==
Line 457: Line 457:
  
 
===ZAR===
 
===ZAR===
[https://github.com/xenia-canary/xenia-canary/pull/165 This Pull Request] adds support to [[xenia]] emulator for loading ZAR (ZArchive files) of a decrypted and extracted dump of XBOX 360 game.
+
[https://github.com/xenia-canary/xenia-canary/pull/165 This Pull Request] adds support to [[xenia]] emulator for loading ZAR (ZArchive files) of a decrypted and extracted dump of XBOX 360 game. The process is basically to dump your disc, extract files using your favorite tool, and create a ZAR file from it using ZArchive tool. But for "Xbox 360 Demos, Video DLC and XBLA games" you need to extract the contents from its containers using "[https://digiex.net/threads/wxpirs-extract-content-from-xbox-360-demos-video-dlc-and-arcade-game-containers.9464/ wxPirs]" and then use the "[https://github.com/Exzap/ZArchive/releases ZArchive]" tool<ref>[https://github.com/xenia-canary/xenia-canary/pull/165#issuecomment-1641099753 Xbox 360 Demos, Video DLC and XBLA games needs extraction before using ZArchive]</ref>.
*The process is basically to dump your disc, extract files using your favorite tool, and create a ZAR file from it using ZArchive tool or [https://github.com/xenia-canary/xenia-canary/pull/299 xenia-canary->create Zar package option].
 
*For digital titles (Xbox 360 Demos, Video DLC and XBLA games etc) you need to extract the contents from its containers using "[https://digiex.net/threads/wxpirs-extract-content-from-xbox-360-demos-video-dlc-and-arcade-game-containers.9464/ wxPirs]" and then create a ZAR file from it using the "[https://github.com/Exzap/ZArchive/releases ZArchive]" tool or xenia-canary->create Zar package option[https://github.com/xenia-canary/xenia-canary/pull/165#issuecomment-1641099753].
 
  
 
=Other Tricks=
 
=Other Tricks=
Line 466: Line 464:
  
 
===NTFS Compression===
 
===NTFS Compression===
You can enable filesystem-level compression (like "NTFS Compression" in Windows) for the directory containing your ISOs/ROMs. This has a very noticeable space gain and doesn't affect the emulator's functionality. It's surprisingly effective.
+
You can enable filesystem-level compression (like "NTFS Compression" in Windows) for the directory containing your ISOs/ROMs. This has a very noticeable space gain and doesn't affect the emulator's functionality. It's surprisingly more effective than many people would like to give this credit.
  
 
* '''Archive-quality dump?''' Yes
 
* '''Archive-quality dump?''' Yes
Line 528: Line 526:
 
Since this results, in most cases, in very noticeable detrimental effects in gameplay (if the game doesn't crash outright), this is nothing short of mutilating the game image. Sadly enough, some of these dumps make it to sharing sites.
 
Since this results, in most cases, in very noticeable detrimental effects in gameplay (if the game doesn't crash outright), this is nothing short of mutilating the game image. Sadly enough, some of these dumps make it to sharing sites.
  
Avoid resorting to destructive modifications since it can lead to random crashes and unexpected behavior, especially in games with lots of shared assets. [[File hashes|Verify your dumps]] to make sure you don't have these, and if you still want to reduce size, prefer using other methods or uses decompression on demand. One reason to use a destructively modified dump is for burning your own Dreamcast games as GD-ROMs were over a gigabyte in size and CD-Rs top out at 850MB.
+
Avoid resorting to destructive modifications since it can lead to random crashes and unexpected behavior, especially in games with lots of shared assets. [[http://emulation.gametechwiki.com/index.php/File_Hashes Verify your dumps]] to make sure you don't have these, and if you still want to reduce size, prefer using other methods or uses decompression on demand. One reason to use a destructively modified dump is for burning your own Dreamcast games as GD-ROMs were over a gigabyte in size and CD-Rs top out at 850MB.
  
 
* '''Archive-quality dump?''' No (Removes data)
 
* '''Archive-quality dump?''' No (Removes data)
 
=See also=
 
*[[List of filetypes]]
 
  
 
=External links=
 
=External links=
*[https://github.com/citra-emu/citra/issues/6013 CHD or ZArchive feature requests for citra]
+
*[https://github.com/citra-emu/citra/issues/5434 CHD or ZArchive feature requests for citra]
 
*[https://github.com/RPCS3/rpcs3/issues/4021 CHD or ZArchive feature requests for RPCS3]
 
*[https://github.com/RPCS3/rpcs3/issues/4021 CHD or ZArchive feature requests for RPCS3]
*[http://web.archive.org/web/20231127115239/https://github.com/yuzu-emu/yuzu/issues/10025#issuecomment-1493873239 CHD or ZArchive feature requests for yuzu and Ryujinx]
+
*[https://github.com/yuzu-emu/yuzu/issues/10025#issuecomment-1493873239 CHD or ZArchive feature requests for yuzu and Ryujinx]
 
*[https://github.com/xemu-project/xemu/issues/129 CHD or ZArchive feature requests for xemu]
 
*[https://github.com/xemu-project/xemu/issues/129 CHD or ZArchive feature requests for xemu]
*[https://github.com/86Box/86Box/issues?q=is%3Aissue+is%3Aopen+format+label%3Afeature+ Various image format feature requests for 86Box]
+
*[https://github.com/hrydgard/ppsspp/pull/18198 CHD support pull request for PPSSPP]
*[https://github.com/joncampbell123/dosbox-x/issues/1822 CHD feature request for DOSBox-X]
+
*[https://github.com/86Box/86Box/issues?q=is%3Aissue+is%3Aopen+image+format+ Various image format feature requests for 86Box]
*[https://github.com/schellingb/dosbox-pure/issues/40 CHD feature request for DOSBox Pure]
 
 
*[https://yuzu-emu.org/entry/yuzu-progress-report-aug-2023/#project-terra yuzu now supports sparse and compressed NCA games]. This means a long list of titles whose eShop releases couldn’t previously boot are now either running or perfectly playable, and their RomFS can be fully dumped.
 
*[https://yuzu-emu.org/entry/yuzu-progress-report-aug-2023/#project-terra yuzu now supports sparse and compressed NCA games]. This means a long list of titles whose eShop releases couldn’t previously boot are now either running or perfectly playable, and their RomFS can be fully dumped.
  

Please note that all contributions to Emulation General Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Emulation General Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)