QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

2.6 TrUmd Loader

This is a discussion on 2.6 TrUmd Loader within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; 2.6 Train-Umd loader by Train2335 based off work by 0okm, hitchhikr and Humma Kavula. This is just a application that ...

Reply
 
LinkBack Thread Tools
Old 08-12-2006, 07:59 AM   #1

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default 2.6 TrUmd Loader

2.6 Train-Umd loader by Train2335 based off work by 0okm, hitchhikr and Humma Kavula.

This is just a application that loads the UMD that is in your UMD slot through eloader via GTA. It is incapable of loading isos
at the moment and problay will be for a long while ;-). Yet we are one step closer to loading Isos on 2.6!! :-)

Place the TrUmd folder in PSP/GAME/
Load Grand Theft Auto
Run Eloader
Select TrUmd and run it
Press X and load UMD

As of right now I am unsure if you can swap UMDs since I only have GTA :-(. I wouldn't see why you couldn't swap UMDs,
but ya know Sony can be wierd sometimes ;-).

It loads the UMD by:
sceKernelLoadExec("disc0:/PSP_GAME/SYSDIR/BOOT.BIN",0);

I have not released the source code yet as I don't see the need, it is quite easy to redupilcate this ;-). But if you get me at MSN - train2335@yahoo.com
I will give you the source(only if I think you need it)....

Thanks to Dark_Alex, Humma Kavula, hitchhikr, SonyXteam, Fanjita, Ditlew, PSPDEV, and everyone else that made this possible!
Special thanks to Mathieulh and 0okm!


And one more thing!, make you you check out www.deviantpsp.com !!!!!

DOWNLOAD : http://www.sendspace.com/file/6hz3ew
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:01 AM   #2
Retired QJ *****istrator
 
Abe_Froeman's Avatar
 
Join Date: Jan 2006
Real First Name: Mandatory Field Filler
Location: East Coast of US
Just Played: Mandatory Field Filler
Posts: 14,616
Trader Feedback: 0
Default

This is confirmed working to load any UMD via the eLoader?
Abe_Froeman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:02 AM   #3
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

Can you please PM me the source code? I get a **** load of errors when I try to compile something with sceKernelLoadExec, plus I want to use it for something that I ain't going to release also. Thank you.
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:04 AM   #4

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

I'm not sure I only have GTA :P. I know it works with GTA, wiether you can switch Gta with anyother UMD at the moment is unknown, until some tries it...
-= Double Post =-
Quote:
Originally Posted by PSPduh
Can you please PM me the source code? I get a **** load of errors when I try to compile something with sceKernelLoadExec, plus I want to use it for something that I ain't going to release also. Thank you.
I will tomorrow I am about ready to leave my house and won't be back until tomorrow afternoon

Last edited by albut35; 08-12-2006 at 08:04 AM.. Reason: Automerged Doublepost
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:05 AM   #5
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

Quote:
Originally Posted by albut35
I'm not sure I only have GTA :P. I know it works with GTA, wiether you can switch Gta with anyother UMD at the moment is unknown, until some tries it...
-= Double Post =-


I will tomorrow I am about ready to leave my house and won't be back until tomorrow afternoon
Ah ok. Thank you again.
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:06 AM   #6
Retired QJ *****istrator
 
Abe_Froeman's Avatar
 
Join Date: Jan 2006
Real First Name: Mandatory Field Filler
Location: East Coast of US
Just Played: Mandatory Field Filler
Posts: 14,616
Trader Feedback: 0
Default

So if it's just loading GTA, how can you tell if its not the PSP just resetting itself and launching the game from startup?

Also, can you exit the game and return directly to the eLoader?
Abe_Froeman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:08 AM   #7

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Because theres no Splash and you can here the UMD loading and you can see the memory stick blinking...also I have not tried exiting the game yet. since my GTA only loads about 1/5 the time on devhook, so it takes me awhile to get to eloader:P, and why dont you just test it!lol...need anything else!?
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:09 AM   #8
Retired QJ *****istrator
 
Abe_Froeman's Avatar
 
Join Date: Jan 2006
Real First Name: Mandatory Field Filler
Location: East Coast of US
Just Played: Mandatory Field Filler
Posts: 14,616
Trader Feedback: 0
Default

Quote:
Originally Posted by albut35
Because theres no Splash and you can here the UMD loading and you can see the memory stick blinking...need anything else!?
It's an honest question man, relax.
Abe_Froeman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:10 AM   #9

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

can it load 2.70+ things?
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:12 AM   #10

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Lol sorry Abe I didn't want to sound snotty or anything, I am just really tired. :P
-= Double Post =-
Quote:
Originally Posted by Glynnder
can it load 2.70+ things?
I don't know, as I said I only have GTA, but it should work with any UMD if you switch it before you press X...

Last edited by albut35; 08-12-2006 at 08:12 AM.. Reason: Automerged Doublepost
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:13 AM   #11

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

hmph, are you sure? theresa extra work to ake it load umd's for higher firmwares
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:15 AM   #12

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Quote:
Originally Posted by Glynnder
hmph, are you sure? theresa extra work to ake it load umd's for higher firmwares
As I said...I do not know Now its like I am posting every 5 minutes, lol, so if you have a good question ask, if you dont then test it out and tell me if it loads higher UMDs cause I would like to know that for the next release...
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:16 AM   #13

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

i dont have any
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:17 AM   #14

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Seems like if you loaded this, it would just load GTA again....
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:19 AM   #15

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Quote:
Originally Posted by SG57
Seems like if you loaded this, it would just load GTA again....
lol, yeah unless you switch UMDs when you enter the program, which should work but dont take my word since I dont have another UMD execpt GTA . This is more of a POC anyways. To show that it is possible to load umds and also to show that we are that much closer to launch Isos (if we free up some Ram ) This isnt really a useful program other than to know its possible :P
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:20 AM   #16

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

can i have the source PM'ed please?
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:21 AM   #17
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

Quote:
Originally Posted by SG57
Seems like if you loaded this, it would just load GTA again....
True but what happens if he adds a timer? Like after 1 minute it would launch the umd. Does GTA need to be after you launch homebrew? I am pretty sure not. This is really just a POC...You could launch any umd normaly, it would be useful if it launches 2.6+ umds, (non right now) or isos.
EDIT - @Glynnder - He said he would PM it to me tommorrow, so that's probably when he'll pm you it also.
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:23 AM   #18

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

no it doesnt need to stay inserted
-= Double Post =-
thanks! looking forward to the PM
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html

Last edited by Glynnder; 08-12-2006 at 08:23 AM.. Reason: Automerged Doublepost
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:24 AM   #19
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

Quote:
Originally Posted by Glynnder
no it doesnt need to stay inserted
Exactly. So a timer would be a good idea. After one minute or 30 seconds, launches the UMD.
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:25 AM   #20
 
kimbonious's Avatar
 
Join Date: Jul 2006
Location: Back home, after a year in the Desert YEAH!!!
Posts: 254
Trader Feedback: 0
Default

has anyone tested this yet with another UMD??
kimbonious is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:26 AM   #21

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

i wish i could, but i dont have eLoader -.-
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:26 AM   #22

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Yeah, I will just post the source in here tomorrow :P. I am busy tonight and probably won't be home till tomorrow afternoon....
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:35 AM   #23

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

can u pm me it?

cos im away tomorrow
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 08:56 AM   #24

Developer
 
SodR's Avatar
 
Join Date: Sep 2005
Location: Sweden
Posts: 941
Trader Feedback: 0
Default

Ok, let me just get a few things clear here;

- This is nothing new, you don't even need to have access to the kernel to do this since sceKenelLoadExec is capable of loading the umd's unencrypted boot.bin in usermode.

- This is not a "step closer" to isos/newer games on 2.6 since this will only reset the kernel and re-launch the UMD

- For you who want to know how to do this;
Code:
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspiofilemgr.h>
#include <pspgu.h>
#include <pspumd.h>
#include <pspthreadman.h>
#include <stdlib.h>
#include <string.h>


#define printf	pspDebugScreenPrintf

PSP_MODULE_INFO("zzz", 0, 1, 1);  

int exit_callback(int arg1, int arg2, void *common) {
	sceKernelExitGame();
	return 0;
}

int CallbackThread(SceSize args, void *argp) {
	int cbid;
	cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
	sceKernelRegisterExitCallback(cbid);
	sceKernelSleepThreadCB();
	return 0;
}

int SetupCallbacks(void) {
	int thid = 0;
	thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
	if(thid >= 0)
	{
		sceKernelStartThread(thid, 0, 0);
	}
	return thid;
}

int main() {
	SetupCallbacks();
	pspDebugScreenInit();

	int x = 0;


			x = sceUmdCheckMedium(0);
			x = sceUmdActivate(1, "disc0:");
	sceKernelLoadExec("disc0:/PSP_GAME/SYSDIR/BOOT.BIN",0);
				
	return 0;
}
This is even easier to do than following the first hello world tutorial.

Nothing new here, just another person seeking fame...
SodR is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 09:03 AM   #25

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Quote:
Originally Posted by SodR
Ok, let me just get a few things clear here;

- This is nothing new, you don't even need to have access to the kernel to do this since sceKenelLoadExec is capable of loading the umd's unencrypted boot.bin in usermode.

- This is not a "step closer" to isos/newer games on 2.6 since this will only reset the kernel and re-launch the UMD

- For you who want to know how to do this;
Code:
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspiofilemgr.h>
#include <pspgu.h>
#include <pspumd.h>
#include <pspthreadman.h>
#include <stdlib.h>
#include <string.h>


#define printf	pspDebugScreenPrintf

PSP_MODULE_INFO("zzz", 0, 1, 1);  

int exit_callback(int arg1, int arg2, void *common) {
	sceKernelExitGame();
	return 0;
}

int CallbackThread(SceSize args, void *argp) {
	int cbid;
	cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
	sceKernelRegisterExitCallback(cbid);
	sceKernelSleepThreadCB();
	return 0;
}

int SetupCallbacks(void) {
	int thid = 0;
	thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
	if(thid >= 0)
	{
		sceKernelStartThread(thid, 0, 0);
	}
	return thid;
}

int main() {
	SetupCallbacks();
	pspDebugScreenInit();

	int x = 0;


			x = sceUmdCheckMedium(0);
			x = sceUmdActivate(1, "disc0:");
	sceKernelLoadExec("disc0:/PSP_GAME/SYSDIR/BOOT.BIN",0);
				
	return 0;
}
This is even easier to do than following the first hello world tutorial.

Nothing new here, just another person seeking fame...
Actually, I didn't know that, haha, well I guess I wasted an hour coding this for no reason really, lol, but atleast this is in kernal since I load it from the kernal exploit! I was wondering why I havent seen this done before since it was so easy. As I said in my read me that this is a simple program. Well I guess the thing I should work on now is getting 2.7+ Umds to load, I am pretty sure you cant do that without kernal mode.

But Thanks SodR for saying something, I honestly didnt know that!
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 09:18 AM   #26

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

How do you know he is seeking fame SodR?
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 09:22 AM   #27

100% Pure Awesome
 
Join Date: Jan 2006
Posts: 508
Trader Feedback: 0
Default

Why else would someone post a program here?
__________________

Ravine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 09:42 AM   #28
 
joshdb's Avatar
 
Join Date: Jul 2006
Location: Oklahoma
Posts: 105
Trader Feedback: 0
Default

Quote:
Originally Posted by Ravine
Why else would someone post a program here?
Are you using SCiTE, Ravine?
joshdb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 09:54 AM   #29

Developer
 
jsharrad's Avatar
 
Join Date: Oct 2005
Real First Name: Justin
Location: Dubuque
Just Played: ..
Posts: 414
Trader Feedback: 0
Default

It's code::blocks, what I use too while in windows :P
__________________
PSP Demo Videos (updated 11/29/08)
MinerPSP Coder
jsharrad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 10:24 AM   #30

100% Pure Awesome
 
Join Date: Jan 2006
Posts: 508
Trader Feedback: 0
Default

Quote:
Originally Posted by jsharrad
It's code::blocks, what I use too while in windows :P
You are correct! Yeah, I code on Windows, I hardly ever boot into Linux on this computer.
__________________

Ravine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
loader , trumd

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 08:27 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us