Valkyria Chronicles and Shining Resonance Refrain .mtp

How to translate the files of a game
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Last edited by makc_ar on Wed Jul 11, 2018 7:06 am, edited 2 times in total.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles™ .mtp

Post by makc_ar »

Here Shining Resonance .MTP files and fonts .UFN
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles™ .mtp

Post by makc_ar »

Game: https://store.steampowered.com/app/8098 ... ce_Refrain
Image
Here PC Shining Resonance Refrain files
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Delutto »

makc_ar wrote:...
DLC files in both games have only japanese texts... even on dlc_en folder...
Anyway... there's any other SEGA game that use the same MTP files for texts?
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Here strange Valkyria Chronicles 2 and Valkyria Chronicles 3 Extra Edition .mtp files
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Delutto »

makc_ar wrote:Here strange Valkyria Chronicles 2 and Valkyria Chronicles 3 Extra Edition .mtp files
Only the header is visible, all the rest is obfuscated.

SEGA MTP Text Tool [PC]
By Delutto
See Readme.txt for instructions.
SEGA_MTP_Text_Tool_By_Delutto.7z

Note: Not tested ingame.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Thanks a lot Delutto! Do you know how to edit .mxe files?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Delutto »

makc_ar wrote:...
About *.bf1 fonts, use this script to extract the files...

Code: Select all

goto 0x20
get FILES long
goto 0x2C
for i = 0 < FILES
   get OFFSET long
   savepos LOOP
   goto OFFSET   
   getdstring TYPE 4
   get DATA_SIZE long
   get HEADER_SIZE long
   math SIZE = DATA_SIZE
   math SIZE + HEADER_SIZE
   string NAME p "%s.%s" i TYPE
   log NAME OFFSET SIZE
   goto LOOP
next i
... and ask for help on Graphic file formats, if someone explain the format, I can make a tool.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Not all text is exported. Example file DLC_1011_mtpa_slg_402_00.mtp (PC Valkyria Chronicles)

Image

Shining Resonance Refrain .ufn font hard format?
Siberian GRemlin
Posts: 22
Joined: Tue Aug 02, 2016 7:46 am

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Siberian GRemlin »

makc_ar wrote:Shining Resonance Refrain .ufn font hard format?

Looks like ordinary bitmap font.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Delutto »

makc_ar wrote:Not all text is exported. Example file DLC_1011_mtpa_slg_402_00.mtp (PC Valkyria Chronicles)
This is a file problem, not a tool problem. The TextOffset Table always point to 4 bytes before the text, those 4 bytes says the text length... look the offset 0x2BB4, the value is 0x52, copying 0x52 bytes you have:
"I knew I could die. I knew the risks. But I also knew that.this was what I wanted."
Now look the offset 0x2C0C, the value should be 0x93, but is 0, so the tool will add a empty line to txt. Could be just a error or a unused text... you can see this text ingame?
Image
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Hi Delutto! Support Valkyria Chronicles 4 for these files?

Game: https://store.steampowered.com/app/7908 ... ronicles_4
Image
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by Delutto »

Valkyria Chronicles 4 XLB Text Tool
By Delutto
See Readme.txt for instructions.
Valkyria_Chronicles_4_XLB_Text_Tool_By_Delutto.7z
Notes: Based on file samples and not tested ingame.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Valkyria Chronicles and Shining Resonance Refrain .mtp

Post by makc_ar »

Thanks a lot Delutto!