Go Back  
Reply
 
Thread Tools
Old 09-26-2012   #241
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 510
Likes: 244
Liked 507 Times in 214 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Originally Posted by cfwprpht View Post
...
The Alphabetical Sort Mod for the games Category:

It's just a tiny patch in the registory.xml. A changed value (+ 2 -) and a bit of changing the deffination.
We kick out "Common.timeCreated+Game:" and put on the end "Common.title-Game:" before "Game.category</String></Pair>"
What a mighty patch
You can do that also for other categorys or self made segments. Self made segments don't need to
be patched in the registory.xml. You can do that in the segment code's direct by only change
the value from + to - or other way arround.

Patch:

Code:
Orig value in registory.xml:

<Table key="sort_game">
				<Pair key="time_created_descend"><String>sort=-Game:Common.stat.rating-Game:Common.timeCreated+Game:Common.titleForSort-Game:Game.category</String></Pair>
				<Pair key="time_created_ascend"><String>sort=-Game:Common.stat.rating+Game:Common.timeCreated+Game:Common.titleForSort-Game:Game.category</String></Pair>
				<Pair key="time_executed_descend"><String>sort=-Game:Common.stat.rating-Game:Common.stat.timeLastUsed+Game:Common.titleForSort-Game:Common.timeCreated-Game:Game.category</String></Pair>
				<Pair key="title_ascend"><String>sort=-Game:Common.stat.rating+Game:Common.titleForSort-Game:Common.timeCreated-Game:Game.category</String></Pair>
				<Pair key="format_ascend"><String>sort=-Game:Common.stat.rating+Game:Game.gameCategory-Game:Common.timeCreated+Game:Common.titleForSort</String></Pair>
			</Table>
Code:
Patched Value in registory.xml:

<Table key="sort_game">
				<Pair key="time_created_descend"><String>sort=+Game:Common.stat.rating+Game:Common.titleForSort-Game:Common.title-Game:Game.category</String></Pair>
				<Pair key="time_created_ascend"><String>sort=+Game:Common.stat.rating+Game:Common.titleForSort-Game:Common.title-Game:Game.category</String></Pair>
				<Pair key="time_executed_descend"><String>sort=-Game:Common.stat.rating-Game:Common.stat.timeLastUsed+Game:Common.titleForSort-Game:Common.timeCreated-Game:Game.category</String></Pair>
				<Pair key="title_ascend"><String>sort=-Game:Common.stat.rating+Game:Common.titleForSort-Game:Common.title-Game:Game.category</String></Pair>
				<Pair key="format_ascend"><String>sort=-Game:Common.stat.rating+Game:Game.gameCategory-Game:Common.timeCreated+Game:Common.titleForSort</String></Pair>
			</Table>




The ADD Xtra PARAM.SFO values to the XMB Mod:

To add two additional sfo param's (X0&X4) to the xmb we also first need to patch the registory.xml.
After that you can use them in your own made segment and they will only pop up there.
So we patch the registory.xml to exclude it from the game category. The sfo param's are no
hack. It seems that they are speciall non used sfo param's which also can be set with
official sony sdk tools like ps3sys.exe.

Patch:

Code:
Orig Value in registory.xml:

<Table key="cond_game">
				<Pair key="all_default"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category AP+An+Game:Game.category VF+AL+Game:Common.stat.rating 299</String></Pair>
				<Pair key="all_shop_guest"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category AP+An+Game:Game.category VF+An+Game:Common.fileName SCEAPPS01+An+Game:Common.fileName SCEAPPS02+An+Game:Common.fileName SCEAPPS03+AL+Game:Common.stat.rating 299</String></Pair>
				<Pair key="all_but_1p_pp"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category 1P+An+Game:Game.category PP+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AP+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category VF+AL+Game:Common.stat.rating 299</String></Pair>
			</Table>
Code:
Patched Value:

<Table key="cond_game">
				<Pair key="all_default"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category X4+An+Game:Game.category X0+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category AP+An+Game:Game.category VF+AL+Game:Common.stat.rating 299</String></Pair>
				<Pair key="all_shop_guest"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category X4+An+Game:Game.category X0+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category AP+An+Game:Game.category VF+An+Game:Common.fileName SCEAPPS01+An+Game:Common.fileName SCEAPPS02+An+Game:Common.fileName SCEAPPS03+AL+Game:Common.stat.rating 299</String></Pair>
				<Pair key="all_but_1p_pp"><String>cond=An+Game:Game.category GD+An+Game:Game.category 2D+An+Game:Game.category CB+An+Game:Game.category X4+An+Game:Game.category X0+An+Game:Game.category 1P+An+Game:Game.category PP+An+Game:Game.category HM+An+Game:Game.category AT+An+Game:Game.category AP+An+Game:Game.category AV+An+Game:Game.category AM+An+Game:Game.category VF+AL+Game:Common.stat.rating 299</String></Pair>
			</Table>
Now you can add the sfo param to you segment code like that:

Code:
<View id="seg_brew">
	  <Items>
	    <Query
	      class="type:x-xmb/folder-pixmap"
	      key="gamDir" 
	      attr="gameDir"
	      src="xcb://localhost/query?limit=2048&table=MMS_MEDIA_TYPE_HDD&sort=-Game:Common.stat.rating-Game:Common.title&cond=Aa+Game:Common.title+Ae+Game:Game.category X0"
	    />
	  </Items>
	</View>




Don't forget to patch the param.sfo of your app/game you want to put in that cat.

SRY for being listed MM as last and not after LV2 Loader but that's in case of ANSII and MM start's with a "m" and not with a "M".

By the way i don't know if it is knowen well but you can use the source of SELF/SPRX Decrypter v0.6 of ".oO Heden / DeLiGhT'2012 Oo." to decrypt some of the DEX 4.21 FW files.

If i recall right it was /dev_flash/sys/external which @KDSBest and i played arround. (If not external then internal, don't hit me :P )

Have Fun.
I will take the freedom to quote your message here (for the record)http://www.ps3hax.net/showpost.php?p...&postcount=241

By using "X0" and "X4" the apps are recognized as "PCengine" and "NeoGeo" respectivelly (displayed with icons)
Also... this "X0" and "X4" doesnt has his specific CATEGORY... instead of it are a combination of CATEGORY "HG" + some flags in the ATTRIBUTE
http://www.ps3devwiki.com/wiki/PARAM...r_HDD_contents

Is a easy way to separate homebrew from oficial games, but is not accurate because will include the original "PCengine" and "NeoGeo" games

---------------------
The second mod to reorder the game column contents... actually there is a "official" way to order them by content type ---> "format_ascend"
For me this seems to be the "target" that is interesting for us because what we need is to "improve" this formats identification (to include homebrew)

The first problem is we dont want to break the official CATEGORY's (a homebrew with an invented CATEGORY like "HB" will not work in a not-modded XMB)

There are other alternatives better than "PCengine" and "NeoGeo"... but we will have the same problem when messing with official "reserved" stuff so there are high chances to break something

In all this cases we will be very restricted because we will have to use reserved stuff to difference several different types of hombrew, and (at first sight) i see no clean way to reuse a parameter for this

------------------------
The most flexible solution is to add a completly new parameter supported by .SFO's (one that doesnt exist in any tools)
The better one i imagine we can add is SUBCATEGORY... because it needs to be dependant of CATEGORY... the name is very intuitive and can be limited in lenght in the same way than CATEGORY

So we can identify them e.g:
CATEGORY "HG" + SUBCATEGORY "T1" === Tools 1
CATEGORY "HG" + SUBCATEGORY "T2" === Tools 2
CATEGORY "HG" + SUBCATEGORY "T3" === Tools 3
CATEGORY "HG" + SUBCATEGORY "EM" === Emulators
CATEGORY "HG" + SUBCATEGORY "MP" === Media Players
CATEGORY "HG" + SUBCATEGORY "HB" === Homebrew Games
CATEGORY "HG" + SUBCATEGORY "BM" === Backup Managers
CATEGORY "HG" + SUBCATEGORY "FM" === File Managers
Etc...

This solves all the problems because we have freedom to add whatever SUBCATEGORY's we need
But... is not supported in any tool (will break the oficial tools, and hombrew tools will need to be updated with it)
Also, it will need an agreement from all the developers community to use this new SUBCATEGORY's

Discussing about it with euss he suggested that an automated app (to repackage the old homebrew) can solve this last problem, the tool will need to unpakg... rebuild .SFO... and repackg

The last hope for this to be something "standard" is to convert all this .xml modifications in a .tcl patch for MFW... this is the only way to make it "standard" by now (well... is needed much more than this because it needs the agreeement of lot of people)... but here is the idea
sandungas is offline   Reply With Quote
Likes: (1)
Old 09-26-2012   #242
cfwprpht
Homebrew Developer
 
Join Date: Jan 2012
Posts: 112
Likes: 166
Liked 181 Times in 49 Posts
Mentioned: 57 Post(s)
Tagged: 0 Thread(s)
If im not wrong than we would need to add thoes new param's to the vsh.self cause simply adding them to the registory.xml doesn't work.

I need more free time to play arround with that
************* [ - Post Merged - ] *************
I will write the patches to a .tcl and post it here then.
cfwprpht is offline   Reply With Quote
Old 09-26-2012   #243
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 510
Likes: 244
Liked 507 Times in 214 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Originally Posted by cfwprpht View Post
If im not wrong than we would need to add thoes new param's to the vsh.self cause simply adding them to the registory.xml doesn't work.

I need more free time to play arround with that
************* [ - Post Merged - ] *************
I will write the patches to a .tcl and post it here then.
Dont worry for the .tcl patches... by now this idea of subcategory's is only a suggerence (to the whole community)
I think is better to start documenting what changes are needed for this to work, we have this wiki page that is related. The "discussion" page is empty and we can use it for this
http://www.ps3devwiki.com/wiki/XMB_XML_Coding

Last edited by sandungas; 09-26-2012 at 06:36 PM.
sandungas is offline   Reply With Quote
Old 10-03-2012   #244
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 510
Likes: 244
Liked 507 Times in 214 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Just an update to the progress on PARAM.SFO page on wiki...

The info i wrote yesterday about SAVEDATA_LIST_PARAM (storing the "folder size" in the game "the orange box") is 100% verifyed, but is not enought...
http://www.ps3devwiki.com/wiki/PARAM...ATA_LIST_PARAM

The problem is there are other games that uses this parameter to store other data, an example is "gran turismo 5", but i remember others that stores texts (i just used gran turismo as an example because is obvious the value stored is text---> "GAMEDAT")

What we need to know is how many different values can be stored there... by now we have 2:
-a string of text (his purpose is completly unknown)... e.g: in "gran turismo 5"
-the "folder size" (how is used is unknown, but looks like a "security" feature)... e.g: in "the orange box"
-others ?

We need more examples, and we need to know if there are other possible info that can be stored there, so this section of the page by now is "partially unknown"

Last edited by sandungas; 10-03-2012 at 05:12 AM.
sandungas is offline   Reply With Quote
Likes: (1)
Old 11-04-2012   #245
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 510
Likes: 244
Liked 507 Times in 214 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
Bump... for historycall purposes

4.30 firmware has an interesting feature back... a "widget"


Something similar was used in previous firmwares... and removed in next ones


I never saw this working because i bought the PS3 after this firmware (the second image i mean)... i dont even know what firmware used it (but iirc there are remaining folders in dev_flash for this format/feature in all firmwares)

Initially seems different windows in this 2 screencaptures, but the thing that has in common is are taking info from other files (the old one links to RSS new pages, and the new one uses trophy info from the profile)

Are interesting because can be the "official way" to active/deactive/configure functions in custom firmwares e.g:
-active/deactive plugins ?
-all the functions of toolbox.pkg from rebug REX firmware ?
-display RSS news (like ps3devwiki)
-etc...
__________________
sandungas is offline   Reply With Quote
Likes: (4)
Old 11-08-2012   #246
Ada Love Lace
Homebrew Developer
 
Ada Love Lace's Avatar
 
Join Date: May 2012
Posts: 398
Likes: 337
Liked 158 Times in 110 Posts
Mentioned: 43 Post(s)
Tagged: 0 Thread(s)
I like the widget idea , it s something really nice if it can be done for homebrew. It remind me the top right icon on XMB displaying playstation infos such special offer or news games (there are anything already done in term of homebrew for change it?)

From the SFO Test Deroad homebrew on cfw REX 4.21, category BV goes to Video, WT (FW min 3.70) goes to TV/Video. SInce we already had category for that (AV and AT),

AV might no be use anymore from Sony (but already apps such Netflix probably will still use if update),

BV & WT was may be already on previous FW (don t know if the infos on xmb data base page was based on 3.55 or lower or higher) but WT required 3.70 FW at least (may be just make sure any WT apps run properly with this FW min).

May be it s the official way Sony want to make clear difference between this 2 category ( i forgot exactly but when TV/Video was hidden, AT category goes to Video ( when it s not with one of the ID of the data base know as TV apps)?
Ada Love Lace is online now   Reply With Quote
Old 11-10-2012   #247
sandungas
Homebrew Developer
 
sandungas's Avatar
 
Join Date: Oct 2011
Location: dev_hdd0/home/
Posts: 510
Likes: 244
Liked 507 Times in 214 Posts
Mentioned: 100 Post(s)
Tagged: 0 Thread(s)
This widgets are an option to put "custom stuff" in XMB using "official functions"
I honestly have no idea how it works, i never spent the time enought in them to understand it... all i know is widgets are dependant of vsh.self (but this is like saying nothing... because all the XMB is dependant of vsh.self)

In next weeks/months @ps3hen will start documenting stuff related with XMB, and he will create new pages in wiki

Yesterday i changed a bit the table for "category in hdd contents"... i added this "comentary" for BV & WT (is just a suggestion of how to add notes to them)... if is not enought you can create a new row for them... or move the notes to the bottom of the table or at the right
The apps listed at the right of AV and AT was verifyed by me (im 99% sure because i was looking for "rare" stuff and this apps was at the top of my list of "interesting stuff")... maybe sony changed his category later with an update, i dunno

The info on "xmb database" page was taken from a lot of different firmwares... maybe around 3.70 yep (in the history of this page are the dates of the edits... you can try to find what firmwares was availables at this date)
__________________
sandungas is offline   Reply With Quote
Old 11-10-2012   #248
Ada Love Lace
Homebrew Developer
 
Ada Love Lace's Avatar
 
Join Date: May 2012
Posts: 398
Likes: 337
Liked 158 Times in 110 Posts
Mentioned: 43 Post(s)
Tagged: 0 Thread(s)
Originally Posted by sandungas View Post
The apps listed at the right of AV and AT was verifyed by me (im 99% sure because i was looking for "rare" stuff and this apps was at the top of my list of "interesting stuff")... maybe sony changed his category later with an update, i dunno

The info on "xmb database" page was taken from a lot of different firmwares... maybe around 3.70 yep (in the history of this page are the dates of the edits... you can try to find what firmwares was availables at this date)
For AV i added one example (Hulu) to confirm it was not BV.
For VF (playstation store) also and goes on network as HG (Deroad tools did not like this VF but still we caught it)
For game save and MS, it can also apply to regular psp game or apps (senseme channel for example , it s like different background when playing music) and psp remastered still is needed so no big change for this part right now. And the FW min it s possible to transfer PSP save (same internal path than minis)

I did not change the main page of SFO because you have better ideas than me for that (may be icon for PSP on MS?).

For Playstation Store, it s appears also on others (video and game) but column reference on the page should be probably network (need to make sure). This triple appearance is in fact a bit weirdos but it was something already on the past we experimented with relation between category SFO and column.
E.g.:It was related with the id folder to make or not appears TV , also up to the database/SFO ID in one case i encounter, and up to account region (this is easy to visualize because in Japan account , TV did not appear on 3.55).
And the fact than VF did not appear with the SFO TEST tool but went to unknown folder (as kind of garbage for game folder, with ? or corrupted icons) even the FW contain for sure this category.
For VF, there are one other little thing may be as locale ip address with account region.

Last edited by Ada Love Lace; 11-10-2012 at 10:06 PM. Reason: VF less or more simple theory
Ada Love Lace is online now   Reply With Quote
Old 11-10-2012   #249
jarmster
Member
 
jarmster's Avatar
 
Join Date: Feb 2011
Posts: 393
Likes: 53
Liked 86 Times in 58 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
I have a related question
I am curious why i can not keep the changes in the params.sfo file with multiman...
I have gone as far as to decrypt the multiman pkg edit the params file and repkg the application and install it. I've changed the title and the title id to another game..
It displays my new title untill i run multiman and then shut it off
The title id remains but the title keeps returning to multiman.. I've even change the installation folder. I tried changing the app_ver even though this is a fresh install and not an update....It keeps returning to multiman......It's driving me nuts
jarmster is online now   Reply With Quote
Old 11-10-2012   #250
Ada Love Lace
Homebrew Developer
 
Ada Love Lace's Avatar
 
Join Date: May 2012
Posts: 398
Likes: 337
Liked 158 Times in 110 Posts
Mentioned: 43 Post(s)
Tagged: 0 Thread(s)
Originally Posted by jarmster View Post
I have a related question
I am curious why i can not keep the changes in the params.sfo file with multiman...
I have gone as far as to decrypt the multiman pkg edit the params file and repkg the application and install it. I've changed the title and the title id to another game..
It displays my new title untill i run multiman and then shut it off
The title id remains but the title keeps returning to multiman.. I've even change the installation folder. I tried changing the app_ver even though this is a fresh install and not an update....It keeps returning to multiman......It's driving me nuts
The title itself, MulTiMan might not be an problem to change (some peope have done videos to show theirs "own" backup manager by replacing it and fews png) but ID of it (it s like BLESS80000 something) might be (heavily) coded in different part of the eboot/etc... for internal functions.
I don t understand the last part : keeps returning to multiMan.

Irrc, the ID itself is from real game.
Also, it can be also FW related (with REX).
You can try with the SFO Deroad tools for quick tests with SFO, there are both version available (3.55/ 4.21 at the end of param.sfo wiki page or here on the topic related to resigned homebrew).
Ada Love Lace is online now   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:42 PM.