| View previous topic :: View next topic |
| Author |
Message |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Thu Feb 28, 2008 8:43 pm Post subject: Load Iso's/Cso's |
|
|
Shouldn't this function work?
| Code: | int LoadExecIso(const char * file)
{
int loadexec = 0;
k1 = pspSdkSetK1(0);
struct SceKernelLoadExecVSHParam param;
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(file)+1;
param.argp = &file;
param.key = "game";
loadexec = sceKernelLoadExecVSHMs2(file, ¶m);
pspSdkSetK1(k1);
return loadexec;
} |
or this one:
| Code: | void LoadExecIso(const char * file)
{
k1 = pspSdkSetK1(0);
const u32 filelen = strlen(file)+1;
struct SceKernelLoadExecVSHParam param;
param.size = sizeof(param);
param.args = filelen;
param.argp = &file;
param.key = "game";
param.vshmain_args_size = 0;
param.vshmain_args = 0;
param.configfile = "/kd/pspbtcnf_game.txt";
param.unk4 = 0;
param.unk5 = 0x10000;
sceKernelLoadExecVSHMs2(file, ¶m);
pspSdkSetK1(k1);
} |
Thank you. |
|
| Back to top |
|
 |
DeathCradle
Joined: 19 Jan 2008 Posts: 6
|
Posted: Fri Feb 29, 2008 9:31 pm Post subject: Re: Load Iso's/Cso's |
|
|
| Pirata Nervo wrote: | | Shouldn't this function work? |
.............Have you even tested it yet?? |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sat Mar 01, 2008 3:35 am Post subject: |
|
|
what do you think..?
OF COURSE and it does not work, that's why I said "shouldn't"
EDIT, this is my function now:
| Code: |
u8 vshmain_args[0x400];
]int LoadExecIso(const char * file)
{
int loadexec = 0;
k1 = pspSdkSetK1(0);
memset(vshmain_args, 0, sizeof(vshmain_args));
vshmain_args[0x40] = 1;
vshmain_args[0x280] = 1;
vshmain_args[0x284] = 3;
vshmain_args[0x286] = 5;
struct SceKernelLoadExecVSHParam param;
memset(¶m, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(file)+1;
param.argp = &file;
param.key = "game";
//param.configfile = "/kd/pspbtcnf_game.txt";
param.vshmain_args_size = sizeof(vshmain_args);
param.vshmain_args = vshmain_args;
param.unk4 = 0;
param.unk5 = 0;
loadexec = sceKernelLoadExecVSHMs2(file, ¶m);
pspSdkSetK1(k1);
return loadexec;
} |
I still get the error 8002014E |
|
| Back to top |
|
 |
DeathCradle
Joined: 19 Jan 2008 Posts: 6
|
Posted: Sat Mar 01, 2008 12:55 pm Post subject: |
|
|
ok ok calm down, i was making sure, lol
so what firmware version you got?
have you linked a iso prx?
in one of my apps i used,
| Code: | | pspSdkLoadStartModule() |
Or
lol can't remember?
& i'm not sure if i linked a iso prx |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sat Mar 01, 2008 6:20 pm Post subject: |
|
|
lol, I'm calm :)
I am just tring to load an iso with my app, it runs umd's perfectly and homebrew too, but not isos :( I get this error: 8002014E
about linking libraries, I think this functions do not need previous linked libraries and the error does not mean "library is not linked". it means something like "wrong parameters", this error is not listed on kernel errors psp-programming's thread or at sdk's docs. |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Sun Mar 02, 2008 6:02 am Post subject: |
|
|
| Pirata Nervo wrote: | lol, I'm calm :)
I am just tring to load an iso with my app, it runs umd's perfectly and homebrew too, but not isos :( I get this error: 8002014E
about linking libraries, I think this functions do not need previous linked libraries and the error does not mean "library is not linked". it means something like "wrong parameters", this error is not listed on kernel errors psp-programming's thread or at sdk's docs. |
If loading ISO's were that easy... We will see many.
[HINT]Ofcourse M33 SDK simplifies the job fawr ya.[/HINT] _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sun Mar 02, 2008 6:19 am Post subject: |
|
|
dax's documentations say that sceKerneLoadExecMS2 "loads games (and homebrew :P) " _________________
Upgrade your PSP
Last edited by Pirata Nervo on Sun Mar 02, 2008 8:09 am; edited 1 time in total |
|
| Back to top |
|
 |
jas0nuk
Joined: 27 Apr 2006 Posts: 137
|
Posted: Sun Mar 02, 2008 7:52 am Post subject: |
|
|
He means it loads game executables
You can't load ISOs directly -_- They are disc images. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sun Mar 02, 2008 8:03 am Post subject: |
|
|
lol, sorry about that ahahah,im so duh LOL, Ok, thank you for the information :D
So if I decompress the ISO image and load the eboot.bin with the sceKernelLoadExecVSHDisc will it work? _________________
Upgrade your PSP |
|
| Back to top |
|
 |
Shapyi
Joined: 25 Apr 2005 Posts: 95
|
Posted: Sun Mar 02, 2008 5:54 pm Post subject: |
|
|
| Pirata Nervo wrote: | lol, sorry about that ahahah,im so duh LOL, Ok, thank you for the information :D
So if I decompress the ISO image and load the eboot.bin with the sceKernelLoadExecVSHDisc will it work? |
Discussing anything related to pirating games or running "backups" is not allowed on this forum. You are on your own with this one, I'm afraid you'll just need to figure it out yourself. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sun Mar 02, 2008 8:03 pm Post subject: |
|
|
ok, so thank you. _________________
Upgrade your PSP |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Mon Mar 03, 2008 8:48 am Post subject: |
|
|
and with a name like Pirata, which in English means "stealing",
you're not going to encourage help from those who might have
wanted to bend the rules, because we aren't here to destroy the platform. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
Tinnus
Joined: 29 Jul 2006 Posts: 67
|
Posted: Mon Mar 03, 2008 2:09 pm Post subject: |
|
|
| Art wrote: | | and with a name like Pirata, which in English means "stealing" |
It means "Pirate".
Just FYI :) _________________ Let's see what the PSP reserves... well, I'd say anything is better than Palm OS. |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Mon Mar 03, 2008 2:11 pm Post subject: |
|
|
Yes, it does :)
http://www.answers.com/topic/pirate
Which means stealing, not a person who wears an eye patch. _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Mon Mar 03, 2008 6:54 pm Post subject: |
|
|
LOOL, it peans nerve pirate.
ahah, I know what means piracy Art.
My program runs ISO's too now. Thanks to cory for his help. _________________
Upgrade your PSP |
|
| Back to top |
|
 |
peb
Joined: 12 Mar 2007 Posts: 26
|
Posted: Thu Mar 20, 2008 10:57 am Post subject: |
|
|
And what cory said you to resolve your problem please? (I have the same error 8002014E) _________________ Sorry for my English, I'm french. |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Fri Mar 21, 2008 3:55 am Post subject: |
|
|
Cory only gave me a hint, not the code.. _________________
Upgrade your PSP |
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Sun Mar 30, 2008 1:54 am Post subject: |
|
|
PIRATA NERVo == COPY/PASTER
He ask every code for his app on forums/sites/tutorials/source code
This code comes from : http://www.pspcrazy.com/index.php?page=Story&id=736
Load pbp => this site
Filbrowser => slasher
etc.... |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sun Mar 30, 2008 2:07 am Post subject: |
|
|
| I guess he makes lame lua shells too. |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Sun Mar 30, 2008 3:24 am Post subject: |
|
|
Please don't make nasty comments about people you don't even know it's not nice,
Pirata Nervo is kind and polite and only asks after trying to solve the problem himself,
He does not just copy and paste code into his app,
He obtained that code by doing some research and wanted help to understand why it never worked, |
|
| Back to top |
|
 |
jo3_sum
Joined: 30 Jan 2008 Posts: 17
|
Posted: Sun Mar 30, 2008 3:40 am Post subject: |
|
|
| hibbyware wrote: |
Please don't make nasty comments about people you don't even know it's not nice,
Pirata Nervo is kind and polite and only asks after trying to solve the problem himself,
He does not just copy and paste code into his app,
He obtained that code by doing some research and wanted help to understand why it never worked, |
i agree with hibby. pirata nervo doesn't "cheat". |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sun Mar 30, 2008 4:07 am Post subject: |
|
|
listen here question_dev,
i did this:
- Load PBP, I MADE IT BY MY SELF, I used that code only to understand the MIPS bootstrap by Dark Alex.
- Filebrowser, I used that one and modified it a lot. I also made a new file browser for my theme chooser.
Please, don't talk about me when you don't know me.
@Wally4000, I don't even know LUA. _________________
Upgrade your PSP |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sun Mar 30, 2008 5:57 am Post subject: |
|
|
| Let's just hope the mods play a game of "lock and delete this thread" sometime soon. |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sun Mar 30, 2008 9:15 am Post subject: |
|
|
Oh cool then!
Well im on your side then :)
Im sick of the LUA shells too :P |
|
| Back to top |
|
 |
jbit Site Admin

Joined: 28 May 2005 Posts: 293 Location: København, Danmark
|
Posted: Sun Mar 30, 2008 9:41 am Post subject: |
|
|
| Drama lock! |
|
| Back to top |
|
 |
|