Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| cd_image_formats [2021/08/23 01:53] – added note about duplicate entries in regards to subfolders atari | cd_image_formats [2022/10/01 04:15] (current) – atari | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Disc images/ROMs come in a variety of formats, and over the years many formats have risen and fallen in popularity. This article focuses on the more common ones you may come across. | Disc images/ROMs come in a variety of formats, and over the years many formats have risen and fallen in popularity. This article focuses on the more common ones you may come across. | ||
| - | <WRAP center round info 60%> | + | <WRAP center round info> |
| For information on compressed disk images take a look at [[disk_image_compression|Disc image compression]]. | For information on compressed disk images take a look at [[disk_image_compression|Disc image compression]]. | ||
| </ | </ | ||
| Line 9: | Line 9: | ||
| ===== What are disc images? ===== | ===== What are disc images? ===== | ||
| - | Disc images are a handy way of storing backup copies of your disks. For instance, you might have some Audio CDs which you play on a regular basis. You probably don't want them to wear out fast because you use them often. In that case, a good way to listen to them but also keep them in a pristine condition - because you will actually not use them - is to create disc images for them. The disk images can be stored on your computer and you can simply | + | Disc images are a handy way of storing backup copies of your disks. For instance, you might have some Audio CDs which you play on a regular basis. You probably don't want them to wear out fast because you use them often. In that case, a good way to listen to them but also keep them in a pristine condition - because you will actually not use them - is to create disc images for them. The disk images can be stored on your computer and you can virtually |
| - | The usefulness of creating disk images | + | Batocera can these disc images to load the contents |
| To sum it a bit up, here are some of the most prominent benefits of using disk images: | To sum it a bit up, here are some of the most prominent benefits of using disk images: | ||
| - | * Disk images are exact replicas of disk drives or disk volumes, so they faithfully preserve all details related not only to content but also to the original files and folders structure; | + | * Disk images are exact replicas of disk drives or disk volumes, so they faithfully preserve all details related not only to content but also to the original files and folders structure. |
| - | * A disk image of an optical disk can be very useful | + | * A disk image of an optical disk can be very useful for backing up purposes. |
| - | * A disk image of a hard drive that contains a Windows operating system can be used to reinstall Windows very fast; | + | |
| - | * A disk image of a hard disk or of an optical disk has the big advantage of portability. Being a single file it is very easy to send it online to others or store it on an external hard disk drive, | + | |
| ===== Common file formats for disk images ===== | ===== Common file formats for disk images ===== | ||
| Line 27: | Line 25: | ||
| * '' | * '' | ||
| - | <WRAP center round info 40%> | + | <WRAP center round info> |
| This information has been surmised from https:// | This information has been surmised from https:// | ||
| </ | </ | ||
| Line 77: | Line 75: | ||
| To automatically load the next disc of a game, you can use a '' | To automatically load the next disc of a game, you can use a '' | ||
| - | <WRAP center round important | + | <WRAP center round important> |
| - | Please note that even if '' | + | Please note that even if '' |
| </ | </ | ||
| - | To make one, simply create a text file with the same filename as your intended game name (this is what will appear in your game list. It could be anything, really). Within that text file, write the names of the '' | + | To make one, simply create a text file with the same filename as your intended game name (this is what will appear in your game list. It could be anything, really). Within that text file, write the names of the '' |
| + | |||
| + | <WRAP center round important> | ||
| + | If creating the playlist file with Windows, be aware of the [[https:// | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | Batocera will automatically hide duplicated entries showing in the gamelist when using playlists to define which discs are a part of a single game. However, this will only work when the playlists are referencing just the filenames; relative pathing will override this behaviour and show all discs. To put it simply: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | </ | ||
| + | |||
| + | ==== All the files inside of the applicable ROM folder ==== | ||
| + | |||
| + | For instance, if your game's .cue sheets were structured like: | ||
| < | < | ||
| roms/ | roms/ | ||
| └─ psx/ | └─ psx/ | ||
| - | | ||
| | | ||
| - | | + | |
| | | ||
| - | | + | |
| - | └─ Final Fantasy VII (Disc 3).bin | + | ├─ Final Fantasy VII (Disc 3).bin |
| + | | ||
| </ | </ | ||
| Line 102: | Line 115: | ||
| </ | </ | ||
| - | Save the text file with the file extension .m3u and place it in the '' | + | Save the text file with the file extension |
| < | < | ||
| Line 108: | Line 121: | ||
| └─ psx/ | └─ psx/ | ||
| | | ||
| - | | ||
| | | ||
| - | | + | |
| | | ||
| - | | + | |
| - | └─ Final Fantasy VII (Disc 3).bin | + | ├─ Final Fantasy VII (Disc 3).bin |
| + | | ||
| </ | </ | ||
| - | In case you have your disc images inside of subfolders, and you'd like your '' | + | ==== A subfolder for each multi-disc game ==== |
| + | |||
| + | You can opt to put all of your multi-disc games in their own subfolders instead for organization purposes. Like so: | ||
| + | |||
| + | < | ||
| + | roms/ | ||
| + | └─ psx/ | ||
| + | | ||
| + | ├─ Final Fantasy VII (Disc 1).bin | ||
| + | ├─ Final Fantasy VII (Disc 1).cue | ||
| + | ├─ Final Fantasy VII (Disc 2).bin | ||
| + | ├─ Final Fantasy VII (Disc 2).cue | ||
| + | ├─ Final Fantasy VII (Disc 3).bin | ||
| + | └─ Final Fantasy VII (Disc 3).cue | ||
| + | </ | ||
| + | |||
| + | <WRAP center round tip> | ||
| + | In the case that you've organized your ROMs like this, you can use the following scripts/SSH commands to automatically generate the M3U playlists and put them into the appropriate subfolders: | ||
| + | --> Click to expand# | ||
| + | * **[[: | ||
| + | cd / | ||
| + | </ | ||
| + | * For '' | ||
| + | * Run the following: <code bash> | ||
| + | for DIR in *; do echo "$(for file in " | ||
| + | </ | ||
| + | * For '' | ||
| + | * Just run the following: <code bash> | ||
| + | for DIR in *; do echo "$(for file in " | ||
| + | </ | ||
| + | |||
| + | * **Accessible the drive directly on Windows** Place the script in the '' | ||
| + | * For NTFS userdata filesystems: | ||
| + | * For '' | ||
| + | @echo off | ||
| + | for /R " | ||
| + | </ | ||
| + | * For '' | ||
| + | @echo off | ||
| + | for /R " | ||
| + | </ | ||
| + | * For FAT userdata filesystems: | ||
| + | * For '' | ||
| + | @echo off | ||
| + | for /F "eol=| delims=" | ||
| + | </ | ||
| + | * For '' | ||
| + | @echo off | ||
| + | for /F "eol=| delims=" | ||
| + | </ | ||
| + | |||
| + | From: https:// | ||
| + | |||
| + | <-- | ||
| + | </ | ||
| + | |||
| + | The M3U '' | ||
| + | |||
| + | <file text| Final Fantasy VII.m3u> | ||
| + | Final Fantasy VII (Disc 1).cue | ||
| + | Final Fantasy VII (Disc 2).cue | ||
| + | Final Fantasy VII (Disc 3).cue | ||
| + | </ | ||
| + | |||
| + | If doing this by hand, save the text with the file extension '' | ||
| + | |||
| + | < | ||
| + | roms/ | ||
| + | └─ psx/ | ||
| + | | ||
| + | ├─ Final Fantasy VII.m3u | ||
| + | ├─ Final Fantasy VII (Disc 1).bin | ||
| + | ├─ Final Fantasy VII (Disc 1).cue | ||
| + | ├─ Final Fantasy VII (Disc 2).bin | ||
| + | ├─ Final Fantasy VII (Disc 2).cue | ||
| + | ├─ Final Fantasy VII (Disc 3).bin | ||
| + | └─ Final Fantasy VII (Disc 3).cue | ||
| + | </ | ||
| + | |||
| + | ==== A subfolder for each disc ==== | ||
| + | |||
| + | In case you want to have your disc images inside of separate | ||
| < | < | ||
| Line 122: | Line 216: | ||
| └─ psx/ | └─ psx/ | ||
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| - | | + | |
| - | | + | |
| | | ||
| </ | </ | ||
| Line 141: | Line 235: | ||
| </ | </ | ||
| - | Batocera | + | <WRAP center round tip> |
| + | If you set it up with separate subfolders for each disc, Batocera | ||
| + | </ | ||
| - | <WRAP center round tip 60%> | + | ==== After setting up your M3U playlists correctly ==== |
| - | If you set it up with subfolders | + | |
| + | Batocera should show you the '' | ||
| + | |||
| + | M3U playlist automatic disc control is confirmed to be working with the following emulators: | ||
| + | * PSX | ||
| + | * Libretro/ | ||
| + | * DuckStation | ||
| + | * Libretro/ | ||
| + | * SegaCD | ||
| + | * SEGA Saturn | ||
| + | * SEGA Dreamcast | ||
| + | |||
| + | ==== Manual disc swapping ==== | ||
| + | |||
| + | In case the automatic disc swapping fails, refer to these manual disc swapping instructions below. | ||
| + | |||
| + | === RetroArch (most libretro cores) === | ||
| + | |||
| + | You can utilize RetroArch' | ||
| + | |||
| + | <WRAP center round alert 60%> | ||
| + | **Swap Disc** is for legacy purposes | ||
| </ | </ | ||
| + | |||
| + | The following cores are confirmed to not be working with the disc control menu: | ||
| + | * SEGA Saturn | ||
| + | * Libretro/ | ||
| + | |||
| + | === DuckStation (standalone) === | ||
| + | |||
| + | You'll need a keyboard for this method. While playing the game, press '' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === libretro: Opera (3DO) === | ||
| + | |||
| + | From Batocera **v34**, enable the **NVRAM STORAGE** option from the advanced system settings ('' | ||
| + | |||
- cd_image_formats.1629683629.txt.gz
- Last modified: 5 years ago
- by atari