PDA

View Full Version : Beginner's Wave Creating and Editing


{Lon3} Assassin
02-12-2007, 09:34 AM
Although TGAWave now allows you to create colours within your waves by importing images, this program still allows modification of wave shapes, as i will explain within. Be original guys, dont just stick a picture in and call it unique, go the full mile!

This tutorial gives you the software and information to create any wave of your choosing, as simple or as advanced as you like. There are no downsides, your PSP will remain completely save provided you have a recovery menu and backup your original "system_plugin_bg.rco" which is the file we will be hereon working..on.


TGA Wave (add your own textures to waves) (http://www.lostnovice.com/vulpix/TGAWave.rar)
This tutorial also applies with TGAWave, so you can shape the wave using hex and colour it using TGA. To do this, follow the following simple steps:

Whereever you extracted TGAWave - bin edit the "system_plugin_bg_deflate_part1.bin" (back it up before editing!!!) then use the bat file as usual. The hex editing is exactly the same as desribed for XMBWave BELOW!, only TGAWave's bin files, handily enough, only provides the part you should edit and leaves the rest in a seperate file.

I'd also like to quickly jot down some handy file sizes for your TGA's that are compatable
Not you have to horisontally flip your image for this to work, and probebly squeeze it into a certain corner of the image for it to fit onscreen.

Width x Height:
128x128 - Default size. Images are skewed, so point your image diagonally towards the top right.
256x64 - Longer sized image. Image is more straightened
355x46 - Even longer image, Even more straight - dare i say it? - completely vertical.

These were painstackingly difficult to work out, a lot of trial and error with one pixel either way.

These are really useful if you want your name written in wave or an image presented perfectly, as-is, but then modifying wave shape is not recomended unless you manage to make a better shape - if you do LET US KNOW!


Your TGA file should be sized at exactly 16.7kb, as far as i have tested there's no leeway to this. The generated system_plugin_bg file will vary depending on content and does not matter too much.




Here's another tutorial explaining it differently
http://vbmaster.portablesofdoom.org/tgawavetut/index.html

====That was TGAWave for colouring waves, here's the rest of the tutorial for shaping waves====

So the other tutorials have been reported by everyone as pritty difficult to understand, and i found this too, so here's my own findings in a tutorial... This doesnt have specific effects, just how to do the basics. Its pritty fully blown with all the detail..(also my first post on these forums!)

Help me add to this by sharing your knowledge!

This works on ALL the latest firmware. This will probebly brick a 1.5 psp.

Also, i'd like to know how the deflated bin file was extracted if anyone wants to shed any light on it.. anyway




~~~~~~~~Hex Editing Guide~~~~~~~~~~




Backup!

Backups: (to your computer, make a folder called wave backup or something)
Firstly, after downloading XMBWave, backup your "system_plugin_bg_deflate.bin" included with the application.

Next, from your psp (however you extracted the file from flash) backup your "system_plugin_bg.rco" in Flash 0\vsh\resource


1) Backup "system_plugin_bg_deflate.bin" from pc
2) Backup "system_plugin_bg.rco" from psp


A quick explination of how XMBWave works... There's 4 *.bin files, these are basically the wave coding. dont delete them, or you have to reinstall the program.
The program also contains a "start.bat" This is like running the program. It opens up the bin files and creates a file called "system_plugin_bg.rco" This is the file your psp uses to create the background wave pattern. If you run the program without any editing, you will recive this file which is bigger than your psp's image but this is because it has been decompressed. The psp RCO file on my emulated 3.03 is 8.15KB while the program generates the same file at 40.8KB. This is normal, they create the same wave. If it isnt 40.8kb when it generates, you've fucked up.


generated file = 40.8kb - good!


Now your asking "ok, but how do i change my waves"

Hex editors!


Download a free hex editor from somewhere. I reccomend for apsolute begginners
xvi32: Basic, for n00bz like you :P
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
its very simple and easy



If you want more from your hex editor, you can grab the following, more advanced hex editors:
HHD Free Hex Editor: Pritty nice layout, easy and advanced
http://www.hhdsoftware.com/Download/free-hex-editor.exe
^^Thats what all the "cool" people are using right now :P



Or if your interested in the way this converts to hex images (really interesting program, just configure it right)
Hexplorer: Very fucking awesome
https://sourceforge.net/project/showfiles.php?group_id=88309
To configure this to look less matrix-y and more hex editor....y... do this:
View - options - font - fixed roman large
view - options - colour - black on white
These of cource can be modified for personal preferance.
Have a fiddle with this program, it does actually show wave shapes if you do certain things, but nothing's for certain here so play around yourself.



You backed it up, right?

The file you edit to change the waves is the "system_plugin_bg_deflate.bin" that you backed up at the beginning. Dont edit your backup! use the one in the folder XMBWave. Right click "system_plugin_bg_deflate.bin" and press "open with - chose program" then find your hex editor EXE, or alternatively open it from your editor.

Now you should have your "system_plugin_bg_deflate.bin" open in your hex editor. If it isnt, there's no hope for you. Therefore give up or break something.

AGH! LOADS OF STUFF!! WHAT?!?

Dont worry, its not as confusing as it looks. just think of it as changing a few things. this program is a bit crap at scrolling, but it more than makes up for it with ease of use. The left side of the screen is Hexdecimal code. the right side is the human version, basically.

A hex code is two letters or numbers (limited by the way they can go together) to form a letter, symbol, number etc. I dont expect you to learn hexdecimal, but for example, A is 41 in hex, and a is 61.

using the right hand side of the screen scroll down to something that counts up, such as letters, numbers or even symbols. if you look on the left side, the translation will show in HEX that each is seperated by 00, or a blank space. dont edit the spaces, edit the letters or numbers or symbols.

If you feel creative, you could try editing the hex side of the screen.

When you've messed about enough, save and exit. File - save or quit and say you wanna save it.
**note** dont mess about TOO much, or no wave will load. Dont forget you have your backups.
Your psp shouldnt semi-brick from this provided there is a wave to display, worst thing thats happened to me is the wave dissapears.

return to your XMBWave folder, and click the "start.bat" file. a "system_plugin_bg.rco" will be generated.
put this in Flash 0\vsh\resource using whatever you use to flash things to your psp. The new USB mode in recovery makes this a sinch, but you could also use something like PSPFiler, if you know how to use it well enough. If you have backed it up, its safe to replace the file.

Fully turn off your psp.
Turn it back on.
Get ready.
Like it? keep it


1) hex edit "system_plugin_bg_deflate.bin" & save
2) run "start.bat"
3) copy "system_plugin_bg.rco" to psp
4) reboot


dont like it? or want to make more?

remember your backup folder?
open it, copy your "system_plugin_bg_deflate.bin" back into the XMBWave folder, edit it again, and repeat the process.

~~~~~~~~~~~~~~~~ Hexy details ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As for the values and what they do, as opposed to just entering random crap or patterns? Well if you like doing that, bear in mind the two extremitys, 01 in hex, being the minimum enterable amount (besides 00 which sometimes breaks things), and FF in hex, being the maximum enterable amount.


To edit the right stuff, check this out.
Try using your hex editors "goto" function if it has one. This SHOULD be "CTRL+G"
Hex or decimal?

According to Sepreath, these are the values (in decimal)

Edited Individually, but as a pattern to create a wave -

528 - 946 = Wave shape (I've confirmed this)
Using patterns here makes interesting effects, try hexplorer for nice tools.

Edited in groups of 3 (Think RGB(red green blue) backwards, it works as BGR(blue green red) -

7653 - 7841 = Colour (I've confirmed this) Goes from hex codes "01 - 3F, with 2 possible FFs in the group of three (eg 3F 3F 3F = white, FF FF FF = doesnt work, FF 27 FF = pink" (unconfirmed)
Increases in groups of 3, for colour and contrast. Apparently, the triplets go through shades of grey, 01 being the darkest and 3F being the lightest (seemingly white). This seems to work by overlapping 25 waves, so if you edit one triplet, 1/25th of the wave will be edited, or you'll get a thin line of colour, if you edit them all simarly you'll get a wave coloured to whatever you change it to. It seems to also have a white glow behind it, im not sure about that.

7653 - 7766 = Contrast (unconfirmed). Goes from hex codes: "01 - FF" (I've confirmed this)
Grouped to triplets, personally i havnt experimented with this, so if you know more just let me know.
25

Some known effects (point any out and I'll mention em here)

6816 - 6817 = Prism effect
Change the two numbers (human side) to get a prism effect

6937 = Black wave effect
Change 80(hex) to 7F(hex) for a black wave, change it to 91 for a white wave.


Something to think about:

The last 3 letters of the alphabet, XYZ are also common 3d co-ordinates, and the X has been confirmed to change the vertical pull of the wave.

Check out the 688 - 706 values, and the 00's(hex) in between letters, post your results from experimenting here and i'll look further into it.



WAVE SHAPE:

FOLDER IMAGE:
http://img443.imageshack.us/img443/6095/33673522gt7.jpg
HEX IMAGE:
http://img443.imageshack.us/img443/6095/33673522gt7.jpg

DOWNLOADS:
XMBWave 0.1 (http://www.psp-hacks.com/file/1054)


A few cool things:

In your hex editor settings (tools - settings or something similar) you can choose how many elements/columns in each row. Try changing this from 16 to about 64. (or fiddle if its a text entry box such as included on Hexplorer) Then change the view to just symbols (the non-hex area).

It'll just appear like you've widened the text area and hid the hex... Now...
Scroll down to the gibberish bit everyone ignores... BEHOLD! The gibberish actually forms wave shapes. Go a bit further down and you get diagonal lines. Perhaps if this was changed, rather than randomising the wave we could artistically shape it. Just a thought for ya.

In XVI32, this is more difficult to do, the "appearence" tab of options asks for font size, rows and columns (change columns, and click the "hide address of rows" and the hex cannot be hidden, but like i said it's a more basic one. Here's some hawt screenshots.

HHD example:
http://img259.imageshack.us/img259/3585/hhdry7.jpg
Hawt huh?

Hexplorer example:
http://img252.imageshack.us/img252/7766/hexplorersl0.jpg
Even hawter.



Hope this helps guys.

Carry on with the psp hacking. I LOVE this site.
0.o My first post! Wow, first post, first sticky!

This is all very disorganised right now and looks complicated and confusing but it really isnt if you read it step by step, which is hard when there's so much text, but I'll tidy it up when i have time i promice.


Special thanks go to Sepreath (http://www.psp-hacks.com/forums/profile.php?id=32346), i couldnt have got half of this done without him. Check his thread out here. (http://www.psp-hacks.com/forums/about71808.html)
Thanks to Mitch_The_PSP_N00b (http://www.psp-hacks.com/forums/profile.php?id=23888) who revealed some useful values here's his research (also in this tutorial) (http://www.psp-hacks.com/forums/post.php?tid=71808&qid=752504)
Thanks to ZiNgABuRgA (http://www.psp-hacks.com/forums/profile.php?id=25660) who stickyed this thread then had the glory taken from him (My bad, I'm sorry). Your a great guy and you've seriously pushed PSP hacking forwards, we all really appreciate the work and I'm honoured you liked this.
Thanks to p0wer (http://www.psp-hacks.com/forums/profile.php?id=11553) for the title update and just generally being a great guy who's there when i need him

xukelho
02-12-2007, 10:10 AM
its awsome man! its good to me cause i never really understood much about hex stuff. not even at school.

krixxx
02-12-2007, 11:38 AM
ahh this is amazing, but can you include some screenshots thanks

{Lon3} Assassin
02-12-2007, 11:50 AM
OK they're at the bottom. If anyone wants to make one less messy thats fine.

krixxx
02-12-2007, 12:13 PM
to make an img you put something within these brackets:

{Lon3} Assassin
02-12-2007, 12:26 PM
to make an img you put something within these brackets:
I know that but i was thinking about the 56kers.... nevermind, they can burn. ;)

3cd0Widow
02-12-2007, 02:59 PM
to make an img you put something within these brackets:
I know that but i was thinking about the 56kers.... nevermind, they can burn. ;)
People still use 56k :o

xukelho
02-12-2007, 05:44 PM
man, im having a little problem... i cant turn on the flash0 usb... i think this works on 3.03OE-B thats why i tryed. if it doesnt work please tell me.
i did how i was supose to do to turn on the flash0 usb: go into recovery mode, advanced menu and it was supose to be there the 'enable flash0 option' but it wasnt... i even browsed a bit in the recovery menu but didnt found anything that i though it would allow me to to that... please give me hand

ZiNgABuRgA
02-12-2007, 08:43 PM
Nice work {Lon3} Assassin! Thanks

~~~~~~~~~~ Stickied ~~~~~~~~~~

man, im having a little problem... i cant turn on the flash0 usb... i think this works on 3.03OE-B thats why i tryed. if it doesnt work please tell me.
i did how i was supose to do to turn on the flash0 usb: go into recovery mode, advanced menu and it was supose to be there the 'enable flash0 option' but it wasnt... i even browsed a bit in the recovery menu but didnt found anything that i though it would allow me to to that... please give me hand
I believe it was added in 3.03 OE-C.

xukelho
02-12-2007, 10:25 PM
oh! didnt saw that... ma bad.
i apologise

Invalice
02-13-2007, 06:12 AM
some download links plz :)

{Lon3} Assassin
02-13-2007, 08:50 AM
Nice work {Lon3} Assassin! Thanks

~~~~~~~~~~ Stickied ~~~~~~~~~~

man, im having a little problem... i cant turn on the flash0 usb... i think this works on 3.03OE-B thats why i tryed. if it doesnt work please tell me.
i did how i was supose to do to turn on the flash0 usb: go into recovery mode, advanced menu and it was supose to be there the 'enable flash0 option' but it wasnt... i even browsed a bit in the recovery menu but didnt found anything that i though it would allow me to to that... please give me hand
I believe it was added in 3.03 OE-C.
Woohoo, thanks!

some download links plz :)
Gimmy 2 minites.

Dylan5102
02-13-2007, 01:08 PM
ok im an absolute beginner on this so, i had a semi brick (i have gone wild at it xD) so my advice is, don't go wild on it :P ;)

R2DMP
02-13-2007, 01:31 PM
Great tutorial :)

My question is: does anyone have a more in-depth hex editing tutorial? I comepletely understand the basic stated in this one and would like to learn a little bit more about hex editing.

Thanks again {Lon3} Assassin for the tutorial

Ravenmasta
02-13-2007, 02:15 PM
lol i tried and semi bricked my Psp...thank the lord for recov mode... i just dont know what and what not to edit [other than the 00's]

MaHan05
02-13-2007, 04:24 PM
so wait.... this is basicly mess around with some numbers and letters and hope it works?

ok ya we need someone to make an onscreen test program or something so you can sorta see what its gonna look like...otherwise find an easyier way.. like figure out which parts of the code mean which colors or thickness or how many lines or something.....

{Lon3} Assassin
02-14-2007, 01:54 PM
so wait.... this is basicly mess around with some numbers and letters and hope it works?

ok ya we need someone to make an onscreen test program or something so you can sorta see what its gonna look like...otherwise find an easyier way.. like figure out which parts of the code mean which colors or thickness or how many lines or something.....
I've added more detail for you, hope it helps. I'll add MORE tommorow :mrgreen:

R2DMP
02-14-2007, 06:18 PM
Great update {Lon3} Assassin!

Has anybody found any interesting presets? Like the lines and sectors, in the Hex editor, that chage the detail of the wave? I've found a couple but im not sure if they're accurate :/ This is of corse for people who are actually attempting it themselves.

I'll post tomarrow if you want them...i finally have some time to fiddle with these waves!...

EDIT: Almost forgot! For those of you who keep semi bricking your PSP (thank god for recovery mode!) try this: http://dl.qj.net/Wave-Flasher-v3-PSP-Homebrew-Applications/pg/12/fid/12658/catid/151

Wave Flasher allows you to view your custom wave before you flash it to your PSP (assuming from the comments about it. I havent tried this myself)

F-Burn3r
02-15-2007, 12:52 PM
Nice, I knew all about this except what and what not to edit, so I truely apreciate it, Thanks. I tried to flash it manually and screwed up, I think I changed the wrong numbers, lol. I then went back to recovery menu and put my other custom wave, I didn't make that though., you can find it somewhere in the forums, it is called different colour waves as a title for the topic. Ok, the link is http://www.psp-hacks.com/forums/viewtopic.php?id=73287
Thanks :->

3cd0Widow
02-18-2007, 11:42 PM
To scroll easily in xvi32 in winXP, use the up down arrow keys, in win2000 you can just scroll with your mouse wheel :)

Edit: BTW nice tutorial :)

{Lon3} Assassin
02-19-2007, 07:50 PM
Come on guys, how sexy IS THAT?! YEAAAAH!!!
Updated for lazy assed people like you. :P

xukelho
02-22-2007, 02:16 PM
tell me if i got this strait now. in order to custom my wave i should change anything that is not '00' (on the hex code)? or there are only some places can can only there be changed?

{Lon3} Assassin
02-23-2007, 08:38 PM
tell me if i got this strait now. in order to custom my wave i should change anything that is not '00' (on the hex code)? or there are only some places can can only there be changed?
No. If it counts up in the hex side, its safe to edit. Dont worry, there's another mass update coming soon when i feel happier :/.

xukelho
02-24-2007, 06:05 PM
thx

looking forward 4 the update

SXForce
03-21-2007, 04:16 PM
Hehe, nice tut, and um can this be updated :P :o

mAdc@Tz
03-21-2007, 09:21 PM
guys, did anybody test this on 3.10 firmware?

R2DMP
03-22-2007, 06:53 PM
Yeah 3.10oe-a here and it works just like any other custom firmware does :D

{Lon3} Assassin
03-25-2007, 05:07 AM
thx

looking forward 4 the update
Hehe, nice tut, and um can this be updated :P :o
Uh yeah I'm sorry about this, its been a while and ive had personal issues. You know PSP isnt everything in real life... I'll give you a few updates from my own knowledge, so here goes...

Silverspeed
07-19-2007, 09:37 PM
Yeh thanks man just researching into making my own Waves last 2 days and this helps soo much.

Im also having trouble at hombut kinda use this as a get away, keep up the great work and hope things go well for ya.

{Lon3} Assassin
08-04-2007, 11:08 AM
I've fixed it up to be a bit more upto date today, hope you guys enjoy it! Sorry I've been away so long.

p0Wer
08-05-2007, 09:36 PM
Done :)

{Lon3} Assassin
08-05-2007, 09:38 PM
Thankyou, your a god :D

p0Wer
08-05-2007, 09:39 PM
You're welcome! :mrgreenthumbsup:

Mr. Shizzy
09-13-2007, 09:24 PM
Why is it when I use a 355x46 template, I get weird rainbow colors at the bottom?

http://i1.tinypic.com/4mt864j.jpg

ghostz21
01-16-2008, 02:49 AM
hey guy new the psp hacking world and i was wondering if u can make one of other moving shapes ? or ppl or cars driving ??? like the samples from the games but w/ no sound duh

htrantk
02-26-2008, 07:39 AM
Can someone make me a wave in green with the text "Hung Tran" please? I download the software buti dont know how to use it. Thank you

gamecerenimo
04-11-2008, 01:51 PM
thanx

HyperHacker
12-05-2008, 11:53 PM
WAVE SHAPE:

FOLDER IMAGE:
http://img443.imageshack.us/img443/6095/33673522gt7.jpg
HEX IMAGE:
http://img443.imageshack.us/img443/6095/33673522gt7.jpgBoth links are the same.