Active Topics

 



Notices


Reply
Thread Tools
Posts: 218 | Thanked: 128 times | Joined on Dec 2010 @ Abu Dhabi , UAE
#1851
Continued: Well,if the second one is true then I should say, you are right to worry. There are some users that are sharing "malware" programs in the forum. That's why I had shared my source code next to the compiled code in page 189.For your hesitation, I suggest you that read the source code first before running the program to make sure there are no malwares inside it. And after using the program,make sure you read the .sh file too before running it. Hope that you will find it useful.
Also you are not the first power user/developer that distrusts me(Sorry,didn't want to be offensive).Though I don't like to be distrusted, most(or some) of the power users do this to me and I don't know why since I have done nothing wrong;I only wanted to help. *Sigh* :'( (I didn't want to blame and/or bother anyone for/with this comment.Perhaps it's my fault.) or maybe I misunderstood.If I misunderstood then I apologize you again.
Originally Posted by Garcel View Post
govprog. Can you help me please? You are the only one that was able to change weapons on hawx. Can you give me the .sh file? Been trying everything but couldn't get it to work.
try creating a .sh file with a command like this:
Code:
nano hawx.sh
And try to include something like that inside it then execute it with the command:
Code:
sh hawx.sh

Last edited by govprog; 2011-03-04 at 18:33.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#1852
Originally Posted by govprog View Post
Also you are not the first power user/developer that distrusts me(Sorry,didn't want to be offensive).Though I don't like to be distrusted, most(or some) of the power users do this to me and I don't know why since I have done nothing wrong;I only wanted to help. *Sigh* :'(
I'm not saying that your scripts are dangerous.

It was a generic reminder that .sh files should be treated with as much warning as .exe files . They're a quite handy container for malware. And I'm worried that we are teaching a wrong lesson by encouraging its exchange. This is why I suggest using gconf's xml files, which are sligthly more safe, until we make our own file format.
 
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#1853
I sync'ed up to 1.6. No new fixes except for a couple small tweaks to try to get textures to scale better, you should notice Angry Birds and Scrabble look better. Also wired up right analog dualshock stick and the L2/R2 triggers just to try it out in nova. There's one small quirk where the mouse are initially pressed in so the joystick doesn't work until you move it out of and back into center.
Code:
http://members.cox.net/jflatt/libsdlpre.so
http://members.cox.net/jflatt/gconf_nova.xml
http://members.cox.net/jflatt/gconf_nova.sh
 

The Following 5 Users Say Thank You to jflatt For This Useful Post:
Posts: 218 | Thanked: 128 times | Joined on Dec 2010 @ Abu Dhabi , UAE
#1854
Originally Posted by javispedro View Post
I'm not saying that your scripts are dangerous.
So I misunderstood.
@jflatt:I have made a program to convert the .sh file format into the .xml one. The program seems to be working but I have two problems that needs your assist:
1-There might be some mistakes in the output file.If there are,inform me about them.
2-Please give me some instructions on how to load the .xml file.

To run the program
Code:
python converter.py
If you have loaded the .sh file in the folder where the program exists, then you don't have to enter the full path and you can just enter the filename.
Attached Files
File Type: zip converter.zip (665 Bytes, 98 views)
 
travla's Avatar
Posts: 397 | Thanked: 241 times | Joined on Mar 2010 @ Melbourne, Australia
#1855
Originally Posted by javispedro View Post
gconf supports a xml-based settings exchange format (see gconftool-2 --help-load), I prefer that very much over sharing shell scripts (which, you know, CAN hide "bad stuff", including deleting and/or destroying your N900).

Please do not implicitly trust .sh files, read and understand them before running!


Btw, I added basic vibration support to preenv 0.1.6. However, few games seem to support it as a real Pre doesn't seem to vibrate (but the API is there nevertheless).

The games that use the vibrator used to fail in the first few versions of Preenv (because Haptic* symbols were missing). Raging Thunder seemingly was once on the incompatible list with such error message.

Also, I am considering creating a standard directory layout for stored games in Preenv. This would mean that
- /opt/preenv/data would be user-writable, and would be equivalent to a Pre's /media/cryptofs directory (so it would be where you put "apps" directory).
- /media/cryptofs would be installed as a symlink to /opt/preenv/data
- /media/internal would be installed as a symlink to /home/user/MyDocs
- GetWritablePath() would return some path inside /home/user/.preenv/

is that Ok for everyone?
Thank you for continuing to support preenv.

I would like to understand better your last suggestion regarding the standard directory layout. Does your proposal change the ability to be able to install a game to any location you desire?

For example, I currently copy a games com directory to /home/user/games and move some folders to /home/user/MyDocs/games and symlink to the folders in MyDocs. Would game directories need to be relocated to /opt/preenv/data?

Regards,

travla
 
travla's Avatar
Posts: 397 | Thanked: 241 times | Joined on Mar 2010 @ Melbourne, Australia
#1856
Originally Posted by jflatt View Post
I sync'ed up to 1.6. No new fixes except for a couple small tweaks to try to get textures to scale better, you should notice Angry Birds and Scrabble look better. Also wired up right analog dualshock stick and the L2/R2 triggers just to try it out in nova. There's one small quirk where the mouse are initially pressed in so the joystick doesn't work until you move it out of and back into center.
Code:
http://members.cox.net/jflatt/libsdlpre.so
http://members.cox.net/jflatt/gconf_nova.xml
http://members.cox.net/jflatt/gconf_nova.sh
Thank you too for your continued support of preenv. Is there any known regressions?
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#1857
Originally Posted by travla View Post
I would like to understand better your last suggestion regarding the standard directory layout. Does your proposal change the ability to be able to install a game to any location you desire?

For example, I currently copy a games com directory to /home/user/games and move some folders to /home/user/MyDocs/games and symlink to the folders in MyDocs. Would game directories need to be relocated to /opt/preenv/data?
Nope , you will still be able to install games where you want.

If you however do it outside of /opt/preenv/data/apps/usr/palm/applications, preenv will not accurately emulate the /media/cryptofs directory that is on a Pre. While most games don't care, some might fail. But if they worked already they're not going to break.
 

The Following User Says Thank You to javispedro For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#1858
Did anyone get the vibrator to work in, for example, raging thunder? What do you think?
 
Posts: 203 | Thanked: 125 times | Joined on Jan 2011
#1859
Originally Posted by javispedro View Post
Did anyone get the vibrator to work in, for example, raging thunder? What do you think?
Where is preenv 0.16? not on repository.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#1860
Originally Posted by hadjistyllis View Post
Where is preenv 0.16? not on repository.
Aw yes, I forgot

Try jflatts's library if you want, he applied the changes already. Otherwise I hope to push it today along with the /opt/preenv/data thing.
 

The Following 2 Users Say Thank You to javispedro For This Useful Post:
Reply

Tags
games, multi touch, palm pre, preenv, profile, reach page 250?, speed, yesssss


 
Forum Jump


All times are GMT. The time now is 14:30.