I'd say use the other <CAT. It's just a matter of pasting the code at a different offset. I don't have the particular hex that would work at any other location, so it's just as much work for me to manually put it in as it is for you.
That help?
PS Sorry if this is a slightly belated response - I've been away.
So I made this hack a while ago, and it seems it has garnered enough interest that multiple people have asked how to do it. As I am fairly lazy (don't want to respond to everyone individually), and not everybody even knows that I did this, I feel like a thread will get it out to more people and thus help the hacking community.
To make this hack work, you need to do three things:
1) Apply the hack to the exe (or download the patched version).
2) Modify MyChar.pbm to hold however many characters you want. New characters are simply appended to the bottom of the image.
3) Use the new TSC command <MIMXXXX to modify the character index. If XXXX is zero, then the first character will be shown, if XXXX is one, the the second character will be shown, etcetera.
Note that this uses a small bit of flag data in order to save what character you are currently using. High enough flags may screw shit up.
Here's a patched copy of the virgin exe that contains this hack.
Changelog:
13/5/11 - Released to public
14/5/11 - Fixed a few miscopied operand sizes
12/6/11 - Patched copy released, tsc portion changed from 0x425149 to 0x424eaf
Sorry I haven't given much explanation to how this works. If you feel like you need/want clarification on something just point it out.
I apologize for the inconvienence, and i know, im a newbie to the website.
But let me point out, i know what im doing, sorta. Im an idiot at this stuff, but ive torn cave story apart and put it back togther several times. Even Tripling the face boxes to where quote and even the final core have their own dialog boxes. But im not here to brag, im here to ask a question, or rather point something out.
Your Link Is Broken.
And for an idiot like i, who doesnt know half a scrap about applying these ASM's whatevers, i feel lost. If you could fix the link, put up a patch, or....if possible, a video of how to do this, cause youtube is barren. I am kinda lost, and i tried for 3 hours fucking playing around to figure out this script and kept failing. Im not asking you cause im a lazy noob who wants demands met, i'm legitimately lost, and i need help.
I know that this is still considered a bump, but does it copy the <FAC command? I would like to use it in my mod, but am worried about how this would affect it, because I use the faces a lot. Sorry, but if anyone knows the answer, send it to me via personal message so this topic doesn't get bumped anymore.
There's two <FAC commands in the parser. The parser works by checking what characters are used in the command. If they all match the command being checked in the parser, it's (the specified command's) code is run, and everything for the other commands is skipped. If the characters don't match the command, it tries the next command in the parser.
The two <FAC commands in the parser both check for the characters F, A and C. This means that if this check is correct, the first <FAC command is activated and the other is ignored (because the first one is before the second, and everything else is skipped). And if the check is incorrect, it skips the first and goes to the second, which is also skipped for obvious reasons.
In short, it will not affect your ability to use <FAC. It's basically a freebie.
Also, it's okay to bump threads, as long as you have something to contribute or important to say. I'd say this is a valid enough question. (it may have been better in quick modding though)
I have Awoken the dorment beast that is the I.M.M. Forum.....Yay?
But seirously, Thanks alot! I was stressing out like crazy, and i get a good link...you guys are the bomb..i had no idea that a question would even be AWNSERED..i assumed a month from now, id be bored, check to see, and get a "No. Phoque off, we dont want to do that" response...Aparently cave story forums are nicer than roblox :3? Then again, everyone there is crazy.
Thanks GIR, for the slap in the face i expected and thanks everyone else for ACTUALY doing what i needed, you guys rock! Hopefully soon ill be able to upload my cave story mod "Infinite Emotion"
Another question, by the way. Which flags does it use? I have been using flags from 9999, counting down. I don't want to break the game, so may I know which flags seem to be used?
Another question, by the way. Which flags does it use? I have been using flags from 9999, counting down. I don't want to break the game, so may I know which flags seem to be used?
<MIM data is 7968-7993
Using either of those or anything in between will either change your selected mychar or make the pc disappear completely
That being said it's a valid way to switch mychar sprites; set 7968 for the first one, 7969 for the second et cetera
Setting more than one will make the pc disappear as well so don't do that
I can't get this to work. The pre-patched exe crashes, and doukutsu assember 1.31 says there's an error. And if I try to apply that hex edit from girakacheezer HXD gives me an error.