Page 1 of 1

Can somebody help me debuging the 64bit build of my game?

PostPosted: 16 Feb 2018, 10:43
by themightyglider
I am not 100% sure if this is the right forum to ask for some testers (if not the mods may move it to off-topic) but I've got an email from an user that told me the 64bit GNU/Linux build of my game RogueBox Adventures turns his screen black if he tries to start the game on his Debian9 system.
I don't know much more then this about this bug but I am afraid it happens to more people and scares them away from the game. On my system everything works fine.
I would love to have more feedback on this topic, so I would be very happy if some of you could test the 64bit build on their system and give tell me if it starts correctly.
Here is a download link: http://download.tuxfamily.org/rba/RogueBoxAdventures_v2_2_1_GNU%2bLinux_64Bit.zip

Thank you very much!

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 16 Feb 2018, 11:29
by farrer
Tested here (Gentoo, profile default/linux/amd64/17.0/no-multilib): it started and worked without problems, both on window or fullscreen modes.

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 16 Feb 2018, 17:17
by Egberto
Archlinux
Linux 4.15.2-2-ARCH x86_64 GNU/Linux

I installed extra/python2-pygame 1.9.3-1 and aur/python-pygame 1.9.3-2

But ...

{l Code}: {l Select All Code}
$ ./run
Traceback (most recent call last):
  File "run.py", line 10, in <module>
    import main
  File "/home/egberto/Games/rogueba/main.py", line 105, in <module>
    from getch import *
  File "/home/egberto/Games/rogueba/LIB/getch.py", line 27, in <module>
    sfxlist = {'wasd': pygame.mixer.Sound(sfx_path + 'wasd.ogg'), 'e' : pygame.mixer.Sound(sfx_path + 'e.ogg'), 'b' : pygame.mixer.Sound(sfx_path + 'b.ogg'), 'i' : pygame.mixer.Sound(sfx_path + 'i.ogg'), 'x' : pygame.mixer.Sound(sfx_path + 'x.ogg'), 'f' : pygame.mixer.Sound(sfx_path + 'f.ogg')}
pygame.error: Unable to open file '/home/egberto/Games/rogueba/AUDIO/SFX/wasd.ogg'
[3565] Failed to execute script run


The file exists and I could reproduce it using ogg123, :think: extra/libogg 1.3.3-2 is intalled too so ... :|

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 16 Feb 2018, 19:04
by flavio
Hi! I've tested it on Ubuntu 16.04 and everything works like a charm. ;)

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 16 Feb 2018, 22:18
by themightyglider
Thanks to everybody so far!

@egberto
I am no expert for arch but it seem like you have some problems with a underlying lib that is used by pygame.
Maybe the version of pygame that I used for the build expacts another version of libogg?

You could try to navigate to the directory of RBA and type:
{l Code}: {l Select All Code}
python ./main.py

Does this work?

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 17 Feb 2018, 00:54
by Egberto
themightyglider {l Wrote}:Thanks to everybody so far!

@egberto
I am no expert for arch but it seem like you have some problems with a underlying lib that is used by pygame.
Maybe the version of pygame that I used for the build expacts another version of libogg?

You could try to navigate to the directory of RBA and type:
{l Code}: {l Select All Code}
python ./main.py

Does this work?


Yes, that works. :)

It's nice :D

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 17 Feb 2018, 02:24
by eugeneloza
Debian 8.7.1 x64, everything works perfectly.
Debian 9.3.0 x64, everything works perfectly. [upd]
P.S. Exactly the same problem with "run" binary. Main.py works fine thou.

Re: Can somebody help me debuging the 64bit build of my game

PostPosted: 17 Feb 2018, 22:02
by themightyglider
I build the 64bit binary on a Ubuntu 16.4 system in a VM. Maybe it expacts exactly the same lib versions like on this system.
If someone has python + pygame on his/her *nix-system he/she can simply let the game create a launcher by running:

{l Code}: {l Select All Code}
python ./main.py -m


I need to mention this somewhere in the readme. I even made a howto about this: http://rogueboxadventures.tuxfamily.org/howto.htm