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 

[help!] main argv[0] doesn't include the % in path of eboot?

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



Joined: 11 Oct 2005
Posts: 5

PostPosted: Tue Nov 15, 2005 1:40 am    Post subject: [help!] main argv[0] doesn't include the % in path of eboot? Reply with quote

The main proc doesn't return the '%' contained in the argv[0] folder path to the eboot.pbp in case we use the hide corrupted icons exploit ! Is there a way to get the correct folder path ?

Last edited by Dev-Express on Tue Nov 15, 2005 5:08 am; edited 1 time in total
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Tue Nov 15, 2005 2:23 am    Post subject: Reply with quote

that's right as is because the % folder is the fake eboot.pbp you can see it just by comparing file space if you don't put images, music in the eboot you can see that inside the % folder there is a 1kb file if you see in the folder without the % there is a bigger file, so that's the correct folder
Back to top
View user's profile Send private message Visit poster's website
Dev-Express



Joined: 11 Oct 2005
Posts: 5

PostPosted: Tue Nov 15, 2005 2:40 am    Post subject: Ok for that, I was aware of this yet, but... Reply with quote

The thing I would like to have is the correct path to the right folder in my code cause when system execute the eboot.pbp, is it looking for the faked folder ? Normally, that's the faked eboot that launch our app or not ?... I would like to pass correct path to my app to the sceKernelLoadExec (without being searching for it) function to get my prog reload... Does relative paths like "./MyEboot.pbp" are working with ?
Back to top
View user's profile Send private message
ReKleSS



Joined: 18 Jun 2005
Posts: 73
Location: Melbourne, Australia

PostPosted: Tue Nov 15, 2005 8:42 am    Post subject: Reply with quote

Yes, relative paths work fine. Everything goes into the directory *without* the %. The directory with the % is just to make the psp think that the data is valid, then it loads from the other directory.
-ReK
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