-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[VFS] Add support for loading ZArchive files #2157
base: master
Are you sure you want to change the base?
Conversation
This would be great for XBLA games too! Thanks @rtissera - long time no see. |
-1 from me at this point.
|
Okay, I will improve those points thanks for feedback. |
}) | ||
recursive_platform_files() | ||
removefiles({"vfs_dump.cc"}) | ||
group("src") project("xenia-vfs") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting seems to be messed up here
-- Basic usage: project_zstd(ZSTD_DIR) | ||
|
||
function project_zstd(dir, compression, decompression, deprecated, dictbuilder, legacy) | ||
if compression == nil then compression = true end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please try and keep indentation and formatting of our other lua files here if possible
@Gliniak if you're referring to the Lua code, there are no curly braces after function, just "then". |
fwiw it's been merged and improved in Xenia canary |
This PR adds support for loading ZAR (ZArchive files) of a decrypted dump of XBOX 360 game.
The process is basically to dump your disc, extract files using your favorite tool, and create a ZAR file from it using ZArchive tool.
ZArchive is a format created by @Exzap for Cemu to store Wii U dumps originally (WUA files). It is very lightweight and uses modern Zstd compression.
This PR implements ZArchive supports through zstd and zarchive dependencies as third-party libraries, premake build support and full C++ VFS implementation for this specific kind of device.
I have personally tested it on around 60 games without noticing any behavior difference or performance hit between a decrypted folder and a ZAR file.
Comments, enhancements, and possible mistakes are welcome.