I want to answer this better as I was busy when I replied to it.
I like all the ideas about integrating into XMBM+ and updating XMBM+ etc. Creating an installer that could find strings / backup and edit files etc would be great. For example in the game category xml, the section where the xmbm+ query is added could easily be searched for on a hex level as that wont really change in other FWs.
Here is a basic idea for starters, (Im sure you guys will come up with better ideas but just for discussion anyway):
This string/section could be searched for in the category_game.xml's (on a hex level or a plain text level):
Code:
<Query
class="type:x-xmb/folder-pixmap"
key="game_xmbm_hdd0"
src="xmb://localhost/dev_hdd0/game/XMBMANPLS/USRDIR/game_main.xml#seg_xmb_hdd0_app"
/>
If it exists then the installer knows that XMBM+ is already installed (flash files anyway), either because its Rebug FW or because someone has installed it already on other FW.
If it doesn't exist then the string below can be searched for (again on a hex level or a plain text level),
Code:
<Query
class="type:x-xmb/folder-pixmap"
key="seg_package_files"
src="#seg_package_files"
/>
If it is found then the first string can be added below it. If its not then the installer can throw an error. This same theory could be used to offer options on where to install it to exactly.
As its only a 1 line edit (could all be added on 1 line I mean), and its conditional on an exact string being found first, and its only a query being added at that, I think not much can go wrong..
Once such an installer was made it could be used for loads of mods. Could be made noob friendly like the XMBM+ installer, for example, people include a searchfor.txt/.bin and a replacewith.txt/.bin inside folders with the correct path, and then the files to install to hdd etc or something like that, you know what I mean, could maybe even be built onto the XMBM+ installer as that already has the backup and install to hdd functions, I dunno, would be a nice project for someone with the skills. Wish I had them.