Author Topic: Change the dialogues  (Read 6960 times)

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Change the dialogues
« on: February 14, 2010, 06:53:31 PM »
Mh maybe i'm stupid and i don't find anything, but i can't edit the dialogues @@ (i'm going to edit PCB)
i found how to change the sprites and the faces but not the dialogues and spellcard...anyone can address me to the right way?
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border

Coin Spire

  • Eerily Disguised Shanghai Doll
  • Tea time is the best
Re: Change the dialogues
« Reply #1 on: February 15, 2010, 02:38:07 AM »
Tried hard-editing it in a hex editor? It works in TH06.

I'm not sure if you can do it in the PCB's patcher's translation.pickle, but nothing hurts if you try, right?

Try making sure that each text string's number of characters remain the same.

So if a line says:
"This is ridiculous." = 19 characters
This is legal:
"I am not Reimu.    " = 19 characters
This is illegal:
"I am not Reimu." = 16 characters and you'll get a fatal error crash when you patch.


I haven't tried editing the msg file directly in PCB, but will try soon.
I've edited the msg.dat of EoSD and they seem to follow the same format.
As always, make a back-up before trying anything out.

The spellcards are the ones that are hard to trace. I'm still trying to find where they are called from, but I seem to fail miserably.

Sorry if my English seems strange...
« Last Edit: February 15, 2010, 02:40:32 AM by Coin Spire »

Themes:Aiki/Shiku

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Re: Change the dialogues
« Reply #2 on: February 15, 2010, 09:52:08 AM »
no problem for your english. I found the spellcards in spellcards.eng in insert_files folder, i trasformed the eng file in txt and i tried to change the first name but when the spellcard must to be used, the game crashed.

how i have to edit the pickle file? i tried to trasnform in .txt ad edit but it doesn't work (and it is a little impossible...)
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border

Coin Spire

  • Eerily Disguised Shanghai Doll
  • Tea time is the best
Re: Change the dialogues
« Reply #3 on: February 16, 2010, 12:46:15 AM »
Don't change the extension of the original file.

Instead, use the 'Open With...' option in the menu and use notepad (I use Cygnus since its a hex editor)


Alternatively use some tools to extract the msgX.dat (where X = Stage #) from th07e.dat for direct editing.

msg1.dat:


It looks more editable.

Then pack it using datpacker.


However the translations.pickle is more complete since it has all the stage translations in it. However, they're jumbled and you have to find the specific lines to translate using ctrl-F:

translation.PICKLE using a notepad:


Which means you should know what you want to edit. Pickle is an archive used by the Python language, so it's encoded and a headache to edit.


Some Tests editing msg1.dat


Editing the Boss Names in msg1.dat


I was able to edit the spellcard.eng in the patcher then patched it without problems:
It follows the same rule as editing the msg.dat that it needs the same number of characters in each line (including spaces)


I don't know how to edit the bomb names yet.

Chances are what you did was:
Edit spellcard.eng -> patch -> patch failed but since it was done without using the normal procedure there was no error log (actually there was but it displayed too fast to be noticed) -> incomplete .dat file was created -> corrupt .dat file was used -> tho7e.exe called for spellcard.eng which was missing -> Unhandled Exception Error occurred.



I'm concerned about my English since it's not my native language. :P
« Last Edit: February 16, 2010, 01:20:56 AM by Coin Spire »

Themes:Aiki/Shiku

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Re: Change the dialogues
« Reply #4 on: February 16, 2010, 10:29:09 AM »
oh i used Hex editor and i can edit translations.pickle and spellcards.eng, but it was very caotic to do! (it is very annoyng i must to follow the original number of letters, expecially for the spellcards when I have a long name and i have to insert a small name...)



(don't look at spellcard name, they are our characters spellcard x???)


example (the dialogues are in italian)




Spellcard




(i'm making the game based on our fan fic, i'm editing pcb because I don't understand anything about danmakufu, english tutorial too, i'm italian and too english make my head hurt x?
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border

SupahVee1234

  • Koishi isn't cute
  • would you like some deathbomb
Re: Change the dialogues
« Reply #5 on: February 16, 2010, 10:50:47 AM »
Stai provando a modificare PCB anzich? imparare Danmakufu? Pazza :D
Beh, se vuoi ti insegno che poi non ? cos? complicato... Sarebbe meglio se avessi qualche esperienza precedente di programmazione per?, perch? il linguaggio ? simile al C.

Eng: You are trying to modify PCB instead of learning how to use Danmakufu? Crazy :D
Well, I can teach you how to use it if you want, it isn't that complicated after all... It would be nice to have some previous programming experiences though, since Danmakufu's language is similar to C.

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Re: Change the dialogues
« Reply #6 on: February 16, 2010, 10:58:52 AM »
ara ara, italian *_*

guarda che modificare pcb ? facilissimo a questo punto, usare il danmakufu no perch? dovrei riprogrammare le spellcard ed ? da suicidio, almeno per me che sono alle prime armi con la programmazione >w<

Eng: edit pcb is simple because if i use the danmakufu script i have to program all the pattern and i can't to this because i don't know much about programming
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border

SupahVee1234

  • Koishi isn't cute
  • would you like some deathbomb
Re: Change the dialogues
« Reply #7 on: February 16, 2010, 11:02:49 AM »
Ma quindi vuoi usare le stesse spell di PCB? :/

Eng: So your idea is to use the exact same spells as PCB?

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Re: Change the dialogues
« Reply #8 on: February 16, 2010, 11:07:35 AM »
mh forse ? meglio discuterne per pm X?D

Eng: we have to talk by pm X?
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border

Coin Spire

  • Eerily Disguised Shanghai Doll
  • Tea time is the best
Re: Change the dialogues
« Reply #9 on: February 17, 2010, 12:39:30 AM »
Nice to see that you've figured it out.

The insert-character reminds me of someone from Teru Toru Magic...lol.

Anyway, do you know how to change the bomb names? I'm stumped at that part.

Themes:Aiki/Shiku

Mitsuki Shiroyume

  • Melodic Magician of Hearts
  • Oboeteiru da z?!
    • Supernatural Border
Re: Change the dialogues
« Reply #10 on: February 17, 2010, 10:39:33 AM »
i don't know @@ i'm looking for it
I'm Italian so I DON'T speak English very well <3
Italian Touhou Community: Supernatural Border