Sponsored Links

Sponsored Links

PS3 SFO Reader and SFO2SFX Homebrew Applications Released


Sponsored Links
150w ago - Following up on his previous work, this weekend PlayStation 3 developer deroad has released a PS3 SFO Reader and SFO2SFX homebrew applications complete with source code.

Download: [Register or Login to view links]

To quote: Since today sandungas talked about a bug in the old SFO Reader, i immediately fixed it (you can find it here: ps3devwiki.com/wiki/Dev_Tools#SFO_Reader).

Then he started talking about SFX. They are simple XML files that the ps3 can read as SFO. This is an example:

[Register or Login to view code]

So i converted my SFO reader into a SFO to SFX converter. You can get it here: ps3devwiki.com/wiki/Dev_Tools#SFO2SFX

I hope that someone will find it useful. From:

[Register or Login to view code]

to
[Register or Login to view code]

Finally, how to call a PS3 Syscall: In computing, a system call (aka Syscall) is how a program requests a service from an operating system’s kernel. This may include hardware related services (e.g. accessing the hard disk), creating and executing new processes, and communicating with integral kernel services (like scheduling). System calls provide the interface between a process and the operating system.

With PSL1GHT we can call all the 989 Syscalls.. it’s really simple to call one, but you need to know how many parameters it needs; there are some syscalls that needs just 1 parameter, there are others that needs 8 parameters.

You can find the list of syscalls with the numbers of the parameters here: ps3devwiki.com/wiki/LV2_Functions_and_Syscalls#Syscalls

Once you know the numbers of the parameter that you need (and the type of the parameters if they are written), you are ready to call one:

first thing add the following include:

#include

Then you can call the syscall:

lv2syscallN(number_of_the_syscall, parameters… );
Change N with the number of the parameters, and put the number of the syscall that you need to call with the parameters.

some examples:

Shutdown the PS3:

1) Look into the dev wiki and you will see that the syscall to shutdown the PS3 is number 379 ( sys_sm_shutdown ) and it wants 4 parameters:
2) So now i can call the syscall with 4 parameters:

lv2syscall4(379,SHUTDOWN_PARAM,0,0,0);
now on the wiki it says, that the shutdown value is 0x1100 or 0x100, so i will write:
lv2syscall4(379,0x100,0,0,0)

now if i call this on a stupid homebrew like:
#include
int main(){
lv2syscall4(379,0x100,0,0,0);
return 0;
}

it will really shutdown the ps3.

now if you are not sure to completely understood this, i will make another example:

Get current time:
now this example comes from the PSL1GHT SDK:

this is the function that get the current time on the ps3.

#include
s32 sysGetCurrentTime(u64 *sec,u64 *nsec)
{
lv2syscall2(145,(u64)sec,(u64)nsec);
return_to_user_prog(s32);
}

now it uses 2 parameters so it calls lv2syscall2, then it needs the parameters that will get the value sec and nsec. now, in this function you can see that it ask the return of this syscall; to call any return of a determinate syscall, you can simply ask it by calling:

return_to_user_prog(type_of_the_variable);

you need to define the type of the returning variable. in that case it was s32 (aka signed int).
so it calls:
return_to_user_prog(s32);

if it was a normal integer, you had to call:
return_to_user_prog(int);

to compile it correctly you need to simply add the following flags:

-llv2



Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter, Facebook and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene and PlayStation 4 scene updates and fresh homebrew releases!

Comments 46 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles.
 
#16 - SwordOfWar - 132w ago
SwordOfWar's Avatar
If you have to, you can always search for the missing DLLs on google and download them.

Just drop them in the same folder as the .exe you are trying to run.

#15 - PS3 News - 132w ago
PS3 News's Avatar
Following up on the intial release, this weekend PlayStation 3 developer aldostools has updated his homebrew PS3 FTP Client application to version 2.8 with the changes outlined below followed by v2.9.

Download: [Register or Login to view links] / [Register or Login to view links] (Mirror) / PS3 FTP Client v2.9

To quote: PS3 FTP Client 2.8 (Updated 2012-06-09)

New feature:

  • Update the APP_VER in PARAM.SFO of the selected games to the specified version. This option helps to avoid the update screen when the game starts (for users with PS3 connected to the Internet), preventing accidental installation of patches that require FW 3.56 or higher. A backup of the original PARAM.SFO is stored as PARAM.SFO.bak. The new option works with local files and remote files via FTP.

How to use the new feature:

  • To update a single game, select the PARAM.SFO, right click and select "Update APP_VER in PARAM.SFO...".
  • To update multiple games, go to /GAMES folder, select the games that you want to update, right click and select "Update APP_VER in PARAM.SFO...".
  • Enter the new version (99.99 by default) and press OK.

To quote: This update to the PARAM.SFO can be performed manually using any PARAM.SFO editor. However, the main advantage of the new feature of the PS3 FTP Client is that it automates the tasks of download the file, update the SFO, upload it again, and make a backup of the original SFO.

The premise is that you first download and install the game patches for all your games. Use multiMAN or PS3 Game List or PS3 Game Updater to download the patches that are 3.55 compatible (

#14 - PS3 News - 133w ago
PS3 News's Avatar
Did you try installing the required VB5 Runtime Modules from [Register or Login to view links] ?

#13 - Brenza - 133w ago
Brenza's Avatar
Can't start the program because MSVBVM50.DLL is missing

#12 - maaz1 - 133w ago
maaz1's Avatar
can i use my old account saves and trophies with my new one in 4.11 using this app?

 

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - PS3 Forums - Privacy Statement - Site Rules - Top - © 2015 PlayStation 3 News