batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.95k stars 504 forks source link

3ds: add support for .squashfs #12005

Closed aderumier closed 3 months ago

aderumier commented 3 months ago

3ds games can use a lot of space,
citra emulator don't support compression format currently.

squashfs compression ratio is around 60% of original size

-rw-rw-r-- 1 root root 4.0G Jun 22 09:04 'Pokemon Ultra Moon.3ds'
-rw-r--r-- 1 root root 2.4G Jun 22 09:12 'Pokemon Ultra Moon.3ds.squashfs'
Tovarichtch commented 3 months ago

Was this tested on latest butterfly?

aderumier commented 3 months ago

I have tested it on v39, works out of the box.

Tovarichtch commented 3 months ago

Please test on butterfly since we don't use the original citra anymore, which is present in v39

aderumier commented 3 months ago

Please test on butterfly since we don't use the original citra anymore, which is present in v39

Thanks. I'll try it today.

BTW, it's seem that It's used Citra again (another fork), after used lemonade for some weeks ?

https://github.com/batocera-linux/batocera.linux/commit/50b014840e38820409e1d248d8b7b79c33ffbc36

aderumier commented 3 months ago

I confirm, this is working fine out of the box with butterfly

udance4ever commented 3 months ago

this works great. tested on latest 6/28 butterfly compressing w default mksquashfs and it shaved a cool 11GB (34%) off a 32GB romset - love how easy it was to implement 😎