• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

PS3 SFO Reader and SFO2SFX Homebrew Applications Released

Category: PS3 Hacks & JailBreak  By: PS3 News - (devram0.blogspot.com)
Tags: ps3 sfo reader sfo2sfx ps3 sfo2sfx ps3 homebrew applications ps3 tools sfo to sfx deroad ps3

67w 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: PS3 Tools Deroad SFO to SFX

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:

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <paramsfo add_hidden="false">
      <param key="ATTRIBUTE" fmt="int32" max_len="4">0</param>
      <param key="CATEGORY" fmt="utf8" max_len="4">IP</param>
      <param key="PARENTAL_LEVEL" fmt="int32" max_len="4">2</param>
      <param key="TITLE" fmt="utf8" max_len="128">Beat Sketcher™</param>
      <param key="TITLE_05" fmt="utf8" max_len="128">Beat Sketcher™ A mano libera</param>
    </paramsfo>
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:

[SFO HDR]     0x00505346
[SFO Version] 0x00000101
[SFO N]	      6 Value(s)
[SFO Params Offsets]  0x000000b4
[ SFO ]
[   1 ]         CATEGORY | Param: 2D
[   2 ]   PARENTAL_LEVEL | Param: 0x1
[   3 ]   PS3_SYSTEM_VER | Param: 01.3100
[   4 ]            TITLE | Param: PS2 System Data
[   5 ]         TITLE_ID | Param: NPIA00001
[   6 ]          VERSION | Param: 01.00
to

<?xml version="1" encoding="utf-8" standalone=yes"?>
<paramsfo add_hidden="false">
  <param key="CATEGORY" fmt="utf8" max_len="4">2D</param>
  <param key="PARENTAL_LEVEL" fmt="int32" max_len="4">1</param>
  <param key="PS3_SYSTEM_VER" fmt="utf8" max_len="8">01.3100</param>
  <param key="TITLE" fmt="utf8" max_len="128">PS2 System Data</param>
  <param key="TITLE_ID" fmt="utf8" max_len="16">NPIA00001</param>
  <param key="VERSION" fmt="utf8" max_len="8">01.00</param>
</paramsfo>
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 and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 43 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
pedro800's Avatar
#43 - pedro800 - 14w ago
Reply
well how to create the rap file ?

i have Saints Row The Third NPUB30700 and I don't have the rap file, so I can't install it.

sortudo99's Avatar
#42 - sortudo99 - 15w ago
Reply
this program still works to get into psn on rebug 4.21? ty

seeman's Avatar
#41 - seeman - 15w ago
Reply
nice... now i can make xmbmount games even quicker...

windrider42's Avatar
#40 - windrider42 - 15w ago
Reply
Nice Aldostools

PS3 News's Avatar
#39 - PS3 News - 15w ago
Reply
Today PlayStation 3 developer aldostools has released updates to his PS3 ConsoleID, RAP Management Tools and LastGAME Customizer v1.0 PS3 homebrew applications alongside http://www.sendspace.com/file/43txml.

Download: http://ps3tools.aldostools.org/GetConsoleID.rar / http://ps3tools.aldostools.org/rap_mgr_tools.rar / http://www.aldostools.org/lastGAME_Customizer.rar

Below are the update details, as follows:

PS3 ConsoleID

This tool displays the PSID and the ConsoleID from a LV2 dump created using multiMAN’s mmOS or Rebug’s Toolbox.

How to use: Make a dump of your LV2 and drap & drop the LV2 dump on the tool’s window. It will show the PSID, ConsoleID and Target ID found in the LV2. You can drag & drop a dump of your flash too, but it only gets the ConsoleID.

RAP Management Tools

Keep your “rap” files collection clean with “remove bad files from exdata.bat” (a batch file that will remove the invalid “rap” files from your “exdata” folder) and delete_dups (a tool that will compare your rap files with the ones stored in another folder; deleting the duplicated files). Use them in conjunction with http://www.aldostools.org/ps3_game_integrity.zip and http://www.sendspace.com/file/43txml to keep your collection of raps organized.

TIP: My PS3 Keys tool can be used to create rap files, just entering the file name and pasting the 32 HEX digits.

LastGAME Customizer 1.0

This new tool takes advantage of the customization options that multiMAN’s lastGAME applet offers, allowing to create PKG files that mount games and AVCHD movies directly from the XMB, without having to launch multiMAN’s GUI (btw lastGAME = multiMAN without GUI).

Features:

• Current version supports lastGAME 4.1 (loads Hermes payload for firmwares 3.41, 3.55, 4.21, 4.30)
• Allows to connect to PS3 via FTP to retrieve the list of games installed on HDD or on external devices
• Supports drag & drop of multiple folders (x:GAMES) to create multiple PKGs instantly
• Supports command line interface (CLI)
• Allows to mount ISOs (PS2, PSP, PSX, DVD, BDM) and load remote backups (DRM dongle is required)
• Support direct boot (certain games only). Games that require BD mirror are not supported.

NOTE: Support for PSX ISO and 4.31 CFW (MiralaTijera) are not implemented yet on lastGAME 4.1

Special thanks to Dean Kasabow



More PlayStation 3 News...

Page 1 of 9 123456789›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Simple PS3Updates v1.6 Build 2 Final PS3 Homebrew App Updated
• Video: Super Pixel Jumper v1.2 PS3 Homebrew Game is Released
• Video: Pointman: The Akkadian Wars PS3 Homebrew Game Arrives
• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
• PSPMinis / PS3Minis / Bite v1.5 for PS3 with PSP Homebrew Support
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
still too hot... - 17m ago

smelly45's Avatar
Quote Hi i would try and change glue first....
By smelly45 with
 1 Comment »
PS3 Unbricking and Downgrading Service - 53m ago

Vamp132's Avatar
Quote i need to downgrade to 3.55 can you please help?...
By Vamp132 with
 693 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 55m ago

Vamp132's Avatar
Quote Yay Ps3 people :P...
By Vamp132 with
 7006 Comments »
PSN Games Decrypted for PS3 Custom Firmware 3.55 by DUPLEX! - 1h ago

flaviud's Avatar
Quote i heard there is a problem with the saves on 3.55 for res evil revelations. can someone confirm the fix works? after you exit the game cand you load t...
By flaviud with
 8162 Comments »

Latest PlayStation 3 Trophies
Call of Juarez: Gunslinger: Keep At It
Call of Juarez: Gunslinger: True Story
Call of Juarez: Gunslinger: Grows In The Telling
Call of Juarez: Gunslinger: Turkey Shoot

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Resident Evil Revelations PS3-ANTiDOTE - 05-19-2013
Muvluv Alternative Total Eclipse JPN PS3-HR - 05-17-2013
Skate 2 EUR PS3-Googlecus - 05-16-2013
The Walking Dead A Telltale Games Series PS3-COLLATERAL - 05-15-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News