• 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

Modding Mini Tutorials

Mar 15, 2012 at 4:24 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
If anybody has worked with credit.tsc before, that'd be a tutorial we probably need.
I would write it myself but I've never needed to modify it before :momo:
Hehe, funny you mention that, I've been working on a tutorial for that. I'll tidy it up and post it here when I get some free time. I tend to get a lot of free time during the weekend. I had to learn Credit.tsc when I made my mod. Stay tuned!
 
Mar 16, 2012 at 2:42 AM
Offensive User
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Sep 7, 2011
Location: IT'S TIME FOR A SHAQDOWN
Posts: 539
Pronouns: he/him
This guide demonstrates Cave Story tilesets and tileset properties. Some of it may be wrong (like tile #46), and some places could use some clarification. Not to mention, there may be some items missing so please add on if I'm missing anything. So anyways here it is.

Cave Story Tilesets and Tile Properties​


If you want to make your own, make sure that:

• It is saved in .bmp format
• Begins with the letters “Prt,” such as PrtCave, PrtWeed, etc
• Tiles are 16 pixels by 16 pixels each
• Has a maximum height of 256 pixels and a maximum width of 256 pixels​

Once you have made a tileset, you will have to assign properties to each tile. [In Cave Editor,] click on a tileset and press the “edit tileset” button. This can also be achieved by right-clicking the tileset and clicking on “edit tileset.”
Now, there are distinct properties for most tiles, but most function identically. Here’s a list going over the major ones that are always used by Pixel:

• 0- Air. Nothing. Nothing will be rendered if you put anything in there.
• 40- Used for decorations such as grass, small stones on the ground, and more importantly, fake blocks. Will be rendered in front of the PC
• 41- Solid blocks. The Player cannot get through any of these, if you didn’t know what a solid area is.
• 42- Spikes. Note that the same tile property is used on several spikes facing different directions. Why? There is a 4x4 hitbox in the center of the area, and will damage the player when it touches it. Also, this will render in front of the player.
• 43- Breakable blocks. Also known as those “Sn” blocks in some of Pixel’s tilesets. If you want to edit the appearance for the breakable blocks, go to NpcSym.
• 44- No NPC blocks. Monsters and other NPCs will not pass through. A great example would be the vines in Grasstown/Bushlands.
• 46- Not really used by Pixel, but the Player cannot pass through this. Same effect as any solid object.
• 50-57- Diagonals. Not much to say about those.
• 60- Water. The stuff that will make you drown if you stay in there for too long.
• 62- Spikes!... In Water!
• 70-77- Same as tile tiles 50-57, but have water
• 80-83- Eternal Winds. Will move the player in the direction of the arrow.​
o 80- Left
o 81- Up
o 82- Right
o 83- Down​
• A0-A3- Same as tiles 80-83, but in water. Very commonly used in the Waterway.​
o A0- Left
o A1- Up
o 82- Right
o 83- Down​
 
Mar 18, 2012 at 4:48 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Here is a credit tutorial that I made. It covers:

- Credit.tsc
- Illustration art
- Epilogue scenes

Here ya go Noxid. Just be sure to make the table highlitable text in the help document, and fix the excessive line skips.
If you don't want to read it in the format below, then you can download it in ODT format.
Credits
Credit editing is one of the very least used elements in Cave Story modding due to the minority of completed mods. However, it is worth learning how to manipulate the slightly different coding techniques to make your credits accommodate the cast and contributions in your mod in the event that you manage to see your project through to the end.
The first thing to understand is that a majority of the credits in Cave Story take place in a blank room. You must also understand which tasks are handled by the room's script, and which ones are handled by the Credit.tsc file. Credit.tsc only handles the scrolling text, and, in Cave Story, what music plays at certain points. You can make the room's script handle the music if you want to, but Pixel chose otherwise, as you have more synchronization control that way. Everything else from credit art illustrations, to epilogue scenes is handled by room number 0's script, save the time during which the epilogue scenes are in play on the right side of the screen in which case another map has been temporarily loaded. The first thing to do is have your credit room, and know which event starts the credits up. In this example, we'll assume that your mod's ending cutscene transitions to starting the credit room at event 100.
Code:
#0100
<KEY<FOM0016<WAI0100<EQ-0256<CRE<WAI0340
This will cause the Credit.tsc script to execute.


Credit.tsc

Credit.tsc is a slightly abstract form of TSC scripting, but much simpler and more intuitive. The tasks it handles in Cave Story are the scrolling text, as well as which song plays at what point. Some commands in Credit.tsc are, in fact, identical to some TSC commands, save that Credit.tsc counterparts only have one character prior to the parameters, and that if it's an alphabetical letter, then it's lowercase. So, let's see how to program in it.

Cerdit.tsc Commands

Credittsctable.jpg
There is a much less broad variety of Credit.tsc commands, but some come so close to being identical with certain TSC commands, that the only difference is the characters used to execute it. Here is a table of all of the Credit.tsc commands used in the vanilla game. It is recommended that you still read the other sections for learning how to use these commands, and use this table primarily for reference purposes.
Credit.tsc Command TSC Counterpart Function
!XXXX <CMUXXXX Same as <CMU
+XXXX None Sets the X value of the scrolling text
-XXXX Possibly <WAIXXX Separates lines of scrolling text by X number of pixels
[X]YYYY None Displays image of number Y to the left of X text
~ <FMU Same as <FMU
lXXXX #XXXX Sets where the script starts when an event is called
jXXXX <EVEXXXX Calls the part of the script marked by an l of the same #
fXXXX:YYYY <FLJXXXX:YYYY Same as <FLJXXXX:YYYY
/ Possibly <END Makes the credits stop scrolling



Initiating

The first thing you want to start with with your credit script is use the +XXXX command. In this example, we'll use +0192. This will set the X position of the scrolling text. +0192 aligns them so that the credits will be on the right side of the screen, leaving the left side free for illustrations. Note that if you use this command again, then it will use the provided X parameter as a new value instead of adding to the current. So if you later on put +0063, then all text succeeding that command will appear on the left side of the screen, which we will do later on.
Next, we'll see the !XXXX command. This works almost exactly like the <CMU command aside from the fact that “<CMU” is replaced with “!”. So in the vanilla game, it executes “!0033” to start the song, The Way Back Home. Even though you COULD make your room's script set the music, it's probably best to let Credit.tsc handle it so that you have more control over the synchronization. So, to get the X position of the credits, and determine the music that is to be played, put this code at the beginning of your credit script:
Code:
+0192
!0033

Text, Icons, and Spacing

So now we'll cover how to do text, icons for characters who appeared in the game, and spacing text. To make your credit script display text, put what ever you want it to say inside of square brackets. Example:
Code:
[  = Cast =  ]
This will make the text, “= Cast =” scroll up. However, there is something very wrong with that code above. Every string in Credit.tsc MUST be followed by a four-digit number. Even if we use the command which separates text into lines which we will take a look at later, the strings will all overlap each other if we don't follow the close square brace with a four-digit number. The number adjacent to each string corresponds to the image which will appear to the left of it in-game. 0000 corresponds to a blank image. Even if you don't want said line of text to have an image next to it, you still have to follow the string with 0000. See in Pixel's code how essential this is:
Code:
[- Surface Dwellers -]0000-0064
[Plucky, looks up]0000-0016
[ to her brother]0000-0016
We'll talk about those minuses followed by XXXX in a minute, but for now, focus on the 0000's after the strings. I just can't stress enough how important it is to follow your text with XXXX.
It is entirely possible, however, that you will want an image to the left of some lines of text, as done in the credits for Cave Story. As you might notice here:
Code:
[Plucky, looks up]0000-0016
[ to her brother]0000-0016
[  Sue Sakamoto]0001-0064
[Her occasionally]0000-0016
[ reliable brother]0000-0016
[  Kazuma Sakamoto]0002-0064
there are images next to some lines of text. Please continue to ignore the minuses, as the time draws ever nearer that we'll talk about those.
Here is a reference for which numbers represent which credit icons:

Castsnumbered.jpg



Now we'll see the command which vertically spaces out lines. And that is -XXXX. What this does is start a new line the number of pixels down entered in the command. So in this example:
Code:
[  = Cast =  ]0000
-0320
[- Surface Dwellers -]0000
It says “= Cast =” then 320 pixels below it, appears the text, “- Surface Dwellers -”. In Pixel's code, he started a new line to add the command for major jumps, but kept the spacing command adjacent to a string's image number in minor jumps, so it was arranged like this:
Code:
[  = CAST =  ]0000
-0320
[- Surface Dwellers -]0000-0064
[Plucky, looks up]0000-0016
[ to her brother]0000-0016
[  Sue Sakamoto]0001-0064
[Her occasionally]0000-0016
[ reliable brother]0000-0016
[  Kazuma Sakamoto]0002-0064
It's irrelevant whether you start a new line for the line jump or not. Just keep in mind that if the code for a string of text is not followed by a four-digit number, then the -XXXX command which follows it will have no effect, and the next string of text will overlap it regardless.
With the knowledge you now hopefully possess on Credit.tsc, try understand this code:
Code:
+0192
!0033
[  = CAST =  ]0000
-0320
[- Surface Dwellers -]0000-0064
[Plucky, looks up]0000-0016
[ to her brother]0000-0016
[  Sue Sakamoto]0001-0064
[Her occasionally]0000-0016
[ reliable brother]0000-0016
[  Kazuma Sakamoto]0002-0064
[Sue's mother]0000-0032
[  Momorin Sakamoto]0003-0064
[Sue's grandfather]0000-0016
[ figure]0000-0016
[  Booster]0004-0064
[The Mimiga-shaped]0000-0016
[ coward]0000-0016
[  Itoh]0005-0064
-0063
[- Mimiga Village -]0000-0064
[Sweet and brave]0000-0032
[  Toroko]0013-0064
[The village leader]0000-0032
[  King]0014-0064
[The Number-Two]0000-0032
[  Jack]0015-0064
[Never stops eating]0000-0032
[  Mahin]0016-0064
[Loves to fish]0000-0032
[  Kanpachi]0020-0064
[Mans the farm]0000-0032
[  Sandaime]0019-0064
-0063
[- Grasstown -]0000-0064
[Lives alone]0000-0032
[  Santa]0017-0064
[The colored Mimiga]0000-0032
[  Chaco]0018-0064
[Power Room watcher]0000-0032
[  Malco]0025-0064
-0063
[- Sand Zone -]0000-0064
[Ally of the Mimigas]0000-0032
[  Curly]0007-0064
[Raised by Curly]0000-0032
[  The Colons]0008-0064
[Original keeper of]0000-0016
[ the Sand Zone]0000-0016
[  Jenka]0009-0064
-0031
[Jenka's puppies]0000-0032
[  Hajime]0010-0032
[  Shinobu]0010-0032
[  Kakeru]0010-0032
[  Mick]0010-0032
[  Nene]0010-0064
-0063
[- Labyrinth -]0000-0064
[The labyrinth's]0000-0016
[ weapons dealer]0000-0016
[  Chaba]0027-0064
[The labyrinth's]0000-0016
[ resident physician]0000-0016
[  Dr. Gero]0028-0064
[I am a nurse!]0000-0032
[  Nurse Hasumi]0029-0064
-0063
[- Plantation -]0000-0064
[The girl Mimiga]0000-0032
[  Chie]0023-0064
[The grandpa Mimiga]0000-0032
[  Zett]0024-0064
[Sprinkler manager]0000-0032
[  Megane]0022-0064
[Believers in the]0000-0016
[ Doctor]0000-0016
[  The Shovel Brigade]0021-0064
-0063[/size][/size][/size][/size]
[size=4][- Villains -]0000-0064
[The power-snatching]0000-0016
[ betrayer]0000-0016
[  The Doctor]0006-0064
[The Doctor's servant]0000-0032
[  Misery]0011-0064
[Misery's punching bag]0000-0032
[  Balrog]0012-0064
-0063
[- Etcetera -]0000-0064
[The Hermit Gunsmith]0000-0032
[  Tetsuzou Kamadani]0035-0064
[The mysterious]0000-0016
[ mushroom]0000-0016
[  Ma Pignon]0045-0064
[The family living in]0000-0016
[ the outer wall]0000-0016
[  The Littles]0031-0064
[The mysterious]0000-0016
[ native inhabitants]0000-0016
[  Cthulhu]0032-0064
[The statue carver]0000-0032
[  Numahachi]0088-0064
-0100
As you most likely know, the second half of the credits involves different music, and the scrolling text appearing on the left side of the screen. To transition to this state like Pixel did, add a “~” to the code to start fading the current song, then a line skip of about 250 pixels (-0250) before changing to the new song, so that the music fade will sound natural. Then, using !XXXX, change the music to what you want to play during the second part of the credits. And use +0063 to make the upcoming text appear on the left side of the screen if you so desire. Example:
Code:
~
-0250
!0001
+0063
[ = Monsters = ]0000-0032
-0063
[ Leaps and hops: Critter]0039-0048
[ Every cave needs a: Bat]0040-0048
[ Possessed by something: The Door]0041-0048
[ Charges when angered: Behemoth]0048-0048
If you've gotten to the end, and you want to vertically center one line of text and make it stay there, then use this:
Code:
+0040
[= Special Thanks =]0000-0032
+0048
-0032
[Torai	  ]0037-0040
[Naoku	]0122-0040
[Kuroihito]0119-0040
[BA2	   ]0033-0040
[Okami	  ]0120-0040
[Nao	   ]0117-0040
[Shih Tzu  ]0123-0040
[Gideon Zhi]0124-0040
[And many others]0000-0040
-0063
[Thank you very much.]0129-0032
-0240
+0120
[Cave Story ~ The End]0000
-0280
/
At the end, you want to make the last line of text go up 280 pixels in order to center it. The forward slash ends the credit script, making the text stop scrolling. If you wanted the credits to continue out through the top of the screen and disappear, then you'd just finish the script off without the forward slash. In pixel's script, there was some weird code after the forward slash:
Code:
[Cave Story ~ The End]0000
-0280
/

<<<
2000ƒJ[ƒŠ[ƒGƒ“ƒfƒBƒ“ƒO
I can confirm that this code never executes, as removing it has no ill effects. Removing the forward slash and keeping the unknown text, however, causes the game to crash. This is most likely because the “/” ends the script, so that any extra code is for naught. What is this code for, however? It is most likely a note by Pixel to himself. It is Japanese writing that says, "2000Curly Ending" (thanks goes to GIRakaCHEEZER for translating), which simply means that since flag #2000 is the one which triggers the best ending, and the best ending involves saving Curly, that he used this to remind himself.


Conditional Credits

If your mod only has one ending, the odds are that you know everything you need in order to script your own credits; however, if it has multiple endings, then you may want different parts of scrolling text to appear depending on which ending you achieved, or certain tasks you accomplished. Such as Ballos, the Butes, Mesas, Green Devils, Rollings, Deleetes, and Heavy Press making an appearance in the credits only if you went through Hell. In this section, we'll cover how to script this ourselves.
At various parts of the credit script, you might notice the lXXXX command. This is almost like the event number in a TSC script. When that event is called, it jumps to that part of the script. In a moment, we will look at how to call these events. Another similarity between the event numbers and the lXXXX command is that you must list them in numerical order. (i.e. so that 90 doesn't go before 80) The difference between this and the event numbers in TSC is that it just jumps to a certain point in the credit script when called, as opposed to calling a set of instructions that does not intersect with the rest of the script.
By using the jXXXX command, we are able to jump to the part of the credit script of the corresponding lXXXX. The jXXXX works almost identically to the <EVEXXXX TSC command. Note that this command should only be used if you're also using the fXXXX:YYYY command.
The fXXXX:YYYY command functions identically to the <FLJXXXX:YYYY. It jumps to event Y in the case that flag X is set. Conveniently, the X parameter accepts flags that have been set by scripts in your mod. For example, the flag 2000 is only set if you went through the Sacred Grounds; therefore, in this code:
Code:
f2000:0190j0200l0190
-0002
[ Hell's messenger: Bute]0098-0048
[ Hell's messenger: Mesa]0099-0048
[ Innocent demon: Green Devil]0100-0048
[ Rolls along the walls: Rolling]0094-0048
[ Blocks passage: Deleet]0095-0048
l0200
all of that text only shows if flag 2000 is set.
So, that is pretty much it, as far as Credit.tsc goes. Don't worry if you feel a bit shaky on this at first. Feel free to reference back to the table above, and try taking a full examination of the vanilla game's Credit.tsc as an exercise. When you looked at it at first, it may have seemed like a bunch of gibberish, but you come to realize that it's even simpler easier to understand than regular TSC.


Illustration Art Images

The showing of credit illustrations is handled by the room's script. If your mod has multiple alternate endings which show a different series of credit art illustrations, then you'll want to have flag jumps placed later on in the same event:
Code:
<KEY<FOM0016<WAI0100<EQ-0256<CRE<WAI0340
<FLJ2000:0102<EVE0101
If your mod only has one ending, or if you only need one series of pixel art illustrations, then the <FLJ2000:0110 will not be necessary. In this example, we use flag 2000 for the jump for the different ending because that's the flag set in Cave Story if you went through the Sacred Grounds. With <EVE0101, we jump to event #0101 if we did not get the special ending. If you want, you could just make the event script continue with the normal illustration ending set if you wanted, but we'll keep it a bit more organized in this example.


Showing The Illustrations


The <SIL0001 (Show ILlustration) command shows an illustration of the corresponding number. To show illustrations in the same fashion that Pixel did in Cave Story, use this code:
Code:
#0101
<SIL0001<WAI0350<CIL<WAI0020
<SIL0002<WAI0350<CIL<WAI0020
<SIL0003<WAI0350<CIL<WAI0020
<SIL0004<WAI0350<CIL<WAI0020
<SIL0005<WAI0350<CIL<WAI0020
<SIL0006<WAI0350<CIL<WAI0020
<SIL0007<WAI0350<CIL<WAI0020
<SIL0008<WAI0350<CIL<WAI0020
<SIL0009<WAI0350<CIL<WAI0020
<SIL0010<WAI0350<CIL<WAI0020
<SIL0011<WAI0350<CIL<WAI0020
<SIL0017<WAI0350<CIL
<WAI0280<EVE0200
The <WAI0350 determines that it stays for 350 steps, then it clears, and keeps the left side of the screen clear for 20 ticks before showing another illustration. You will have to make sure that the showing of each set of illustrations must remain synchronized with the scrolling text scripted in Credit.tsc. In the above code, there is a time of 280 ticks during which there is no illustration showing, and waits for the current part of the credits to finish. In this sample of code, however:
Code:
#0102
<SIL0012<WAI0350<CIL<WAI0020
<SIL0018<WAI0350<CIL<WAI0020
<SIL0014<WAI0350<CIL<WAI0020
<SIL0002<WAI0350<CIL<WAI0020
<SIL0003<WAI0350<CIL<WAI0020
<SIL0004<WAI0350<CIL<WAI0020
<SIL0005<WAI0350<CIL<WAI0020
<SIL0007<WAI0350<CIL<WAI0020
<SIL0008<WAI0350<CIL<WAI0020
<SIL0009<WAI0350<CIL<WAI0020
<SIL0010<WAI0350<CIL<WAI0020
<SIL0011<WAI0350<CIL<WAI0020
<SIL0017<WAI0350<CIL
<WAI0020<EVE0200
There are enough illustrations so that there won't be a blank period before the next part of the credits continues. Each number in the <SIL TSC command's parameter corresponds to a certain credit image. Example:
1 = Kazuma and Quote on the sky dragon
2 = The fight with the Undead Core
3 = Quote fighting Misery
4 = Quote riding the rocket up to the Doctor's throne
5 = Quote making his way up the outer wall
6 = Quote in the Waterway with IronHead sneaking up behind him
7 = Quote fighting Balrog in the Boulder chamber (Curly is shown unconscious)
8 = Quote in the camp receiving the clinic key from Dr. Gero, and Nurse Hasumi tending to Curly
9 = King, Toroko, the Doctor, and Balrog (fleeing and crying) in the Sand Zone storehouse
10 = Jenka's house with Quote, Jenka, and her five puppies
11 = Curly Brace and the Colons fighting Quote
12 = Quote and Curly on top of Balrog (after fighting Ballos)
13 = (There is no illustration in slot 13)
14 = Quote and Curly running through Hell
15 = The island floating high in the sky
16 = The island floating high ins the sky (black and white [kinda])
17 = King, Jack, and Sue arguing amongst themselves
18 = Ballos summoning lightning


Your Own Illustrations


To get your own illustrations, open up your mod's exe with resource hacker, expand the “BITMAP,” tab, and apply the same principle of that found in the tutorial on replacing music. If you either need more slots, or don't want to replace any existing illustrations (i. e. you're making a mod that's pretty much cave story except it has a fourth ending, and you want to have illustrations to accommodate the alternate scenes, or you simply need more), then start by creating your own added illustration. Ensure that it is in the same format as a preexisting one, and the same dimensions. In Resource Hacker, select “Action,” and from the drop-down menu, select
“Add a new Resource...” Open up the credit art illustration you want to add. For resource name, enter “CREDIT19,” (or if you're adding even more, then it's CREDIT20, CREDIT21, etc.) and in the language field, either leave it blank, it fill it with “1041,”. If you're replacing music, it doesn't matter, but I'm not sure about when you're adding a credit art illustration. I've only tested that it works if you fill it with 1041, but it probably works otherwise as well.
In your TSC script, make the <SIL command match up with the credit art illustration number you designated, and it will accept it as any other illustration. Example:
Code:
<SIL0019<WAI0350<CIL<WAI0020
<SIL0020<WAI0350<CIL<WAI0020
<SIL0021<WAI0350<CIL<WAI0020
Even though there are no credit art illustrations of these numbers in the vanilla game, your TSC script accepts them perfectly without replacing any existing ones. This requires no assembly, and is 100% compatible with porting.


Epilogue Scenes


When the illustration sequence has ended, it will jump to an event. In this example, we'll have it jump to event 200. In the vanilla game, it starts by turning NPC 400 into Quote, and making him walk in place:
Code:
#0200
<CNP0400:0150:0000
<ANP0400:0099:0000
<FAI0001<WAI0610<FAO0001
<TRA0074:0100:0001:0001
It then transports you to a room which shows an epilogue scene. Don't worry about this interfering with the scrolling credit text, as it's persistent throughout rooms. I'm not going into detail in doing epilogue scenes, as there is another entire tutorial on cutscenes. Just know that each room should have the dimensions of 21 X 16, and that any points in your scene's map along the X axis from 0-9 will appear as blackness, so as to accommodate the credit text.
Also, keep in mind that once your scene ends, that it should transition back to the credit room in preparation for the next epilogue scene. And if you so desire, then execute this code to make Quote walk in place before the next scene:
Code:
<CNP0400:0150:0000
<ANP0400:0099:0000
In between each scene, there is a 400 tick waiting period. I'm not saying to do it the same way Pixel did, but just understand that this is the way it works in between each epilogue scene:
Code:
<CNP0400:0150:0000
<ANP0400:0099:0000
<FAI0001<WAI0400<FAO0001
<TRA0075:0100:0020:0001
You can make your own epilogue scenes last however long as you want, but Pixel chose to make all of his epilogue scenes last 300 ticks, save the scene where Malco activates the other robots, in which case it lasts an extra 50 ticks, and the end scene in the Labyrinth in which there's an extra 2 ticks. But this is all really up to you. This section was primarily showing you how Pixel did his epilogue scenes, and not telling you how you should do yours.


The End

When the Credit.tsc script ends in Cave Story, Quote looks up, and his friends drop down. I'm not saying you have to do this the same way, but it should be noted that the characters who drop down have abstract parameters for their directions that I can't explain. Finally, the “thank you!” text appears. So here's Pixel's code for that:
Code:
#1090
<CNP0400:0150:0000
<ANP0400:0100:0000
<FAI0001
<FLJ2000:1200<EVE1100
#1100
<WAI0732
<ANP0400:0002:0000<WAI0050
<CNP0503:0352:0300<WAI0020
<CNP0504:0352:0400<WAI0020
<CNP0502:0352:0200<WAI0020
<CNP0505:0352:0500<WAI0020
<CNP0501:0352:0100<WAI0020
<CNP0506:0352:0600<WAI0020
<CNP0500:0352:0000<WAI0020
<ANP0400:0000:0000
<SIL0016
<FMU<WAI0200<CMU0000
<CNP0600:0360:0000
<WAI9999<END
#1200
<WAI0432
<ANP0400:0002:0000<WAI0050
<CNP0510:0352:1000<WAI0020
<CNP0511:0352:1100<WAI0020
<CNP0509:0352:0900<WAI0020
<CNP0512:0352:1200<WAI0020
<CNP0508:0352:0800<WAI0020
<CNP0513:0352:1300<WAI0020
<CNP0507:0352:0700<WAI0020
<ANP0400:0000:0000
<SIL0015
<FMU<WAI0200<CMU0000
<CNP0600:0360:0000
<WAI9999<END
In event 1090, Quote looks up, and based on which ending you got, a certiain set of characters drops down next to Quote. In event 1100, the character set from the normal ending drops down, but in event 1200, the character set from the hidden ending drops down. And at the end, there's a 9999 waiting tick, which should be indefinite.

Summary


I hope that you have gained a deep understanding in making credits with Credit.tsc, illustration art, and epilogue scenes. It's a shame how little this is used in modding, as about 65% of mods are abandoned, approximately 25% are in progress, and only around 10% are completed. And not even all of those 10% take advantage of the useful tools available for credit editing. I hope that you now have the motivation to see your mod through to the end, so that you can utilize the powerful tools of credit editing.
 
Mar 18, 2012 at 1:54 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Your credit.tsc command table is screwed up because so are these forums. I would suggest an image with a table and the info filled in.
Other than that, thank you so much for making one of these! I'll have to read it when I have time.
 
Mar 18, 2012 at 4:05 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Good idea. I've posted an image, but I hope when Noxid implements this into his help document, that he makes the table hilightable text. I also hope he fixes all the excessive line skips. I've also provided the tutorial in .odt format.
 
Mar 18, 2012 at 5:39 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
perhaps the fhgegfgfgg stuff after the end of the credits was originally Japanese but got mauled by your computer?
 
Mar 18, 2012 at 6:46 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
That is entirely possible. What really wonders me is why it's even there. Cause I'm pretty sure that no code after the forward slash ever executes. As for what it says... I wonder if GIR knows...
 
Mar 18, 2012 at 7:51 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
I mean, he might just be talking to himself.
 
Mar 19, 2012 at 6:16 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Perhaps that too. I'm going to contact GIR and see if he'll be willing to shed some light on this. *Sends him a personal message*
 
Mar 20, 2012 at 5:21 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
That is entirely possible. What really wonders me is why it's even there. Cause I'm pretty sure that no code after the forward slash ever executes. As for what it says... I wonder if GIR knows...

It just appears to be a note for himself.

"2000Curly Ending"

Basically all it's saying is that flag 2000 is the flag that needs to be tripped to see the Curly Ending (good ending) credits.
 
Mar 20, 2012 at 10:24 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Aha, thanks! The tutorial has been edited to accommodate the newly gained knowledge. (not in the .odt, just in the post though)
 
Apr 30, 2012 at 4:09 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
Anybody up for making a guide to using bosses? I feel that this is something that has been sorely lacking for a long time and I don't even really know enough of it myself to do a good job of it. Covering both regular entity bosses and special bosses would be optimal, as well as the differences and constraints specific to each.
 
May 1, 2012 at 12:25 AM
The Preacher
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Feb 20, 2011
Location: lost in translation
Posts: 336
Age: 32
Pronouns: he/him
Well, since I'm currently making a mod which will basically solely consist of a boss attack, I'll probably have to gather a significant amount of knowledge regarding bosses, and thus I might be able to write a tutorial about them.

However, I won't write it until I'm finished with my mod (since I actually have got a deadline to deal with) so if you're counting on me then you will have to wait at least a couple of weeks.
 
Jun 14, 2012 at 11:22 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Mar 29, 2012
Location:
Posts: 36
Pronouns: he/him
I really need help with adding boss scripts. Is anyone else willing to help?
 
Jun 14, 2012 at 11:55 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Pronouns: he/him
Last edited by a moderator:
Jul 23, 2012 at 4:58 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Sorry for taking so long, but I added a bunch of non-obvious textbox.pbm features to my guide. Anything I missed?
 
Jul 3, 2015 at 2:01 AM
Mrs. Policewoman
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Oct 24, 2011
Location: Canada
Posts: 330
Age: 26
Pronouns: she/her
Hello everyone.
I noticed a while ago that there's nothing posted on moving around the "NEW" and "LOAD" buttons on the title screen, and Doors helped me find the offsets for them, so I figured I'd post them (and a little tutorial on how to use them) here.

Moving NEW and LOAD (for anyone, regardless of skill/knowledge)

Beginning, and editing Quote's first ("NEW") location:

Open your exe (the default being Doukutsu.exe) in OllyDbg (this step should be obvious)
Go to (Ctrl+G) 41030F, and double click on it (or press space) to edit it.
Tick "Fill with NOP's" (yes, I know that apostrophe doesn't belong there, but that's what it says), enter NOP, assemble it (click "Assemble" or press enter), and exit the Assemble window (by pressing cancel).
Do the same to 410315, and edit 41030F.
Enter "PUSH " (without quotes), followed by Quote's Y (horizontal) location for while "NEW" is selected, and assemble it.
Go to 410316, and edit it.
Enter "PUSH " (again, without quotes), followed by Quote's X (vertical) location for while "NEW" button is selected, assemble it, and exit the Assemble window.

Congratulations, you've just changed Quote's position for selecting "NEW"!
In summary of this part, fill 41030F and 410315 with NOPs, put "PUSH <quoteY>" in 41030F, and put "PUSH <quoteY>" in 410316.

Moving on, editing Quote's second ("LOAD") location:

Go to 410338, and replace it with NOP.
Go to 410332, and enter "PUSH " followed by Quote's Y for while "LOAD" is selected.
Go to 410339, and enter "PUSH " followed by Quote's X for while "LOAD" is selected.


Editing the position of the "NEW" button:

Go to 4100CE, and replace it with "NEW"'s Y location.
Go to 4100D3, and replace it with "NEW"'s X location.
Editing the position of the "LOAD" button:



Go to 4100EB, and replace it with "LOAD"'s Y location.
Go to 4100F0, and replace it with "LOAD"'s X location.
This concludes the object movement part of the tutorial. If this was all you wanted to edit, save your modifications by doing the following:

Right click your code
Click on or hover over "Copy to executable"
Click "All modifications"
Click "Copy all"
Right click on your code again
Click "Save file"
Use the save GUI to save your file as you would any other
otherwise, continue through the next segment (which I didn't make, but I don't believe is actually posted anywhere), and save your file afterwards.

The Full-Screen Title Screen Hack (taken from here):

Change each if the following:
40F9C0 from "MOV DWORD PTR SS:[EBP-1C],0" to "MOV DWORD PTR SS:[EBP-1C],30",
40F9C7 from "MOV DWORD PTR SS:[EBP-18],90" to MOV DWORD PTR SS:[EBP-18],140",
40F9CE from "MOV DWORD PTR SS:[EBP-14],28" to "MOV DWORD PTR SS:[EBP-14],120",
4100b4 from "PUSH 28" to "PUSH 0",
and 4100b6 from "PUSH 58" to "PUSH 0".
You'll need a modified title image, so use this one.
 
Last edited by a moderator:
Jul 19, 2015 at 2:11 AM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Sep 21, 2014
Location:
Posts: 341
Age: 23
Pronouns: he/him
Can anyone make a guide for adding Life Capsules?
 
Jul 19, 2015 at 3:34 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
sure

<LI+0003

there you go
 
Back
Top