Hi there!
Half Minute Hero has been released on PC, and I'd like to translate it to my language. I've seen the files, and the text is in .dct files. There are some smaller text in .bin files too, but most of it is in the .dct's.
Who can help me with these files, and how can I help you (posting some of the files or some part of them or what)?
Half Minute Hero translation (.dct files)
- TheReaperCooL
- advanced
- Posts: 60
- Joined: Sat Apr 17, 2010 8:18 pm
- Been thanked: 2 times
-
WRS
- ultra-veteran

- Posts: 601
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 134 times
Re: Half Minute Hero translation (.dct files)
i found the game online.
the extensions used by the game can be ignored.
some .bin files (TextTable_xx.bin) contain null-terminated strings
other formats can be extracted with this script:
note some files have several 'containers' before the actual data. to save yourself time extracting, run quickbms from the command line if you can
edit
cscv format (poc parser, does not extract anything)
the extensions used by the game can be ignored.
some .bin files (TextTable_xx.bin) contain null-terminated strings
other formats can be extracted with this script:
Code: Select all
# generic hmh .bin/.dct/.cat container extractor
# QuickBMS script by WRS
get size asize
do
getdstring name 24
getdstring ext 4
get size long
savepos pos
string fname p= "%s.%s" name ext
log fname pos size
math pos += size
while pos < size
edit
cscv format (poc parser, does not extract anything)
Code: Select all
idstring "CSCV"
get itemSize long # 284
get itemCnt long # n
get NEGONE long # -1
for i = 0 < itemCnt
get int1 long # 30000 ?
get int2 long # 0
get int3 long # -1
get int4 long # 199/200
get int5 long # ~10
get int6 long # <5
getdstring STR1 64 # scene
getdstring STR2 64 # empty
getdstring STR3 64 # empty
getdstring STR4 64 # empty
get NEGONE long # -1
next i
Useful tool links:
- TheReaperCooL
- advanced
- Posts: 60
- Joined: Sat Apr 17, 2010 8:18 pm
- Been thanked: 2 times
Re: Half Minute Hero translation (.dct files)
Thank you for your answer, but the first script tells me this when I run it on any file (be it .dct or anything else):
"Invalid operator p"
I tried the other one as well, but it said "0 files" on everything I tried it on :\
"Invalid operator p"
I tried the other one as well, but it said "0 files" on everything I tried it on :\
-
WRS
- ultra-veteran

- Posts: 601
- Joined: Fri Nov 06, 2009 12:13 am
- Has thanked: 74 times
- Been thanked: 134 times
Re: Half Minute Hero translation (.dct files)
whoops, the first script should look like:
and i said the second script doesn't extract anything..
Code: Select all
get size asize
do
getdstring name 24
getdstring ext 4
get size long
savepos pos
string fname f= "%s.%s" name ext
log fname pos size
math pos += size
goto pos
while pos < size
Useful tool links:
- TheReaperCooL
- advanced
- Posts: 60
- Joined: Sat Apr 17, 2010 8:18 pm
- Been thanked: 2 times
Re: Half Minute Hero translation (.dct files)
Thanks for the reply, but this also doesn't work, says "Invalid operator f"
BTW can this export and import text too?
BTW can this export and import text too?
