OpenXCom no longer working after installing from Experimental menu
-
Hello,
The OpenXCom emulator from @zerojay RetroPie Extras experimental repository is no longer working.
Pi Model: Raspberry Pi 3
RetroPie Version Used: 4.1
Built From: Build from 4.1 image
USB Devices connected: Wireless Rapoo T-series keyboard
Guide used: https://github.com/zerojay/RetroPie-Extra
File: X-Com and Terror From The Deep Steam data files
Emulator: OpenXComThis emulator was working fine the last time I set up a new RetroPie build, however it is no longer working.
Steps:
- Download and install 4.1 image onto Raspberry Pi 3
- Add @zerojay RetroPie Extra scripts using wiki.
- Download and install OpenXCom port from the Experimental menu
- Set x11 to Anybody using sudo dpkg-reconfigure x11-common
- Add Xcom and/or Terror From The Deep Steam data files to /opt/retropie/ports/openxcom/share/openxcom
- Attempt to launch from EmulationStation.
Results:
Game does not load and take user back to EmulationStation.Output from runncommand.log:
Parameters: Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit /opt/retropie/ports/openxcom/bin/openxcom X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian Current Operating System: Linux retropie 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2709.boardrev=0xa22082 bcm2709.serial=0xda477f62 smsc95xx.macaddr=B8:27:EB:47:7F:62 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 consoleblank=0 plymouth.enable=0 Build Date: 11 November 2016 11:59:59AM xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) Current version of pixman: 0.33.3 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri Dec 23 00:18:45 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error
Output from Xorg.0.log:
[ 50.698] X.Org X Server 1.18.4 Release Date: 2016-07-19 [ 50.698] X Protocol Version 11, Revision 0 [ 50.698] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian [ 50.698] Current Operating System: Linux retropie 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l [ 50.698] Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2709.boardrev=0xa22082 bcm2709.serial=0xda477f62 smsc95xx.macaddr=B8:27:EB:47:7F:62 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 consoleblank=0 plymouth.enable=0 [ 50.698] Build Date: 11 November 2016 11:59:59AM [ 50.698] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support) [ 50.698] Current version of pixman: 0.33.3 [ 50.698] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 50.698] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 50.698] (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri Dec 23 00:18:45 2016 [ 50.699] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 50.699] (==) No Layout section. Using the first Screen section. [ 50.699] (==) No screen section available. Using defaults. [ 50.699] (**) |-->Screen "Default Screen Section" (0) [ 50.699] (**) | |-->Monitor "<default monitor>" [ 50.700] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 50.700] (==) Automatically adding devices [ 50.700] (==) Automatically enabling devices [ 50.700] (==) Automatically adding GPU devices [ 50.700] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 50.700] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 50.700] Entry deleted from font path. [ 50.700] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 50.700] (==) ModulePath set to "/usr/lib/xorg/modules" [ 50.700] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 50.700] (II) Loader magic: 0x54c9ef20 [ 50.700] (II) Module ABI versions: [ 50.700] X.Org ANSI C Emulation: 0.4 [ 50.700] X.Org Video Driver: 20.0 [ 50.700] X.Org XInput driver : 22.1 [ 50.700] X.Org Server Extension : 9.0 [ 50.703] (EE) systemd-logind: failed to get session: PID 971 does not belong to any known session [ 50.703] (II) no primary bus or device found [ 50.703] (II) LoadModule: "glx" [ 50.703] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 50.709] (II) Module glx: vendor="X.Org Foundation" [ 50.709] compiled for 1.18.4, module version = 1.0.0 [ 50.709] ABI class: X.Org Server Extension, version 9.0 [ 50.709] (==) AIGLX enabled [ 50.709] (==) Matched modesetting as autoconfigured driver 0 [ 50.709] (==) Matched fbdev as autoconfigured driver 1 [ 50.709] (==) Assigned the driver to the xf86ConfigLayout [ 50.709] (II) LoadModule: "modesetting" [ 50.709] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 50.709] (II) Module modesetting: vendor="X.Org Foundation" [ 50.709] compiled for 1.18.4, module version = 1.18.4 [ 50.709] Module class: X.Org Video Driver [ 50.709] ABI class: X.Org Video Driver, version 20.0 [ 50.710] (II) LoadModule: "fbdev" [ 50.710] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 50.710] (II) Module fbdev: vendor="X.Org Foundation" [ 50.710] compiled for 1.18.4, module version = 0.4.4 [ 50.710] Module class: X.Org Video Driver [ 50.710] ABI class: X.Org Video Driver, version 20.0 [ 50.710] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 50.710] (II) FBDEV: driver for framebuffer: fbdev [ 50.710] (EE) Fatal server error: [ 50.710] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) [ 50.710] (EE) [ 50.710] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 50.710] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information. [ 50.710] (EE) [ 50.711] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 50.711] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 50.711] (EE) Server terminated with error (1). Closing log file.
If any further information is required, please let me know.
Thanks
-
Tried this again from an older .img backup I had. Looks like a recent sudo apt-get upgrade or sudo apt-get dist-upgrade has made changes to the xorg-server which has broken OpenXCom.
-
Issue still occurring after doing a fresh install of the 4.1 image and updating to RetroPie-Script 4.1.8, then installing openxcom from Experimental Menu (including it's dependencies).
-
Note to people already running and installed OpenXCom emulator, do not update xorg or xorg-server using sudo apt-get dist-upgrade. sudo apt-get upgrade currently does not update those packages. Maybe one day this will get fixed.
In the meantime I've used a backed up .img to fix this issue and I'll be avoiding using sudo apt-get dist-upgrade and keeping an eye out if apt-get upgrade starts to include those updates.
-
Should be fixed now.
-
Great stuff, thanks @PokeEngineer ! I'll give this a try as soon as possible.
-
Very sorry for the late reply on this, but wanted to say this is now working fine!
I did have one other question regarding save files if anyone is able to help?
I used to get the save files from here:
\home\pi\.local\share\openxcom
But somewhere along the line that looks to have changed. Can someone please direct me to where save files are now kept? I can make saves fine, but I have some existing save files I'd like to import back over so I can finish a TFTD game I'd started a while back :)
Thanks!!
-
Found where I can grab saves from on the Pi. If using something like WinSCP you might need to enable the option to view hidden files.
/root/.openxcom/
-
It shouldn't be in /root like that as that would only happen if you are running the game as root and you shouldn't be. The expected place to find the files are:
/opt/retropie/configs/openxcom/ which is linked to /home/pi/.config/openxcom.
Let me know if this doesn't appear to be the case for you.
-
Same here - it's in root. I have to login as root to access the saves. Never ran the game as root.
By the way, reinstalling openxcom from the source in the "Experimental packages" menu deletes all UFO (and TFTD) files that are present on the card (i.e. the entire game structure).
-
@marioncobretti File an issue on the github, please: https://github.com/zerojay/RetroPie-Extra
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.