Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@bwrsandman
Copy link
Member

@bwrsandman bwrsandman commented Dec 29, 2023

Load game assets from CD using libcdio and from the installshield cabinet files inside using unshield.

The loading speed is not great due to the fact that it's extracting while loading, but it's not horrible.

This change can make it easier for non-windows users (especially restricted sandboxes such as with mobile and web) to run openblack using a single file (drag drop, file dialog).

TODO:

  • Listing map files

Depends on:

Closes #280

src/FileSystem/CdFileSystem.cpp Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
@bwrsandman bwrsandman force-pushed the iso branch 2 times, most recently from 3d5f6d3 to b7b2420 Compare January 3, 2024 06:46
SPDLOG_LOGGER_CALL(spdlog::get("filesystem"), spdlogLevel, "cdio: {}", message);
}

void unshield_log_handler([[maybe_unused]] void* userdata, int level, const char* file, int line, const char* format, va_list args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change
void unshield_log_handler([[maybe_unused]] void* userdata, int level, const char* file, int line, const char* format, va_list args)
void unshield_log_handler([[maybe_unused]] void* userdata, int level, const char* file, int line, const char* format,
va_list args)

@github-actions github-actions bot added the merge-conflicts PR cannot be merged until it is rebased label Jan 3, 2024
@github-actions github-actions bot removed the merge-conflicts PR cannot be merged until it is rebased label Jan 3, 2024
src/FileSystem/CdFileSystem.cpp Outdated Show resolved Hide resolved
src/FileSystem/CdFileSystem.h Outdated Show resolved Hide resolved
@github-actions github-actions bot added the merge-conflicts PR cannot be merged until it is rebased label Feb 2, 2024
@FalseIlyu FalseIlyu added this to the 0.2.0 milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflicts PR cannot be merged until it is rebased

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support non-extracted data files

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.