how to replace a .dat file that is inside a .dat file?
Opened this issue · 3 comments
Recently, I was trying to modify the th6 dialogs, for that I extracted the files from "th06e_ST.dat" and modified "msg1.dat"
So far everything was going well, but when I want to put the modified msg1 in a th06e_ST.dat, all the files inside are simply deleted and only the modified msg1.dat remains.
I want to replace the msg1.dat of the th06e_ST.dat with my modified msg1.dat, how can I do it?
I'm sorry if my question is stupid, I recently started with this
You probably need all the files from the original th06e_ST.dat in the same folder as your msg1.dat one's in order to recreate th06e_ST.dat correctly, i'm not sure though
but i can't pass them all, i can pass them one by one and when i pass that file, only that file is left, all the others are deleted, i have the exported .dat folder with all the files inside, but i just don't know how to convert it back to a .dat to be able to replace the original .dat with all the files inside
Thdat always creates dat files from scratch, so if you give it only one file, the dat will only include that file and nothing else.
In other words, you need to specify all of the files (both modified and unmodified) on the command line. For example:
thdat -c6 ..\th06e_ST.dat *.*
This takes all files in the current directory and puts them in th06e_ST.dat
in the parent directory. (Instead of *.*
you could specify all of the files individually, but it's more convenient to use *.*
)