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

Feature request: Custom filename in rewrite xiso(s) option. #67

Open
rizaumami opened this issue Aug 19, 2022 · 1 comment
Open

Feature request: Custom filename in rewrite xiso(s) option. #67

rizaumami opened this issue Aug 19, 2022 · 1 comment

Comments

@rizaumami
Copy link

I'm using "Rewrite xiso(s)" (-r) for my script as it's convert redump xiso to regular xiso on the fly.
The script also create a new sanitized filename that follow FATX limitations.
But the -r option doesn't have [name] option as -c, also it's renaming the original xiso by adding "*.old" extension.
So now, here's what the script does:

  1. Rewrite redump xiso to regular xiso.
  2. Rename the output xiso to sanitized filename.
  3. Rename the input xiso to its original filename.

It would be nice if the script just need to rewrite to output with custom filename.

@Natetronn
Copy link

I'd like to see this as well.

The create command -c <dir> [name], has the name parameter, which allows you to set the name and path of xiso to be created (or multiples.)

./extract-xiso [options] -c <dir> [name] [-c <dir> [name]] ...

-c <dir> [name] 
                      Create xiso from file(s) starting in (local or remote)
                      <dir>.  If the [name] parameter is specified, the
                      xiso will be created with the (path and) name given,
                      otherwise the xiso will be created in the current
                      directory with the name <dir>.iso.  The -c option
                      may be specified multiple times to create multiple
                      xiso images.

Being able to do the same with the rewrite command -r would be nice. So something like:

./extract-xiso [options] -r <file1.iso> [name] [-r <file2.iso> [name]] ...

-r <file.iso> [name]
                      Rewrite xiso from file(s).  
                      If the [name] parameter is specified, the
                      xiso will be created with the (path and) name given,
                      otherwise the xiso will be created in the current
                      directory with the name <file>.iso. The -r option
                      may be specified multiple times to rewrite multiple
                      xiso images.

Also, I agree, renaming the *.old back to its original name after rewrite completion would be kind.

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

No branches or pull requests

2 participants