Patch: __SCE__ / %_SCE__ kxploit

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Patch: __SCE__ / %_SCE__ kxploit

Post by weltall »

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

Code: Select all

--- 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 $@
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

mmm delicious :9
10011011 00101010 11010111 10001001 10111010
danzel
Posts: 182
Joined: Fri Nov 04, 2005 11:03 pm

Post by danzel »

Are there any disadvantages to using this? Or is it all advantages :)
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

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.
Post Reply