Notices


Reply
Thread Tools
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1791
cool mate so it is possible, i did wonder why my script wouldnt load from terminal cos they have for me before on other stuff, the error just says: crash1script not found?
i did remove the .txt from the file name but i also tried it without removing that
also tried putting crash1script in MyDocs but the same not found error from there too

and running sh file name gives me:
/home/user # sh crash1script
: not foundt: line 2: /home/user/MyDocs/psx/psx4m -cyclemult 3 -runcd crash1.bin

edit: home/user/ ls command does show crash1script as being there
but running it by typing crash1script says not found when i am in the home/user dir
__________________
born to rage against them

Last edited by leetut; 2010-08-29 at 20:54.
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1792
cuz you need unix like line endings, so don't use windows notepad... Use pspad, notepad++ or another advanced text editor!
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 

The Following User Says Thank You to Andy1210 For This Useful Post:
Posts: 237 | Thanked: 274 times | Joined on Jul 2010
#1793
thanks alot for the gui script !
i think there are some little problems / areas for improvement
first , the install script
you should change :
ln -s /home/opt/psx4m/psx4all.desktop /usr/share/applications/hildon/psx4all.desktop
ln -s /home/opt/psx4m/psx4all.png /usr/share/pixmaps/psx4all.png
to
ln -s /home/opt/psx4m/psx4all.desktop /usr/share/applications/hildon/psx4m.desktop
ln -s /home/opt/psx4m/psx4all.png /usr/share/pixmaps/psx4m.png
the above change helps keep psx4m icon , if the user installs psx4all from repository
second , the desktop file
Exec=/opt/psx4m/psx4mui.py
should be changed to
Exec=/home/opt/psx4m/psx4mui.py
the above change is not required since on the n900 /opt is linked to /home/opt but for some strange reason the icon in the menu did nothing until i made this change .
third , the gui script
change the title to psx4m instead of psx4all
line 55
from
self.window.set_title("Psx4all")
to
self.window.set_title("Psx4m")
thanks again !

Last edited by ivyking; 2010-08-30 at 00:15. Reason: corrected a mistake
 

The Following User Says Thank You to ivyking For This Useful Post:
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1794
why Exec=/home/opt/psx4m/psx4mui.py?

Exec=/opt/psx4m/psx4mui.py is perfect...
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1795
Originally Posted by Andy1210 View Post
cuz you need unix like line endings, so don't use windows notepad... Use pspad, notepad++ or another advanced text editor!
i get the same result if i use pspad, nothing happens
__________________
born to rage against them
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1796
Originally Posted by leetut View Post
i get the same result if i use pspad, nothing happens
use THIS

__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 

The Following User Says Thank You to Andy1210 For This Useful Post:
Posts: 230 | Thanked: 39 times | Joined on Jun 2010
#1797
notthing open when i click on icon psx4m
 
Posts: 230 | Thanked: 39 times | Joined on Jun 2010
#1798
figure out why, u need to give permission to execute

chmod +x /opt/psx4mui.py psx4m key

Last edited by ryanl33x1511; 2010-08-30 at 05:35.
 
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#1799
Originally Posted by Andy1210 View Post
use THIS

it still dont work bro, here are my files:
http://www.mediafire.com/file/exv2mlayi9ekiva/crash.rar
when i put the 3 files in their locations
i type: chmod u+x crash
output i get is: /home/user/ #
then it should start if i just type 'crash' or i hit the icon
but it just wont work for me
terminal always gives me: /bin/sh: not found

other scripts have worked for me like this, even using windows notepad, so im just totally baffled!
and previous scripts have worked from /home/user/MyDocs so it cant be that either

__________________
born to rage against them

Last edited by leetut; 2010-08-30 at 10:11.
 
Andy1210's Avatar
Posts: 233 | Thanked: 220 times | Joined on Jan 2010 @ Hungary
#1800
run with 'sh crash' command!
or ./crash
or 'ln -s /home/user/crash /usr/bin/crash'
and now you can use simple 'crash' command
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:47.