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

"Could not load" multiple files #25

Open
OrderlyUnicode opened this issue Apr 28, 2022 · 3 comments
Open

"Could not load" multiple files #25

OrderlyUnicode opened this issue Apr 28, 2022 · 3 comments

Comments

@OrderlyUnicode
Copy link

On a fresh build approximately 10 minutes before submitting this, the game executable fails to load data/conf.ini and data/shaders/text.glsl

This is on a relatively recent (last updated ~48 hours ago) build of Arch with GCC version 11.2.0 and SDL version 2.0.20-2. On the off chance this matters, the CPU is a Ryzen 5 2500u and the program was launched using the internal GPU for rendering

If I missed any relevant information, do let me know.

@solenum
Copy link
Owner

solenum commented May 2, 2022

Do you have zip installed? Is the data archive getting made correctly? you can rename data.ex in the build dir to data.zip and open it, and see if any files are missing. If no data file exists, the zip step might be failing due to lack of the zip program. I've built this somewhat recently from source on a fresh arch install with no problems.

I'm away right now so I can't look into this in detail until next week or so.

@OrderlyUnicode
Copy link
Author

Evidently, I did not have zip installed. I have since reinstalled it and I'm going to try again once I've finished this comment.

@OrderlyUnicode
Copy link
Author

Turns out, that's what the problem was. I'm able to load the demo executable once I recompiled it with zip installed with no other perceived issues.

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

No branches or pull requests

2 participants