Android | Chdman

But what if you don't want to boot up your Windows PC or Mac just to compress a ROM?

chdman createcd -i "Game Name.cue" -o "Game Name.chd" Wait patiently. A 700MB PS1 game takes about 2-3 minutes on a modern Snapdragon. Do you have 50 games? Don't run the command 50 times. Use this loop:

By default, the new .chd saves to the same folder as the original. This takes double space during conversion. To save space:

pkg update && pkg upgrade -y pkg install wget -y Now, download the official MAME tools for Android (ARM64). Replace [latest_version] with the current number (check mamedev.org), for example 0.270 : chdman android

[Current Date]

Now navigate to your ROM folder:

Enter . This official MAME tool compresses those bulky .bin/.cue or .gdi files into .chd (Compressed Hunks of Data) files, often shrinking them by 30–50% without losing any gameplay data or speed . But what if you don't want to boot

for i in *.cue; do chdman createcd -i "$i" -o "${i%.cue}.chd"; done For Dreamcast ( .gdi ), change *.cue to *.gdi and createcd to createdvd . 1. The "Multiple BIN" Trap If your game has Game.cue + Game (Track 1).bin , Game (Track 2).bin ... This is perfect. CHDMAN loves that. However , if you have a single BIN file (e.g., Game.bin only), you need a CUE sheet. You can generate a CUE sheet inside Termux:

wget https://github.com/mamedev/mame/releases/download/mame0260/mame0260-android-arm64.tar.gz Note: If that link 404s, visit MAME Release Page to find the latest -android-arm64.tar.gz file.

termux-setup-storage (Grant the permission popup). Do you have 50 games

ls *.bin > temp.txt # Manually edit the CUE or use an online CUE creator. Easier fix: Just use .bin files that came with a .cue .

chdman-android-guide

Preserve Your Disk Space: How to Run CHDMAN on Android (No PC Needed)

chdman createcd -i "Game.cue" -o "/path/to/ExternalSD/Game.chd" Do not compress PSP ( .iso to .cso ) or Nintendo DS ( .nds ) files with CHDMAN. Those use different algorithms. Stick to PS1, Saturn, Dreamcast, Sega CD, PCE CD, and MAME Hard Drive images. Final Verdict: Is it worth it on Android? Yes. While CHDMAN is slower on an Android phone than a gaming PC, it is incredibly convenient. You can drop a folder of loose BINs on your tablet before bed, run the batch command, and wake up to a perfectly compressed library ready for DuckStation or RetroArch.