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

Unable to boot game on RPI4 #85

Open
UnperishedFoods opened this issue Mar 22, 2024 · 5 comments
Open

Unable to boot game on RPI4 #85

UnperishedFoods opened this issue Mar 22, 2024 · 5 comments

Comments

@UnperishedFoods
Copy link

I installed the prebuilt game off of itch, extracted it, ran the main file inside... but to no avail. I've scoured the internet for fixes but I can't figure out why Celeste64 won't open. I receive an error related to OpenGL but I'm not sure if this is a game thing or something that I need to fix on my pi. Not a lot of information is out there about this error so I thought I'd come to the source.

ErrorLog.txt

Really hope you guys can get it working as I would love to play this on my pi. Cheers!

@NoelFB
Copy link
Contributor

NoelFB commented Mar 24, 2024

The actual issue seems to be something about the OpenGL context failing to initialize. I won't have a chance to look into this for a little bit but this is the error: Failed to create OpenGL Context: Could not create GL context: GLXBadFBConfig

I don't know what GLXBadFBConfig means but can take a look into it soon!

@NoelFB
Copy link
Contributor

NoelFB commented Mar 26, 2024

I looked at this a little bit and it seems to be that the requested OpenGL context is not supported on your device. That stuff is setup here and to figure out what specifically isn't working you'd probably need to change those, and also test what version of OpenGL you actually have.

@UnperishedFoods
Copy link
Author

I opened the link - how would I know what to change the values to, as well as what devices are compatible? I can also try obtaining my OpenGL version whenever I’m able.

Lines 1010-1015: the actual error. Why is it that running SDL_GL_CreateContext(state->window); is null?

Unrelated (and possibly a question you get asked a lot): I’ve been looking into making games recently and I have some knowledge of coding under my belt, but how do I know where to start? How do you get to a point where you’re able to write an entire game in less than a week???

I appreciate the fast response! Celeste is such a great game, I’ve had a so much fun playing. You guys are so inspiring! :)

@theofficialgman
Copy link
Contributor

game requires GLSL 3.30+ support
you can lie on a pi4+ and it will work as done in the pi-apps install script
https://github.com/Botspot/pi-apps/blob/d6845a988593bea3f706b3130b3d53bbddb1cb4c/apps/Celeste64/install#L21-L26

@UnperishedFoods
Copy link
Author

Is that the only way around it? Using pi-apps scripts to trick it in to GLSL 3.30+ or is there another possible solution that could be made in the game’s code that could do that?

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

3 participants