Stealth Bastard Deluxe

Stealth Bastard Deluxe

View Stats:
{FKB} Kame Apr 29, 2013 @ 4:22pm
Linux Issues
Let me begin by saying thanks for porting this game over to Linux!

Firstly, the game seems to... stutter, making it basically unplayable. The music and menus and everything else seems to run fine, but the character just stutters and freezes as he moves.

Secondly, gamepad support. Do you know if this is working at all? My gamepad does nothing in either the settings page or ingame itself. I have a feeling this may be an issue with gamemaker studio though.
Last edited by {FKB} Kame; May 1, 2013 @ 4:40pm
< >
Showing 1-15 of 102 comments
onesandzeroes Apr 29, 2013 @ 4:56pm 
I'm also having trouble with my gamepad. I've got a Logitech F310, which I think is a pretty common one, and one that hews pretty closely to the Xbox360 layout. It's not detected in-game, and I can't get it to do anything in the controller settings dialog either.
boolf Apr 29, 2013 @ 5:06pm 
I don't know about gamepads but the stutter is caused by the game initially downloading some user created levels. Once it's done it runs smoothly!
{FKB} Kame Apr 29, 2013 @ 6:14pm 
Originally posted by boolf:
I don't know about gamepads but the stutter is caused by the game initially downloading some user created levels. Once it's done it runs smoothly!

Nice find, I actually let the User levels finish downloading and now it runs great. Thanks for the tip!
Last edited by {FKB} Kame; Apr 29, 2013 @ 6:15pm
boolf Apr 30, 2013 @ 4:32am 
You're welcome, actually I did read about this in other threads when looking into the same "issue" so no credit to me :D
onebitbeyond Apr 30, 2013 @ 5:44am 
Originally posted by onesandzeroes:
I'm also having trouble with my gamepad. I've got a Logitech F310, which I think is a pretty common one, and one that hews pretty closely to the Xbox360 layout. It's not detected in-game, and I can't get it to do anything in the controller settings dialog either.
Is the switch on the bottom set to X and not D?
Moisizz Apr 30, 2013 @ 5:56am 
Originally posted by onebitbeyond:
Originally posted by onesandzeroes:
I'm also having trouble with my gamepad. I've got a Logitech F310, which I think is a pretty common one, and one that hews pretty closely to the Xbox360 layout. It's not detected in-game, and I can't get it to do anything in the controller settings dialog either.
Is the switch on the bottom set to X and not D?

I have ubuntu 12.04 and Logitec F310 too. Switch on bottom is set to X and gamepad still not work in game :( Also checked another game - gamepad work well.
karmik Apr 30, 2013 @ 6:11am 
I have found workaround for a gamepad problem. It is possible to mimic Xbox gamepad via xboxdrv :

$ sudo xboxdrv --silent --type xbox360 --device-by-path 006:002 --mimic-xpad --detach-kernel-driver

where 006:002 is your gamepad adress (In my case it is 006 - bus and 002 - device). You can see it by running lsusb in command line. After that gamepad start working in the game.

After computer reboot you need to enter this command again or you can add it to the /etc/rc.local file before "exit 0" statement and with "&" at the end of line:

eugene@desktop:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

xboxdrv --silent --type xbox360 --device-by-path 006:002 --mimic-xpad --detach-kernel-driver &
exit 0


It should be noted, that your device path may change after gamepad reconnection.
karmik Apr 30, 2013 @ 6:13am 
Hope this issue will be fixed soon.
onebitbeyond Apr 30, 2013 @ 6:46am 
YoYo would like you to report the presence of the file the kernel creates when the joystick is plugged in. If you plug in the joystick and then do:

ls -al /dev/input/*

...and get us the result, it'd be helpful in seeing what's going on with the controller.
Last edited by onebitbeyond; Apr 30, 2013 @ 7:24am
karmik Apr 30, 2013 @ 7:14am 
Hmm, I guess there must be some instructions after "then do:"
onebitbeyond Apr 30, 2013 @ 7:24am 
lol. Copy and paste error...
karmik Apr 30, 2013 @ 7:30am 
I rebooted my PC and plugged gamepad in. Here is the result:

eugene@desktop:~$ ls -al /dev/input/*
crw-r----- 1 root root 13, 64 Апр 30 17:20 /dev/input/event0
crw-r----- 1 root root 13, 65 Апр 30 17:20 /dev/input/event1
crw-r----- 1 root root 13, 74 Апр 30 17:20 /dev/input/event10
crw-r----- 1 root root 13, 75 Апр 30 17:20 /dev/input/event11
crw-r----- 1 root root 13, 76 Апр 30 17:20 /dev/input/event12
crw-r----- 1 root root 13, 77 Апр 30 17:20 /dev/input/event13
crw-r----- 1 root root 13, 78 Апр 30 17:20 /dev/input/event14
crw-r----- 1 root root 13, 79 Апр 30 17:20 /dev/input/event15
crw-r-----+ 1 root root 13, 80 Апр 30 17:23 /dev/input/event16
crw-r----- 1 root root 13, 66 Апр 30 17:20 /dev/input/event2
crw-r----- 1 root root 13, 67 Апр 30 17:20 /dev/input/event3
crw-r----- 1 root root 13, 68 Апр 30 17:20 /dev/input/event4
crw-r----- 1 root root 13, 69 Апр 30 17:20 /dev/input/event5
crw-r----- 1 root root 13, 70 Апр 30 17:20 /dev/input/event6
crw-r----- 1 root root 13, 71 Апр 30 17:20 /dev/input/event7
crw-r----- 1 root root 13, 72 Апр 30 17:20 /dev/input/event8
crw-r----- 1 root root 13, 73 Апр 30 17:20 /dev/input/event9
crw-r--r--+ 1 root root 13, 0 Апр 30 17:23 /dev/input/js0
crw-r----- 1 root root 13, 63 Апр 30 17:20 /dev/input/mice
crw-r----- 1 root root 13, 32 Апр 30 17:20 /dev/input/mouse0

/dev/input/by-id:
итого 0
drwxr-xr-x 2 root root 200 Апр 30 17:23 .
drwxr-xr-x 4 root root 480 Апр 30 17:23 ..
lrwxrwxrwx 1 root root 10 Апр 30 17:20 usb-046d_0819_AE3D25A0-event-if00 -> ../event11
lrwxrwxrwx 1 root root 10 Апр 30 17:23 usb-Logitech_Gamepad_F310_E1AB3744-event-joystick -> ../event16
lrwxrwxrwx 1 root root 6 Апр 30 17:23 usb-Logitech_Gamepad_F310_E1AB3744-joystick -> ../js0
lrwxrwxrwx 1 root root 9 Апр 30 17:20 usb-Logitech_USB_Keyboard-event-if01 -> ../event3
lrwxrwxrwx 1 root root 9 Апр 30 17:20 usb-Logitech_USB_Keyboard-event-kbd -> ../event2
lrwxrwxrwx 1 root root 9 Апр 30 17:20 usb-Logitech_USB_Receiver-event-if01 -> ../event5
lrwxrwxrwx 1 root root 9 Апр 30 17:20 usb-Logitech_USB_Receiver-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 Апр 30 17:20 usb-Logitech_USB_Receiver-mouse -> ../mouse0

/dev/input/by-path:
итого 0
drwxr-xr-x 2 root root 200 Апр 30 17:23 .
drwxr-xr-x 4 root root 480 Апр 30 17:23 ..
lrwxrwxrwx 1 root root 10 Апр 30 17:23 pci-0000:00:12.0-usb-0:1:1.0-event-joystick -> ../event16
lrwxrwxrwx 1 root root 6 Апр 30 17:23 pci-0000:00:12.0-usb-0:1:1.0-joystick -> ../js0
lrwxrwxrwx 1 root root 9 Апр 30 17:20 pci-0000:00:12.0-usb-0:3:1.0-event-kbd -> ../event2
lrwxrwxrwx 1 root root 9 Апр 30 17:20 pci-0000:00:12.0-usb-0:3:1.1-event -> ../event3
lrwxrwxrwx 1 root root 10 Апр 30 17:20 pci-0000:00:12.2-usb-0:5:1.0-event -> ../event11
lrwxrwxrwx 1 root root 9 Апр 30 17:20 pci-0000:00:12.2-usb-0:6.1:1.0-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 Апр 30 17:20 pci-0000:00:12.2-usb-0:6.1:1.0-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Апр 30 17:20 pci-0000:00:12.2-usb-0:6.1:1.1-event -> ../event5



Moisizz Apr 30, 2013 @ 7:49am 
Originally posted by onebitbeyond:
YoYo would like you to report the presence of the file the kernel creates when the joystick is plugged in. If you plug in the joystick and then do:

ls -al /dev/input/*

...and get us the result, it'd be helpful in seeing what's going on with the controller.

Heres my output https://dl.dropboxusercontent.com/u/5823885/input.txt
10rd3 Apr 30, 2013 @ 2:25pm 
Originally posted by karmiktoucan:
I have found workaround for a gamepad problem. It is possible to mimic Xbox gamepad via xboxdrv :
Well, Logitech F-series gamepads support xinput protocol so they do not need to be emulated through xboxdrv. Technically, they ARE Xbox 360 controllers. Only shape differs from original Microsoft controllers'. Normally it (Logitech F-series and various models from other vendors) should be supported through 'xpad' kernel module. Maybe problem lays there?

P.S.: как игра-то? Не сильно ♥♥♥♥♥♥♥♥♥♥♥♥ская?
Last edited by 10rd3; Apr 30, 2013 @ 2:32pm
Moisizz Apr 30, 2013 @ 2:40pm 
Originally posted by lordinferius:
Originally posted by karmiktoucan:
I have found workaround for a gamepad problem. It is possible to mimic Xbox gamepad via xboxdrv :
Well, Logitech F-series gamepads support xinput protocol so they do not need to be emulated through xboxdrv. Technically, they ARE Xbox 360 controllers. Only shape differs from original Microsoft controllers'. Normally it (Logitech F-series and various models from other vendors) should be supported through 'xpad' kernel module. Maybe problem lays there?

P.S.: как игра-то? Не сильно ♥♥♥♥♥♥♥♥♥♥♥♥ская?

Игра сама вполне понравилась. Интересная и с приятной графикой. Весело побегать, кое где подумать, прохожу уже вторую зону. Так же радует, что есть создаваемые сообществом уровни так что будет чем заняться после прохождения основных. Да и самому можно для развлечения какой-нибудь ад посоздавать и попроходить :)
< >
Showing 1-15 of 102 comments
Per page: 15 30 50