sorry about the double replies, itch seemed to get a little freaky.
nasa Topo
Recent community posts
CPU: x86_64
GPU: Mesa/X.org - virgl
OpenGL detected: 3.1 Mesa 20.3.5
GLSL detected: 1.40
Vertex Array Object support found.
Maximum supported texture size: 16384 x 16384
Detected screen resolution: 1366 x 688, window: 1092 x 550
Detecting software environment...
OS: Linux-5.10.114-16025-ge75506b9d98e-x86_64-with-glibc2.31
Python: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (64bit)
Modules: PySDL2 0.9.16, numpy 1.26.4, PyOpenGL 3.1.7, appdirs 1.4.4, PIL 9.5.0
SDL: 2.28.0 SDL-release-2.30.0-0-g859844eae, SDLmixer: 2.6.1
/home/USERNAME/playscii/playscii/playscii.py:429: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
img = img.resize((32, 32), Image.ANTIALIAS)
Traceback (most recent call last):
File "/home/USERNAME/playscii/playscii/playscii.py", line 1170, in <module>
app = Application(config_dir, documents_dir, cache_dir, logger,
File "/home/USERNAME/playscii/playscii/playscii.py", line 315, in __init__
self.gw = GameWorld(self)
File "/home/USERNAME/playscii/playscii/game_world.py", line 118, in __init__
self.grid = GameGrid(self.app)
File "/home/USERNAME/playscii/playscii/renderable_line.py", line 60, in __init__
GL.glVertexAttribPointer(self.pos_attrib, self.vert_items,
File "/home/USERNAME/.local/lib/python3.9/site-packages/OpenGL/latebind.py", line 63, in __call__
return self.wrapperFunction( self.baseFunction, *args, **named )
File "/home/USERNAME/.local/lib/python3.9/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 469, in glVertexAttribPointer
contextdata.setValue( key, array )
File "/home/USERNAME/.local/lib/python3.9/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
hopes this helps! i really appreciate you assisting with all of this lol, thank you.
i've now solved the issue [had to reinstall pysdl2 and pysdl2-dll, also installed pillow 9.5 (as opposed to 10.0) for the ANTIALIAS error i got.] but now when i run python3 playscii.py it throws back this
File "/home/USERNAME/.local/lib/python3.9/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context
Hi, i was having trouble running this from source (using Debian 11 "bullseye"). I have installed all of the relevant dependencies, but when i try to run "python3 playscii.py" it throws back this error,
Traceback (most recent call last):
File "/home/USERNAME/playscii/playscii/playscii.py", line 25, in <module>
import sdl2
ModuleNotFoundError: No module named 'sdl2'
I was wondering if you could possibly assist? Thank you for reading!
simple and very easy to get the ball rolling. got lost in playing it for a while lol. i can be very image oriented sometimes [to the point where my main play style with journaling rpgs is to basically draw doodles and illustrations to tell the narrative] and the beginning bit that encourages the player to envision what their home looks like really helped. fantastic work!