Replacing the main character sprite?

Jan 17, 2007 at 10:46 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jan 17, 2007
Location:
Posts: 19
Age: 32
Hey Hey

I've been trying to do a Cave Story hack, but uh, I have no idea how to replace the main character sprite, as well as put in new npc sprites using sue's workshop.

I am an experienced spriter, capable of making advanced pixelart, but I'm pretty stupid when it comes to programming/hacking.

I've heard it's possible to replace via a hex editor, but I know nothing of hex.

if you could help me in any way, thanks, I really need it :3
 
Jan 17, 2007 at 11:15 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Bunny Bunny Bunny said:
Hey Hey

I've been trying to do a Cave Story hack, but uh, I have no idea how to replace the main character sprite, as well as put in new npc sprites using sue's workshop.

I am an experienced spriter, capable of making advanced pixelart, but I'm pretty stupid when it comes to programming/hacking.

I've heard it's possible to replace via a hex editor, but I know nothing of hex.

if you could help me in any way, thanks, I really need it :3

Just edit the .pbm file?
Its just a renamed bmp file.
Oh well, next time please search for it first or PM some of the senior members...
Because questions like this are already answered about 5-20 times :p
 
Jan 17, 2007 at 11:33 PM
Been here way too long...
"The Ultimate Sword of Extraordinary Magnitude"
Join Date: Jun 14, 2006
Location:
Posts: 299
Age: 34
Also, for ease, in the EXE, find the "(C)Pixel" string and replace (NOT DELETE) it with 00's, unless you want to keep going thru each of your .pbm's and adding "(C)Pixel" to the end every thing you change a little detail. You can also open the .pbm directly from pain without needing to rename, on my Virtual Machine I have .pbm to be auto-opened by paint, so it should be fine.
 
Jan 18, 2007 at 2:13 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Nator said:
Also, for ease, in the EXE, find the "(C)Pixel" string and replace (NOT DELETE) it with 00's, unless you want to keep going thru each of your .pbm's and adding "(C)Pixel" to the end every thing you change a little detail. You can also open the .pbm directly from pain without needing to rename, on my Virtual Machine I have .pbm to be auto-opened by paint, so it should be fine.

Wrong. Well, not totally wrong but maybe a bit confusing...
He doesnt mean to replace (C)Pixel in the with 00000000
he means to Replace the hex with 00:

(C)Pixel

In hex:
28 43 29 50 69 78 65 6C

Replace it with:
00 00 00 00 00 00 00 00

Use a Hex Editor, I use XVI32.
Just search the (C)Pixel in Doukutsu.exe.
 
Jan 18, 2007 at 7:01 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jan 17, 2007
Location:
Posts: 19
Age: 32
sorry, I searched but didnt find any threads that answered my question

Anyway, when i try replacing the pbm file, I get an error when the game opens. I've tried putting .pbm after the file (because I dont have photoshop, my trial ran out. it's useless for spriting anyway, MSPaint is better.) but it doesnt work, if i edit the file AT ALL, I get error'd.

sorry for all the stupid questions but im really not good at this ^^;


I'll try what you said though, thanks. hope it works :3
 
Jan 18, 2007 at 7:19 PM
Been here way too long...
"The Ultimate Sword of Extraordinary Magnitude"
Join Date: Jun 14, 2006
Location:
Posts: 299
Age: 34
use a hex editor and add a (C)Pixel string to the end of the .pbm file
 
Jan 18, 2007 at 7:47 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Bunny Bunny Bunny said:
sorry, I searched but didnt find any threads that answered my question

Anyway, when i try replacing the pbm file, I get an error when the game opens. I've tried putting .pbm after the file (because I dont have photoshop, my trial ran out. it's useless for spriting anyway, MSPaint is better.) but it doesnt work, if i edit the file AT ALL, I get error'd.

sorry for all the stupid questions but im really not good at this ^^;


I'll try what you said though, thanks. hope it works :3

U used XVI32?

You should open Doukutsu.exe with it and search for (C)Pixel.
Nators right but that way it needs more time.
 
Jan 18, 2007 at 10:00 PM
Junior Member
"Fresh from the Bakery"
Join Date: Jan 17, 2007
Location:
Posts: 19
Age: 32
ok its not working :p

diph.php


is this what you mean to replace?
 
Jan 18, 2007 at 10:02 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Bunny Bunny Bunny said:
ok its not working :o

diph.php


is this what you mean to replace?

lol no, you did it wrong :p
Sou should search it in the EXE File and replace it there by 00 00 00 00 00 00 00 00
 
Feb 18, 2007 at 8:03 PM
Junior Member
"Wahoo! Upgrade!"
Join Date: Feb 11, 2007
Location:
Posts: 49
I'm have a problem with replacing sprites. Whenever I try overwriting the MyChar .pbm, I get a message saying:

Access to C:\...Mychar.pbm was denied.

How do I get it to save?
 
Feb 18, 2007 at 8:05 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
(C)Pixel Problem... :rolleyes:
 
Feb 18, 2007 at 8:26 PM
Junior Member
"Wahoo! Upgrade!"
Join Date: Feb 11, 2007
Location:
Posts: 49
ShInInG PhAnToM said:
(C)Pixel Problem... :rolleyes:

So I just replace (C)Pixel in the hex with 00 00 00 00 00 00 00 00? Cuz I've done it in the .exe.

EDIT: I tried hexing the .pbm, but it won't let me save. What gives?
 
Feb 18, 2007 at 8:29 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Nov 30, 2006
Location:
Posts: 34
The Spainish Inquisition said:
So I just replace (C)Pixel in the hex with 00 00 00 00 00 00 00 00? Cuz I've done it in the .exe.


lol no your file is probably set to read only :rolleyes:
 
Feb 18, 2007 at 8:35 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Shadowfire said:
lol no your file is probably set to read only :rolleyes:

That would be hilarous lol
Oh well but hes right it could be, because it explains why there is a "Access to C:\...Mychar.pbm was denied." error lol
 
Feb 18, 2007 at 9:24 PM
Junior Member
"Wahoo! Upgrade!"
Join Date: Feb 11, 2007
Location:
Posts: 49
ShInInG PhAnToM said:
That would be hilarous lol
Oh well but hes right it could be, because it explains why there is a "Access to C:\...Mychar.pbm was denied." error lol

I checked, and it is in fact set to read only.

Please don't laugh at me for being such a noob. :rolleyes:
 
Feb 18, 2007 at 9:32 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Jan 30, 2007
Location: on my computer sherlock
Posts: 58
Age: 91
no one is going to laugh at you
we are all human and make mistakes :rolleyes:
 
Feb 18, 2007 at 10:01 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
The Spainish Inquisition said:
I checked, and it is in fact set to read only.

Please don't laugh at me for being such a noob. :(

Ragamuffin is right :rolleyes:
I aint loughing at you, the situation was just funny. :p
 
Mar 10, 2007 at 9:54 PM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Mar 9, 2007
Location:
Posts: 170
I had the same problem as the OP, but this thread helped.

Now I'm wondering if anyone knows why colour choice seems to be restricted. When I try to change the colour palette in Paint the result is mostly not what I want.
Is there a way to get around this? Or atleast find out which colours are available. You can't even use the sampler tool in photoshop to bring a colour from one set of sprites to another; the colour changes if you do.

Does anyone know what program Pixel used to make the sprites in the first place?
 
Back
Top