Problem under Linux
Modérateur : Modérateurs
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Problem under Linux
any special settings that I need to do ?
- camarade35
- Maître
- Messages : 4230
- Inscription : 05 sept. 2013 - 01:00
- Localisation : Chevaigné
- A remercié : 619 fois
- A été remercié : 739 fois
- Contact :
Re: Problem under Linux
Look at https://github.com/libretro/RetroArch/w ... mmand-line" onclick="window.open(this.href);return false; and reply.
a way with : retroarch -L /path/to/libretro/core.so game.rom
Sorry, no linux actually, dual boot coming soon
- camarade35
- Maître
- Messages : 4230
- Inscription : 05 sept. 2013 - 01:00
- Localisation : Chevaigné
- A remercié : 619 fois
- A été remercié : 739 fois
- Contact :
Re: Problem under Linux
If you have change, you can delete "Zspin" folder in appdata/roaming, make reset.
- camarade35
- Maître
- Messages : 4230
- Inscription : 05 sept. 2013 - 01:00
- Localisation : Chevaigné
- A remercié : 619 fois
- A été remercié : 739 fois
- Contact :
Re: Problem under Linux
@vik : HHHEEEEEEEEEELLLLLLLLPPPPPPP
sorry, I haven't Linux actually
- Porko
- Modérateur
- Messages : 2019
- Inscription : 02 févr. 2014 - 00:00
- Localisation : 26700
- A remercié : 258 fois
- A été remercié : 381 fois
Re: Problem under Linux
tutoz-f116/compilation-sur-linux-t7959-30.html" onclick="window.open(this.href);return false;
Pnumekin a écrit :Vik m'a aidé le week-end dernier (merci encore !) et il a créé un petit script qui fonctionne super bien comme launcher :
Il faut modifier le chemin vers ton mame linux. Là il est configuré pour les systèmes arcade de la HFSbox, je n'ai pas ajouté la snes et megadrive.Code : Tout sélectionner
#!/bin/bash if [ "$1" == "MAME" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; elif [ "$1" == "Capcom Play System" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; elif [ "$1" == "Capcom Play System 2" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; elif [ "$1" == "Capcom Play System 3" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; elif [ "$1" == "Cave" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; elif [ "$1" == "SNK Neo Geo" ]; then echo "lancement de mame avec jeu $2"; cd $HOME/Zspin/Data/Emulators/GroovyMamex64; ./mame64 $2; else echo "systeme non supporte ($1) (jeu: $2)"; fi exit 0
J'ai créé un fichier launcher.sh avec ça dedans, je l'ai mis dans mon répertoire hyperspin (ne pas oublier de rendre le fichier exécutable dans ses propriétés).
Ensuite dans la config de Zspin, il suffit de donner le chemin vers ce script.
Attention pour une utilisation avec la HFSboxSP, il faut bien indiquer dans le mame.ini tous les chemins des roms (donc les dossiers CPS1,2,3 etc...).
- vik
- Connaisseur
- Messages : 469
- Inscription : 01 janv. 1970 - 03:34
- Localisation : Evreux
- A remercié : 18 fois
- A été remercié : 319 fois
- Contact :
Re: Problem under Linux
https://github.com/HFScode/zspin/wiki/L ... mple-(eng)
does this help you ?
You have to save this script as "launcher.sh"
and configure it to your needs
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
Code : Tout sélectionner
#!/bin/bash
if [ "$1" == "Nintendo Entertainment System" ]; then
echo "launching retroarch with game $2";
cd /usr/bin/;
./retroarch -C /home/ergo/retro/cfg/retroarch.cfg $2;
else
echo "system not supported ($1) (game: $2)";
fi
- camarade35
- Maître
- Messages : 4230
- Inscription : 05 sept. 2013 - 01:00
- Localisation : Chevaigné
- A remercié : 619 fois
- A été remercié : 739 fois
- Contact :
Re: Problem under Linux
example : genesis_plus_gx_libretro.dll.cfg (in Windows, it's .cfg, maybe it's .so in Linux)
Like tuto retroach : path/to/libretro/core.so
edit : and when I read this
be sure for the pathretroarch a écrit :By default, RetroArch looks for a config in various places depending on OS:
Linux/OSX: $XDG_CONFIG_HOME/retroarch/retroarch.cfg, then ~/.config/retroarch/retroarch.cfg, then ~/.retroarch.cfg, and finally, as a fallback, /etc/retroarch.cfg.
just try
Code : Tout sélectionner
#!/bin/bash
if [ "$1" == "Nintendo Entertainment System" ]; then
echo "launching retroarch with game $2";
cd /usr/bin/;
./retroarch -C /home/ergo/retro/cfg/bnes_libretro.dll.so $2;
else
echo "system not supported ($1) (game: $2)";
fi
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
Code : Tout sélectionner
#!/bin/bash
if [ "$1" == "Nintendo Entertainment System" ]; then
echo "lancement de retroarch avec jeu $2";
cd /usr/bin/;
./retroarch -c /home/ergo/Retro/cfg/nestopia_libretro.cfg $2;
else
echo "system not supported ($1) (game: $2)";
fi
exit 0
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
@camarade
.cfg is for config ..... .so is the equal of .dll .... cfg is for config ... .so is for the core itself
have set it right the path to nestopia cfg file.
I just give up ... got a headache from all this ... just have to be happy that I can run games thru RetroArch itself ... and not using Zspin under Linux.
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
Code : Tout sélectionner
retroarch -L /home/ergo/Retro/Cores/nestopia_libretro.so /home/ergo/Retro/Cores/1942.nes
Code : Tout sélectionner
bash: syntax error near unexpected token `('
only emulators which supports to set ROMS dirs, like mame emulator does, will launch games.
- vik
- Connaisseur
- Messages : 469
- Inscription : 01 janv. 1970 - 03:34
- Localisation : Evreux
- A remercié : 18 fois
- A été remercié : 319 fois
- Contact :
Re: Problem under Linux
Code : Tout sélectionner
-c
Code : Tout sélectionner
-C
Code : Tout sélectionner
-L /path/to/libretro/core.so
Code : Tout sélectionner
retroarch -c your-retroarch-configfile.cfg -L path-to-the-core.so "/path_to_nes_romfiles/$2.zip"
Code : Tout sélectionner
echo "/path_to_nes_romfiles/$2.zip" > logfile.txt
Keep me updated if it works
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
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" $2;
else
echo "system not supported ($1) (game: $2)";
fi
- vik
- Connaisseur
- Messages : 469
- Inscription : 01 janv. 1970 - 03:34
- Localisation : Evreux
- A remercié : 18 fois
- A été remercié : 319 fois
- Contact :
Re: Problem under Linux
You have a useless "$2" at the end of your line.
Code : Tout sélectionner
./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" $2;
Code : Tout sélectionner
./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";
- ryuuji
- Initié
- Messages : 109
- Inscription : 17 oct. 2015 - 12:17
- A remercié : 17 fois
- A été remercié : 39 fois
Re: Problem under Linux
Now I was thinking to adapt this for the systems with more than one extension in the roms files.... for example Nintendo 64 uses .n64/.z64/.v64 .
After that @vik you should make a topic regarding this thing or add it to the wiki ... making a launcher using retroarch, I think many people will find that very useful.
- Porko
- Modérateur
- Messages : 2019
- Inscription : 02 févr. 2014 - 00:00
- Localisation : 26700
- A remercié : 258 fois
- A été remercié : 381 fois
Re: Problem under Linux
Can you make a tutorial to launch retroarch (and mame) in english please?
In Zspin foreigner's bar to help the community, and we will add your contribution at the wiki
Look my english... It's scary!