Quick Modding/Hacking Answers Thread

Mar 12, 2011 at 5:11 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
-first question removed as noxid answered it-

Also, how would I go about copying just one of the movement tiles and still have it work the way I want to? I notice there's not exactly a lot of room to work with...
 
Mar 13, 2011 at 9:11 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
I don't understand the question.
 
Mar 13, 2011 at 9:12 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
If you're looking for space, just recode them, that frees up a bunch. or jump into a boss you won't use etc. Is that what you needed?
 
Mar 14, 2011 at 2:56 PM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
Alright you blokes, I hope you can help me out on this one. How can I make a non-automatic weapon become an automatic weapon? I've tried meddling with assembly, copy pasting random parts of the machine gun to other weapons but obviously it doesn't work like that.
 
Mar 14, 2011 at 5:20 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
Making an automatic weapon, or just making a weapon automatic, is a slightly tricky business. At the simplest end, you could just look for where it uses [49E214] and switch that to [49E210] and it'll fire every frame. However, a good automatic weapon usually has some sort of timer to limit the rate of fire, which would require at least some rearranging and rewriting of the original code and isn't really something I could explain without some prior knowledge of assembly techniques
 
Mar 14, 2011 at 8:38 PM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
Seems easy enough.

Thanks noxid!
 
Mar 15, 2011 at 6:34 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
I've realized that several maps that are way below 94 have something set on them that's telling the engine not to render backgrounds for it, and it seems that CE cant touch it, or doesn't know it's there...

Where are the map chunks in the exe? Like, from which byte to which byte is one map address?
 
Mar 15, 2011 at 7:04 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
Are you sure Scroll Type isn't set to 3 or 4? Because, I'm pretty sure CE has no issues changing that.

Either way, the .csmap section starts at 4BF000 and map info is uh... 0xC8 bytes each.
 
Mar 15, 2011 at 9:14 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
Noxid said:
0xC8 bytes each.

Thanks, I found the problem. For some reason, some of the original indoor maps have either an error, or a flag set that stops them from rendering backgrounds. It's two bytes that start immediately after the movetype for the background. 0x41 and 0x42. In my case the map in question (that was not rendering a background) had those two bytes set to 44 and 12. Setting them both to 00 and now the background shows up. :orangebell:
 
Mar 18, 2011 at 10:39 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
Sorry for the double post, but uh... what am I doing wrong here?

Code:
CPU Disasm
Address   Hex dump                   Command                                  Comments
00430B00  /$  55                     PUSH EBP
00430B01  |.  8BEC                   MOV EBP,ESP
00430B03  |.  83EC 68                SUB ESP,68
00430B06  |.  31C0                   XOR EAX,EAX
00430B08  |.  8945 CC                MOV DWORD PTR SS:[LOCAL.13],EAX
00430B0B  |.  8945 9C                MOV DWORD PTR SS:[LOCAL.25],EAX
00430B0E  |.  B0 20                  MOV AL,20
00430B10  |.  8945 D4                MOV DWORD PTR SS:[LOCAL.11],EAX
00430B13  |.  8945 DC                MOV DWORD PTR SS:[LOCAL.9],EAX
00430B16  |.  8945 A4                MOV DWORD PTR SS:[LOCAL.23],EAX
00430B19  |.  8945 AC                MOV DWORD PTR SS:[LOCAL.21],EAX
00430B1C  |.  04 20                  ADD AL,20
00430B1E  |.  8945 E4                MOV DWORD PTR SS:[LOCAL.7],EAX
00430B21  |.  8945 EC                MOV DWORD PTR SS:[LOCAL.5],EAX
00430B24  |.  8945 B4                MOV DWORD PTR SS:[LOCAL.19],EAX
00430B27  |.  8945 BC                MOV DWORD PTR SS:[LOCAL.17],EAX
00430B2A  |.  04 10                  ADD AL,10
00430B2C  |.  8945 D0                MOV DWORD PTR SS:[LOCAL.12],EAX
00430B2F  |.  8945 E0                MOV DWORD PTR SS:[LOCAL.8],EAX
00430B32  |.  8945 F0                MOV DWORD PTR SS:[LOCAL.4],EAX
00430B35  |.  04 10                  ADD AL,10
00430B37  |.  8945 F4                MOV DWORD PTR SS:[LOCAL.3],EAX
00430B3A  |.  8945 C4                MOV DWORD PTR SS:[LOCAL.15],EAX
00430B3D  |.  04 08                  ADD AL,8
00430B3F  |.  8945 D8                MOV DWORD PTR SS:[LOCAL.10],EAX
00430B42  |.  8945 E8                MOV DWORD PTR SS:[LOCAL.6],EAX
00430B45  |.  8945 F8                MOV DWORD PTR SS:[LOCAL.2],EAX
00430B48  |.  8945 A0                MOV DWORD PTR SS:[LOCAL.24],EAX
00430B4B  |.  8945 B0                MOV DWORD PTR SS:[LOCAL.20],EAX
00430B4E  |.  8945 C0                MOV DWORD PTR SS:[LOCAL.16],EAX
00430B51  |.  04 18                  ADD AL,18
00430B53  |.  8945 A8                MOV DWORD PTR SS:[LOCAL.22],EAX
00430B56  |.  8945 B8                MOV DWORD PTR SS:[LOCAL.18],EAX
00430B59  |.  8945 C8                MOV DWORD PTR SS:[LOCAL.14],EAX
00430B5C  |.  58                     POP EAX
00430B5D  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430B60  |.  8B48 74                MOV ECX,DWORD PTR DS:[EAX+74]
00430B63  |.  894D 98                MOV DWORD PTR SS:[LOCAL.26],ECX
00430B66  |.  837D 98 00             CMP DWORD PTR SS:[LOCAL.26],0
00430B6A  |.  74 15                  JE SHORT 00430B81
00430B6C  |.  837D 98 01             CMP DWORD PTR SS:[LOCAL.26],1
00430B70  |.  74 67                  JE SHORT 00430BD9
00430B72  |.  837D 98 02             CMP DWORD PTR SS:[LOCAL.26],2
00430B76  |.  0F84 87010000          JE 00430D03
00430B7C  |.  E9 3A020000            JMP 00430DBB
00430B81  |>  68 00010000            PUSH 100                                 ; /Arg8 = 100
00430B86  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]             ; |
00430B89  |.  52                     PUSH EDX                                 ; |Arg7 => [ARG.1]
00430B8A  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]             ; |
00430B8D  |.  8B48 4C                MOV ECX,DWORD PTR DS:[EAX+4C]            ; |
00430B90  |.  51                     PUSH ECX                                 ; |Arg6
00430B91  |.  6A 00                  PUSH 0                                   ; |Arg5 = 0
00430B93  |.  6A 00                  PUSH 0                                   ; |Arg4 = 0
00430B95  |.  6A 00                  PUSH 0                                   ; |Arg3 = 0
00430B97  |.  6A 00                  PUSH 0                                   ; |Arg2 = 0
00430B99  |.  6A 35                  PUSH 35                                  ; |Arg1 = 35
00430B9B  |.  E8 30E40300            CALL 0046EFD0                            ; \Cave_Story_-_Redesign.0046EFD0
00430BA0  |.  83C4 20                ADD ESP,20
00430BA3  |.  6A 00                  PUSH 0                                   ; /Arg8 = 0
00430BA5  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]             ; |
00430BA8  |.  52                     PUSH EDX                                 ; |Arg7 => [ARG.1]
00430BA9  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]             ; |
00430BAC  |.  8B48 4C                MOV ECX,DWORD PTR DS:[EAX+4C]            ; |
00430BAF  |.  51                     PUSH ECX                                 ; |Arg6
00430BB0  |.  6A 00                  PUSH 0                                   ; |Arg5 = 0
00430BB2  |.  68 80000000            PUSH 80                                  ; |Arg4 = 80
00430BB7  |.  6A 00                  PUSH 0                                   ; |Arg3 = 0
00430BB9  |.  6A 00                  PUSH 0                                   ; |Arg2 = 0
00430BBB  |.  6A 35                  PUSH 35                                  ; |Arg1 = 35
00430BBD  |.  E8 0EE40300            CALL 0046EFD0                            ; \Cave_Story_-_Redesign.0046EFD0
00430BC2  |.  83C4 20                ADD ESP,20
00430BC5  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430BC8  |.  C742 74 01000000       MOV DWORD PTR DS:[EDX+74],1
00430BCF  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430BD2  |.  C740 68 01000000       MOV DWORD PTR DS:[EAX+68],1
00430BD9  |>  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430BDC  |.  8A51 70                MOV DL,BYTE PTR DS:[ECX+70]
00430BDF  |.  8855 FF                MOV BYTE PTR SS:[LOCAL.1+3],DL
00430BE2  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430BE5  |.  8378 4C 00             CMP DWORD PTR DS:[EAX+4C],0
00430BE9  |.  75 0C                  JNE SHORT 00430BF7
00430BEB  |.  0FB64D FF              MOVZX ECX,BYTE PTR SS:[LOCAL.1+3]
00430BEF  |.  83E9 06                SUB ECX,6
00430BF2  |.  884D FF                MOV BYTE PTR SS:[LOCAL.1+3],CL
00430BF5  |.  EB 0A                  JMP SHORT 00430C01
00430BF7  |>  0FB655 FF              MOVZX EDX,BYTE PTR SS:[LOCAL.1+3]
00430BFB  |.  83C2 06                ADD EDX,6
00430BFE  |.  8855 FF                MOV BYTE PTR SS:[LOCAL.1+3],DL
00430C01  |>  0FB645 FF              MOVZX EAX,BYTE PTR SS:[LOCAL.1+3]
00430C05  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C08  |.  8941 70                MOV DWORD PTR DS:[ECX+70],EAX
00430C0B  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C0E  |.  8B42 04                MOV EAX,DWORD PTR DS:[EDX+4]
00430C11  |.  83E0 08                AND EAX,00000008
00430C14  |.  74 46                  JE SHORT 00430C5C
00430C16  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C19  |.  8B41 10                MOV EAX,DWORD PTR DS:[ECX+10]
00430C1C  |.  6BC0 03                IMUL EAX,EAX,3
00430C1F  |.  99                     CDQ
00430C20  |.  83E2 03                AND EDX,00000003
00430C23  |.  03C2                   ADD EAX,EDX
00430C25  |.  C1F8 02                SAR EAX,2
00430C28  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C2B  |.  8942 10                MOV DWORD PTR DS:[EDX+10],EAX
00430C2E  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430C31  |.  8B48 78                MOV ECX,DWORD PTR DS:[EAX+78]
00430C34  |.  83C1 01                ADD ECX,1
00430C37  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C3A  |.  894A 78                MOV DWORD PTR DS:[EDX+78],ECX
00430C3D  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430C40  |.  8378 78 3C             CMP DWORD PTR DS:[EAX+78],3C
00430C44  |.  7E 14                  JLE SHORT 00430C5A
00430C46  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C49  |.  C741 74 02000000       MOV DWORD PTR DS:[ECX+74],2
00430C50  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C53  |.  C742 78 00000000       MOV DWORD PTR DS:[EDX+78],0
00430C5A  |>  EB 0A                  JMP SHORT 00430C66
00430C5C  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430C5F  |.  C740 78 00000000       MOV DWORD PTR DS:[EAX+78],0
00430C66  |>  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C69  |.  8379 4C 00             CMP DWORD PTR DS:[ECX+4C],0
00430C6D  |.  75 3E                  JNE SHORT 00430CAD
00430C6F  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C72  |.  8B42 04                MOV EAX,DWORD PTR DS:[EDX+4]
00430C75  |.  83E0 01                AND EAX,00000001
00430C78  |.  74 33                  JE SHORT 00430CAD
00430C7A  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C7D  |.  8B51 6C                MOV EDX,DWORD PTR DS:[ECX+6C]
00430C80  |.  83C2 01                ADD EDX,1
00430C83  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430C86  |.  8950 6C                MOV DWORD PTR DS:[EAX+6C],EDX
00430C89  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430C8C  |.  8379 6C 08             CMP DWORD PTR DS:[ECX+6C],8
00430C90  |.  7E 19                  JLE SHORT 00430CAB
00430C92  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430C95  |.  C742 4C 02000000       MOV DWORD PTR DS:[EDX+4C],2
00430C9C  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430C9F  |.  8B48 10                MOV ECX,DWORD PTR DS:[EAX+10]
00430CA2  |.  6BC9 FF                IMUL ECX,ECX,-1
00430CA5  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430CA8  |.  894A 10                MOV DWORD PTR DS:[EDX+10],ECX
00430CAB  |>  EB 51                  JMP SHORT 00430CFE
00430CAD  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430CB0  |.  8378 4C 02             CMP DWORD PTR DS:[EAX+4C],2
00430CB4  |.  75 3E                  JNE SHORT 00430CF4
00430CB6  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430CB9  |.  8B51 04                MOV EDX,DWORD PTR DS:[ECX+4]
00430CBC  |.  83E2 04                AND EDX,00000004
00430CBF  |.  74 33                  JE SHORT 00430CF4
00430CC1  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430CC4  |.  8B48 6C                MOV ECX,DWORD PTR DS:[EAX+6C]
00430CC7  |.  83C1 01                ADD ECX,1
00430CCA  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430CCD  |.  894A 6C                MOV DWORD PTR DS:[EDX+6C],ECX
00430CD0  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430CD3  |.  8378 6C 08             CMP DWORD PTR DS:[EAX+6C],8
00430CD7  |.  7E 19                  JLE SHORT 00430CF2
00430CD9  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430CDC  |.  C741 4C 00000000       MOV DWORD PTR DS:[ECX+4C],0
00430CE3  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430CE6  |.  8B42 10                MOV EAX,DWORD PTR DS:[EDX+10]
00430CE9  |.  6BC0 FF                IMUL EAX,EAX,-1
00430CEC  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430CEF  |.  8941 10                MOV DWORD PTR DS:[ECX+10],EAX
00430CF2  |>  EB 0A                  JMP SHORT 00430CFE
00430CF4  |>  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430CF7  |.  C742 6C 00000000       MOV DWORD PTR DS:[EDX+6C],0
00430CFE  |>  E9 B8000000            JMP 00430DBB
00430D03  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D06  |.  8B48 78                MOV ECX,DWORD PTR DS:[EAX+78]
00430D09  |.  83C1 01                ADD ECX,1
00430D0C  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430D0F  |.  894A 78                MOV DWORD PTR DS:[EDX+78],ECX
00430D12  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D15  |.  0FB648 78              MOVZX ECX,BYTE PTR DS:[EAX+78]
00430D19  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430D1C  |.  0FB682 9C000000        MOVZX EAX,BYTE PTR DS:[EDX+9C]
00430D23  |.  03C1                   ADD EAX,ECX
00430D25  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430D28  |.  8881 9C000000          MOV BYTE PTR DS:[ECX+9C],AL
00430D2E  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430D31  |.  837A 78 32             CMP DWORD PTR DS:[EDX+78],32
00430D35  |.  7E C7                  JLE SHORT 00430CFE
00430D37  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D3A  |.  C780 84000000 00010000 MOV DWORD PTR DS:[EAX+84],100
00430D44  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430D47  |.  C741 7C 00010000       MOV DWORD PTR DS:[ECX+7C],100
00430D4E  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430D51  |.  C782 80000000 00010000 MOV DWORD PTR DS:[EDX+80],100
00430D5B  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D5E  |.  C780 88000000 00010000 MOV DWORD PTR DS:[EAX+88],100
00430D68  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430D6B  |.  C781 A4000000 14000000 MOV DWORD PTR DS:[ECX+0A4],14
00430D75  |.  6A 01                  PUSH 1                                   ; /Arg2 = 1
00430D77  |.  6A 2C                  PUSH 2C                                  ; |Arg1 = 2C
00430D79  |.  E8 C2F8FEFF            CALL 00420640                            ; \Cave_Story_-_Redesign.00420640
00430D7E  |.  83C4 08                ADD ESP,8
00430D81  |.  6A 08                  PUSH 8                                   ; /Arg4 = 8
00430D83  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]             ; |
00430D86  |.  8B91 94000000          MOV EDX,DWORD PTR DS:[ECX+94]            ; |
00430D8C  |.  52                     PUSH EDX                                 ; |Arg3
00430D8D  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]             ; |
00430D90  |.  8B48 0C                MOV ECX,DWORD PTR DS:[EAX+0C]            ; |
00430D93  |.  51                     PUSH ECX                                 ; |Arg2
00430D94  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]             ; |
00430D97  |.  8B42 08                MOV EAX,DWORD PTR DS:[EDX+8]             ; |
00430D9A  |.  50                     PUSH EAX                                 ; |Arg1
00430D9B  |.  E8 B0E30300            CALL 0046F150                            ; \Cave_Story_-_Redesign.0046F150
00430DA0  |.  83C4 10                ADD ESP,10
00430DA3  |.  6A 14                  PUSH 14                                  ; /Arg1 = 14
00430DA5  |.  E8 66E5FDFF            CALL 0040F310                            ; \Cave_Story_-_Redesign.0040F310
00430DAA  |.  83C4 04                ADD ESP,4
00430DAD  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430DB0  |.  0FB608                 MOVZX ECX,BYTE PTR DS:[EAX]
00430DB3  |.  83C9 08                OR ECX,00000008
00430DB6  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430DB9  |.  880A                   MOV BYTE PTR DS:[EDX],CL
00430DBB  |>  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430DBE  |.  8B51 14                MOV EDX,DWORD PTR DS:[ECX+14]
00430DC1  |.  81C2 80000000          ADD EDX,80
00430DC7  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430DCA  |.  8950 14                MOV DWORD PTR DS:[EAX+14],EDX
00430DCD  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430DD0  |.  8179 10 FF020000       CMP DWORD PTR DS:[ECX+10],2FF
00430DD7  |.  7E 0A                  JLE SHORT 00430DE3
00430DD9  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430DDC  |.  C742 10 FF020000       MOV DWORD PTR DS:[EDX+10],2FF
00430DE3  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430DE6  |.  8178 10 01FDFFFF       CMP DWORD PTR DS:[EAX+10],-2FF
00430DED  |.  7D 0A                  JGE SHORT 00430DF9
00430DEF  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430DF2  |.  C741 10 01FDFFFF       MOV DWORD PTR DS:[ECX+10],-2FF
00430DF9  |>  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430DFC  |.  817A 14 FF020000       CMP DWORD PTR DS:[EDX+14],2FF
00430E03  |.  7E 0A                  JLE SHORT 00430E0F
00430E05  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E08  |.  C740 14 FF020000       MOV DWORD PTR DS:[EAX+14],2FF
00430E0F  |>  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430E12  |.  8179 14 01FDFFFF       CMP DWORD PTR DS:[ECX+14],-2FF
00430E19  |.  7D 0A                  JGE SHORT 00430E25
00430E1B  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430E1E  |.  C742 14 01FDFFFF       MOV DWORD PTR DS:[EDX+14],-2FF
00430E25  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E28  |.  8B48 08                MOV ECX,DWORD PTR DS:[EAX+8]
00430E2B  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430E2E  |.  034A 10                ADD ECX,DWORD PTR DS:[EDX+10]
00430E31  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E34  |.  8948 08                MOV DWORD PTR DS:[EAX+8],ECX
00430E37  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430E3A  |.  8B51 0C                MOV EDX,DWORD PTR DS:[ECX+0C]
00430E3D  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E40  |.  0350 14                ADD EDX,DWORD PTR DS:[EAX+14]
00430E43  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430E46  |.  8951 0C                MOV DWORD PTR DS:[ECX+0C],EDX
00430E49  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430E4C  |.  837A 4C 00             CMP DWORD PTR DS:[EDX+4C],0
00430E50  |.  75 2B                  JNE SHORT 00430E7D
00430E52  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E55  |.  8B48 68                MOV ECX,DWORD PTR DS:[EAX+68]
00430E58  |.  C1E1 04                SHL ECX,4
00430E5B  |.  8D540D CC              LEA EDX,[ECX+EBP-34]
00430E5F  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E62  |.  83C0 54                ADD EAX,54
00430E65  |.  8B0A                   MOV ECX,DWORD PTR DS:[EDX]
00430E67  |.  8908                   MOV DWORD PTR DS:[EAX],ECX
00430E69  |.  8B4A 04                MOV ECX,DWORD PTR DS:[EDX+4]
00430E6C  |.  8948 04                MOV DWORD PTR DS:[EAX+4],ECX
00430E6F  |.  8B4A 08                MOV ECX,DWORD PTR DS:[EDX+8]
00430E72  |.  8948 08                MOV DWORD PTR DS:[EAX+8],ECX
00430E75  |.  8B52 0C                MOV EDX,DWORD PTR DS:[EDX+0C]
00430E78  |.  8950 0C                MOV DWORD PTR DS:[EAX+0C],EDX
00430E7B  |.  EB 29                  JMP SHORT 00430EA6
00430E7D  |>  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E80  |.  8B48 68                MOV ECX,DWORD PTR DS:[EAX+68]
00430E83  |.  C1E1 04                SHL ECX,4
00430E86  |.  8D540D 9C              LEA EDX,[ECX+EBP-64]
00430E8A  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430E8D  |.  83C0 54                ADD EAX,54
00430E90  |.  8B0A                   MOV ECX,DWORD PTR DS:[EDX]
00430E92  |.  8908                   MOV DWORD PTR DS:[EAX],ECX
00430E94  |.  8B4A 04                MOV ECX,DWORD PTR DS:[EDX+4]
00430E97  |.  8948 04                MOV DWORD PTR DS:[EAX+4],ECX
00430E9A  |.  8B4A 08                MOV ECX,DWORD PTR DS:[EDX+8]
00430E9D  |.  8948 08                MOV DWORD PTR DS:[EAX+8],ECX
00430EA0  |.  8B52 0C                MOV EDX,DWORD PTR DS:[EDX+0C]
00430EA3  |.  8950 0C                MOV DWORD PTR DS:[EAX+0C],EDX
00430EA6  |>  8BE5                   MOV ESP,EBP
00430EA8  |.  5D                     POP EBP
00430EA9  \.  C3                     RETN

Everything seems to work just fine, except something is wrong when it explodes. No damage. To be specific, I think either I've made a mistake here:
Code:
00430D37  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D3A  |.  C780 84000000 00010000 MOV DWORD PTR DS:[EAX+84],100
00430D44  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430D47  |.  C741 7C 00010000       MOV DWORD PTR DS:[ECX+7C],100
00430D4E  |.  8B55 08                MOV EDX,DWORD PTR SS:[ARG.1]
00430D51  |.  C782 80000000 00010000 MOV DWORD PTR DS:[EDX+80],100
00430D5B  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430D5E  |.  C780 88000000 00010000 MOV DWORD PTR DS:[EAX+88],100
00430D68  |.  8B4D 08                MOV ECX,DWORD PTR SS:[ARG.1]
00430D6B  |.  C781 A4000000 14000000 MOV DWORD PTR DS:[ECX+0A4],14
or here:
Code:
00430DAD  |.  8B45 08                MOV EAX,DWORD PTR SS:[ARG.1]
00430DB0  |.  0FB608                 MOVZX ECX,BYTE PTR DS:[EAX]
00430DB3  |.  83C9 08                OR ECX,00000008

:p
 
Mar 18, 2011 at 11:19 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
100,100,100,100 is a very teeny tiny hitbox. Those are supposed to be in Game-Units where 0x200 = 1 pixel so you've got a 1x1 hitbox. Is this intentional?
 
Mar 20, 2011 at 1:58 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Mar 20, 2011
Location: Italy (Florence)
Posts: 3
Age: 28
Hi everyone!!
I'm new here and i need some help to translate in italian (yes, i'm from italy :cool:) the dialogues of Cave Story.
What tool I have to use?? :pignon:
An hex editor?
Resource Hacker?
Thanks to all who answer me. :D
 
Mar 20, 2011 at 2:02 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
For the most part you'll just need Cave Editor which will allow you to see the scripts. Resource Hacker isn't really necessary, nor is a hex editor as far as I know.
 
Mar 20, 2011 at 2:37 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
Yep, 98% of the text in Cave Story is in the scripts, which can be viewed with CaveEdit as Noxid said. Some of the text is bitmapped however, and is stored in the various *.pbm files in the "data" folder. These *.pbm files are secretly just bitmap files, so most graphics editing software should recognize them as such.

IIRC, there's some graphic text that you need Resource Hacker to get at, like the copyright or something, I'm not exactly sure. But you don't need a hex editor.
 
Mar 20, 2011 at 3:23 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
Since you probably don't want to get involved with the more hardcore aspects of modding, and just want to do a translation, I recommend downloading this: http://www.dananddavid.com/CE/CEScript1.1.zip

If you go to your cave story folder, you'll see a /data/ folder - open it and go inside the /stage/ folder. If you order files by filetype, you'll see a bunch of .tsc files. All the dialogue is contained within these files. Note that these are script files, and also contain a lot of other stuff which you shouldn't tamper with if you only wish to do a translation. The dialogue should be fairly easy to spot though!

Here's an example (this is cent.tsc). I've highlighted all the dialogue in BLUE:
Code:
#0090
<MNA<CMU0024<FAI0000<END
#0091
<MNA<CMU0024<FAI0001<END
#0092
<MNA<CMU0024<FAI0002<END
#0093
<MNA<CMU0024<FAI0003<END
#0094
<MNA<CMU0024<FAI0004<END

#0100
<KEY<SOU0011<ANP0100:0000:0002<FAO0002<TRA0055:0092:0003:0009

#0110
<KEY<FAO0002<TRA0057:0092:0005:0014
#0115
<KEY<SOU0011<ANP0115:0000:0002<FAO0002<TRA0057:0092:0003:0002

#0120
<PRI<FLJ1105:0122<MSG[color=#7F7F7F]What's the password?[/COLOR]<NOD<FLJ1024:0121<END
#0121
<MSG
[color=#7F7F7F]"Litagano Motscoud".[/COLOR]<NOD<CLO
<KEY<SOU0011<ANP0120:0000:0002<FAO0003<TRA0058:0093:0009:0004
#0122
<KEY<SOU0011<ANP0120:0000:0002<FAO0003<TRA0058:0093:0009:0004

#0130
<KEY<SOU0011<ANP0130:0000:0002<FAO0000<TRA0059:0090:0026:0008

#0135
<PRI
<FLJ1023:0137
<ITJ0025:0136
<MSG[color=#7F7F7F]It says "No Entry".[/COLOR]<NOD
[color=#7F7F7F]And it's locked.[/COLOR]<NOD<END
#0136
<SOU0022<MSG<GIT1025[color=#7F7F7F]Used the =Teleporter Room Key=.[/COLOR]<NOD<CLO
<GIT0000<FL+1023<EVE0137
#0137
<KEY<SOU0011<ANP0135:0000:0002<FAO0000<TRA0060:0090:0018:0009

#0140
<KEY<FAO0000<TRA0061:0090:0029:0009

#0150
<PRI<FLJ1030:0151<MSG[color=#7F7F7F]It's still too early to come
here...[/COLOR]<NOD<END

#0151
<KEY<SOU0011<ANP0150:0000:0002<FAO0002
<ITJ0023:0160
<KEY<TRA0063:0092:0007:0052

#0160
<KEY<TRA0067:0092:0007:0052

#0170
<KEY<FAO0002<TRA0084:0092:0001:0021


#0199
<MOV0074:0079<END

#0200
<PRI<FLJ1020:0201
<EVE0299

#0201
<PRI<MSG[color=#7F7F7F]The surface dwellers are planning
an attack on us, so we're raising
red flowers to prepare.[/COLOR]<NOD
[color=#7F7F7F]If what the Doctor says is
true, these flowers better
bloom fast, or else.[/COLOR]<NOD<END

#0210
<PRI<FLJ1020:0211
<EVE0299
#0211
<PRI<MSG[color=#7F7F7F]With the red flowers on our
side, those killer robots'll be
a piece of cake![/COLOR]<NOD
[color=#7F7F7F]Bloom away, my crimson dainties![/COLOR]<NOD<END

#0220
<PRI<FLJ1020:0221
<EVE0299
#0221
<PRI<MSG[color=#7F7F7F]Long live the Doctor![/COLOR]<NOD<END

#0230
<PRI<FLJ1020:0231
<EVE0299
#0231
<PRI<MSG[color=#7F7F7F]Get to work![/COLOR]<NOD<END

#0240
<PRI
<FLJ1037:0242
<FLJ1020:0241
<EVE0299

#0241
<PRI<FL+1037<MSG[color=#7F7F7F]Oho.[/COLOR]<NOD<CLR[color=#7F7F7F]You're new here, aren't ya.[/COLOR]<NOD
[color=#7F7F7F]I bet you're still confused,
being picked up and dropped
here all of a sudden.[/COLOR]<NOD<CLR[color=#7F7F7F]Well, just remember.[/COLOR]<NOD
[color=#7F7F7F]Don't try anything funny.[/COLOR]<NOD
[color=#7F7F7F]If you run away and get
caught, they'll throw you
in prison.[/COLOR]<NOD
[color=#7F7F7F]As long as you just tend to
the flowers, you'll be safe,
and you'll get to eat.[/COLOR]<NOD<END

#0242
<PRI<MSG[color=#7F7F7F]How's the work goin'?[/COLOR]<NOD<CLR[color=#7F7F7F]With any luck, we'll be
back to our long, relaxing
days in no time.[/COLOR]<NOD<CLR[color=#7F7F7F]...I mean, we will, won't we?[/COLOR]<NOD<END



#0250
<PRI
<ITJ0029:0254
<FLJ1029:0253
<FLJ1028:0252
<FLJ1020:0251
<PRI<MSG[color=#7F7F7F]Man, these sprinklers just...[/COLOR]<NOD<CLR[color=#7F7F7F]Whoops.
Not supposed to talk to humans.[/COLOR]<NOD<END

#0251
<PRI<MSG[color=#7F7F7F]These sprinklers are handy, but
they sure break all the time.[/COLOR]<NOD<END

#0252
<PRI<FL+1029<MSG[color=#7F7F7F]It busted again![/COLOR]<NOD<CLR[color=#7F7F7F].....[/COLOR]<NOD<CLR[color=#7F7F7F]Hey, you.
You're the new guy, right?[/COLOR]<NOD
[color=#7F7F7F]Go take that busted sprinkler
in and exchange it for a new
one.[/COLOR]<NOD<END

#0253
<PRI<MSG[color=#7F7F7F]Hurry it up! The flower buds
are getting parched.[/COLOR]<NOD
[color=#7F7F7F]Go take that busted sprinkler
in and exchange it for a new
one.[/COLOR]<NOD<END

#0254
<PRI<MSG[color=#7F7F7F]It's the red flowers that
make us powerful warriors![/COLOR]<NOD
[color=#7F7F7F]We Mimigas had this ferocity
in us all along.[/COLOR]<NOD
[color=#7F7F7F]So the time we fought the robots
wasn't just an old legend![/COLOR]<NOD<CLR[color=#7F7F7F]Heh-heh-heh...[/COLOR]<NOD<CLR[color=#7F7F7F]Bloom, little flowers...[/COLOR]<NOD
[color=#7F7F7F]Truth be told, I'm getting
a bit sick of farming.[/COLOR]<NOD<END

#0260
<PRI
<FLJ1023:0263
<FLJ1022:0262
<FLJ1035:0261
<FL+1035
<MSG[color=#7F7F7F]Oh, hey, it's you.[/COLOR]<NOD<CLR[color=#7F7F7F]I caught something weird
just now.[/COLOR]<NOD
[color=#7F7F7F]You can have it, if you want.[/COLOR]<NOD
[color=#7F7F7F]It's in the bucket there.[/COLOR]<NOD<END
#0261
<PRI<MSG[color=#7F7F7F]It's in the bucket there.[/COLOR]<NOD<END
#0262
<PRI<MSG[color=#7F7F7F]Where does that key go, I wonder?[/COLOR]<NOD<CLR[color=#7F7F7F]You'd think it'd match
up with something around here...[/COLOR]<NOD<CLR[color=#7F7F7F]Man, I'm hungry...[/COLOR]<NOD<END
#0263
<PRI<MSG[color=#7F7F7F]I'm not catching ANYTHING.[/COLOR]<NOD<END

#0265
<PRI
<FLJ1022:0267
<FLJ1035:0266
<MSG[color=#7F7F7F]It's a bucket. Fish go here
once they've been caught.[/COLOR]<NOD<END

#0266
<PRI<FL+1022
<MSG[color=#7F7F7F]Peered into the bucket.[/COLOR]<NOD
[color=#7F7F7F]Looking closely, you can see
something down at the bottom.[/COLOR]<NOD<CLR<GIT1025<IT+0025<CLR
<CMU0010[color=#7F7F7F]Got the =Teleporter Room Key=.[/COLOR]<WAI0160<NOD<RMU<END
#0267
<PRI<MSG[color=#7F7F7F]Nothing in here anymore...[/COLOR]<NOD<END

#0299
<PRI<MSG[color=#7F7F7F].....[/COLOR]<NOD<END
<PRI<CMU0000<MSG[color=#7F7F7F]You're one of those killer robots![/COLOR]<NOD<FAO0004<MYD0002<CLR
[color=#7F7F7F]Oh, you got me...[/COLOR]<NOD<TRA0057:0094:0011:0014


#0300
#0301

#0310
<PRI
<FLJ1045:0313
<FLJ1041:0311
<FLJ1044:0312
<MSG[color=#7F7F7F]A man from the surface, the
Doctor, is using the Mimigas to
cultivate red flowers.[/COLOR]<NOD<CLR[color=#7F7F7F]This isn't the first time
this sort of thing has
happened...[/COLOR]<NOD<END
#0311
<PRI<MSG[color=#7F7F7F]Found this one lying in the
spring.[/COLOR]<NOD
[color=#7F7F7F]Says she doesn't even remember
who she is...[/COLOR]<NOD<CLR[color=#7F7F7F]Just a piece of junk, I guess.[/COLOR]<NOD<FL+1044<EVE0312
#0312
<PRI<MSG[color=#7F7F7F]Now that you mention it...[/COLOR]<NOD
[color=#7F7F7F]There's a certain kind of
mushroom, I'm told,[/COLOR]<NOD
[color=#7F7F7F]that brings back memories
when you eat it...[/COLOR]<NOD
[color=#7F7F7F]Wonder if it'd work on her?[/COLOR]<NOD<END
#0313
<PRI<MSG[color=#7F7F7F]What's that?
Her memories are back?[/COLOR]<NOD
[color=#7F7F7F]Pfft. Liked it better the
old way.[/COLOR]<NOD<END



#0320
<PRI
<FLJ1046:0325
<FLJ1045:0324
<ITJ0024:0321
<FL+1041<MSG<FAC0025[color=#7F7F7F]Who...[/COLOR]<NOD[color=#7F7F7F]are you...?[/COLOR]<NOD<ITJ0034:0322<END
#0321
<PRI<MSG<FAC0025[color=#7F7F7F]Oh...[/COLOR]<NOD
[color=#7F7F7F]You're so cute...[/COLOR]<NOD<CLR[color=#7F7F7F]Don't go too far.[/COLOR]<NOD
[color=#7F7F7F]And watch out for the
bad robots...[/COLOR]<NOD<ITJ0034:0322<END

#0322
<FAC0000<MSG<GIT1034[color=#7F7F7F]Do you want to use the
=Ma Pignon=?[/COLOR]<YNJ0000<GIT0000<IT-0034<CMU0000<CLR
[color=#7F7F7F]Jammed it into Curly's mouth.[/COLOR]<NOD<CLR<CLO<WAI0050<EQ-0064<WAI0050
<MSG<FAC0025[color=#7F7F7F].....[/COLOR]<NOD<CLR<FAC0019[color=#7F7F7F]Quote!![/COLOR]<NOD
[color=#7F7F7F]I remember now.
Your name's Quote![/COLOR]<NOD<CLR[color=#7F7F7F]You and I...[/COLOR]<NOD<CLR
<FAC0025[color=#7F7F7F]Right...[/COLOR]<NOD<CLR[color=#7F7F7F]Back then, a huge
number of robots were
sent to this island[/COLOR]<NOD
[color=#7F7F7F]from countries on the
Earth's surface.[/COLOR]<NOD<CLR[color=#7F7F7F]Their target was the
awesome power kept
within this island...[/COLOR]<NOD
[color=#7F7F7F]The =Demon Crown=.[/COLOR]<NOD
[color=#7F7F7F]But you and I, we were
different.[/COLOR]<NOD<CLR[color=#7F7F7F]The two of us were sent
in order to destroy that
power.[/COLOR]<NOD<CLR[color=#7F7F7F]When we got here,
the island was in
a shambles.[/COLOR]<NOD
[color=#7F7F7F]The robots had torn it
all to pieces...[/COLOR]<NOD<CLR[color=#7F7F7F]And countless Mimigas
had been slaughtered...[/COLOR]<NOD
<FAC0020[color=#7F7F7F]It was...terrible...[/COLOR]<NOD<CLR<FAC0025F[color=#7F7F7F]inally, one man got
the =Demon Crown= in
his possession.[/COLOR]<NOD<CLR[color=#7F7F7F]The robots' work was
done, and the island
fell silent.[/COLOR]<NOD<CLR[color=#7F7F7F]But that was just the
beginning of the tragedy.[/COLOR]<NOD
[color=#7F7F7F]With the crown in hand,
the man turned the
Mimigas into killers[/COLOR]<NOD
[color=#7F7F7F]and began his assault
on the Earth.[/COLOR]<NOD<CLR[color=#7F7F7F]I tried to stop him.[/COLOR]<NOD
[color=#7F7F7F]You were there too.[/COLOR]<NOD<CLR
[color=#7F7F7F].....[/COLOR]<NOD<CLR[color=#7F7F7F]That's...as far as I
can remember.[/COLOR]<NOD<CLR[color=#7F7F7F]I'm pretty sure we
were able to wound him.[/COLOR]<NOD
[color=#7F7F7F]But we seemed far out
of our league...[/COLOR]<NOD<CLR
<FAC0019[color=#7F7F7F]Do you remember anything?[/COLOR]<NOD<CLO
<FL+1045<RMU<FLJ1020:0323<END

#0323
<PRI<EQ+0064<END

#0324
<PRI<MSG<FAC0019[color=#7F7F7F]I'm fine, thank you.[/COLOR]<NOD
[color=#7F7F7F]Don't worry about me.[/COLOR]<NOD<CLR<FAC0025[color=#7F7F7F]Oh,[/COLOR]<NOD here.<NOD<CLR<FAC0019[color=#7F7F7F]Take this[/COLOR]<GIT1039 [color=#7F7F7F]with you...[/COLOR]<NOD<CLR<FAC0000
<FL+1046<IT+0039[color=#7F7F7F]Got the =Iron Bond=![/COLOR]<WAI0020<NOD<GIT0000<END


#0325
<PRI<MSG<FAC0019[color=#7F7F7F]I'm fine now.[/COLOR]<NOD<END

#0350
<PRI<MSG[color=#7F7F7F]Do you want to flip the
switch?[/COLOR]<YNJ0000<CLO
<ANP0350:0010:0000<END

#0360
<PRI<MSG<FAC0028[color=#7F7F7F]I'm back![/COLOR]<NOD<CLR[color=#7F7F7F]No use in hiding
anymore, you know?[/COLOR]<NOD
[color=#7F7F7F]And anyway, the rocket
couldn't be finished
without me here![/COLOR]<NOD<CLR[color=#7F7F7F]By the way...[/COLOR]<NOD<CLR[color=#7F7F7F]If you defeat the Doctor,[/COLOR]<NOD
[color=#7F7F7F]do you think I'll be
able to become a human
again...?[/COLOR]<NOD<END

#0370
<PRI<FLJ1034:0380<MSG<FAC0022<FL+1034[color=#7F7F7F]Did you have a good
rest?[/COLOR]<NOD<CLR[color=#7F7F7F]The rocket's all done.[/COLOR]<NOD<CLR[color=#7F7F7F]You'll be able to take
down the Doctor, right?[/COLOR]<NOD
[color=#7F7F7F]I believe in you.[/COLOR]<NOD<CLR[color=#7F7F7F]Take this with you...[/COLOR]<NOD<CLO<FAC0000<FLJ0162:0371
<IT+0018<GIT1018
<CMU0010<MSG
[color=#7F7F7F]Got the Booster v0.8.[/COLOR]<WAI0160<NOD<RMU<CLO
<GIT0000<EVE0375

#0371
<IT+0023<GIT1023
<CMU0010<MSG
[color=#7F7F7F]Got the Booster v2.0.[/COLOR]<WAI0160<NOD<RMU<CLO
<GIT0000<EVE0375

#0375
<PRI<MSG<FAC0022[color=#7F7F7F]You won't be needing
this anymore.[/COLOR]<NOD<CLO<FAC0000
<MSG<GIT1024<IT-0024<EQ-0064<FL-1020
=[color=#7F7F7F]Mimiga Mask= taken.[/COLOR]<NOD<CLO<GIT0000<EVE0380

#0380
<PRI<MSG<FAC0022[color=#7F7F7F]Directly above us is a
path to the throne room.[/COLOR]<NOD
[color=#7F7F7F]You should be able to
get there using the
rocket.[/COLOR]<NOD<CLR[color=#7F7F7F]The Mimigas are gone
from the plantation.[/COLOR]<NOD<CLR[color=#7F7F7F]...In other words,
he may already be using
the red flowers.[/COLOR]<NOD<CLR[color=#7F7F7F]Go on.[/COLOR]<NOD<CLR[color=#7F7F7F]Ride the rocket up
to the Doctor's throne
room. Hurry![/COLOR]<NOD<END

#0400
<PRI<FLJ1102:0401<MSG[color=#7F7F7F]It's spewing out water
at a frightening rate.[/COLOR]<NOD<END
#0401
<PRI<MSG[color=#7F7F7F]Hey! We need that here![/COLOR]<NOD<END

#0410
<PRI<FLJ1102:0411<MSG[color=#7F7F7F]It's spewing out water
at a frightening rate.[/COLOR]<NOD<END
#0411
<PRI<MSGH[color=#7F7F7F]ey! We need that here![/COLOR]<NOD<END

#0415
<PRI<MSG[color=#7F7F7F]It's stopped.[/COLOR]<NOD<FLJ1029:0416<END
#0416
<PRI<DNP0415<FL-1028<GIT1028<IT+0028<MSG
<CMU0010[color=#7F7F7F]Got the =Broken Sprinkler=.[/COLOR]<WAI0160<NOD<RMU<END

#0450
<PRI<FLJ1040:0451<FL+1040<MSG[color=#7F7F7F]Long time no arf![/COLOR]<NOD<CLR[color=#7F7F7F]I was told to bring this
to you...[/COLOR]<NOD<CLR<SOU0022<CMU0016<GIT1006[color=#7F7F7F]Got a =Life Capsule=![/COLOR]<WAI0160<NOD<RMU<ML+0005
[color=#7F7F7F]Max health increased by 5![/COLOR]<NOD<GIT0000<ITJ0015:0451<CLR[color=#7F7F7F]Oh, she said to give you
this, too...[/COLOR]<NOD<CLR
<CMU0010<GIT1015<IT+0015<GIT1015[color=#7F7F7F]Got a =Life Pot=![/COLOR]<WAI0160<NOD<GIT0000<RMU<EVE0451
<END
#0451
<PRI<MSG[color=#7F7F7F]So you're going to fight
the Doctor? Good luck!
My tail wags only for you![/COLOR]<NOD
[color=#7F7F7F]Oh, yeah, and tell Curly I
said hi![/COLOR]<NOD<END

#0460
<PRI<MSG<TUR[color=#7F7F7F]Watch out for Gunfish! (Note:
Those who use them as platforms
do so at their own risk.)[/COLOR]<NOD<END

#0480
<KEY<HMC
<FON0481:0016
<MNP0481:0034:0118:0000
<ANP0481:0020:0002<WAI0320
<ANP0481:0000:0000
<MOV0073:0110<SMC<MYB0002<FOM0016<END
#0481


#0500
<PRI<SOU0022<DNP0500<CMU0016
<MSG<GIT1006[color=#7F7F7F]Got a =Life Capsule=![/COLOR]<WAI0160<NOD<RMU<ML+0004
[color=#7F7F7F]Max health increased by 4![/COLOR]<NOD<END


#1200
<KEY<ANP1200:0020:0000
<FON1200:0016<FAI0001
<WAI0100<FAO0001<FMU<WAI0200<TRA0091:0100:0001:0001

Every time you see a "<MSG" or a "<MS2" or a "<MS3" that means it's dialogue.

As for translating the things like menu items, those are also in .tsc files but are located in the /data/ folder instead. (ArmsItem.tsc, Credit.tsc, Head.tsc, StageSelect.tsc) The stuff that says "<NOD" is what pauses the dialogue in the box until the player pushes a button. Try to keep the lines of dialogue to the same length as the original, and don't have more than three lines of dialogue for every "<NOD".

As for editing the title screen text, or other text, you'll need a graphic editor such as Paint.net (yes that's also the website of the program). The image files for cavestory are actually .bmp files, but to edit them and still have the exe recognize them is slightly more difficult than that. Once you get to that point though, you may need to download Cave Editor and change the exe's settings to recognize .bmp files and not check for Pixel's (C) on each filetag.
 
Mar 20, 2011 at 3:24 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Mar 20, 2011
Location: Italy (Florence)
Posts: 3
Age: 28
Noxid said:
For the most part you'll just need Cave Editor which will allow you to see the scripts. Resource Hacker isn't really necessary, nor is a hex editor as far as I know.

Wedge of Cheese said:
Yep, 98% of the text in Cave Story is in the scripts, which can be viewed with CaveEdit as Noxid said. Some of the text is bitmapped however, and is stored in the various *.pbm files in the "data" folder. These *.pbm files are secretly just bitmap files, so most graphics editing software should recognize them as such.

IIRC, there's some graphic text that you need Resource Hacker to get at, like the copyright or something, I'm not exactly sure. But you don't need a hex editor.

Ah, it was easier than expected... :cool:
Anyway, when I have finished to translate, where should I post it? :pignon:
Many thanks!!
PS: I know that is OT, but how do I change my avatar? :D
 
Mar 20, 2011 at 3:30 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
You need ten posts and to have been here a week.
I think there's a thread that says as much, somewhere...
 
Mar 20, 2011 at 3:43 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Mar 20, 2011
Location: Italy (Florence)
Posts: 3
Age: 28
Lace said:
You need ten posts and to have been here a week.
I think there's a thread that says as much, somewhere...

Okay I will use the search function (hoping to find something...)
Thanks to everyone and also to Dubby (I saw your post just now :pignon:).
 
Mar 22, 2011 at 7:54 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
I searched this up and came up with nothing, but are there any reference sheets with animations for NPCs?
Like, Curly's walking animation is number 0003.
If there isn't, maybe I should write one...
 
Back
Top