Post Reply 
[v 0.3] cxmb-override: themes from ctf or ms0
override flash0/ctf rco/prx/pmf/bmps from memstick
Author Message
atomicdryad
Paradigmatic Apprentice

Posts: 23.4380
Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
Offline
Post: #1
[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
Find all posts by this user Quote this message in a reply
SkyDX
Guardian of the Shining Sky
Team DreamArts

Posts: 2,850.3364
Threads: 305
Joined: 16th Jul 2007
Reputation: 2.15096
E-Pigs: 173.5065
Offline
Post: #2
RE: [ALPHA] cxmb-override: themes from ctf or ms0
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!

[Image: EgGYGSX.png]
TwitterMyAnimeList lastFMBlogdeviantART

Spoiler for Old Rainbow Sounds sig^^:
[Image: 6yWvk.png]
12/06/2010 05:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
atomicdryad
Paradigmatic Apprentice

Posts: 23.4380
Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
Offline
Post: #3
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
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #4
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
Visit this user's website Find all posts by this user Quote this message in a reply
Gadget
ɯƃıpɐɹɐd ssǝןpuǝ

Posts: 908.2697
Threads: 69
Joined: 23rd Apr 2008
Reputation: 0.85528
E-Pigs: 63.3012
Offline
Post: #5
RE: [ALPHA] cxmb-override: themes from ctf or ms0
This is really nice! I always wanted a plugin like this. THanks for sharing!

PSN: Brick_Factory

Spoiler for sigpic:
[Image: 157nb04.png]
Spoiler for NeCr0-B0T:
Necro-Bot
Necro may refer to:
    * necro-, the Greek prefix meaning death
Bot or BOT or similar may refer to:
    * Internet bot, computer program which does automated tasks
    * Botnet, network of "zombie" computers used to carry out automated tasks such as spamming
12/06/2010 07:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
WoobiE
Paradigmatic Entity

Posts: 173.2251
Threads: 21
Joined: 11th Apr 2009
Reputation: 0.85528
E-Pigs: 17.6274
Offline
Post: #6
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
Find all posts by this user Quote this message in a reply
Mr. Shizzy
ɯɹ˙ sɥızzʎ

Posts: 2,973.4020
Threads: 415
Joined: 21st Feb 2007
Reputation: -2.36574
E-Pigs: 160.1496
Offline
Post: #7
RE: [ALPHA] cxmb-override: themes from ctf or ms0
Cool   Madwin

I hope you make a 5.00 compatible version for M33 users   Ahaa

PSP 2001 [TA-088v2]: 6.39 ME-9.7
[Image: 4kly6c1.gif]
Sig by Mr_Nick666
12/06/2010 08:46 PM
Find all posts by this user Quote this message in a reply
shaqdarcy
Able One

Posts: 85.2838
Threads: 9
Joined: 18th May 2010
Reputation: 2.72871
E-Pigs: 13.4747
Offline
Post: #8
RE: [ALPHA] cxmb-override: themes from ctf or ms0
so does this plugin only allows certain RCOs and PRXs to load? or it allows all RCO and PRX that were used in theming? by the way does this one supports animated thingy? Nice tool though, for me it's a tool instead of a plugin. Madwin

I wonder if someone can code an application that can run ctf themes in our PC so that wee don't have to move it to our psp to test it. I want to create one using VB language since I know how to program in VB but don't know where to start.

The BEST thing that I like in Custom Firmware is that it can use custom themes unlike in Official Firmware. If official firmware can use ctf themes I'll switch to Official Firmware. Yay
12/06/2010 10:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
nickxab
Pro hacker

Posts: 545.3302
Threads: 40
Joined: 23rd Feb 2009
Reputation: 1.65651
E-Pigs: 21.2108
Offline
Post: #9
RE: [ALPHA] cxmb-override: themes from ctf or ms0
Nice but i have a question.
Original cxmb plugin must be in his folder even if wee disable it from the recovery ?

I was born with a d*ck in my brain, yeah ,f*cked in the head

Phat PSP 1004 TA-079 v3 + Sony 16GB Mark II + tiltFX with 6.60 ME 1.6 + leda 0.2
Phat PS3 CECHG04 40GB (750GB int. + 500GB ext.) with REBUG 3.55.2 OTHEROS++
iPhone 3G 8GB jailbroken with iOS 4.2.1
PS2 Slim model SCPH-75004 + Free McBoot 1.8b + uLaunchELF v4.42 + ESR beta r9b
[Image: userbar794826.gif]
[Image: userbar781446.gif]
13/06/2010 09:52 AM
Find all posts by this user Quote this message in a reply
atomicdryad
Paradigmatic Apprentice

Posts: 23.4380
Threads: 2
Joined: 11th May 2010
Reputation: 0
E-Pigs: 3.0017
Offline
Post: #10
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
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: