Skip to content
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

Remove support for loading IMG, CCD, SUB files. #262

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saulfabregwiivc
Copy link
Contributor

@saulfabregwiivc saulfabregwiivc commented Sep 19, 2024

Following the conversation in #139, and also since @xjsxjs197 agreed with removing support for IMG, CCD, SUB files on WiiStation, i worked in the past months trying to disable code for load these files.

Now the emulator will only allow loading BIN+CUE, CHD, and PBP.
(SBI file loading will be unaffected since it's needed for play LibCrypt games)

The size reduction is not big, but at least we had reduced the memory usage, i guess.

Suggested by malvarenga123: xjsxjs197#139 (comment)

malvarenga123: To me that answer was really strange as the sub file is very small compared to the main image, so you shouldn't need to read it that frequently.
What I think is more plausible is that the general reading routine (for all formats) is not really optimized and the constant access to USB or SD card is causing those stutters.

xjsxjs197 already said that if using CCD/IMG/SUB, it causes many stutters not present on BIN/CUE, CHD, or other formats.
xjsxjs197#139 (comment)

Reduces DOL file size in 896 bytes.
@xjsxjs197
Copy link
Owner

Thank you very much for assisting with the modification, but due to some reasons, such as some people still using game files in these formats, they may find it troublesome to switch to other formats. So this correction will not be merged into the main branch temporarily.
Additionally, there is not a significant problem with memory usage, even if GX hardware rendering is used in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants