June 11, 2011 // 5:20 pm
- Following up on his previous
releases, today PlayStation 3 hacker d0zs
has released two more PS3 homebrew applications dubbed Read_SFO and Read_SFO_with_Examples based off SFO4J (SFO Filereader in Java) by TiMESPLiNTER
Download: PS3 SFOReader (VB)
/ SFO4J SFO Filereader in Java 2.0
To quote: command line sfo reader (uses sfo4j's open source java classes converted to vb.net)
included a rough make_pkg port to batch with a couple other examples
i had a couple people ask me about modifying the order of operations for making a pkg to suite their own needs. there's nothing easier than editing a bat file, so i decided to take advantage of sfo4j's java sfo reader classes and make a quick exe that will spit out a requested value of a specified sfo file and use it in a rough make_pkg port to batch.
since it uses those java->c#->vb.net classes, 99% of the read_sfo code isn't mine and i can't stress that enough (all i did was make it output a single value), so credits to timesplinter & trueicecold.
with that said, it's really only useful for programmers using various languages who can't implement their own sfo reader, so they can simply execute read_sfo and set their own variables from the output.
example: read_sfo C:\PARAM.SFO TITLE_ID
*value is case sensitive
I've developed an open source SFO-file reader and writer library for PS3-PARAM.SFO-Files (and propably every other SFO-Files) in Java. I like to share this with you because I think it could help you developing any java-application that has to handle PS3-SFO-Files.
There's also a javadoc in the package.
Dealing with sfo4j is very very easy. You just need to put the jar-Library in your BuildPath and write for e.x. the following code:
[Register or Login to view code]
[+] SFOWriter - Now you can also write SFO files
[fix] DataTypes - You have now more control about the data you get from the reader
DataTypes (1 byte):
0 - BINARY
2 - STRING
4 - NUMBER