PS3 [Work In Progress] Using the Photo grid layout to mount games

Not needed to try this first one, read the post below, the order doesnt matters so this test is pointless because you tryed the opposite order before
In short, try this (im just changing the order with the %xCB most at right)
Code:
src="xcb://localhost/query?cond=Ae+PhotoList:Common.tags PS3+Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS"



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



Or this (this could work only if the PhotoList:Common.tags exists, im not completly sure about if it exists)
Code:
src="xcb://localhost/query?cond=Ae+PhotoList:Common.tags PS3"

Or this (im combining "Photo" with "PhotoList" in the same "src" line, not sure if this combination is valid)
Code:
src="xcb://localhost/query?cond=Ae+Photo:Common.tags PS3+Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS"

Or this (most probably this is going to work, but im not sure if are going to be displayed in a grid)
Code:
src="xcb://localhost/query?cond=Ae+Photo:Common.tags PS3"
 
Last edited:
Another thing that could be a problem in your tests (not sure if is a syntax mistake) is the value of "PhotoList:PhotoList.type" (where appears the %xCB_WHATEVER), as far i remember in the official XMBML files is usually located at the last position, but you are using it at first position
Im looking at this and there is no problem about the order, usually the %xCB_WHATEVER are located at the end, but there are several samples in OFW where is located first (with more conditionals at his right)
So the position doesnt matters, is valid anyway
 
What about mixing in attributes as well as conditions? Do you know if there might be a way there? I know adding "&attr=" is accepted as valid xml, but I dont know how to use those in this case.


P.S I will try your latest examples when I chance, I have tried a lot of that kind of thing. I think these albums are different due to not existing at all anywhere, there is no file info, they are just a file tag.
 
The parameters availables depends of the function used, in the way you are doing it you are using xcb://localhost/query?
It allows for a lot of parameters, "attr " is marked as "to confirm" in wiki though
https://www.psdevwiki.com/ps3/XMBML_Functions#xcb:.2F.2Flocalhost.2Fquery.3F

--------------
Yesterday i was taking a look at the idea i was talking about to cummulate functions by using registory.xml as a "proxy" to access the database, what i wanted (in concept) was to use a specific filter in registory, and another filter in the other XMBL file (that loads the registory.xml), but now i have doubts
The biggest difference is in the other XMBML files that loads stuff from registory.xml are used special functions, as example the sel://localhost/ex?
https://www.psdevwiki.com/ps3/XMBML_Functions#sel:.2F.2Flocalhost.2Fex.3F

That names of the functions "xcb", "sel", etc... could trigger special display modes for them, are a bit/lot unknown
Anyway, as you can see in the example of the second wiki link category_game.xml is using sel to access registory.xml and inside registory.xml it does a xcb

Also, take a look at the <item>'s names at bottom of registory.xml, the entry point is "view_selected" (and contains a list with the other views)
Then the other views are doing the "xcb"... but are loading the "cond" and "sort" settings from different lines
In few words.... the names you see at bottom for the <item>'s can be grouped like this:
-view_something <--- entry points
-cond_something <--- the conditions for the entry points
-sort_something <--- the sorting methods for the entry points

I was thinking if there could be some way to take advantage of all this to do 2 consecutive searches. In the first one we filter a group with "Photo", and the second filter with "PhotoList"
Dunno, im explaining it just to be clear why i was talking about this... but at this point i dont have much hopes for this idea to work
 
Last edited:
I get you, I was thinking about that too but from all my tests I can not find any difference between using the functions in the category xml with "xcb" or linked back to the registry xml via "sel". I have tried a lot both ways but so far nothing different.

Basically like you say the "sel" just looks to the registry xml and allows you to change the sorting using square...But if I enter the actual destinations of any of those "sel" entries directly into the category xml, they work there too. I think the only function of "sel" is to allow the swapping of the command...I do not think it can allow COMBINING. Maybe I am wrong but that is where I am now.

I still think the key in the album info that is stored in the database... There must be other identifiers for the albums in there? Like what is the mrid? We need to forget about specific file properties and realize we are only filtering by album info when we use photolist filters.

Photolist = Albums as far as I can see..and ONLY albums...

I would like to know how to use this one too, but no idea. %xCB_LIST_TYPE_PHOTO_USER_DEFINED
 
But the lists (PhotoList, GameList, etc...) contains info that has been taken from the files (Photo, Game, etc...)
Or the lists allows to access the info from the files indirectly

Let me show you an interesting example, look at this line inside registory.xml
Code:
<Pair key="format_but_1p_pp"><String>cond=Ae+GameList:GameList.type %xCB_LIST_TYPE_GAME_FORMAT+An+GameList:Common.titleForSort 2000+An+GameList:Common.titleForSort 4000</String></Pair>
The conditions most at right using the operator An (and not) are excluding "PSP" and "PS1 classics"
An+GameList:Common.titleForSort 2000
An+GameList:Common.titleForSort 4000


That values (2000, and 4000) are the identifyers we was trying to find for DB3crawler, remember there was a number directly related with the CATEGORY in the PARAM.SFO ?
Code:
HG = 1000
PE = 1300
MN = 1500
PP =  2000
2P =  3000
1P =  4000
Etc...

The weird thing is we can see in the official code of registory.xml that numbers are used in GameList:Common.titleForSort... but im completly sure that values are really stored in Game:Game.gameCategory
I mean... there is some kind of link in between them... either because:
Theory 1) Is accessing the Games individually "through" the GameList
Theory 2) When the GameList is generated it copyes the value from Game:Game.gameCategory and stores it in GameList:Common.titleForSort


The theory 1 is the most probable, it looks the games with value 2000 and 4000 are included in the original GameList, but the An conditions excludes them
So it looks the firmware is scanning the Game:Game.gameCategory of all the games indirectly by accesing a single GameList:Common.titleForSort










*Btw this connection in between Game:Game.gameCategory and GameList:Common.titleForSort smells like a dirty official patch.... because it doesnt makes any sense to use the name "titleForSort" to store a number (and that number being an identifyer for game types)
I mean... i dont se the "title" anywhere, and that numbers doesnt seems to be used for any kind of "sort" method
 
Last edited:
Is it possible to show only the image files in a specific directory? e.g .bmp in the hdd0?

i made it using the pkg search, but it doesn't open as an image file
 
e.g

<Query class="type:x-xmb/folder-pixmap" key="screenshots" attr="screenshots" src="host://localhost/q?path=/dev_hdd0&suffix=.bmp&subclass=x-host/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED"/>
 
Last edited:
Hello devil303
I have a question.
I create my small design with movies loaded with xml in xmb (not like the attached video from the site just straight from xmb loading movies).

And I would like to add your project to spread the videos level 5 pieces
Can you help you do so to be visible in the column?
That would be easy, you dont need this method for that, just need to build a little menu with a few folders "class="type:x-xmb/folder-pixmap""


Is it possible to show only the image files in a specific directory? e.g .bmp in the hdd0?

i made it using the pkg search, but it doesn't open as an image file
I dont think that is possible.
 
e.g

<Query class="type:x-xmb/folder-pixmap" key="screenshots" attr="screenshots" src="host://localhost/q?path=/dev_hdd0&suffix=.bmp&subclass=x-host/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED"/>
First thing needed to mention is you are using 2 different functions
You start the "src" line with host://localhost/q? and that function only allows to use path, suffix, subclass. This function bypasses the XMB database btw, is intended to be used for contents that are not indexed in the database (like the PKG files at root of a USB intended to be installed from the "install packages" icon)
But the subclass=x-host/query? you used is a different function, and doesnt seems to exist, take a look here:
https://www.psdevwiki.com/ps3/XMBML_Functions#host:.2F.2Flocalhost.2Fq.3F
After that you have used table, genre, cond this ones are looking at the XMB database

So... in the first function you bypass the database, and in the second function you search in the database
I dont know if the firmware allows to do this, do you have some example of this used in OFW, or it was an experiment ?
 
First thing needed to mention is you are using 2 different functions
You start the "src" line with host://localhost/q? and that function only allows to use path, suffix, subclass. This function bypasses the XMB database btw, is intended to be used for contents that are not indexed in the database (like the PKG files at root of a USB intended to be installed from the "install packages" icon)
But the subclass=x-host/query? you used is a different function, and doesnt seems to exist, take a look here:
https://www.psdevwiki.com/ps3/XMBML_Functions#host:.2F.2Flocalhost.2Fq.3F
After that you have used table, genre, cond this ones are looking at the XMB database

So... in the first function you bypass the database, and in the second function you search in the database
I dont know if the firmware allows to do this, do you have some example of this used in OFW, or it was an experiment ?

it was just an experiment

4XAQFkC.png
Mg0KdWR.png
AxTcds4.png


They don't open ofc
 
Hello devil303
I have a question.
I create my small design with movies loaded with xml in xmb (not like the attached video from the site just straight from xmb loading movies).

And I would like to add your project to spread the videos level 5 pieces
Can you help you do so to be visible in the column?
That would be easy, you dont need this method for that, just need to build a little menu with a few folders "class="type:x-xmb/folder-pixmap""
it was just an experiment

4XAQFkC.png
Mg0KdWR.png
AxTcds4.png


They don't open ofc
Nice one, i was going to mention this method, but you have it sorted. maybe you could open the folder via local web server? idk..
 
@DeViL303 years ago you were working in a file copy plugin for XMB. At the time you were working also in the download plugin and you released the Extended Download Plugin.

I don't remember if you managed to finish the mod for copy plugin. I couldn't find the thread.

IIRC the main issues with file copy plugin were almost the same found in the download plugin.
 
Last edited:
those advantages sound really good to me. I will definately tinker with it, to see if I can find a "workaround" for the mounting part
It would be ideal if START button no longer started the slide show, but that the slideshow could still be started from the triangle menu, basically just break the shortcut to the slideshow if that is possible.

The reason this would be better is that the slideshow is kind of a feature, show off your games, or if you cant decide what to play just start a slideshow until you see something you like. Its a bit more like looking at your games on a shelf in a real life.

BTW here are some of the other advantages to this method from the first post.
Some of the many advantages.
  • A very nice view that can utilize full resolution covers.
  • All icons always in correct proportions.
  • These can be "ran" from USB or from HDD.
  • It allows fast browsing of lots of files with its 5 rows across, 500% quicker browsing.
  • No actual manager is really needed if this method is used.
  • I'm not even sure if webman is required, Cobra could maybe do it all based on just detecting the info above. If not, a simple plugin could do this, webman mod would be overkill almost but perfect at the same time.
  • No xml generation required! This uses the system database files like official games.
  • The game list will be updated dynamically based on existing covers!!
  • This is massive, a new cover can be added to a folder on HDD or USB, and instantly its available for mounting. So you can ftp in a new game, and new cover, and boom, ready to go, no rebooting required.
  • When a game gets ripped, the cover can get added to the folder so it appears.
  • This most likely uses LESS RAM, as i can browse over 11,000 cover with no issues. not possible with normal xml XMB items. (See video)
  • Albums can be made on the console easily by just moving images around.
  • Albums can be made on PC easily by just filling folders with JPGs and using USB "display all"
  • Thousands of files can be shown with great performance, see my video of over 10,000 covers.
  • We can add comments to the files.
  • We can change the displayed names, without changing the file names.
  • We can copy and paste these covers from USB to HDD etc, full control.
  • The sorting/grouping method mode can be changed
  • Not only that, but set differently to the normal game grouping.
  • You can even view a slideshow of your game collection while you try to decide what to play.
  • Other functions could be added just by adding other images. Like a album or folder called settings. In that folder every item could trigger a settings change.
  • Maybe we could even have it so copying was linked to the images? So if you copied an image from usb to dev_hdd0, it would actually copy the game too, not sure if that is possible, might be if we can read that log.


There is a bit of an issue with filtering, at the moment the only way I have found to stop these photo abums showing up in the photo category too, is to add a condition to the registory.xml that excludes albums with a specific amount of images.

For example, if you have 254 PS3 games, you make a filter that blocks albums with 254 images from showing in the photo cateogry, and a another filter that ONLY allows albums with 254 games to show in the game category.

The other option is to just not filter at all, this will work fine for people who do not use their PS3 for actual pictures.

Both of these are not ideal, ideally we would be able to filter by something else, like filetype, or resolution, or file name. But I could not get any of those to work. If you read the last few pages of this thread you will see the things I have tried. If you have ideas about this filtering issue let me know.

Also worth noting, this filtering method through registory.xml and the image count, requires that xml to be updated if the amount of games change, so this then requires a reboot, not ideal.
 
Last edited:
It would be ideal if START button no longer started the slide show, but that the slideshow could still be started from the triangle menu, basically just break the shortcut to the slideshow if that is possible.
I think it is possible to jump the call for the slideshow when pressing START, but not sure. I will take a look at it
 
@DeViL303 years ago you were working in a file copy plugin for XMB. At the time you were working also in the download plugin and you released the Extended Download Plugin.

I don't remember if you managed to finish the mod for copy plugin. I couldn't find the thread.

IIRC the main issues with file copy plugin were almost the same found in the download plugin.
Hey, only just seen this.

I didnt get very far with the copying tbh. I could get it to display ISOs and PKGs on the XMB for example. and allow those to be copied from FAT32 usb to internal and the other way. But it was a bit hacky requiring other file types to be replaced and then using one of the media categories to be used. It was a very simple mod, just overwriting existing file types in the list in one of the mms plugins.

I'm not sure if its a viable option really as the files end up in the media folder on hdd, so need to be moved really, not sure, there might be something there.
 
I think I have misunderstood this whole photo gui thing. it is a cobra opcode utilized by wMM, damn. I thought it is just a simple prx mod. so can you explain to me how this even works @aldostools?
 
I think I have misunderstood this whole photo gui thing. it is a cobra opcode utilized by wMM, damn. I thought it is just a simple prx mod. so can you explain to me how this even works @aldostools?

It works like this:
1- The user press START on a photo using XMB.
2- That event loads some system files in /dev_flash
3- The event is detected and captured in open_path_hook of Cobra
4- Once the flag is turned ON, open_path_hook reads the next path for an image file.
5- Once an image file is detected, the flag is turned OFF and a wm_request file is created on HDD with the path of the selected image
6- webMAN polls if wm_request was created. If it's found, the path is parsed, and the game is mounted based on the name of the image.
 
Last edited:

Similar threads

Back
Top