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!

Code with weird numbers can someone please translate?

This is a discussion on Code with weird numbers can someone please translate? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Code with wierd numbers can someone please translate? here it is: Code: int installPatch() { SceUID fd; fd = sceIoOpen("patch.bin", ...

Reply
 
LinkBack Thread Tools
Old 11-24-2006, 04:39 PM   #1
 
Join Date: Sep 2006
Posts: 484
Trader Feedback: 0
Exclamation Code with weird numbers can someone please translate?

Code with wierd numbers can someone please translate?
here it is:
Code:
int installPatch()
{
	SceUID fd;

	fd = sceIoOpen("patch.bin", PSP_O_RDONLY, 0777);

	if (fd < 0)
		return 0;

	sceIoRead(fd, (void *)0x883e0000, 10*1024);
	sceIoClose(fd);

	// Redirect system bootstrap (sceLoadExec module, "game" mode)
	// c0 88 01 3c lui $at, 0x88c0 -> 3e 88 01 3c lui $at, 0x883e
	// 09 f8 20 00 jalr $ra, $at
	_sh(0x883e, 0x88069684);
	
	// The same here, for "vsh" and "updater" modes (sceLoadExec
	// module loads to a different location in those modes)
	_sh(0x883e, 0x880bce84);

	//sceKernelDcacheWritebackAll();

	return 1;
}
__________________
Need a GFX Guy for EBOOT ICONS, BACkGROUNDS?? I can help you there.
Just see some of my work. PM me for GFX.
pspfreak9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:41 PM   #2
gam
 
gam's Avatar
 
Join Date: Sep 2006
Posts: 1,227
Trader Feedback: 0
Default

why do you want it translated? it looks like some src code theres no need to translate i think.
gam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:42 PM   #3
 
Join Date: Sep 2006
Posts: 484
Trader Feedback: 0
Default

No i mean the numbers what do they mean??
A advanced coder might know
__________________
Need a GFX Guy for EBOOT ICONS, BACkGROUNDS?? I can help you there.
Just see some of my work. PM me for GFX.
pspfreak9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:47 PM   #4
likes kittens....awww....
 
Join Date: Sep 2006
Real First Name: Erik
Location: Detroit
Just Played: Call of Duty:World at War
Posts: 628
Trader Feedback: 0
Default

That is coded in assembly, not lua or C/C++.
psphacker12. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:50 PM   #5
 
Join Date: Sep 2006
Posts: 484
Trader Feedback: 0
Default

Huh assembly what is that a code, can anyone read it??
__________________
Need a GFX Guy for EBOOT ICONS, BACkGROUNDS?? I can help you there.
Just see some of my work. PM me for GFX.
pspfreak9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:51 PM   #6
 

 
Join Date: Aug 2006
Real First Name: josh
Location: darkness
Just Played: rockband 2
Posts: 616
Trader Feedback: 0
Default

i think its ipl boot location code
__________________
heroes? i have none .....Love only yourself and fight only for your self
Sylar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:54 PM   #7
likes kittens....awww....
 
Join Date: Sep 2006
Real First Name: Erik
Location: Detroit
Just Played: Call of Duty:World at War
Posts: 628
Trader Feedback: 0
Default

http://kedem.cs.duke.edu/cps104/Hand...%20tutorial%22
When you steal code, make sure that you understand the code you are stealing.
psphacker12. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-24-2006, 04:57 PM   #8
 
Join Date: Sep 2006
Posts: 484
Trader Feedback: 0
Default

Can someone read it (whatever wierd code it is)
I M not stealing I just want to learn how it works? lol
I got it from the source of NO-KXPLOIT PATCHER by the way
-= Double Post =-
Thanks pspgamer12
__________________
Need a GFX Guy for EBOOT ICONS, BACkGROUNDS?? I can help you there.
Just see some of my work. PM me for GFX.

Last edited by pspfreak9; 11-24-2006 at 04:57 PM.. Reason: Automerged Doublepost
pspfreak9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 09:42 AM   #9

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

That's C/C++ code. At a wild guess, it reads a value in the .bin file and possibly reads or writes to a memory address.

Or, you can read the comments:

// Redirect system bootstrap (sceLoadExec module, "game" mode)
// c0 88 01 3c lui $at, 0x88c0 -> 3e 88 01 3c lui $at, 0x883e
// 09 f8 20 00 jalr $ra, $at

// The same here, for "vsh" and "updater" modes (sceLoadExec
// module loads to a different location in those modes)
_sh(0x883e, 0x880bce84);
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-25-2006, 09:57 AM   #10
 
Join Date: Sep 2006
Posts: 484
Trader Feedback: 0
Default

k thxs
__________________
Need a GFX Guy for EBOOT ICONS, BACkGROUNDS?? I can help you there.
Just see some of my work. PM me for GFX.
pspfreak9 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
code , numbers , translate , weird

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 07:43 PM.



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