• Hey everyone happy Christmas Eve we're aware of what's happened with the source code so to keep this simple absolutely don't post it on the site or use it to make mods with (it's not particularly preferable toward this end anyway) and tread lightly in general until we see how this settles, thanks to all and have a great holiday season -DT

Editing help

Jun 17, 2009 at 8:12 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
Oh... So if we wanted to change my char sprite, I have to edit from the original one? I just downloaded a character sprite sheet off of the internet and tried it.. And when I mean by sheet is for example, I would just do save target as png, http://www.allacrost.org/media/art/sprites_map_laila.png
then open it using the program. (It wasn't this sprite sheet, but a more 2d like one, where I got it from http://charas-project.net/charas2/index.php)

Ok so when I use this sprite sheet and use it as my main char, the char is just that sheet, it looks just like the one on the link I gave. Even when I start the game. Basically a moving sprite sheet
 
Jun 17, 2009 at 8:33 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
nvm I guess I have to edit the original one... That's gonna take forever lol
Is the background and platform the same way? I have to edit the original?
 
Jun 17, 2009 at 8:44 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Egh...

Remember, don't double post...
There's an edit button for a reason....

Yes, you've gotta edit the originals.
Cave Story uses the sprites in a certain way, pulling them out of the files at specific points, so just throwing in a random sprite sheet will not work.
Unless you do even more work and Hex/Assembly hack how the game loads the sprites.
That goes for Backgrounds and Tilesets, too, but they don't require as much work, being still-sprites and having no animations.
 
Jun 17, 2009 at 9:56 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
ah thanks so much for clearing that up for me! and I forgot about the edit button xd
BTW, is there any other colors I could use beside the one given by the template on CE?
 
Jun 17, 2009 at 10:00 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Colourz

Saving the BMP as 24-bit gives you a limitless amount of colours, just try using another program, like Paint.
After you're done with the file, if you go to Cave Editor and change the EXE's name {Add a space or delete one}, it'll reload all of the .PBMs and re-add the (C)Pixel bit for you.
 
Jun 17, 2009 at 10:25 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
Well the CS engine can only handle 4-bit and 8-bit bitmaps, so you will always have limited colors. You can edit the color palette using a hex editor though. The offset is 0x36 and each color is stored as 4 bytes (I can't remember if it's blue, green, red, unused or unused, blue, green, red).
 
Jun 17, 2009 at 10:40 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
wedge of cheese said:
Well the CS engine can only handle 4-bit and 8-bit bitmaps, so you will always have limited colors. You can edit the color palette using a hex editor though. The offset is 0x36 and each color is stored as 4 bytes (I can't remember if it's blue, green, red, unused or unused, blue, green, red).

I have 32-bit bitmaps in my mod.
It can handle 32-bit bitmaps.
 
Jun 17, 2009 at 10:47 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Yeah...

Yeah, my mod uses 24-bit O.o;
Cave Story can handle whatever you throw at it, if it's a .BMP :eek:
 
Jun 17, 2009 at 11:00 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
I clicked edit pallete and then I get a whole lot of choice, even though I didn't add or change anything... I guess it's 'coz it's a recent version?

Anyway, I made a fresh character with brown hair, it's pretty cool xd
 
Jun 17, 2009 at 11:05 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Eh?

Are you still using Cave Editor's built-in paint editor?
Just go use another program that can save the file as a .BMP, it'll be a lot easier and have more freedom.
 
Jun 17, 2009 at 11:28 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
ohhh... darn lol I was using the built in paint editor. It's pretty decent, aren't the other paint programs the same? just with more functions?
 
Jun 17, 2009 at 11:36 PM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
*shrug*

Well, in my opinion, something simple like Paint is ten times easier than Cave Editor's built-in .PBM editor.
A lot of other people use other programs, too, but it's ultimately up to what you find is the easiest.
Have you used something like Paint, before?
 
Jun 17, 2009 at 11:38 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jun 15, 2009
Location:
Posts: 11
yea I used paint long time ago. I might give it a try later, maybe for tilesets.
Thanks void, and everyone else who replied!
 
Back
Top