[LIVE] Complete EMUs/ROMs in Live (Acer Revo)
Problem solved... but I'm not sure why.

I can now launch mednafen, mupen64plus and zsnes via the launcher.sh method (killing XBMC Live when emu launches) and it works great. Here's the weird part. Before when I set this up with Dharma Beta 3 on a USB thumb drive, I needed to install a windows manager (xfwm4) to make it work. This time, I didn't. I have no idea why.

Like I said in a post a few back, I installed Dharma RC1 to the HDD of my Revo 3610. I could launch the emus directly (calling the emu application from the <application> section of the launchers.xml file), but when I edited the launchers.xml file to call the launcher.sh file it would blink directly back to the menu. I installed a windows manager (xfwm4) and set it to run when XBMC starts. The emus still wouldn't start correctly.

Out of frustration, I tried installing Dharma RC1 again (on the same PC where it was on the HDD) on a USB thumb drive in the hope that it might work this time. It worked this time, and without the windows manager. I then reinstalled it to the HDD using the exact same steps, and it worked as well. I've got the install steps below.

1) Download Dharma RC1 Live iso and burned it to a disc, then booted to it.
2) Create a bootable USB thumb drive with BDW from the programs section of the Dharma RC1 Live Disc.
3) Boot to that USB thumb drive on Revo and do a guided full disc install to either the HDD or to another USB thumb drive. That art doesn't seem to matter other than a HUGE speed increase when running it off the HDD.
4) Reboot when done.
5) Install Launcher add-on in Programs
6) Press ctrl+alt+F2 to get to prompt and login as xbmc
7) Change root password...
sudo passwd root
8) update the system...
sudo apt-get update
9) Install the emu...
sudo apt-get install mupen64plus (or any other emu)
10) Make a roms folder...
sudo mkdir /home/xbmc/roms
11) make a system specific rom folder...
sudo mkdir /home/xbmc/roms/N64 (or any other system specific rom folder)
12) FTP rom files into recently created folder (/home/xbmc/roms/N64) as root
13) Start Launcher
14) choose file launcher option
15) point it towards the emu application and the roms, add the arguments and the file extensions and give it a name (N64). I used most of the info from the first post of this thread. (for mupen64plus, I used --fullscreen --nogui --no ask)
16) Exit to the menu where it lists your emulator (N64). Bring up the context menu (letter "c" on the keyboard when you're highlighting the correct emu) and choose scan directory for roms (not the exact wording). If you select the emu (N64) and it asks you to add roms, it tends to hang, so I do it this other way and it works.
17) Now, I choose a rom and launch the emu to make sure it works when it's set up like this. If your sound is working (another topic completely), you'll probably hear clicks from XBMC in the background when you're playing a game. Assuming it works, move on. If it doesn't, I found that the arguments are finnicky. Try playing around with them by editing them in nano.
18) Now, make the launcher.sh file...
sudo nano /home/xbmc/launcher.sh
19) enter the code below, then write it out (save it) by "ctrl + o", then "enter" to select the name, then "ctrl + x" to exit nano.
Code:
usr/bin/killall -STOP xbmc.bin
$@
usr/bin/killall -CONT xbmc.bin
20) make the launcher.sh file executable...
sudo chmod +x /home/xbmc/launcher.sh
It doesn't tell you it did anything... but it does.
21) edit the launchers.xml file. The <application> section should now point to the launcher.sh file and the path to the emu should be in the <args> section. I've shown the useful part of mine below.
Code:
<name>N64</name>
                <application>/home/xbmc/launcher.sh</application>
                <args>/usr/games/mupen64plus --fullscreen --nogui --noask </args>
                <rompath>/home/xbmc/roms/N64/</rompath>
                <romext>zip|Zip|ZIP</romext>
22) Reboot
23) Try launching the emu by choosing a rom. Hopefully it works. It did for me. I know XBMC is killed in the background, because I don't hear the background clicks from XBMC when I'm playing the games, and the emu runs more smoothly.

A few minor notes...
- I tried to do all editing changes in nano with the sudo command. In the past, I would FTP the file to my desktop, edit it and FTP it back, but this occasionally caused permissions issues. Editing the files in nano doesn't seem to cause these problems.
-To get the sound to work on the Revo, I modified my .asoundrc file in nano as per this post and changed all the audio settings to HDMI. I then rebooted and it fixed my menu sounds and the emu sounds.
-I'm NO Linux genius. I'm constantly learning. If there are some commands i used or steps I took that seem silly, it's because I didn't know any better.

I hope this helps someone.
Reply


Messages In This Thread
[No subject] - by grassmunk - 2010-05-07, 08:54
[No subject] - by TheDuffMan - 2010-05-07, 15:56
[No subject] - by cdanderson04 - 2010-05-07, 16:30
[No subject] - by Izod517 - 2010-05-07, 18:16
[No subject] - by Izod517 - 2010-05-07, 18:22
[No subject] - by grassmunk - 2010-05-09, 11:40
[No subject] - by TheDuffMan - 2010-05-09, 18:30
[No subject] - by Izod517 - 2010-05-09, 22:46
[No subject] - by Izod517 - 2010-05-09, 22:53
[No subject] - by grassmunk - 2010-05-10, 05:46
[No subject] - by TheDuffMan - 2010-05-10, 15:50
[No subject] - by cdanderson04 - 2010-05-10, 16:24
[No subject] - by TheDuffMan - 2010-05-10, 18:00
[No subject] - by grassmunk - 2010-05-10, 18:00
[No subject] - by Izod517 - 2010-05-11, 02:02
[No subject] - by henwy - 2010-05-11, 16:07
[No subject] - by Izod517 - 2010-05-11, 19:12
[No subject] - by grassmunk - 2010-05-11, 19:15
[No subject] - by Izod517 - 2010-05-11, 19:34
[No subject] - by TheDuffMan - 2010-05-11, 20:11
[No subject] - by Izod517 - 2010-05-12, 01:44
[No subject] - by thatjoshguy - 2010-05-12, 15:27
[No subject] - by Izod517 - 2010-05-12, 15:59
[No subject] - by TheDuffMan - 2010-05-13, 05:54
[No subject] - by djvj - 2010-05-13, 06:59
[No subject] - by Izod517 - 2010-05-13, 07:07
[No subject] - by djvj - 2010-05-13, 07:41
[No subject] - by Izod517 - 2010-05-13, 16:29
[No subject] - by TheCooK - 2010-05-13, 18:19
[No subject] - by grassmunk - 2010-05-13, 19:19
[No subject] - by TheCooK - 2010-05-13, 20:01
[No subject] - by Izod517 - 2010-05-13, 21:36
[No subject] - by Izod517 - 2010-05-14, 05:05
[No subject] - by einstuerzende - 2010-05-15, 21:23
[No subject] - by einstuerzende - 2010-05-16, 17:12
[No subject] - by Izod517 - 2010-05-17, 02:17
[No subject] - by TheDuffMan - 2010-05-18, 16:25
[No subject] - by Izod517 - 2010-05-18, 16:35
[No subject] - by TheDuffMan - 2010-05-18, 17:59
[No subject] - by Izod517 - 2010-05-18, 20:19
[No subject] - by wolffmart - 2010-05-19, 02:28
[No subject] - by Izod517 - 2010-05-19, 06:22
[No subject] - by Izod517 - 2010-05-19, 06:55
[No subject] - by wolffmart - 2010-05-19, 07:46
Snes9x possible? - by TheHazel3yes - 2010-05-19, 08:57
[No subject] - by djvj - 2010-05-19, 16:23
[No subject] - by grassmunk - 2010-05-20, 04:36
[No subject] - by TheDuffMan - 2010-05-20, 05:00
[No subject] - by Izod517 - 2010-05-20, 20:40
[No subject] - by wolffmart - 2010-05-20, 22:53
[No subject] - by User 52808 - 2010-05-21, 08:23
[No subject] - by wolffmart - 2010-05-21, 18:02
[No subject] - by grassmunk - 2010-05-21, 19:16
[No subject] - by grassmunk - 2010-05-21, 19:19
[No subject] - by wolffmart - 2010-05-21, 22:46
[No subject] - by steve1977 - 2010-05-22, 06:32
[No subject] - by Izod517 - 2010-05-22, 09:45
[No subject] - by steve1977 - 2010-05-22, 09:59
[No subject] - by User 52808 - 2010-05-22, 17:28
[No subject] - by milax22 - 2010-05-22, 22:30
[No subject] - by dishwasherlove - 2010-05-23, 06:21
[No subject] - by Izod517 - 2010-05-24, 23:25
[No subject] - by TheDuffMan - 2010-05-25, 04:30
[No subject] - by fcorbier - 2010-05-25, 19:19
[No subject] - by rflores2323 - 2010-05-25, 20:35
[No subject] - by Izod517 - 2010-05-26, 02:31
[No subject] - by henwy - 2010-05-26, 09:16
[No subject] - by bmmcguir14 - 2010-05-27, 02:32
[No subject] - by TheDuffMan - 2010-05-27, 03:27
[No subject] - by stefanwa - 2010-05-27, 06:12
[No subject] - by henwy - 2010-05-27, 10:40
[No subject] - by frostypepper - 2010-05-28, 21:30
[No subject] - by steve1977 - 2010-05-30, 07:20
[No subject] - by henwy - 2010-06-01, 09:10
[No subject] - by Bobcat37 - 2010-06-03, 07:40
[No subject] - by henwy - 2010-06-04, 15:35
[No subject] - by steve1977 - 2010-06-06, 06:35
[No subject] - by teeedubb - 2010-06-06, 15:35
[No subject] - by teeedubb - 2010-06-07, 08:58
[No subject] - by teeedubb - 2010-06-07, 09:19
[No subject] - by henwy - 2010-06-07, 09:37
[No subject] - by teeedubb - 2010-06-09, 08:29
[No subject] - by NEUR0M4NCER - 2010-06-16, 01:40
[No subject] - by TheDuffMan - 2010-06-16, 01:57
[No subject] - by teeedubb - 2010-06-17, 08:30
[No subject] - by NEUR0M4NCER - 2010-06-17, 18:03
[No subject] - by teeedubb - 2010-06-18, 01:07
[No subject] - by NEUR0M4NCER - 2010-06-18, 07:22
[No subject] - by wolffmart - 2010-06-18, 18:23
[No subject] - by NEUR0M4NCER - 2010-06-18, 20:20
[No subject] - by joeshmoe - 2010-06-19, 06:39
[No subject] - by NEUR0M4NCER - 2010-06-19, 16:35
[No subject] - by TheDuffMan - 2010-06-19, 16:41
[No subject] - by NEUR0M4NCER - 2010-06-19, 16:57
[No subject] - by TheDuffMan - 2010-06-19, 16:58
[No subject] - by NEUR0M4NCER - 2010-06-19, 17:06
[No subject] - by NEUR0M4NCER - 2010-06-19, 17:27
[No subject] - by NEUR0M4NCER - 2010-06-19, 17:55
[No subject] - by m3g4tr0n - 2010-06-19, 23:16
[No subject] - by scalpel - 2010-06-19, 23:27
[No subject] - by m3g4tr0n - 2010-06-19, 23:35
[No subject] - by scalpel - 2010-06-19, 23:43
[No subject] - by TheDuffMan - 2010-06-20, 07:26
[No subject] - by magimog - 2010-06-23, 11:18
[No subject] - by wolffmart - 2010-06-24, 01:00
[No subject] - by magimog - 2010-06-24, 11:03
[No subject] - by teeedubb - 2010-07-01, 09:09
[No subject] - by TheDuffMan - 2010-07-02, 04:26
[No subject] - by NEUR0M4NCER - 2010-07-04, 02:37
[No subject] - by teeedubb - 2010-07-04, 04:03
[No subject] - by bmfrosty - 2010-07-05, 19:33
[No subject] - by TheDuffMan - 2010-07-18, 17:26
[No subject] - by laukarlueng - 2010-07-19, 21:38
[No subject] - by teeedubb - 2010-07-23, 22:24
[No subject] - by ShadeBlack - 2010-08-08, 17:02
[No subject] - by starcitysecrets - 2010-08-20, 03:47
[No subject] - by dark0n3 - 2010-08-20, 07:12
[No subject] - by pastrychef - 2010-09-09, 03:32
[No subject] - by TheDuffMan - 2010-09-09, 05:21
[No subject] - by pastrychef - 2010-09-09, 11:04
[No subject] - by TheDuffMan - 2010-09-10, 04:12
SMB network shares? - by aflo - 2010-09-10, 08:07
[No subject] - by pastrychef - 2010-09-10, 08:31
cwiid - by aflo - 2010-09-13, 01:39
[No subject] - by TheHazel3yes - 2010-09-13, 22:13
[No subject] - by mjuchli - 2010-09-14, 00:20
[No subject] - by Flomaster - 2010-09-14, 00:24
[No subject] - by TheDuffMan - 2010-09-14, 02:17
[No subject] - by TheHazel3yes - 2010-09-14, 07:23
[No subject] - by Flomaster - 2010-09-15, 07:15
[No subject] - by pastrychef - 2010-09-15, 22:34
[No subject] - by Flomaster - 2010-09-24, 00:37
[No subject] - by alexpigment - 2010-09-24, 21:55
[No subject] - by TheDuffMan - 2010-09-24, 22:24
[No subject] - by alexpigment - 2010-09-24, 22:32
[No subject] - by alexpigment - 2010-09-25, 00:00
[No subject] - by alexpigment - 2010-09-25, 01:40
[No subject] - by pastrychef - 2010-09-25, 11:49
[No subject] - by smithr99 - 2010-09-25, 12:40
[No subject] - by alexpigment - 2010-09-25, 22:53
[No subject] - by danz0l - 2010-09-26, 11:08
[No subject] - by smithr99 - 2010-09-26, 15:32
[No subject] - by alexpigment - 2010-09-26, 15:38
[No subject] - by guwu - 2010-09-27, 14:11
[No subject] - by mandrake - 2010-10-03, 02:08
[No subject] - by aflo - 2010-10-03, 07:57
[No subject] - by danz0l - 2010-10-03, 11:10
[No subject] - by mandrake - 2010-10-07, 08:44
[No subject] - by smithr99 - 2010-10-07, 10:50
[No subject] - by mandrake - 2010-10-07, 11:05
[No subject] - by spiff - 2010-10-07, 11:48
[No subject] - by smithr99 - 2010-10-07, 11:56
[No subject] - by mandrake - 2010-10-07, 23:58
[No subject] - by mandrake - 2010-10-08, 00:45
[No subject] - by alexpigment - 2010-10-08, 04:00
[No subject] - by mandrake - 2010-10-08, 08:05
[No subject] - by mandrake - 2010-10-08, 08:22
[No subject] - by mandrake - 2010-10-08, 08:46
[No subject] - by smithr99 - 2010-10-08, 11:08
[No subject] - by smithr99 - 2010-10-08, 18:30
[No subject] - by alexpigment - 2010-10-08, 20:35
[No subject] - by mandrake - 2010-10-08, 23:43
[No subject] - by smithr99 - 2010-10-09, 11:20
[No subject] - by alexpigment - 2010-10-09, 19:59
[No subject] - by guwu - 2010-10-15, 13:24
[No subject] - by cable_guy - 2010-10-21, 22:25
[No subject] - by alexpigment - 2010-10-21, 22:40
[No subject] - by htrodscott - 2010-10-28, 18:49
[No subject] - by alexpigment - 2010-10-28, 21:10
[No subject] - by htpc guy - 2010-10-29, 07:33
[No subject] - by htrodscott - 2010-10-30, 00:39
[No subject] - by htrodscott - 2010-11-01, 08:39
[No subject] - by smithr99 - 2010-11-01, 10:51
[No subject] - by htpc guy - 2010-11-01, 16:22
[No subject] - by alexpigment - 2010-11-01, 17:43
[No subject] - by htrodscott - 2010-11-01, 19:11
[No subject] - by rausch101 - 2010-11-01, 19:27
[No subject] - by smithr99 - 2010-11-01, 19:51
[No subject] - by htrodscott - 2010-11-01, 21:14
[No subject] - by waverz - 2010-11-02, 02:10
[No subject] - by htpc guy - 2010-11-02, 03:57
[No subject] - by malte - 2010-11-02, 09:06
[No subject] - by htrodscott - 2010-11-02, 17:49
[No subject] - by teaguecl - 2010-11-02, 21:50
[No subject] - by htpc guy - 2010-11-03, 02:23
[No subject] - by malte - 2010-11-03, 08:19
[No subject] - by htpc guy - 2010-11-03, 16:07
[No subject] - by htrodscott - 2010-11-03, 17:30
[No subject] - by alexpigment - 2010-11-03, 21:01
[No subject] - by htrodscott - 2010-11-03, 22:20
[No subject] - by alexpigment - 2010-11-03, 23:12
[No subject] - by htpc guy - 2010-11-04, 06:50
[No subject] - by malte - 2010-11-04, 09:01
[No subject] - by htpc guy - 2010-11-05, 04:04
[No subject] - by htpc guy - 2010-11-05, 04:29
[No subject] - by htpc guy - 2010-11-05, 04:51
[No subject] - by malte - 2010-11-07, 08:40
[No subject] - by htpc guy - 2010-11-07, 16:34
[No subject] - by malte - 2010-11-07, 19:07
[No subject] - by htrodscott - 2010-11-29, 05:07
[No subject] - by htrodscott - 2010-11-30, 19:30
[No subject] - by htpc guy - 2010-11-30, 19:50
[No subject] - by htrodscott - 2010-11-30, 20:14
[No subject] - by htrodscott - 2010-12-01, 22:42
[No subject] - by htpc guy - 2010-12-01, 23:34
[No subject] - by htrodscott - 2010-12-01, 23:38
[No subject] - by fryster - 2011-01-18, 01:50
[No subject] - by Angelscry - 2011-01-18, 18:50
[No subject] - by Superorb - 2011-01-18, 18:58
[No subject] - by fryster - 2011-01-20, 12:56
[No subject] - by Raphael Barros - 2011-04-02, 00:35
RE: - by iLLNESS - 2012-05-13, 15:24
[No subject] - by neogeo123 - 2011-04-29, 21:33
[No subject] - by k3ilbasa - 2011-06-22, 06:27
No sound - by k3ilbasa - 2011-06-22, 06:28
[No subject] - by CarlWinslow - 2011-08-05, 23:47
[No subject] - by generious - 2011-11-06, 01:38
Logout Mark Read Team Forum Stats Members Help
[LIVE] Complete EMUs/ROMs in Live (Acer Revo)2