Jump to content


Photo
* * * * * 1 votes

Editing PBMs


Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.


  • Please log in to reply
40 replies to this topic

#1 05 December 2008 - 12:37 PM

Lace Offline
Lesbian Seagull
"Life begins and ends with Nu."
Join Date: 04 Jan 2008
Location: LocationHunky Dory
Posts: 3,062
 

Hey everybody, it seems that a lot of people have been having trouble with this lately, so I figured I'd post how to do it.

First, open up a PBM by right clicking it and selecting "Open With" then choose the graphics editing program of your choice.

Second, Make any changes you want to the PBM, you may notice that you can't use some colors, this is because each PBM has a set pallette, if you want to change this pallete, open the PBM with CaveEditor, and select change Pallette, or copy the file into paint, and save it as whatever PBM you were editing, you can now use any color.

Finally, Run cave story, you may notice that an error similar to jhfdsjfhb,js pops up on the screen, and cave story closes. In your cave story file, there will now be a text document named error that has the name of the file you edited in it. To stop this error, you can either open cave story with your Hex editor, search for the string ©Pixel, and go over to the hex column and replace it with all 0's. The other option is to open your PBM with a hex editor, and at the very end of it, write in ©Pixel.

Yup, that's it :D

Black is automatically the transparent color, by the way.

Cheers!
Lace

ADDENDUM:
If you do this and are still having problems, right click on your cs directory and got to properties and make sure that it is NOT read-only.


okays, have fun!
Posted Image

#2 06 December 2008 - 01:22 AM

andwhyisit Offline
Administrator
"Life begins and ends with Nu."
Join Date: 15 Jul 2007
Location: LocationAustralia
Posts: 4,787
Age: 27
 

Stickied. :D

Posted Image

Spoiler

 


#3 06 December 2008 - 02:28 AM

PunxsatownyPhil Offline
Executive Member
"Fly, Fly, Fly!"
Join Date: 13 Oct 2008
Location: LocationNew Yawhk
Posts: 149
 

I can't open "Arms" in Cave editor, so I can't edit the pallete

Edit: Never mind. I changed it to a 256 color bitmap. Wow, thanks!
Posted Image
97% of teens won't stand up for God. If you're one of the 3% that will, put this in your sig.
GENERATION 27: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

#4 06 December 2008 - 02:37 AM

GIRakaCHEEZER Offline
Lvl 1
"Life begins and ends with Nu."
Join Date: 28 May 2008
Location: LocationPMMM MMO
Posts: 2,651
Age: 21
 

One thing- when I try to save changes, it wants me to save it as a new file... and .pbm isn't a choice...


Is that your only problem?

Where it asks what type you want to save it is, choose the bitmap of your choice (16 color, 256 color, 24 bit, etc.) and then just add .pbm at the end when saving. Paint will automatically save it as a pbm then.
Posted Image
Posted Image
Spoiler

#5 06 December 2008 - 06:32 AM

jcys810 Offline
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 15 Oct 2007
Location: LocationNowhere
Posts: 1,921
Age: 19
 

I don't think it will save it as a .pbm that way if you're using the Show File Extensions thing.

But there's an easy work-around, just save the file with quotes, like "NpcJesus.pbm".

With the quotes, mind you

New MSN: decayedcorpse810@hotmail.com
Posted Image
Call me Impulse or Justin if you are lazy to remember my name


#6 06 December 2008 - 06:00 PM

GIRakaCHEEZER Offline
Lvl 1
"Life begins and ends with Nu."
Join Date: 28 May 2008
Location: LocationPMMM MMO
Posts: 2,651
Age: 21
 

I don't think it will save it as a .pbm that way if you're using the Show File Extensions thing.

But there's an easy work-around, just save the file with quotes, like "NpcJesus.pbm".

With the quotes, mind you


Well it works for me when i save it as a 24 bit bitmap with paint,
so why don't you try it to see if i'm lying?
(note: i can also save .dat files this way, but idk how much good that would do me)
Posted Image
Posted Image
Spoiler

#7 07 December 2008 - 12:10 AM

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

Not exactly related to Cave Story, but the .pbm's for Ikachan can be edited and saved with no hex edits. (And by the by, Map1.pbm is actually the map. o.o')
Spoiler

Good news everypony!

i r liek totes bcak lol!!!!11

An yea, thou shouldst not fear.

For I am, as the French say, a silly English ki-niggit.

Or summat, iunno.

\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...

Spoiler

 


#8 07 December 2008 - 05:19 AM

Celtic Minstrel Offline
In front of a computer
"Man, if only I had an apple..."
Join Date: 01 Mar 2008
Location: LocationGrasstown
Posts: 1,448
 

search for the string ©Pixel, and go over to the hex column and replace it with all 0's.

Interestingly, due to the way strings are handled it would probably be sufficient to replace only the opening parenthesis with a null character. Not that that makes any difference.

You could also replace the string with a different string of equal or lesser length, though I can't imagine why you'd want to do that.

#9 12 December 2008 - 04:30 AM

andwhyisit Offline
Administrator
"Life begins and ends with Nu."
Join Date: 15 Jul 2007
Location: LocationAustralia
Posts: 4,787
Age: 27
 

Spoiler

Want any help? Why no-one has bothered to try this until now is beyond me.

Posted Image

Spoiler

 


#10 06 January 2009 - 10:31 AM

Uncy Dave Offline
Hax on....Hax off....
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: 05 Jan 2009
Location: LocationEaster Island
Posts: 481
 

[quote name='Lace'] The other option is to open your PBM with a hex editor, and at the very end of it, write in ©Pixel.

Sorry if this sounds like a stupid question but what do you mean by the very end of it?



Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users