|
2011-01-30
, 19:25
|
Posts: 163 |
Thanked: 96 times |
Joined on Feb 2010
@ Israel
|
#102
|
import sys import os import shutil import stat BIN_NAME = '/home/user/_preeenv_bin' elf = sys.argv[1] shutil.copy2(elf, BIN_NAME) os.chmod(BIN_NAME, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR|stat.S_IRGRP|stat.S_IROTH) os.environ['LD_PRELOAD']=os.environ['LD_PRELOAD'] + ' /home/user/libprepre.so.1' os.execve(BIN_NAME, ['./'+elf], os.environ)
|
2011-02-01
, 23:27
|
Posts: 249 |
Thanked: 47 times |
Joined on Apr 2010
|
#103
|
|
2011-02-01
, 23:43
|
|
Posts: 675 |
Thanked: 923 times |
Joined on Apr 2010
@ London
|
#104
|
|
2011-02-02
, 02:26
|
Posts: 249 |
Thanked: 47 times |
Joined on Apr 2010
|
#105
|
I don't think you've made MyDocs executable mate, do other games run from there?
If you haven't tried other games easiest way to check is to go back into
/usr/sbin/mmc-mount
and make sure 'no-exec' has been taken out and the fmask value has been changed from 0133 to 000, if they show up as they were when you go back in then you've not saved the changes properly on exit... which is easily done.
Alternatively just install Maemodder, and press 'Make MyDocs Executable' which will guarantee it's done right
Kind Regards,
D4rKlar
|
2011-02-22
, 10:29
|
Posts: 1 |
Thanked: 0 times |
Joined on Jan 2011
|
#106
|
Ok here's the thing
I'm pretty sure i already saved both files after editing because i double checked them.
But after doing your method, my file manager doesn't detect the internal memory and only reads mmc as "format unsupported"
So i used the trick salazar posted on previous page.
http://talk.maemo.org/showpost.php?p...8&postcount=98
that one,
after that i reboot and file manager went back to normal.
But i can't run the Assassin game, so i check the /usr/sbin/mmc-mount
And apparently it went back to default code, so i changed it again, reboot.
But it still doesn't work.. And the file manager problem show up again... Maybe it's conflicting with that problem?
Also when i tried maemodder, it says "operation aborted... already modified"
|
2011-03-04
, 05:57
|
Posts: 15 |
Thanked: 0 times |
Joined on Mar 2011
|
#107
|
|
2011-03-04
, 08:24
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#108
|
I need help installin preenv. my preenv is in the MyDocs folder.I ran XTERM,gained root,cd'd to MyDocs and then ran apt-get install.it says preenv not found any help any one?
One click and it's done!
Kind Regards,
D4rKlar
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_