Problem under Linux

French Forbidden

Modérateur : Modérateurs

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 16:50

@porko
I will do that. Just have to try n64 and mame on my own to know that everything works as it should before I make a tutorial :)

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 17:13

made this for N64

Code : Tout sélectionner

#!/bin/bash

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ./retroarch -L /home/ergo/Retro/Cores/nestopia_libretro.so -c /home/ergo/Retro/cfg/nestopia_libretro.cfg "/home/ergo/Retro/Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.v64";
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.V64";

else
  echo "system not supported ($1) (game: $2)";
fi
The problem is that the launcher will try to launch with the first exension and will give black screen and return to ZSpin and the launch again with the next entry pplus I m worried that if I add more lines like this for the other extensions will try to launch in the bg.
@vik maybe you can figure out a better way :P

updated

Code : Tout sélectionner

#!/bin/bash

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ./retroarch -L /home/ergo/Retro/Cores/nestopia_libretro.so -c /home/ergo/Retro/cfg/nestopia_libretro.cfg "/home/ergo/Retro/Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.v64";
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.V64";
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.z64";
  ./retroarch -L /home/ergo/Retro/Cores/mupen64plus_libretro.so -c /home/ergo/Retro/cfg/mupen64plus_libretro.cfg "/home/ergo/Retro/Nintendo 64/$2.n64";

elif [ "$1" == "MAME" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ./retroarch -L /home/ergo/Retro/Cores/mame2014_libretro.so -c /home/ergo/Retro/cfg/mame2014_libretro.cfg "/home/ergo/Retro/MAME/$2.zip";

else
  echo "system not supported ($1) (game: $2)";
fi

Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 16 nov. 2015 - 18:24

I simplified your code a little;
for the n64, instead of passing a file directly, we call the "ls" command that search files.
we look for files named "rom_file.*" (* means everything) and then we limit the list to the first result (the "head -n 1" command)
(and this is untested :D but it should work)

Code : Tout sélectionner

#!/bin/bash

RARCH="./retroarch -L /home/ergo/Retro/Cores/"
RCONFIG="-c /home/ergo/Retro/cfg/"
ROMS="/home/ergo/Retro/"

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}nestopia_libretro.so ${RCONFIG}nestopia_libretro.cfg "${ROMS}Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}mupen64plus_libretro.so ${RCONFIG}mupen64plus_libretro.cfg `ls -1 "${ROMS}Nintendo 64/$2.*" | head -n 1`;

else
  echo "system not supported ($1) (game: $2)";
fi

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 20:09

That looks great :D
Much cleaner and better organized
Will test it as soon as I can and come back with feedback :)

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 21:11

N64 does not work with the new config

Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 16 nov. 2015 - 21:15

what does the output says ?

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 21:20

Code : Tout sélectionner

/home/ergo/Retro/Nintendo 64/007 - The World Is Not Enough (USA).*

Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 16 nov. 2015 - 21:34

could you come to mumble or irc chat ?

Code : Tout sélectionner

http://kiwiirc.com/client/irc.freenode.net/##hyperfreespin

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 16 nov. 2015 - 22:59

pretty busy:P dunno if I can

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 17:55

need your help @vik
modified it but it grabs only the first extension (v64)...

Code : Tout sélectionner

#!/bin/bash

RARCH="./retroarch -L /home/ergo/Retro/Cores/"
RCONFIG="-c /home/ergo/Retro/cfg/"
ROMS="/home/ergo/Retro/"
EXT="v64" || "V64" || "n64"

if [ "$1" == "Nintendo Entertainment System" ]; then
   echo "launching retroarch with game $2";
   cd /usr/bin;
   ${RARCH}nestopia_libretro.so ${RCONFIG}nestopia_libretro.cfg "${ROMS}Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
   echo "launching retroarch with game $2";
   echo "${ROMS}Nintendo 64/$2.${EXT}" > logfile.txt
   cd /usr/bin;
   ${RARCH}mupen64plus_libretro.so ${RCONFIG}mupen64plus_libretro.cfg "${ROMS}Nintendo 64/$2.${EXT}";

else
   echo "system not supported ($1) (game: $2)";
fi


Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 18 nov. 2015 - 18:29

It can't work like that.

I have to test and debug it myself.

Test this ? (I moved a quote)

Code : Tout sélectionner

#!/bin/bash

RARCH="./retroarch -L /home/ergo/Retro/Cores/"
RCONFIG="-c /home/ergo/Retro/cfg/"
ROMS="/home/ergo/Retro/"

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}nestopia_libretro.so ${RCONFIG}nestopia_libretro.cfg "${ROMS}Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}mupen64plus_libretro.so ${RCONFIG}mupen64plus_libretro.cfg `ls -1 "${ROMS}Nintendo 64/$2".* | head -n 1`;

else
  echo "system not supported ($1) (game: $2)";
fi

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 19:39

screen flashes black and come back to zspin now

log

Code : Tout sélectionner

/home/ergo/Retro/Nintendo 64/007 - The World Is Not Enough (USA).srm /home/ergo/Retro/Nintendo 64/007 - The World Is Not Enough (USA).v64
terminal

Code : Tout sélectionner

[ergo@proxy ZSpin]$ bash +x launcher.sh
system not supported () (game: )

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 19:45

it seems that in the logfile the name it is correct now

Code : Tout sélectionner

/home/ergo/Retro/Nintendo 64/Yoshi's Story (USA) (En,Ja).n64
but the game does not launch

Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 18 nov. 2015 - 20:40

edited

Code : Tout sélectionner

#!/bin/bash

RARCH="./retroarch -L /home/ergo/Retro/Cores/"
RCONFIG="-c /home/ergo/Retro/cfg/"
ROMS="/home/ergo/Retro/"

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}nestopia_libretro.so ${RCONFIG}nestopia_libretro.cfg "${ROMS}Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}mupen64plus_libretro.so ${RCONFIG}mupen64plus_libretro.cfg \"`ls -1 "${ROMS}Nintendo 64/$2".*64 | head -n 1`\";  
else
  echo "system not supported ($1) (game: $2)";
fi

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 20:48

same thing ... black screen and back to zspin
Dernière modification par ryuuji le 18 nov. 2015 - 21:38, modifié 1 fois.

Avatar de l’utilisateur
vik
Connaisseur
Connaisseur
Messages : 374
Inscription : 01 janv. 1970 - 03:34
Localisation : Evreux
A remercié : 11 fois
A été remercié : 230 fois
Contact :

Re: Problem under Linux

Message par vik » 18 nov. 2015 - 20:58

edited the script above ^
check again, this one works on my computer,
I can't do anything more without more feedback

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 21:32

Same thing .... atleast it works for you :D

terminal zspin

Code : Tout sélectionner

[ergo@proxy ZSpin]$ ./zspin
[1595:1118/212811:ERROR:browser_main_loop.cc(185)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1622:1118/212812:INFO:renderer_main.cc(200)] Renderer process started
[1595:1118/212813:INFO:CONSOLE(1262)] "settings - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1262)
[1595:1118/212813:INFO:CONSOLE(1365)] "Settings file: /home/ergo/.config/zspin/Settings.json", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1365)
[1595:1118/212813:INFO:CONSOLE(1374)] "settings - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1374)
[1595:1118/212813:INFO:CONSOLE(2516)] "NWKeyboard - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2516)
[1595:1118/212813:INFO:CONSOLE(2637)] "NWKeyboard - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2637)
[1595:1118/212813:INFO:CONSOLE(2063)] "DOMKeyboard - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2063)
[1595:1118/212813:INFO:CONSOLE(2218)] "DOMKeyboard - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2218)
[1595:1118/212813:INFO:CONSOLE(2249)] "gamepads - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2249)
[1595:1118/212813:INFO:CONSOLE(2485)] "gamepads - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2485)
[1595:1118/212813:INFO:CONSOLE(1659)] "fs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1659)
[1595:1118/212813:INFO:CONSOLE(1720)] "qind - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1720)
[1595:1118/212813:INFO:CONSOLE(1517)] "fs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1517)
[1595:1118/212813:INFO:CONSOLE(1627)] "fs - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1627)
[1595:1118/212813:INFO:CONSOLE(1764)] "zip - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1764)
[1595:1118/212813:INFO:CONSOLE(1809)] "zip - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1809)
[1595:1118/212813:INFO:CONSOLE(1730)] "xml - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1730)
[1595:1118/212813:INFO:CONSOLE(1755)] "xml - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1755)
[1595:1118/212813:INFO:CONSOLE(342)] "dataServer - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (342)
[1595:1118/212814:INFO:CONSOLE(447)] "dataServer - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (447)
[1595:1118/212814:INFO:CONSOLE(1818)] "zspin - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1818)
[1595:1118/212814:INFO:CONSOLE(1908)] "zspin - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1908)
[1595:1118/212814:INFO:CONSOLE(506)] "inputs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (506)
[1595:1118/212814:INFO:CONSOLE(571)] "inputs - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (571)
NOT SANDBOXED
Vector smash protection is enabled.
[1595:1118/212819:INFO:CONSOLE(954)] "themes - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (954)
[1595:1118/212819:INFO:CONSOLE(1101)] "themes - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1101)
[1595:1118/212819:INFO:CONSOLE(1636)] "ini - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1636)
[1595:1118/212819:INFO:CONSOLE(1650)] "ini - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1650)
[1595:1118/212819:INFO:CONSOLE(780)] "menus - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (780)
[1595:1118/212820:INFO:CONSOLE(854)] "menus - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (854)
[1595:1118/212820:INFO:CONSOLE(216)] "artworks - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (216)
[1595:1118/212820:INFO:CONSOLE(310)] "artworks - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (310)
[1673:1118/212821:INFO:renderer_main.cc(200)] Renderer process started
[1673:1118/212823:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[1673:1118/212823:WARNING:channel.cc(315)] RawChannel write error
[1595:1118/212823:INFO:CONSOLE(21138)] "TypeError: Cannot read property 'move' of undefined
    at $scope.next (file:///home/ergo/ZSpin/resources/app.asar/js/app.js:642:26)
    at Scope.$broadcast (file:///home/ergo/ZSpin/resources/app.asar/js/vendors.js:24311:28)
    at _fireInput (file:///home/ergo/ZSpin/resources/app.asar/js/app.js:529:18)
    at Scope.$eval (file:///home/ergo/ZSpin/resources/app.asar/js/vendors.js:23992:28)
    at Scope.$apply (file:///home/ergo/ZSpin/resources/app.asar/js/vendors.js:24091:23)
    at _trigger (file:///home/ergo/ZSpin/resources/app.asar/js/app.js:2126:21)
    at _processInput (file:///home/ergo/ZSpin/resources/app.asar/js/app.js:2143:11)
    at file:///home/ergo/ZSpin/resources/app.asar/js/app.js:2158:7", source: file:///home/ergo/ZSpin/resources/app.asar/js/vendors.js (21138)
[1595:1118/212951:INFO:CONSOLE(1877)] "Exiting...", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1877)
[1622:1118/212951:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[1622:1118/212951:WARNING:channel.cc(315)] RawChannel write error
[1595:1118/212951:ERROR:channel.cc(300)] RawChannel read error (connection broken)
[ergo@proxy ZSpin]$ ./zspin +x
[1865:1118/213111:ERROR:browser_main_loop.cc(185)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1892:1118/213112:INFO:renderer_main.cc(200)] Renderer process started
[1865:1118/213113:INFO:CONSOLE(1262)] "settings - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1262)
[1865:1118/213113:INFO:CONSOLE(1365)] "Settings file: /home/ergo/.config/zspin/Settings.json", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1365)
[1865:1118/213113:INFO:CONSOLE(1374)] "settings - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1374)
[1865:1118/213113:INFO:CONSOLE(2516)] "NWKeyboard - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2516)
[1865:1118/213113:INFO:CONSOLE(2637)] "NWKeyboard - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2637)
[1865:1118/213113:INFO:CONSOLE(2063)] "DOMKeyboard - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2063)
[1865:1118/213113:INFO:CONSOLE(2218)] "DOMKeyboard - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2218)
[1865:1118/213113:INFO:CONSOLE(2249)] "gamepads - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2249)
[1865:1118/213113:INFO:CONSOLE(2485)] "gamepads - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (2485)
[1865:1118/213113:INFO:CONSOLE(1659)] "fs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1659)
[1865:1118/213113:INFO:CONSOLE(1720)] "qind - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1720)
[1865:1118/213113:INFO:CONSOLE(1517)] "fs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1517)
[1865:1118/213113:INFO:CONSOLE(1627)] "fs - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1627)
[1865:1118/213113:INFO:CONSOLE(1764)] "zip - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1764)
[1865:1118/213113:INFO:CONSOLE(1809)] "zip - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1809)
[1865:1118/213113:INFO:CONSOLE(1730)] "xml - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1730)
[1865:1118/213113:INFO:CONSOLE(1755)] "xml - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1755)
[1865:1118/213113:INFO:CONSOLE(342)] "dataServer - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (342)
[1865:1118/213114:INFO:CONSOLE(447)] "dataServer - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (447)
[1865:1118/213114:INFO:CONSOLE(1818)] "zspin - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1818)
[1865:1118/213114:INFO:CONSOLE(1908)] "zspin - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1908)
[1865:1118/213114:INFO:CONSOLE(506)] "inputs - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (506)
[1865:1118/213114:INFO:CONSOLE(571)] "inputs - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (571)
NOT SANDBOXED
Vector smash protection is enabled.
[1865:1118/213115:INFO:CONSOLE(954)] "themes - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (954)
[1865:1118/213116:INFO:CONSOLE(1101)] "themes - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1101)
[1865:1118/213116:INFO:CONSOLE(1636)] "ini - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1636)
[1865:1118/213116:INFO:CONSOLE(1650)] "ini - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1650)
[1865:1118/213116:INFO:CONSOLE(780)] "menus - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (780)
[1865:1118/213116:INFO:CONSOLE(854)] "menus - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (854)
[1865:1118/213116:INFO:CONSOLE(216)] "artworks - init", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (216)
[1865:1118/213116:INFO:CONSOLE(310)] "artworks - ready", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (310)
[1935:1118/213117:INFO:renderer_main.cc(200)] Renderer process started
[1935:1118/213128:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[1935:1118/213128:WARNING:channel.cc(315)] RawChannel write error
[2013:1118/213202:INFO:renderer_main.cc(200)] Renderer process started
[1865:1118/213202:INFO:CONSOLE(1877)] "Exiting...", source: file:///home/ergo/ZSpin/resources/app.asar/js/app.js (1877)
[2013:1118/213203:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[2013:1118/213203:WARNING:channel.cc(315)] RawChannel write error
[1865:1118/213203:ERROR:channel.cc(300)] RawChannel read error (connection broken)
[1892:1118/213203:WARNING:proxy_message_pipe_endpoint.cc(50)] Failed to write enqueue message to channel
[1892:1118/213203:WARNING:channel.cc(315)] RawChannel write error

Avatar de l’utilisateur
Inquisitom
Connaisseur
Connaisseur
Messages : 429
Inscription : 10 mai 2013 - 01:00
Localisation : Tervuren
A remercié : 35 fois
A été remercié : 41 fois

Re: Problem under Linux

Message par Inquisitom » 18 nov. 2015 - 22:00

Not sure about the syntax, but try this ...

Code : Tout sélectionner

#!/bin/bash

RARCH="./retroarch -L /home/ergo/Retro/Cores/"
RCONFIG="-c /home/ergo/Retro/cfg/"
ROMS="/home/ergo/Retro/"

if [ "$1" == "Nintendo Entertainment System" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;
  ${RARCH}nestopia_libretro.so ${RCONFIG}nestopia_libretro.cfg "${ROMS}Nintendo Entertainment System/$2.nes";

elif [ "$1" == "Nintendo 64" ]; then
  echo "launching retroarch with game $2";
  cd /usr/bin;

  #SET LIST OF EXTENSIONS
  EXT="v64 n64 z64 V64";
  #LOOP for each extension type
  while read $EXT
    do
    #GRAB RETURN CODE
     ret=`${RARCH}mupen64plus_libretro.so ${RCONFIG}mupen64plus_libretro.cfg "${ROMS}$2.$EXT"`;
    #IF RETURN = 0
     if [ $ret -eq 0 ];
        #LOOKS LIKE RETROARCH LAUNCH CORRECTLY, EXITING SCRIPT
         break;
     fi
     done
else
  echo "system not supported ($1) (game: $2)";
fi
Dernière modification par Inquisitom le 18 nov. 2015 - 22:47, modifié 1 fois.

Avatar de l’utilisateur
ryuuji
Initié
Initié
Messages : 109
Inscription : 17 oct. 2015 - 12:17
A remercié : 17 fois
A été remercié : 39 fois

Re: Problem under Linux

Message par ryuuji » 18 nov. 2015 - 22:09

does not work not for NES and not for N64

Répondre

Revenir à « Foreigner's Bar »