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

core: make findFilePath more robust #751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

okias
Copy link

@okias okias commented Nov 26, 2024

Do not crash, when asset is missing, just warn about it. Game can work well without missing wav and mp3 files.

Also, the crash itself looks a bit mysterious, so now the game prints name of the missing asset.

// this caused pretty headache because I didn't copied the audio files from CD2...

rwcore/platform/FileIndex.cpp Outdated Show resolved Hide resolved
Do not crash, when asset is missing, just warn about it.
Game can work well without missing wav and mp3 files.

Also, the crash itself looks a bit mysterious, so now the game prints
name of the missing asset.

Signed-off-by: David Heidelberg <[email protected]>
@okias okias force-pushed the 241126-robust-loading branch from b28711a to 28d71ff Compare November 27, 2024 04:58
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