fraganator / archive-cache-manager

A LaunchBox plugin which extracts and caches large ROM archives, letting you play games faster.
GNU Lesser General Public License v2.1
11 stars 5 forks source link

Feature Request: Add Option to create xiso #34

Closed ErAzOr2k closed 1 year ago

ErAzOr2k commented 1 year ago

Hi,

Redump Xbox Isos are not supported by xemu emulator. For this, we need to extract an xiso (many tools are available).

Is it possible to add an option in archive cache manager, to create an xiso "on the fly"?

Regards

ErAzOr

fraganator commented 1 year ago

Hi @ErAzOr2k, thanks for the suggestion. Are your redump xbox isos in a zip file? Just wondering if they need to be extracted first, then converted to xiso.

MattSidney commented 1 year ago

Hey, was going to open this same request but found this instead. The .iso files are in .zip files. They then need to be extracted and then converted into xiso. This seems possible via the https://github.com/XboxDev/extract-xiso tool.

So steps might be:

Let me know if you need someone to perform testing :)

NOTE: Included the directory specification as the extract-xiso.exe seemed to have trouble with some of the existing .iso filenames (which include special characters).

Could also consider running with quiet mode -q to supress all non-error outputs.

ErAzOr2k commented 1 year ago

Hi and sorry for the delay. @MattSidney answered the question.

This page describes alternative methods, to create xiso: https://xemu.app/docs/disc-images/

MattSidney commented 1 year ago

Yeah, ok, the methods that @ErAzOr2k shared are event better :D

fraganator commented 1 year ago

Thanks for the links and info everyone. I'll aim to include xiso support in the next release.

fraganator commented 1 year ago

Hi @ErAzOr2k @MattSidney

Here's a new beta release which includes xiso conversion support: ArchiveCacheManager.v2.14.beta1.zip

It can extract an iso from a zip to the cache, then convert to xiso format. It can also copy an iso to the cache, then convert to xiso format. If the iso is already in xiso format, it's simply copied to the cache.

The original rom file (zip or redump iso) won't be modified when converting to xiso. The rom is extracted or copied to the cache first, and that copy is then converted to xiso. The resulting .iso.old copy from the cache will then be deleted.

After installing the plugin, download extract-xiso and place the exe in the LaunchBox\Plugins\ArchiveCacheManager\Extractors folder. In the Archive Cache Manager config, add your Xbox emulator on the Extraction Settings page, and check the box in the extract-xiso column. Also make sure the emulator has the Extract ROM archives before running option checked in the LaunchBox emulator settings.

image

Please test it out and let me know if there are any issues. Thanks!

MattSidney commented 1 year ago

Wow, that was fast! Thanks @fraganator.

I have tested with a coulpe of games both launching directly and by using the batch caching method. Both working great, nice work.

ErAzOr2k commented 1 year ago

Thank you so much. It is working as expected. No issues so far :)

MattSidney commented 1 year ago

@fraganator is this something you will push into the main release?

fraganator commented 1 year ago

@MattSidney Thanks for the reminder, I'll put together a new release in the next day or two.

fraganator commented 1 year ago

Available in v2.15.