atomicdryad
Paradigmatic Apprentice
Posts: 23.4380 Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
|
[v 0.3] cxmb-override: themes from ctf or ms0
ACHTUNG! WARNING! DISCLAIMER! Please help test!
Before you use this, be sure to know how to use RECOVERY MODE to disable the plugin, if you put in a bad replacement.
This is cxmb with matchung's changes for 5.50gen functionality, plus the following change:
If a file exists on the memory stick in the /cxmb/override/vsh/module, /cxmb/override/vsh/resource, or /cxmb/override/font folders, it will load the file -instead- of whatever may be in a .ctf.
Yes, this includes .prx files, (except for paf.prx, common_gui.prx, and vshmain.prx which will be added later). This means you can hex edit htmlviewer_plugin.prx and change the 'online instruction manuals' link to whatever, without unpacking and repacking your .ctf. This also opens the possibility for homebrew to edit this sort of thing onboard.
This is intended for theme developers, power users, and anyone who wishes to use their own gameboot or 01-12.bmp instead of what may be in the loaded theme.
As CXMB is licensed under the GPL, the full source code is provided in the source directory.
Caveats:
* For now, one must have a .ctf theme loaded for /cxmb/override/ to work.
* Semi-bricking possible if one puts in a bad .prx or .rco - this can be fixed by disabling cxmb-override.prx in recovery mode.
* Adding certain stuff like 01-12.bmp will require a reboot. Others like gameboot.paf do not require it. When in doubt, reboot.
* The included binary outputs debugging messages, which are normally invisible but may have a performance impact.
Tested so far:
* Firmware: 5.50gen d3final
* .ctf Theme: http://endlessparadigm.com/forum/showthr...518&page=1
* Replacements: 01-12.bmp, gameboot.pmf, htmlviewer_plugin.prx, topmenu_plugin.rco, htmlviewer_plugin.rco
Installation:
* Download from http://code.google.com/p/cxmb-override/
* copy cxmb/cxmb-override.prx to the cxmb folder on your memstick.
* (optional) copy the cxmb/override folder to cxmb/override on your memstick. This contains a gameboot and 01-12.bmp that have been tested to work (yes, the wallpaper is moronic :P).
* in /seplugins/vsh.txt, disable ms0:/cxmb/cxmb.prx
* in /seplugins/vsh.txt, add ms0:/cxmb/cxmb-override.prx 1
Usage:
* To replace a gameboot.pmf or 01-12.bmp, toss it into /cxmb/override/vsh/resource/
* The above likely applies to waves and whatever was included in TheCraziness1's 'XMB RCO Patcher'
Debuggery:
The logfile debugging function in the original cxmb croaked with high volume logging. The included binary prints to stderr instead, which means psplink and pspsh.exe are needed to see informative messages. If you want to help debug issues, a .zip of a working psplink and utilities can be provided.
I would appreciate testing and source review, as I am not -that- familiar with C or PSP programming.
Todo:
* TESTING
* Reading from /cxmb/override without a loaded ctf.
* Find a better way to check for a file's existence than just attempting to open. This applies to .ctf too.
* vshmain.prx and others.
* conf.txt options for debugging/enabling/etc.
Why:
rco_patcher.prx provides functionality for replacing .rcos only, and doesn't work with cxmb.
Thanks:
* Dark_alex for cfw and especially a recovery menu with usb mode :P
* The original author of CXMB for creating it and placing it under GPL, who's name I am ignorant of because I are the noob.
* Poisonhzkj, Poison, and Matchung for coding and updating cxmb.
(This post was last modified: 30/06/2010 01:06 PM by atomicdryad.)
|
|
12/06/2010 05:00 AM |
|
atomicdryad
Paradigmatic Apprentice
Posts: 23.4380 Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
|
RE: [ALPHA] cxmb-override: themes from ctf or ms0
(12/06/2010 05:06 AM)SkyDX Wrote: I'm scared... do wee have some mind readers here? That was exactly was I wished for a few days ago!^^ Finally I can skip that annoying .ctf rebuilding and have iPhone Winterboard Style theming on my PSP^^
Thanks matchung and atomicdryad!
Please post if it works (or causes your psp to burst into flames o.o)
|
|
12/06/2010 05:08 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [ALPHA] cxmb-override: themes from ctf or ms0
This sounds pretty sweet - yay, overriding gameboot without having to rebuild CTF! :)
Thanks atomicdryad!
|
|
12/06/2010 05:09 AM |
|
Gadget
ɯƃıpɐɹɐd ssǝןpuǝ
Posts: 908.2697 Threads: 69
Joined: 23rd Apr 2008
Reputation: 0.85528
E-Pigs: 63.3012
|
RE: [ALPHA] cxmb-override: themes from ctf or ms0
This is really nice! I always wanted a plugin like this. THanks for sharing!
|
|
12/06/2010 07:56 AM |
|
WoobiE
Paradigmatic Entity
Posts: 173.2251 Threads: 21
Joined: 11th Apr 2009
Reputation: 0.85528
E-Pigs: 17.6274
|
RE: [ALPHA] cxmb-override: themes from ctf or ms0
Sounds interesting. Might make theme making a bit more simple. When wee say .RCO files, are wee talking most .RCO files? Like the main icons as well?
|
|
12/06/2010 05:18 PM |
|
atomicdryad
Paradigmatic Apprentice
Posts: 23.4380 Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
|
RE: [ALPHA] cxmb-override: themes from ctf or ms0
This is compatible with 5.0 too. You don't need the old cxmb. It can replace all rcos - I'm using one for a different volume display now.
|
|
13/06/2010 02:17 PM |
|