View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 04, 2007 1:00 pm 
Offline
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
Hi Guys

I have just found and got working the excellent "Frets On Fire", a Guitar Hero clone, it's awesome.

Whenever I exit out of the game it seems to "shrink" the X display so it is a tad less wide than was before, about 20%. Exiting out of menu to x (knoppmyth background) and going back in doesn't help. A Simple one for someone out there.

Also, I have no idea how to add Frets on fire to the game list. I have adde d it as a player in the setup, with its full command line (which is /myth/tools/games/FretsOnFire/FretsOnFire), but it doesn't work. A little help please ???????

_________________
Thanks in advance
Matt Shaw
matt@shagshaw.com

AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 3:05 pm 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
ctrl-alt-backspace should restart X (and the front end) for you without messing anything up.

and that's not a typo; it's ctrl-alt-backspace not ctrl-alt-delete.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 3:36 pm 
Offline
Joined: Wed Jul 14, 2004 3:32 pm
Posts: 142
Brilliant, thanks for the quick response.

That does the trick, but I would like to know a command line method of doing it, so that I can build a wrapper script to do it automagically. (Also so I can create a script to be ran from irexec if the frontend ever locks up to restart the frontend).

Also still waiting for some help as to how to add the game to the gamelist

Thanx !!!

_________________
Thanks in advance
Matt Shaw
matt@shagshaw.com

AMD Sempron 2400+ on Via Motherboard,
512MB Ram, 160GB IDE HDD,
Nvidia Geforce FX5500 128MB TV-Out,
2 x Twinhan DVB-T BT878 (Freeview UK)
KnoppMYTH R5F27


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 4:08 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
FoF is a "PC game". Add it in the setup for MythGames. I'd suggest you read the MythTV docs and wiki. I'd aslo ask that you keep it to one topic per thread.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 5:17 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Here is a script someone here posted a while ago that I have been using.
Code:
#!/bin/bash
# Script for powerbutton press on Mythtv.  Double click (within
# timeout) will reboot, single press will restart frontend
# /home/mythtv/scripts/mypower.sh
#
# Adopted from someone a long time ago.  Sorry for not
# remembering who.

DOUBLE_PRESS_TIMEOUT=2

SCRIPTNAME=`basename $0`
OLDEST_SCRIPT_PID=`pgrep -o $SCRIPTNAME`

OUR_PID=$$

# check if we are the oldest instance of this script
if [[ "$OLDEST_SCRIPT_PID" == "$OUR_PID" ]]
then
    killall mythfrontend
    sleep $DOUBLE_PRESS_TIMEOUT
    mythfrontend &
else
    # this is a doublepress
     kill $OLDEST_SCRIPT_PID
     pkill xinit
#    sudo reboot
fi


I changed the double press from rebooting to just restarting X.

Britney


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu