Issues with compressing ISO to CSO for PCSX2

_oBSOLEte_

Erased, extinct.
RGT Supporter
Level 4
Joined
Dec 12, 2024
Messages
710
Reaction score
857
Points
1,977
Location
Belgium
Hey there,

I've tested to compress some PS2 ISO files. Read about the CSO format being somewhat suggested and well supported by PCSX2 on their forum. I've used the ciso tool on POP!_OS (Compressed ISO9660 converter Ver.1.01 by BOOSTER) with a level 9 compression.

I have tested 4 ISOs and they all boot fine with no noticeable lag whatsoever. They also loaded my previous savegames and I could play a bit. BUT... I recently finished Sly Cooper. By stage 4 before some FMV the game was hanging and I troubleshooted that by going back to using the uncompressed ISO file. Some voiceover dialogs were also not playing with the CSO file I think.

Have you completed games successfully with any compressed PS2 files, with CSO files or some other format? Is the CSO file support not mature enough for PCSX2 compatibility? Or is it a problem on my end with the CISO tool and I should try my luck again with MAXCSO or something else?
 
The obvious answer is, video games that had concern of space or it's developer's preference to compress their own video games for whatever reason outside of space concerns, they are compressed in certain ways. There are standard and non-standard ways developers compress their video games.

When game is compressed, CPU has to unpack the data and then read it. In this context, when the game is already compressed and then you compressing it again, CPU may cannot unpack the game fast enough so codes of the game work in simultaneously in time sensitive matter.

You can think it as how a factory works. Naturally factories works in a principle of everything has to happen in specific time frames, so when it doesn't they work for nothing and naturally they can ruin the whole factory.

PS2 can use a streaming method that multiple things loaded and processed at the same time. I personally love PS2 because it can manipulate the data in the process of processing in a way during processing it it can change the data (for example it benefitted MGS 3 a lot). When game data cannot be processed in harmony, it happens, they may don't wait for each other to be completed. When this happen the task that was hanged or never happened can crash the game.

Videos in PS2 video games are very sensitive in my experience to rip and mod video games. Some video games require a certain length of videos, otherwise they freeze, crash or never load the next part of the game. It makes ripping and modding PS2 games sometimes a hassle, limits your freedom.

Next topic is if CSO compression method somehow corrupts the original file and if it would ruin the original method of how the game was already compressed: Nope. We can add CSO into "lossless compression method" for a good reason that all the fundamental part of the game is translated back to the original state of the file as it's. So CSO won't cause issue, but if the compression process itself was somehow failed I wouldn't know about that. But it's highly likely not why the game you mentioned had the problem. Nothing wrong with CSO itself, it was because how PS2 behave in certain video games.

But now when you said about CSO was recommended it, I won't mean to say it's worse, technically IDK why someone would recommend it when CHD is a better compression method for PS2 because of the way it's.

Then you may ask me what's key difference between CSO and CHD:

CSO only care about lossless compression.

CHD doesn't only care about file size reduction, it actually cares about integrity of different file formats.

This is hard to explain because I don't mean CSO would corrupt a file, there is more than that. It's just CHD cares more about the individual file formats it detects and leave it as it was in original state of the game.

Because of it I would highly recommend CHD. Then I can say the game may not have an issue if it was compressed via CHD method. But if it still does I would understand because when PS2 was already loading the game, it may not fast enough to decompressed the game within the right time to prevent the game from crashing.
 
i'm using gzip from quite a while now, just for the isos that really benefit (at least 1GB gain);
the first boot is a couple of secs slower than standard iso, then everything is the same

completed a couple of games, nothing to report
 
Here is all the info and details about compression for different formats for different consoles:


Apparently CHD works good for DVD based games but is not for CD based ones because of problems it's not preserving TOCs and CUEs.

And it says that CSO gives archival quality depending on the method and settings used. They reccomend the maxcso software.

Also it could be what valosagutas said, if you max compressed the game, perhaps it's interfering with game timings.
 
Last edited:
One thing to note about CHD and PS2 games is that some PS2 games were released on CDs while others on DVDs. It's something I didn't pay enough attention to initially when I started converting things over.

Yeah, for example ICO is in CD format.

Here is Redump list for PS2 CD games:

 
Last edited:
Thanks guys I'm gonna test CHD next for PCSX2. I wish the emulator would open .7z file like LRPS2 on RetroArch...

i'm using gzip from quite a while now, just for the isos that really benefit (at least 1GB gain);
the first boot is a couple of secs slower than standard iso, then everything is the same

completed a couple of games, nothing to report

Yes it seems logical. The CSO file I had issues with had poor compression ratio, I only gained a bit less than 10% on 2.5 GB, may indicate that the game was already compressed well and converting it was overkill.
 
Another thing is if someone wants to use CHD, make sure the right parameters and commands are used to create it, like createcd for CDs and createdvd for DVDs, right hunk size, etc.

I was searching for a good guide I saw sometime but I couldn't find it.

Here I found a GUI frontend for chdman:
The thing is that wasn't updated in 3 years.
 
Thanks guys I'm gonna test CHD next for PCSX2. I wish the emulator would open .7z file like LRPS2 on RetroArch...
Please let us know here about how it went. I'm really technically interested in the outcome.

I didn't know PCSX2 could Open CSO.
I always seen it in the context of PSP.
And it was known for causing issues with some games even there.
I suggest as other said forget about CSO, use CHD.
I think CSO was popular among PSP because of the low space but CSO was the most popular one. I don't exactly remember if CHD existed then.

If CHD is a newer method than CSO, or the person had no idea about CHD, only in this context why it would make sense to see people recommend CSO instead and why it's bothering when bumping into ancient recommendations because relatively newer advancements regarding the video game consoles in their respective scenes seem to have too much lacking new guides about. I especially had a hard time correcting all the mistakes I was making when I was trying to make my PS2 able to run games without a disc by following guides because my laser had gone blind and I didn't wanna bother fixing it again. It gave me the perspective of gotta always question if there are better ways to do what you wanna do and if there are alternatives. In PS2 scenes experts constantly tell you "you don't have to do it anymore because it was updated" and "you can do this now because of an update" and "it doesn't happen anymore because whole thing changed" and whatnot.
 
Last edited:
CSO was popular for PSP since you could use it on the actual hardware. I've heard however that for more memory intensive games like God of War they ran terribly when in CSO format. For PCSX2 there's no benefit to using CSO, and I would recommend using either gzip or chd instead.
 
Does anyone have a list of what formats PCSX2 supports out of the box? i.e. without the user having to go in and unzip some file themselves?
 
Does anyone have a list of what formats PCSX2 supports out of the box? i.e. without the user having to go in and unzip some file themselves?
System > Start file
pcsx21.png
 
I use chd
Post automatically merged:

Compressing an .iso image to .gzip is a bore. At the moment I'm compressing God of War to .gzip at ultra level compression using PeaZip. At the moment I've got 31m 28s to go. Going to compare gzip over chd.
 

Attachments

Last edited:
Well I got chdman from the mame-tools debian package here. So far, so good. Reached better compression with 30% size reduction and completed the first stage with no cutscene voiceover issue. When I'll reach stage 4 and the crashing FMV I'll let you know.

There was no createdvd argument for the command line tho, and I didnt mention any other parameter than

Code:
chdman createcd -i input.iso -o output.chd

But the CHD file booted just fine.
 
Well I got chdman from the mame-tools debian package here. So far, so good. Reached better compression with 30% size reduction and completed the first stage with no cutscene voiceover issue. When I'll reach stage 4 and the crashing FMV I'll let you know.

There was no createdvd argument for the command line tho, and I didnt mention any other parameter than

Code:
chdman createcd -i input.iso -o output.chd

But the CHD file booted just fine.
For .iso use createdvd
Post automatically merged:

Okay, God of War.gz is 6.92 gb & God of War.chd is 6.36 gb
chd wins flawless victory, fatality
Post automatically merged:

Well I got chdman from the mame-tools debian package here. So far, so good. Reached better compression with 30% size reduction and completed the first stage with no cutscene voiceover issue. When I'll reach stage 4 and the crashing FMV I'll let you know.

There was no createdvd argument for the command line tho, and I didnt mention any other parameter than

Code:
chdman createcd -i input.iso -o output.chd

But the CHD file booted just fine.
I'm using chdman 0.277 (chdv5)
Use this command

for /r %%i in (*.iso) do chdman createdvd -i "%%i" -o "%%~ni.chd"
 
Last edited:
For .iso use createdvd
Post automatically merged:

Okay, God of War.gz is 6.92 gb & God of War.chd is 6.36 gb
chd wins flawless victory, fatality
Post automatically merged:


I'm using chdman 0.277 (chdv5)
Use this command

for /r %%i in (*.iso) do chdman createdvd -i "%%i" -o "%%~ni.chd"

Seems the version in the deb packages is outdated with no createdvd argument... XD

1747845250655.png
 
Seems the version in the deb packages is outdated with no createdvd argument... XD

View attachment 71567
Yup seems outdated
Post automatically merged:

Seems the version in the deb packages is outdated with no createdvd argument... XD

View attachment 71567
I'm using Windows, I don't understand why Linux doesn't have that command for chdman.
Post automatically merged:

Seems the version in the deb packages is outdated with no createdvd argument... XD

View attachment 71567

That wiki uses createcd command for DVD .isos which idk why though
Post automatically merged:

Yup seems outdated
Post automatically merged:


I'm using Windows, I don't understand why Linux doesn't have that command for chdman.
Post automatically merged:



That wiki uses createcd command for DVD .isos which idk why though
It's a pain in the ass compared to using command lines in shell within Linux while Windows uses batch files to execute commands via chdman. The struggle is real.

Post automatically merged:

Seems the version in the deb packages is outdated with no createdvd argument... XD

View attachment 71567
sudo apt install -y --no-install-recommends mame-tools
Post automatically merged:

Post automatically merged:

Seems the version in the deb packages is outdated with no createdvd argument... XD

View attachment 71567
Which Linux distro are you using?
 
Last edited:
Yup seems outdated
Post automatically merged:


I'm using Windows, I don't understand why Linux doesn't have that command for chdman.
Post automatically merged:



That wiki uses createcd command for DVD .isos which idk why though
Post automatically merged:


It's a pain in the ass compared to using command lines in shell within Linux while Windows uses batch files to execute commands via chdman. The struggle is real.

Post automatically merged:


sudo apt install -y --no-install-recommends mame-tools
Post automatically merged:

Post automatically merged:


Which Linux distro are you using?

Thanks! I'm on latest debian based pop!_OS here but I will test things out on Arch on the laptop later. Seems dependent on the MAME version. It's common that things aren't the latest versions in the deb packages, no big deal I'll try to find a newer version on github.

So far stage 2 completed and no problem with the CHD. I should have kept a savestate to further test things out but I was playing with the retroachievements... XD
 

Users who are viewing this thread

Connect with us

Featured Video

Digimon World: Next Order (VITA)

Latest Threads

Le Gaming Question about Translations

Ah, my dear compatriots of the gaming realm, have you ever encountered a translation of a Game...
Read more

looking for criminally underrated Anime Fighters or mecha RPG's

I'm an avid emulation gamer, and Im always on the look out for a new game or two, especially now...
Read more

Game/Fictional Characters you Dislike

I'll include a couple non-game examples


1000057674.png

Grace - Wolfenstein new colossus

Just...
Read more

anbernic rg556 vs retroid pocket 4 pro

Which console can play these games without any problems?
Pokemon Sword
Pokemon Brilliant Diamond...
Read more

Which one .... ?

Which emulator/platform should I use to play older Zelda games? Which emulator or platform do...
Read more

Online statistics

Members online
200
Guests online
299
Total visitors
499

Forum statistics

Threads
8,154
Messages
204,838
Members
616,324
Latest member
Semitendinosus

Support us

Back
Top