PSP Hacks - Forums

Go Back   PSP Hacks - Forums > PSP Community > PSP Programming & Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2009, 04:12 AM
kasax kasax is offline
PSP Newbie
 

Join Date: Oct 2009
Posts: 1
kasax Has a Beginner Reputation
Default LTE game Engine uninstallation script

After checking Brick's Lite LTE engine mod, I found myself wanting to remove the include files and libraries relative to the old LTE 2.2 engine before installing the new one.

The problem is that the Makefile provided only comes with an installation process, but no uninstallation.

This might be very trivial, or i might be doing something I shouldn't... as I am a newbie in terms of linux, but it worked for me and it should work fine for everyone (I just don't want people to jump on me if I did something bad lol). Anyways feel free to correct anything but this script I made pretty much deletes all the includes and libraries that the 2.2 LTE engine provides.

You must copy this script to your LTE 2.2 folder, where the original Makefile is.

http://rapidshare.com/files/294939698/uninstall.sh.html

Edit: Adding script straight up to the post so you guys can just copy/paste if you want to:
#!/usr/bin/sh

export PSPPATH=`psp-config --psp-prefix`

if [ -a $PSPPATH ];
then
find include/ -type f -name "*.h" -exec rm -rfv $PSPPATH/{} \;
find include/GL -type f -name "*.h" -exec rm -rfv $PSPPATH/{} \;
find include/GLES -type f -name "*.h" -exec rm -rfv $PSPPATH/{} \;
find lib -type f -name "*.a" -exec rm -rfv $PSPPATH/{} \;
else
echo "PSP Path not found, check that SDK is properly installed"
fi
Reply With Quote
  #2  
Old 10-21-2009, 09:41 PM
Brick Brick is offline
I am Flame Master
PSP Titan
 

Join Date: Mar 2005
Location: *this
Posts: 42,229
Brick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond repute
Default

You don't need any scripts , just delete the old directories and replace them with LTELM's.
There 've been many changes in the headers which i haven't even written in the dev-log(coz im a l@zY @$$).
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©