Linux Advanced launcher - run game
#1
Hi, I have a problem with Advanced launcher.
I want to run a game named Dynablaster Revenge (http://www.pouet.net/prod.php?which=62926) from Kodi.
I'm using Kodi 17 in standalone mode on my HTPC with Ubuntu Server 16.10 x64 (Pc run 24/7 as router, firewall, wifi ap, ethernet switch, vpn server, data storage, media player and want add game console) . When I run game from XFCE it will start, but in advanced launcher it won't do nothing. I have added folder with game to sources and add launcher.
Kodi debug show:
[/php]
Code:
01:17:54.888 T:140520101639936 WARNING: CActiveAE::StateMachine - signal: 0 from port: OutputControlPort not handled for state: 6
Reply
#2
Wich addon are you using, advanced emulator launcher or advanced program launcher ?
Reply
#3
Advanced program launcher.

Kodi starting script:
Code:
sudo useradd kodi
sudo passwd kodi
sudo mkhomedir_helper kodi
sudo chsh -s /bin/bash kodi
sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev kodi

sudo nano /usr/share/xsessions/kodi2.desktop
###
[Desktop Entry]
Name=Kodi2
Comment=Custom ~/.xsession script
Exec=/home/kodi/.xsession
X-Ubuntu-Gettext-Domain=gdm
###
sudo chmod +x /usr/share/xsessions/kodi2.desktop

sudo nano /home/kodi/.xsession
###
#! /bin/bash
sleep 30
# Start kodi
openbox &
AE_SINK=ALSA kodi-standalone
###

sudo nano /var/lib/AccountsService/users/kodi
###
[User]
XSession=kodi2
SystemAccount=false
###

sudo chown kodi /home/kodi/.xsession
sudo chown kodi /home/kodi/.dmrc
sudo chmod +x /home/kodi/.xsession
gsettings set org.gnome.desktop.session idle-delay 0     #as user kodi
gsettings set org.gnome.desktop.screensaver lock-enabled false #as user kodi
Reply
#4
Advanced program launcher is broken and unmaintained you should now use advanced emulator launcher to expect something working.
Reply
#5
Ok, I instaled it, enable debugging ant this is output:
Code:
23:44:38.818 T:140466496032256  NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
23:44:38.818 T:140466496032256  NOTICE: Enabled debug logging due to GUI setting. Level 2.
23:44:38.818 T:140466496032256  NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
23:44:38.818 T:140466496032256  NOTICE: Enabled debug logging due to GUI setting. Level 2.
23:44:38.818 T:140466496032256   DEBUG: ------ Window Init () ------
23:44:38.938 T:140466496032256   DEBUG: Keyboard: scancode: 0x28, sym: 0x0064, unicode: 0x0000, modifier: 0x41
23:44:39.077 T:140466496032256   DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x40
23:44:39.137 T:140466496032256   DEBUG: Keyboard: scancode: 0x25, sym: 0x0132, unicode: 0x0000, modifier: 0x0
23:44:39.418 T:140466496032256   DEBUG: ------ Window Init (Pointer.xml) ------
23:44:44.479 T:140466496032256   DEBUG: ------ Window Deinit (Pointer.xml) ------
23:44:58.838 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:58.838 T:140466496032256   DEBUG: OnKey: down (0xf081) pressed, action is Down
23:44:59.498 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.498 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.538 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.538 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.578 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.578 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.618 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.618 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.658 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.658 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.698 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.698 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.738 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.738 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.778 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.778 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.819 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.819 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.859 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.859 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.899 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.899 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.939 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.939 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:44:59.979 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:44:59.979 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:45:00.018 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:00.019 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:45:00.059 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:00.059 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:45:00.099 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:00.099 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:45:00.139 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:00.139 T:140466496032256   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
23:45:00.159 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:00.679 T:140466496032256   DEBUG: Previous line repeats 1 times.
23:45:00.679 T:140466496032256   DEBUG: OnKey: down (0xf081) pressed, action is Down
23:45:00.779 T:140466496032256   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
23:45:01.439 T:140466496032256   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
23:45:01.599 T:140466496032256   DEBUG: OnKey: return (0xf00d) pressed, action is Select
23:45:01.599 T:140466496032256   DEBUG: RunScriptWithParams - calling plugin Advanced Emulator Launcher('plugin://plugin.program.advanced.emulator.launcher/','-1','?com=LAUNCH_STANDALONE&catID=root_category&launID=49da2eed9877f1dec95e1a3e2877f426')
23:45:01.599 T:140466496032256   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
23:45:01.599 T:140465517627136   DEBUG: Thread LanguageInvoker start, auto delete: false
23:45:01.599 T:140465517627136    INFO: initializing python engine.
23:45:01.599 T:140465517627136   DEBUG: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): start processing
23:45:01.605 T:140465517627136   DEBUG: -->Python Interpreter Initialized<--
23:45:01.605 T:140465517627136   DEBUG: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): the source file to load is "/home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py"
23:45:01.605 T:140465517627136   DEBUG: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): setting the Python path to /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
23:45:01.605 T:140465517627136   DEBUG: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): entering source directory /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher
23:45:01.605 T:140465517627136   DEBUG: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): instantiating addon using automatically obtained id of "plugin.program.advanced.emulator.launcher" dependent on version 2.24.0 of the xbmc.python api
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: ---------- Called AEL addon.py Main() constructor ----------
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: sys.platform   linux2
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: Python version 2.7.12+ (default, Sep 17 2016, 12:08:02) [GCC 6.2.0 20160914]
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: __addon_version__ 0.9.5~beta1
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: sys.argv[0] = "plugin://plugin.program.advanced.emulator.launcher/"
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: sys.argv[1] = "-1"
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: sys.argv[2] = "?com=LAUNCH_STANDALONE&catID=root_category&launID=49da2eed9877f1dec95e1a3e2877f426"
23:45:01.678 T:140465517627136   ERROR: AEL DEBUG: args = {'launID': ['49da2eed9877f1dec95e1a3e2877f426'], 'com': ['LAUNCH_STANDALONE'], 'catID': ['root_category']}
23:45:01.678 T:140465517627136   ERROR: AEL VERB : fs_load_catfile() Loading special://profile/addon_data/plugin.program.advanced.emulator.launcher/categories.xml
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() categoryID     = root_category
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() launcherID     = 49da2eed9877f1dec95e1a3e2877f426
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() application    = "/home/kodi/games/dynablaster_revenge_v1_0_2/dynablaster_linux_x64"
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() apppath        = "/home/kodi/games/dynablaster_revenge_v1_0_2"
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() app_basename   = "dynablaster_linux_x64"
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() arguments      = ""
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() app_ext        = "/home/kodi/games/dynablaster_revenge_v1_0_2/dynablaster_linux_x64"
23:45:01.680 T:140465517627136   ERROR: AEL INFO : _run_standalone_launcher() launcher_title = "dynablaster_linux_x64"
23:45:01.680 T:140465517627136   ERROR: AEL VERB : _run_before_execution() media_state_action is "Stop" (0)
23:45:01.680 T:140465517627136   ERROR: AEL VERB : _run_before_execution() DO NOT suspend Kodi audio engine
23:45:01.680 T:140465517627136   ERROR: AEL VERB : _run_before_execution() Toggling Kodi fullscreen DEACTIVATED in Launcher
23:45:01.680 T:140465517627136   ERROR: AEL VERB : _run_before_execution() Pausing 500 ms
23:45:01.699 T:140466496032256   DEBUG: ------ Window Init (DialogNotification.xml) ------
23:45:02.181 T:140465517627136   ERROR: AEL DEBUG: _run_before_execution() function ENDS
23:45:02.199 T:140466496032256    INFO: LIRC SetEnabled: disabled
23:45:02.715 T:140465517627136   ERROR: AEL VERB : _run_after_execution() Pausing 500 ms
23:45:02.719 T:140464690820864   DEBUG: Thread RemoteControl start, auto delete: false
23:45:02.719 T:140464690820864    INFO: LIRC Process: using: /dev/lircd
23:45:02.719 T:140464690820864    INFO: LIRC Connect: successfully started
23:45:02.719 T:140464690820864   DEBUG: Thread RemoteControl 140464690820864 terminating
23:45:03.214 T:140465517627136   ERROR: AEL VERB : _run_after_execution() Toggling Kodi fullscreen DEACTIVATED in Launcher
23:45:03.214 T:140465517627136   ERROR: AEL VERB : _run_before_execution() DO NOT resume Kodi audio engine
23:45:03.214 T:140465517627136   ERROR: AEL VERB : _run_after_execution() media_state_action is "Stop" (0)
23:45:03.214 T:140465517627136   ERROR: AEL VERB : _run_after_execution() self.kodi_was_playing is False
23:45:03.214 T:140465517627136   ERROR: AEL DEBUG: _run_after_execution() function ENDS
23:45:03.214 T:140465517627136   ERROR: AEL DEBUG: Advanced Emulator Launcher exit
23:45:03.215 T:140465517627136    INFO: CPythonInvoker(14, /home/kodi/.kodi/addons/plugin.program.advanced.emulator.launcher/addon.py): script successfully run
23:45:03.235 T:140465517627136    INFO: Python script stopped
23:45:03.235 T:140465517627136   DEBUG: Thread LanguageInvoker 140465517627136 terminating
23:45:07.458 T:140466496032256   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
23:47:33.657 T:140465227691776   DEBUG: ['SOSAC Loading subscriptions']
23:48:01.617 T:140466017957632   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
23:48:01.617 T:140466017957632   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
23:48:01.618 T:140466496032256   DEBUG: ------ Window Init () ------
23:48:02.457 T:140465529427712   DEBUG: ### [XBMC LCDproc] - Clearing display contents
Reply

Logout Mark Read Team Forum Stats Members Help
Advanced launcher - run game0