Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat.req. Full ISO rebuild option #2

Open
necros2k7 opened this issue Apr 19, 2023 · 8 comments
Open

Feat.req. Full ISO rebuild option #2

necros2k7 opened this issue Apr 19, 2023 · 8 comments
Assignees

Comments

@necros2k7
Copy link

necros2k7 commented Apr 19, 2023

@iliazeus
subj

@iliazeus
Copy link
Owner

Can you please tell me a bit more about what a "full ISO rebuild" is? I'm not a real xbox 360 hacker :)

iso2god-rs is mostly a rewrite of https://github.com/eliecharra/iso2god-cli; with a couple of features tacked on. So if a "full ISO rebuild" is not possible with https://github.com/eliecharra/iso2god-cli (this version specifically, not the original Windows one), then it is not currently possible with iso2god-rs either.

@iliazeus
Copy link
Owner

I think i got it. You mean the "backwards", GOD -> ISO conversion, right? If so, it is not currently possible, but a valid feature request. I will try to add this feature when I have the time.

@iliazeus iliazeus self-assigned this Apr 19, 2023
@professor-jonny
Copy link

What he is wanting to do is repack a GOD image (binary strip data)
For purposes of stripping $systemupdate and other junk.
GOD > ISO>FS>ISO>GOD

@necros2k7
Copy link
Author

Full rebuild - removing all empty sectors

@thomasbra1
Copy link

The code is there from the decompile of the original windows version but wasn't exposed in the cli version. This is very useful feature as full xbox 360 iso are all 7 to 8 GB in size but can be much smaller once the padding is removed.

Selection_041

@thomasbra1
Copy link

Until this may be implemented the redump ISO can be processed with extract-iso to build an optimized xiso then processed with iso2god. An extra step but a way until iso2god can preform this step.

https://github.com/XboxDev/extract-xiso
-r Rewrite xiso(s) as optimized xiso(s).

@necros2k7 necros2k7 changed the title Does it do Full ISO rebuild as original version? Feat.req. Full ISO rebuild option May 1, 2023
@iliazeus
Copy link
Owner

iliazeus commented Jul 15, 2024

In the newest v1.5.0 version, I've added a --trim option to remove unused space from the end of the ISO.

It is not a "full rebuild", because it does not remove space between the files, only at the end. But I feel it should still good enough for most use cases.

@gmipf
Copy link

gmipf commented Oct 18, 2024

@iliazeus As a suggestion, maybe you should mention that in the readme and when parameter --help is entered. I was looking for the answer what the --trim command actually doing. Removing only space at the end is for me the better method any ways since it doesn't break compatibility usually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants