ExOK / Celeste64

A game made by the Celeste developers in a week(ish, closer to 2)
1.58k stars 125 forks source link

Unable to boot game on RPI4 #85

Open UnperishedFoods opened 3 months ago

UnperishedFoods commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 1 month ago

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 commented 2 weeks ago

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?