LinHES Forums
http://forum.linhes.org/

Launching Emulator from MythTV
http://forum.linhes.org/viewtopic.php?f=11&t=17878
Page 1 of 1

Author:  md10md [ Mon Feb 11, 2008 6:35 pm ]
Post subject:  Launching Emulator from MythTV

I'm messing around with mythtv in knoppmyth, a distro based off of Debian. I just got mupen (an n64 emulator working on my mythtv computer). Unfortunately, if I launch it from within myth like:
Code:
/myth/games/n64/emu/Mupen64/mupen_nogui

It doesn't read the plugin .conf files in correctly because mythtv executes the programs from / instead of the emulator folder.

I tried to make a simple bash script that would change directory and then execute mupen_nogui with the input for the game from mythtv.

This is what I have so far:
Code:
#!/bin/bash
cd /myth/games/n64/emu/Mupen64
./mupen_nogui

It doesn't work, though. The program is executed, but since it's not directly adding the game path to the command it just quits.

Any ideas on how I can pass the game name from mythtv into the bash script?

Author:  trycoon [ Sun Mar 16, 2008 5:08 am ]
Post subject: 

I'm running MythGame, and when you setup an emulator you could choose a workingfolder from where the emulator is starting. Maybe you should try that instead of your script...

Author:  Bob [ Wed Apr 16, 2008 9:57 am ]
Post subject: 

Hi,

I tried a N64 emulator too. Mupen64plus emulator is under heavy developpement actually and support many games for now. It is based on the Mupen64 base code. Mupen64 is dead and there is no new developpement.

Have a look yourself: http://www.mythtv.org/wiki/index.php/Configuring_MythGame_Emulation#Mupen64Plus

Maybe it could be in a next Knoppmyth release...

Good day
Bob

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/