Go Back  
Reply
 
Thread Tools
Old 01-20-2012   #11
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
Here the tool if you want to understand it better (it has a stupid bug.)
http://ps3devwiki.com/index.php?titl...ols#SFO_Reader

and here the algo
http://vitadevwiki.com/index.php?tit...PSF)#Algorithm

edit, changed link, since i changed the name of the page

Last edited by deroad; 01-20-2012 at 06:34 PM.
deroad is offline   Reply With Quote
Likes: (1)
Old 01-20-2012   #12
advocatusdiaboli
Senior Member
 
advocatusdiaboli's Avatar
 
Join Date: Sep 2010
Location: /dev/random
Posts: 1,687
Likes: 425
Liked 271 Times in 171 Posts
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Algo here: http://vitadevwiki.com/index.php?tit...ect_(SFO)_(PSF)
__________________
US 4USB ports OFW 3.15 PS Ubuntu
EU 4USB ports CFW 4.21.1 REX
There is only one OS; AmigaOS, the rest are just [l]imitations.
advocatusdiaboli is offline   Reply With Quote
Old 01-20-2012   #13
mrc1978
 
mrc1978's Avatar
 
Join Date: Jan 2011
Location: Bradford(West Yorks), Born and Bred
Posts: 1,961
Likes: 393
Liked 957 Times in 618 Posts
Mentioned: 245 Post(s)
Tagged: 0 Thread(s)
Means nothing to me, but nice one?

:D
mrc1978 is offline   Reply With Quote
Old 01-20-2012   #14
H3avyRa1n
Senior Member
 
H3avyRa1n's Avatar
 
Join Date: Aug 2011
Posts: 1,270
Likes: 179
Liked 840 Times in 392 Posts
Mentioned: 61 Post(s)
Tagged: 0 Thread(s)
never seen this before, great work here.
H3avyRa1n is offline   Reply With Quote
Old 01-20-2012   #15
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 499
Likes: 239
Liked 503 Times in 211 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Im not sure yet how REGION_DENY works, its like deroad said by activating "flags" for the regions locked, and as ada suggested converting the string to big endian and then binary to see them (same "trick" used in most integer parameters)

In the old talk page there was an example with the string "ff ff f0 01"
http://www.ps3devwiki.com/index.php?...FO#REGION_DENY

And i found this photo with the same value
http://www.ps3gen.fr/region-zone-actualite-13497.html

ff ff f0 01 ---big endian---> 01 f0 ff ff ---binary---> 00000001 11110000 11111111 11111111
These are 11 zeroes... for 11 allowed regions (the photo says " allowed region 1-11")

And the regions are this ones ---> http://www.ps3devwiki.com/index.php?title=Regions (the column named "Region
no.")

The only thing left is wich one is each region

Edit: this seems to have sense, but is not comfirmed at all, and i found no one example of this, so some examples will be apreciated
----------------------------------

Btw... the ATTRIBUTE here ---> http://www.ps3devwiki.com/index.php?...FO#ATTRIBUTE_2
880727

Anybody knows what app is this ?... because is using 4 unknown flags !!!
Is something related with "move controller" and probably a disc, because has "installable packages"... but i have the "mode demo disc" (came with the move pack from europe) and is not region locked ??? any idea ???

Last edited by sandungas; 01-20-2012 at 05:52 PM.
sandungas is offline   Reply With Quote
Old 01-20-2012   #16
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
for attribute2, i really don't know. there is also on the vita.
i found it on the Twitter App. i can think that this one on the vita can enable the camera. but the problem is the on the vita the attribute is 0x00000000

This is from my vita tool (all the bytes are already reverted).
Code:
[ SFO ]
[   1 ]              APP_VER	| Param: 01.00
[   2 ]            ATTRIBUTE	| Param: 0x8000
[   3 ]           ATTRIBUTE2	| Param: 0x0
[   4 ]             CATEGORY	| Param: gdc
[   5 ]           CONTENT_ID	| Param: JA0003-PCSC80002_00-0000000000000000
[   6 ]           GC_RO_SIZE	| Param: 0x0
[   7 ]           GC_RW_SIZE	| Param: 0x0
[   8 ]       PARENTAL_LEVEL	| Param: 0x1
[   9 ]        PSP2_DISP_VER	| Param: 01.500
[  10 ]      PSP2_SYSTEM_VER	| Param: 0x1500000
[  11 ]          PUBTOOLINFO	| Param: c_date=20111206
[  12 ]          REGION_DENY	| Param: 0x0
[  13 ]    SAVEDATA_MAX_SIZE	| Param: 0x400
[  14 ]               STITLE	| Param: LiveTweet
[  15 ]                TITLE	| Param: LiveTweet for PlayStation®Vita
[  16 ]             TITLE_ID	| Param: PCSC80002
for region deny, i really appreciated if someone (like @Lady Anne Blunt ) will post this SFO so i can analize it.
deroad is offline   Reply With Quote
Old 01-29-2012   #17
Lady Anne Blunt
Member
 
Join Date: Jan 2012
Posts: 98
Likes: 34
Liked 11 Times in 10 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Little trivial things i manually set and check somes flags for regions deny, will do more if you can confirm (not ur to understand the 11 valids regions sentence on the wiki)
My interest on it was more to provide real examples used, checked by the ps3 and how it can be use by others than Sony (for that not sur i can really do something) and also i think this function who was added recently had an equivalent before (not sur where to start to look, similars than netflix or EDDY)
the netflix file (sorry for the delay):

http://www.mediafire.com/file/b8oq39exqksoadk/PARAM.SFO

For Deroad and Sandungas or others, i don t think i m doing something really helpfull it s more to show yours works and explanations are followed and appreciated, thanks you (that is the main interest)

Sandungas, i separe and named (checked binary) the originals flags you added from others (fews addeds just as example)

Also, about the Attribute, i not sur how to check (offset) and compare (binary), please can you add one or two more examples (even it s pretty clear, i m really hard to understand ) because i wasn t able to get the same value on Dead space 2 (probably the installable Packages ) and Kill Zone ( probably the 2 remotes plays) thanks you.

Last edited by Lady Anne Blunt; 01-29-2012 at 06:52 AM. Reason: questions and trying to be more clear
Lady Anne Blunt is offline   Reply With Quote
Old 01-29-2012   #18
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Lady Anne Blunt View Post
Little trivial things i manually set and check somes flags for regions deny, will do more if you can confirm (not ur to understand the 11 valids regions sentence on the wiki)
My interest on it was more to provide real examples used, checked by the ps3 and how it can be use by others than Sony (for that not sur i can really do something) and also i think this function who was added recently had an equivalent before (not sur where to start to look, similars than netflix or EDDY)
the netflix file (sorry for the delay):

http://www.mediafire.com/file/b8oq39exqksoadk/PARAM.SFO

For Deroad and Sandungas or others, i don t think i m doing something really helpfull it s more to show yours works and explanations are followed and appreciated, thanks you (that is the main interest)

Sandungas, i separe and named (checked binary) the originals flags you added from others (fews addeds just as example)

Also, about the Attribute, i not sur how to check (offset) and compare (binary), please can you add one or two more examples (even it s pretty clear, i m really hard to understand ) because i wasn t able to get the same value on Dead space 2 (probably the installable Packages ) and Kill Zone ( probably the 2 remotes plays) thanks you.
Well you are helping us. you don't need to be a dev to be part of it.

anyway, this is the output.
Code:
[ SFO ]
[   1 ]              APP_VER	| Param: 01.00
[   2 ]            ATTRIBUTE	| Param: 0x0
[   3 ]             BOOTABLE	| Param: 0x1
[   4 ]             CATEGORY	| Param: AV
[   5 ]              LICENSE	| Param: Library programs ©Sony Computer Entertainment ...
[   6 ]       PARENTAL_LEVEL	| Param: 0x1
[   7 ]       PS3_SYSTEM_VER	| Param: 03.4200
[   8 ]          REGION_DENY	| Param: 0xfffffffd
[   9 ]           RESOLUTION	| Param: 0x1d
[  10 ]         SOUND_FORMAT	| Param: 0x307
[  11 ]                TITLE	| Param: Netflix Instant Streaming
[  12 ]             TITLE_ID	| Param: NPUP00030
deroad is offline   Reply With Quote
Old 02-03-2012   #19
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 499
Likes: 239
Liked 503 Times in 211 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Lady Anne Blunt View Post
Little trivial things i manually set and check somes flags for regions deny, will do more if you can confirm (not ur to understand the 11 valids regions sentence on the wiki)
My interest on it was more to provide real examples used, checked by the ps3 and how it can be use by others than Sony (for that not sur i can really do something) and also i think this function who was added recently had an equivalent before (not sur where to start to look, similars than netflix or EDDY)
the netflix file (sorry for the delay):

http://www.mediafire.com/file/b8oq39exqksoadk/PARAM.SFO

For Deroad and Sandungas or others, i don t think i m doing something really helpfull it s more to show yours works and explanations are followed and appreciated, thanks you (that is the main interest)

Sandungas, i separe and named (checked binary) the originals flags you added from others (fews addeds just as example)

Also, about the Attribute, i not sur how to check (offset) and compare (binary), please can you add one or two more examples (even it s pretty clear, i m really hard to understand ) because i wasn t able to get the same value on Dead space 2 (probably the installable Packages ) and Kill Zone ( probably the 2 remotes plays) thanks you.
I just readed your last edit in REGION_DENY, the last day i was thinking "why the hell japan is region 0... and why is not in the photo of the dex".. but today i taked another look at the photo and it says "allowed regions 1-11" (not "all regions 1-11" as i remeberded) hehehe
So my mistake, there are 12 regions, and this photo of the dex had region 0 locked, now the full list has sense and i think is finished, nice

Im not sure what function you say it was introduced, i suppose you mean some kind of restriction, but no idea

About your help... well for REGION_DENY consider 33% was discovered from your examples, 33% was this photo of the dex, and another 33% was me finding the relationship between the other wiki page with the regions and comparing/converting values

I had a overall idea when i saw your examples, but it was the day when i found the photo of the dex and imagined there must be some page in the wiki related with regions when all had a bit of sense (no code knowledge needed btw)

---------

About how to find ATTRIBUTE, i can explain very detailed if needed later and it will be very usefull if somebody takes a look at "rare" content, but i think is better to explain an easy "trick" i use always to find it easy and fast in a hex editor.

The trick is based in the fact that the names are ordered alphabetically in the "name_table", so lets use a theoricall "name_table" wich only contains the parameters:
ATTRIBUTE BOOTABLE DEROAD

*Note that are ordered alphabetically, and there is a blank byte after each name, this blank byte is part of the name so:

ATTRIBUTE is 10 bytes long, BOOTABLE is 9 bytes long, and DEROAD is 7 bytes long, ok ?

The only one important is the last name of the list because its the end of the table (DEROAD with 7 bytes)... the values of ATTRIBUTE, BOOTABLE, and DEROAD are exactly after the end of this table, so calculating the padding of the table you can know exactly where is the value of ATTRIBUTE because it will be the first one

----------------------------------

Now is needed to look at the "displacement" (to right or left) of this 7 bytes

A hex editor has a width of 16 bytes, and are represented horizontally in 4 "blocks" of 4 bytes each, ok ? (there is a "separation" after every 4 bytes)

Now remember that the "total size" of the table needs to be divisible by 4
In other words... the last byte of the table needs to match with this "separation" (visually is very easy, but hard to explain),

some examples (i will use 11111111 as the ATTRIBUTE, bytes at left are only to mark positions, but are invented):

11223344 55660000 11111111 00000000 | DEROAD (this table has 1 byte of padding, ATTRIBUTE is "moved" to the right 1 byte to fit in the 3rd block)

00112233 44556600 11111111 00000000 | DEROAD (this table casually fits perfectly and has no padding bytes)

22001122 33445566 00000000 11111111 | E DEROAD (this table has 3 bytes of padding


***Remember DEROAD is 7 bytes.. in the examples = 11223344556600 (including his padding byte)


----------------

Well... maybe a couple of screen captures will make this obvious, maybe i will upload them tomorrow

Btw... usually there is APP_VER before ATTRIBUTE, so after calculating where is the end of the "name_table"... you need to move to the right this 8 bytes reserved for APP_VER (remember again that this 8 bytes are placed between 2 of this separations)


Edit: (added screen captures)
-----------------------------
name_table = black + blue (blue is padding and is variable to fit the total size of the table)
ATTRIBUTE = yellow
The last "name" of "name_table" is VERSION = 56455253494F4E00 (all in black included 1 byte of padding at the end)



Dead Space 2
name_table padding = 3 bytes in blue
APP_VER = 30312E30 30000000 (8 bytes)
ATTRIBUTE = 20000200 (4 bytes)
BOOTABLE = 01000000 (4 bytes)
CATEGORY = 44470000 (4 bytes)
etc...


Gran Turismo 5
name_table padding = 3 bytes in blue
APP_VER = 30312E30 30000000 (8 bytes)
ATTRIBUTE = 00100000 (4 bytes)
BOOTABLE = 01000000 (4 bytes)
CATEGORY = 44470000 (4 bytes)
etc...


Hunted. The demon's forge
name_table padding = 1 byte in blue
APP_VER = 30312E30 30000000 (8 bytes)
ATTRIBUTE = 00000000 (4 bytes)
BOOTABLE = 01000000 (4 bytes)
CATEGORY = 44470000 (4 bytes)
etc...


The sizes in bytes are fixes, and can be seen in this table in the column "Data_Size_Total"
http://www.ps3devwiki.com/wiki/PARAM...rameters_Table

Last edited by sandungas; 02-04-2012 at 01:19 AM. Reason: added screen captures
sandungas is offline   Reply With Quote
Old 02-03-2012   #20
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
lol

10 chars
deroad is offline   Reply With Quote
Reply

Bookmarks

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

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 09:57 AM.