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

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

Postby themightyglider » 16 Feb 2018, 10:43

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!
User avatar
themightyglider
 
Posts: 123
Joined: 23 Feb 2016, 12:13

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

Postby farrer » 16 Feb 2018, 11:29

Tested here (Gentoo, profile default/linux/amd64/17.0/no-multilib): it started and worked without problems, both on window or fullscreen modes.
User avatar
farrer
 
Posts: 87
Joined: 24 Feb 2014, 21:00

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

Postby Egberto » 16 Feb 2018, 17:17

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 ... :|
User avatar
Egberto
 
Posts: 18
Joined: 27 Jul 2012, 15:20
Location: México

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

Postby flavio » 16 Feb 2018, 19:04

Hi! I've tested it on Ubuntu 16.04 and everything works like a charm. ;)
flavio
 
Posts: 53
Joined: 21 Mar 2014, 11:06
Location: Rome

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

Postby themightyglider » 16 Feb 2018, 22:18

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?
User avatar
themightyglider
 
Posts: 123
Joined: 23 Feb 2016, 12:13

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

Postby Egberto » 17 Feb 2018, 00:54

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
User avatar
Egberto
 
Posts: 18
Joined: 27 Jul 2012, 15:20
Location: México

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

Postby eugeneloza » 17 Feb 2018, 02:24

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.
User avatar
eugeneloza
 
Posts: 490
Joined: 22 Aug 2014, 12:15
Location: Ukraine

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

Postby themightyglider » 17 Feb 2018, 22:02

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
User avatar
themightyglider
 
Posts: 123
Joined: 23 Feb 2016, 12:13

Who is online

Users browsing this forum: No registered users and 1 guest

cron