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 | + | : '''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 | + | :* 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 | + | * '''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 49: | Line 49: | ||
===CHD Compression=== | ===CHD Compression=== | ||
− | * '''Archive-quality dump?''' | + | * '''Archive-quality dump?''' Yes (with CHD version 5) |
* '''Gain:''' Immediate | * '''Gain:''' Immediate | ||
* '''Tools Used:''' chdman (included with MAME) | * '''Tools Used:''' chdman (included with MAME) | ||
* '''Can be reverted?''' Yes, using extractcd (included with MAME) | * '''Can be reverted?''' Yes, using extractcd (included with MAME) | ||
* '''Playable on Hardware?''' No. | * '''Playable on Hardware?''' No. | ||
− | * '''Playable on Emulators?''' MAME, DuckStation, PCSX2 (since March of 2021) | + | * '''Playable on Emulators?''' MAME, DuckStation, PCSX2 (since March of 2021) and DEmul. Some libretro cores for other emulators are starting to add support. |
* '''Can process multi track bin files?''' Yes. | * '''Can process multi track bin files?''' Yes. | ||
− | MAME uses the CHD format for disc images in general and includes tools to convert back and forth. Before MAME v145, CHD was in version 4 and it bumped to version 5 from MAME v146 and further. The | + | MAME uses the CHD format for disc images in general and includes tools to convert back and forth. Before MAME v145, CHD was in version 4 and it bumped to version 5 from MAME v146 and further. The CHD v5 uses 7zip's LZMA compression on the game data and lossless FLAC compression for the audio data to optimize compression even further than using BIN+CUE+MP3/WAV data separation alone. CHDv5 is truely lossless. |
'''Instructions''' | '''Instructions''' | ||
− | Place | + | 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) |
− | + | * CHD to BIN/CUE: <code>for /R %i in (*.chd) do chdman extractcd -i "%i" -o "%~ni.cue"</code> (Windows) | |
− | |||
− | * CHD to BIN/CUE: | ||
− | |||
− | |||
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> | ||
If you have one of the European PSX games that features LibCrypt copy protection, then you will have a .sbi file in addition to the .bin/cue file. You will still need to have the .sbi file in the same directory as the game file (in this case, the newly created CHD file) in order to run. | If you have one of the European PSX games that features LibCrypt copy protection, then you will have a .sbi file in addition to the .bin/cue file. You will still need to have the .sbi file in the same directory as the game file (in this case, the newly created CHD file) in order to run. | ||
− | Note that multi-track bin files will be combined | + | Note that multi-track bin files will be combined. |
==PlayStation 1== | ==PlayStation 1== | ||
Line 94: | Line 90: | ||
===CHD=== | ===CHD=== | ||
− | * '''Archive-quality dump?''' | + | * '''Archive-quality dump?''' Yes |
* '''Gain:''' Immediate (better than PBP). | * '''Gain:''' Immediate (better than PBP). | ||
* '''Tools Used:''' chdman | * '''Tools Used:''' chdman | ||
* '''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?''' libretro Beetle PSX, Avocado, DuckStation, PCSX2 (since March of 2021 and also because PCSX2 now has PSOne emulation functionality as well, so two-in-one) | + | * '''Playable on Emulators?''' libretro Beetle PSX, Avocado, DuckStation, PCSX2 (since March of 2021, and also because PCSX2 now has PSOne emulation functionality as well, so two-in-one) and PCSX ReARMed. |
==PlayStation 2== | ==PlayStation 2== | ||
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?''' | + | * '''Playable on Hardware?''' YES - Open PS2 Loader. |
− | * '''Playable on Emulators?''' | + | * '''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 | + | * '''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 | + | *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=== | ||
− | + | [[#External_links|There is a pull request for PPSSPP]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
==PlayStation Vita== | ==PlayStation Vita== | ||
Line 390: | Line 389: | ||
Cemu (since 1.27) can convert installed titles to WUA, combining the title itself, update (if available) and DLC (if available) into one file. The conversion tool is available via the Cemu title manager. | Cemu (since 1.27) can convert installed titles to WUA, combining the title itself, update (if available) and DLC (if available) into one file. The conversion tool is available via the Cemu title manager. | ||
Based on a small testset of 44 titles with updates and dlc, WUA reduced the overall file size by roughly 16%. It also reduced the number of files per title from 3,500 on average to 1. | Based on a small testset of 44 titles with updates and dlc, WUA reduced the overall file size by roughly 16%. It also reduced the number of files per title from 3,500 on average to 1. | ||
− | |||
==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 400: | Line 401: | ||
* '''Playable on Hardware?''' No | * '''Playable on Hardware?''' No | ||
* '''Playable on Emulators?''' No | * '''Playable on Emulators?''' No | ||
− | |||
− | |||
==Game Boy Advance / Nintendo DS / Nintendo 3DS== | ==Game Boy Advance / Nintendo DS / Nintendo 3DS== | ||
Line 458: | 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 | + | [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>. |
− | |||
− | |||
=Other Tricks= | =Other Tricks= | ||
Line 467: | 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 537: | Line 534: | ||
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. [[ | + | 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) | ||
− | |||
− | |||
− | |||
=External links= | =External links= | ||
− | *[https://github.com/citra-emu/citra/issues/ | + | *[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] | ||
− | *[ | + | *[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 | + | *[https://github.com/hrydgard/ppsspp/pull/18198 CHD support pull request for PPSSPP] |
− | + | *[https://github.com/86Box/86Box/issues?q=is%3Aissue+is%3Aopen+image+format+ Various image format feature requests for 86Box] | |
− | |||
*[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. | ||