Notices


Reply
Thread Tools
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1781
well i type this:
cd ~/MyDocs/psx (hit enter)
psx4m -cyclemult 3 -runcd crash1.bin (hit enter)

thats presuming you have a game called 'crash1.bin' in a folder called 'psx'
in the n900 folder (MyDocs)

------------------------------------------

on another note ive been trying to add this to a .desktop file so i can just hit an icon on my homescreen and have it launch the game,
but it never works
always gives me 'internal error xterm closed'
does anyone know a way around that?

this is what ive got so far:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Crash1
Exec=osso-xterm " cd ~/MyDocs/psx psx4m -cyclemult 3 -runcd crash1.bin"
Icon=general-crash1
X-Osso-Type=application/x-executable
__________________
born to rage against them
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1782
try this:
Exec=osso-xterm "cd ~/MyDocs/psx && psx4m -cyclemult 3 -runcd crash1.bin"
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 

The Following User Says Thank You to Andy1210 For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1783
i did mate
but .desktop files dont recognise the && command
at least thats what i learned a while ago
the solution that time was to make a script and have the desktop file launch the script
but that aint working either
and when i try to chmod u+x the script psx4m wont work from the usual xterm way
im way out of my depth here of course!
and im only trying to do this cos i keep forgetting what to type into xterm to launch the games!
__________________
born to rage against them
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1784
make script contain this:

Code:
#!/bin/sh
cd /home/user/MyDocs/psx
psx4m -cyclemult 3 -runcd crash1.bin
Desktop file line:
Code:
Exec=/FOLDER/FOLDER2/YOUR_SCRIPT
______

key file for gamegripper for normal US keyboard:
Code:
97
100
119
120
65362
65361
112
108
98
109
116
117
103
106
113
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8

Last edited by Andy1210; 2010-08-29 at 16:39.
 

The Following 2 Users Say Thank You to Andy1210 For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1785
na mate it still wont work
the icon in my menu just lights up and stays lit
but nothing opens

desktop file now looks like:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Crash1
Exec=/home/user/MyDocs/crash1script
Icon=general-crash1
X-Osso-Type=application/x-executable
script is
#!/bin/sh
cd /home/user/MyDocs/psx
psx4m -cyclemult 3 -runcd crash1.bin
ran: cd MyDocs
chmod u+x crash1script

at least its not saying error anymore though!
__________________
born to rage against them
 
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#1786
Originally Posted by leetut View Post
Exec=osso-xterm " cd ~/MyDocs/psx psx4m -cyclemult 3 -runcd crash1.bin"
Instead of cd'ing try this
Exec=osso-xterm "/home/user/MyDocs/psx/psx4m -cyclemult 3 -runcd crash1.bin"
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1787
same as above mate,
the icon in my menu just lights up and stays lit
but nothing opens or starts
__________________
born to rage against them
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1788
Originally Posted by leetut View Post
na mate it still wont work
the icon in my menu just lights up and stays lit
but nothing opens

ran: cd MyDocs
chmod u+x crash1script

at least its not saying error anymore though!
because crash1script does not receive +x permission! This is not able under MyDocs, cuz this is vfat partition. Copy your script to '/home/user'
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 

The Following User Says Thank You to Andy1210 For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1789
tried it bro, still the same, icon just freezes and nothing starts
__________________
born to rage against them
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1790
hmm, i tried now, and working...

my desktop file:
Code:
[Desktop Entry]

Encoding=UTF-8

Version=1.0

Type=Application

Name=kula
Exec=/home/user/kula

X-Osso-Type=application/x-executable
and my script(/home/user/kula):
Code:
#!/bin/sh
cd /home/user/MyDocs
psx4m -cyclemult 3 -runcd Kula_World.bin
First try run your script from terminal with 'sh SCRIPTNAME' command. This will show errors!
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8

Last edited by Andy1210; 2010-08-29 at 20:17.
 

The Following User Says Thank You to Andy1210 For This Useful Post:
Reply

Tags
bonapart_rules, its dead......., playstation, psx4all, sausaaaaaaaaage, sausage tag, try & emu mgs4, who needs this?, whytagsmerged?, wurstthreadever


 
Forum Jump


All times are GMT. The time now is 06:33.