Author Topic: Help to make translation  (Read 18749 times)

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #30 on: August 19, 2012, 09:28:02 PM »
Uh, the error is this:
http://i.imgur.com/RjgNx.png

The comand that I have used are
thmsg c13 st01a.txt > st01a.msg
Then
thdat c13 th13e.dat > st01a.msg

The file .txt of the Stage 1 with Reimu

Code: [Select]
entry 0 (256)
@0
10,0
1,0
@4
13,0
7
28,112.0f,288.0f
@34
10,1
29,0
28,112.0f,288.0f
17,Bene, e' meglio se sconfiggo questi boss fantasma!
@38
11,600
@42
10,0
8
28,288.0f,64.0f
17,Oh, abbiamo dei visitatori?
@102
10,1
@106
11,600
2,0
12
@110
14,0
8
28,336.0f,272.0f
20
17,Aspetta un momento,
17,preparo un po' di the'.
@114
11,600
@118
13,4
7
28,112.0f,288.0f
17,Non c'e' bisogno di preoccuparsi.
@122
11,600
@126
13,6
7
28,112.0f,288.0f
17,Vuoi dirmi cos'hai intenzione di fare
17,facendo infuriare in tal modo questi spiriti?
@130
11,600
@134
14,4
8
28,336.0f,272.0f
17,Mm?
17,Che cosa ho intenzione di fare?
@138
11,600
@142
13,3
7
28,112.0f,288.0f
29,1
17,Devi tenerli sotto controllo!
17,Voglio dire, sono spettrali.
@146
11,600
@150
14,4
8
28,336.0f,272.0f
29,0
17,Beh, io non so esattamente cosa stia succedendo...
@154
11,600
@158
14,1
8
28,336.0f,272.0f
19
17,...ma se vuoi sapere degli spriti,
17,devi prima batterti con me!
@162
11,600
4
5
6
10,0
@192
0
@0
0
entry 1 (256)
@0
10,0
1,0
13,3
2,0
8
14,0
@30
10,1
28,336.0f,272.0f
17,Allora?
17,Esattamente di cosa stavi parlando?
@34
11,600
@38
13,4
7
28,112.0f,288.0f
17,Beh, vedi tutto questo sciame di spiriti qua intorno?
17,Che cosa sono?
@42
11,600
@46
14,0
8
28,336.0f,272.0f
17,Questi sono spiriti divini di bambini.
17,Pensieri effimeri nati dalle preghiere degli umani.
@50
11,600
@54
14,1
8
28,336.0f,272.0f
17,Per quanto possano essere spettrali,
17, non sono legati agli spiriti qui.
@58
11,600
@62
13,0
7
28,112.0f,288.0f
17,Capisco. Quindi venire
17,nell'Aldila' e' stato uno sbaglio?
@66
11,600
@70
14,0
8
28,336.0f,272.0f
17,Ti daro' un indizio.
@74
11,600
@78
14,0
8
28,336.0f,272.0f
17,Il cimitero dietro il tempio
17, non e' sospetto.
@82
11,600
@86
13,4
7
28,112.0f,288.0f
17,Hmm...
@90
11,600
4
5
6
10,0
30
@91
21
22
10,0
@121
0
@0
0
Visit my Touhou Italian Forum, nya.

EthanSilver

  • Lunatic Programmer
  • Got squid, will travel.
    • Ethan Silver's Junkpile - Hacks and translation patches
Re: Help to make translation
« Reply #31 on: August 19, 2012, 10:01:20 PM »
It seems neither your .msg nor your .dat were correct.

The comand that I have used are
thmsg c13 st01a.txt > st01a.msg
Then
thdat c13 th13e.dat > st01a.msg
Don't put a > to rebuild the files. What the above is saying is, "do 'thmsg c13 st01a.txt' (which will give an error since it's missing a file), then put whatever that says in st01a.msg" Instead, do this:

thmsg c13 st01a.txt st01a.msg

As for thdat, you will have to include the filename of every file that you've extracted from the .dat and not just the one files you've modified. Taking out the > from your command, you'd be telling thdat to make a .dat file with just one file contained within it: st01a.msg. Instead do this:

thdat c13 th13e.dat "file1.ext" "file2.ext" "file3.ext" "so on..."

It may take a little while to type up everything so you should keep the command in a file to copy-paste for future modifications. Alternatively, you could write yourself a batch file, though if you don't know what that is don't worry about it. Copy-pasting it will come out the same, pretty much. :P
« Last Edit: August 19, 2012, 10:04:14 PM by EthanSilver »


Latest works
The Strongest

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #32 on: August 20, 2012, 09:39:56 AM »
All file must have the " "?
Visit my Touhou Italian Forum, nya.

EthanSilver

  • Lunatic Programmer
  • Got squid, will travel.
    • Ethan Silver's Junkpile - Hacks and translation patches
Re: Help to make translation
« Reply #33 on: August 20, 2012, 09:47:46 AM »
All file must have the " "?
Not really, but if there's a space in a path it will need the " ". To be on the safe side you may as well put them around every file. :)


Latest works
The Strongest

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #34 on: August 20, 2012, 10:32:00 AM »
But in th13e.dat there are too much file... how I can copy the name of all with a click?

EDIT:
Please make me a list of all file, there are too much...
« Last Edit: August 20, 2012, 04:52:21 PM by RemiShama »
Visit my Touhou Italian Forum, nya.

EthanSilver

  • Lunatic Programmer
  • Got squid, will travel.
    • Ethan Silver's Junkpile - Hacks and translation patches
Re: Help to make translation
« Reply #35 on: August 20, 2012, 10:50:08 PM »
I'm glad to help, but I won't do your work for you.

You can obtain a listing of all files using cmd.exe. Right-click on the folder that contains all of your files and open a command window there. Type the following:

dir /B/S > files.txt

This will create a file, "files.txt", which contains every file contained in the folder and its subfolders. (It also contains the name of the folders themselves, so keep an eye out for that; you don't need to include those in thdat, just the files). With a text editor and a few find-and-replace commands you should be able to make yourself a nice list of all files, ready to be copy-pasted into cmd.exe for use with thdat.

Make sure you hang onto that file so you don't have to rebuild it each time you want to test something. The files being included in the .dat never change so you only need to build this list once.


Latest works
The Strongest

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #36 on: August 21, 2012, 06:36:09 PM »
I did it, but I have always the same problem...
Now the game it opens, but when I select Reimu for play the game crashes and give an error, sigh...
Visit my Touhou Italian Forum, nya.

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #37 on: August 26, 2012, 02:24:20 PM »
Oh yeah, finally changed the dialog and it work, but I have some problem about the character ? ? ? ? and other that I see a [] lol.

Now, someone can explain to me how work the thanm.exe please? I need to change the Menu, Spell Card name and other.
Visit my Touhou Italian Forum, nya.

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #38 on: August 29, 2012, 12:44:10 PM »
Okay, I have extracted the .png file... now the problem is, how I can recreate the file .anm? There are also created some directory.

And, How I can edit this image?!
http://i.imgur.com/Xyofr.png

The stage text is strange.
And please, I need reply very fast, thanks.
Visit my Touhou Italian Forum, nya.

RemiShama

  • Imperial Scarlet Devil.
    • Scarlet Devil Mansion | Touhou italian forum
Re: Help to make translation
« Reply #39 on: September 06, 2012, 08:25:57 PM »
I dont know the comand for re-create the folders with the .png file to make whem a .anm!
What command I need to use?
Visit my Touhou Italian Forum, nya.

Sparen

  • Danmakufu Artist
  • Git ready, git set, PUUSH!
    • AFCDTech
Re: Help to make translation
« Reply #40 on: November 19, 2012, 02:20:49 AM »
When I e-mailed the creator, he did not give a coherent reply regarding the repacking of .anm files. I recommend reading and experimenting (with a separate copy of course).