touchHLE icon indicating copy to clipboard operation
touchHLE copied to clipboard

Add support for opening IPA files

Open upintheairsheep opened this issue 2 years ago • 3 comments

Please add support for opening IPA files directly, using the 7zip or a normal zip engine to extract it and run it.

upintheairsheep avatar Feb 04 '23 17:02 upintheairsheep

Ah, yeah, it'd be good to do this at some point! I think someone familiar with Rust can probably figure out how to do it by modifying fs.rs to use a zip file library, and return some type like Box<dyn Read + Write + Seek + …> instead of File. Some small changes in main.rs and bundle.rs would be needed too.

hikari-no-yume avatar Feb 04 '23 17:02 hikari-no-yume

Though if anyone does attempt this: please try to pick a ZIP file library that doesn't have tons of dependencies. Keeping the number of dependencies low is a somewhat arbitrary goal but it's a principle I stick to.

hikari-no-yume avatar Feb 04 '23 18:02 hikari-no-yume

Sounds fun, I'll try to tackle it

DCNick3 avatar Feb 04 '23 23:02 DCNick3

@DCNick3 kindly contributed support for this in https://github.com/hikari-no-yume/touchHLE/pull/34, merged in 32d12cc697f8fc62770962b8d5a1fee44dfba677. This will be in the next release. :)

hikari-no-yume avatar Feb 05 '23 20:02 hikari-no-yume