forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Patch: __SCE__ / %_SCE__ kxploit

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Thu May 18, 2006 4:45 am    Post subject: Patch: __SCE__ / %_SCE__ kxploit Reply with quote

this adds to build.mak the support to the kxploit with the __SCE__NAME / %__SCE__NAME naming convention which hides corrupted icons.

Code:
--- sdk/lib/build.mak   Thu May 04 18:05:31 2006
+++ sdk/lib/build.mak   Sun May 14 22:11:44 2006
@@ -147,6 +147,14 @@
    $(PACK_PBP) "$(TARGET)%/$(PSP_EBOOT)" $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON)  \
       $(PSP_EBOOT_ICON1) $(PSP_EBOOT_UNKPNG) $(PSP_EBOOT_PIC1)  \
       $(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR)
+      
+SCEkxploit: $(TARGET).elf $(PSP_EBOOT_SFO)
+   mkdir -p "__SCE__$(TARGET)"
+   $(STRIP) $(TARGET).elf -o __SCE__$(TARGET)/$(PSP_EBOOT)
+   mkdir -p "%__SCE__$(TARGET)"
+   $(PACK_PBP) "%__SCE__$(TARGET)/$(PSP_EBOOT)" $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON)  \
+      $(PSP_EBOOT_ICON1) $(PSP_EBOOT_UNKPNG) $(PSP_EBOOT_PIC1)  \
+      $(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR)
 
 $(TARGET).elf: $(OBJS) $(EXPORT_OBJ)
    $(LINK.c) $^ $(LIBS) -o $@
Back to top
View user's profile Send private message Visit poster's website
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Thu May 18, 2006 5:26 am    Post subject: Reply with quote

mmm delicious :9
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Thu May 18, 2006 6:24 am    Post subject: Reply with quote

Are there any disadvantages to using this? Or is it all advantages :)
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Thu May 18, 2006 6:31 am    Post subject: Reply with quote

danzel wrote:
Are there any disadvantages to using this? Or is it all advantages :)


Yes, there is one disadvantage. When you order your files by name before:

myapp
myapp%
mysecondapp
mysecondapp%

and now:

%__SCE__myapp
%__SCE__mysecondapp
__SCE__myapp
__SCE__mysecondapp

So to remove them with a file explorer when they are ordered by name, you can't simply select two continous directories like before.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group