Get rid of (c) Pixel?

Jan 15, 2009 at 12:34 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
Metalogz said:
No you don't.

You have two options:

FIRST OPTION
> Open .exe in hex editor
> Search for "(C)Pixel" string (it's case-sensitive :o )
> Replace it with blanks
> You're done! :(

SECOND OPTION
> Open each and every new sprite sheet made by you in hex editor
> Add "(C)Pixel" at the end of each sprite sheet's code
> You're done! :D

I generally prefer the first option, cause it's less of a hassle. =/

And btw I'm not exactly sure about the second option's steps, as I myself don't use it at all xD.


I'm pretty sure first option won't entirely work, because you're just replacing (C)Pixel with blanks, so you would now be required to put blanks at the end of your *.pbm files instead of (C)Pixel, so you're not really saving any time.
 
Jan 15, 2009 at 12:48 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
naw, it doesn't.
not sure why though.
 
Jan 15, 2009 at 3:14 PM
Senior Member
"Fly, Fly, Fly!"
Join Date: Dec 1, 2008
Location:
Posts: 128
Hmm, I could have SWORN I posted that in the pinned topic... oh well. OOPS!
 
Jan 18, 2009 at 4:08 AM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
wedge of cheese said:
I'm pretty sure first option won't entirely work, because you're just replacing (C)Pixel with blanks, so you would now be required to put blanks at the end of your *.pbm files instead of (C)Pixel, so you're not really saving any time.
Not quite. Obviously this would be true if you replaced it with spaces, but what you actually need to do is replace it with nulls. You can't enter a null in the text column – you need to edit in the hex column and replace it all with 0's.

This works because the null character is used to mark the end of a string. So a string that starts with a null character is interpreted as a string of length 0.
 
Feb 2, 2009 at 6:03 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Jan 3, 2009
Location:
Posts: 36
Has anybody ever considered just changing the extension the game loads back to BMP, so you can just edit the files directly without all the renaming crap back and forth?

I can see getting rid of the requirement for editing purposes, but actually changing the string to something else...isn't that like you're trying to take credit for all the art, not just the stuff you modified? It seems a bit disrepectful to Pixel.
 
Feb 2, 2009 at 8:15 PM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
Well, if you created your own tilesets all on your own, that's not really an issue, is it?
 
Feb 2, 2009 at 9:09 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
sshsigi, that won't work, because no matter the filetype, it is still going to check for (C)Pixel.
 
Feb 2, 2009 at 9:25 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Jan 3, 2009
Location:
Posts: 36
So?? Change that, too. It's well documented how to remove (C)Pixel. The JNZ opcode which jumps if the file has (C)Pixel is located at 40bb02 which maps to 0xBB02 in the executable. Change the 75 to an EB. Piece of cake.

And hey, right above that I noticed a push of the string "%s\\%s.pbm". I didn't actually try it, but I'll betcha just modifying that string to "%s\\%s.bmp" would let you change the extensions.
 
Feb 3, 2009 at 11:39 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
You can Ctrl+F for pbm in the .exe and change it all to bmp.
 
Feb 3, 2009 at 5:06 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
Hasn't this been brought up half a million times before? o.o;;
 
Back
Top