r4dius / Iso2God

Decompiled Iso2God for quality of life improvements
41 stars 4 forks source link

Option to remove the System Update folder when converting? #10

Open AmyGrrl opened 1 month ago

AmyGrrl commented 1 month ago

Can you maybe include an option to remove the System Update folder when converting a Game? Unless its required or it already does that.

r4dius commented 4 weeks ago

Do you have an exemple of game that has system update with it ?

AmyGrrl commented 4 weeks ago

Every XBOX 360 Game/ISO includes a $SystemUpdate folder with files inside it. For example if you open Assassin's Creed - Revelations in the XBOX Backup Creator Image Browser. You can see the $SystemUpdate folder. In early games this $SystemUpdate folder just a few MBs in size. In later games like Assassin's Creed - Revelations. The $SystemUpdate folder is 100MB.

Just to test if the $SystemUpdate folder was still being included. I converted the game with ISO2GOD, Then used GOD2ISO to convert it back to and xISO. Then I opened that file in xISO v1.1.5 and I could still see the $SystemUpdate folder.

If we could delete the $SystemUpdate Folder when converting it with ISO2GOD. It could save upto 100MB of space, depending on the game. It may not be a whole lot of space savings, but if you have lots of games this adds up.

r4dius commented 4 weeks ago

Yeah just tested to the same result, I got it to easily skip the $SystemUpdate content (but not the folder itself, not sure why), but the code is a bit intricate with some file size calculation and offsets using whole iso "root" folder, I'm not sure how it will handle the missing data and would rather not touch this for now

AmyGrrl commented 4 weeks ago

OK.... Maybe just keep this on the back burner until you can figure out a solution later on.

What I've been doing to remove the $SystemUpdate folder is to extract all the files from the Disc to a Folder. Then I would delete the $SystemUpdate folder and make an xISO of the files with xISO v1.1.5. Then I would run my new ISO through ISO2GOD.

Its a bit time consuming to do. So I was curious if we could have an option to remove it right in ISO2GOD. So though I would ask about it. No worries if it can't be done.