Jump to content
Sign in to follow this  
shadowofchaos

FEifReadable Script Program 0.2

Recommended Posts

So, I made a Python program to process the raw text dumps from SciresM's programs.

Requires Python 3.X

Sample Input:

MID_A013_OP1_PCM1: $t1$Wmアクア|3$w0|$Wsアクア|$Wa$SvpVOICE_AQUA_WIN_06|着いたわ\nここが、シュヴァリエ公国よ。$k\n$Wmサクラ|7$w0|$Wsサクラ|$Wa$E怒,|$SvpVOICE_SAKURA_EVT_01|リョウマ兄様\n早くお会いしたいです。$k\n$Wsアクア|$Wd$w0|$Wmタクミ|3$w0|$Wsタクミ|$Wa$E怒,|$SvpVOICE_TAKUMI_MYROOM_11|無事でいるとは思うけど、\nやっぱり顔を見るまでは安心できないね。$k\n$Wsサクラ|$Wd$w0|$Wmヒノカ|7$w0|$Wsヒノカ|$Wa$E怒,|$SvpVOICE_HINOKA_EVT_03|ああ。早くきょうだい人揃って、\n暗夜王国に立ち向かいたいところだ。$k\n$Wsタクミ|$Wd$w0|$Wmusername|3$w0|$Wsusername|$Wa$E怒,|$SvpVOICE_PLAYER_M#_EVT_40|うん。\n
Sample Output:

MID_A013_OP1_PCM1:
アクア:
着いたわ
ここが、シュヴァリエ公国よ。▼

サクラ:
リョウマ兄様
早くお会いしたいです。▼

タクミ:
無事でいるとは思うけど、
やっぱり顔を見るまでは安心できないね。▼

ヒノカ:
ああ。早くきょうだい人揃って、
暗夜王国に立ち向かいたいところだ。▼

カムイ:
うん。
Page on Github: https://github.com/Reyli/FEif-Readable

I know FEITS generates images from code, but this was primarily for the Translation Team when it comes to reading and translating the messages easily than using images.

I need some testers.

Here's the RAW text dump from the game: https://dl.dropboxusercontent.com/u/5490460/FE14%20Related/Fire%20Emblem%20If%20'Messages'%20Text%20Dump.zip

You will enter the input.txt file to process.

Example outputs are included in the "Expected Sample Outputs".

That folder includes human done processing to compare to the outputs by the program.

Files in the "Original Files" folder are samples and were taken from dumps from the game.

What I need other people to do is to look through and see what commands are being left over.

Edit:

Found an extra 3 in front of Felicia's name in Kazahana x Felicia

MID_支援_カザハナ_フェリシア_C:
カザハナ:
ん?
そこにいるのはフェリシア?▼
 
3フェリシア:
あっ…カザハナさん。▼
I think it's a thing for character entering or something? IDK though

it's a thing in kazahana x setsuna too

MID_支援_カザハナ_セツナ_C:
3カザハナ:
あ~あ、残念…
もしかして…あたしたち二人だけ?▼

Fixed this bug.

Edited by shadowofchaos

Share this post


Link to post
Share on other sites
MID_E000_OP1_PCM1:
Robin:
...Where are we?
Chrom, do you know this place?▼



MID_E000_OP1_PCM2:
Robin:
ここは…どこだろう?▼



MID_E000_OP1_PCM3:
Robin:
……?▼



MID_E000_OP1_PCF1:
Robin:
...Where are we?
Chrom, do you know this place?▼



MID_E000_OP1_PCF2:
Robin:
ここは…どこでしょう?▼

...it works for Awakening too, HOLY CRAP.

Share this post


Link to post
Share on other sites

Seems to be working for me on Lubuntu 15.10 (Beta)...

But you've to cd into the directory and cannot enter the full path to input.txt... (If I convert output.txt from LF to CRLF it has the same hashes)

Also your second dropbox link is broken Rey. :P

Edited by Naughx

Share this post


Link to post
Share on other sites

Found an extra 3 in front of Felicia's name in Kazahana x Felicia

MID_支援_カザハナ_フェリシア_C:
カザハナ:
ん?
そこにいるのはフェリシア?▼
 
3フェリシア:
あっ…カザハナさん。▼

I think it's a thing for character entering or something? IDK though

it's a thing in kazahana x setsuna too

MID_支援_カザハナ_セツナ_C:
3カザハナ:
あ~あ、残念…
もしかして…あたしたち二人だけ?▼
Edited by Thor Odinson

Share this post


Link to post
Share on other sites

Oh right, I think I saw something like that for Crimson on a story chapter. Event for them, it was a 0... this was the cause: |0|

I think I know how to fix it.

Edited by shadowofchaos

Share this post


Link to post
Share on other sites

Found an extra 3 in front of Felicia's name in Kazahana x Felicia

MID_支援_カザハナ_フェリシア_C:
カザハナ:
ん?
そこにいるのはフェリシア?▼
 
3フェリシア:
あっ…カザハナさん。▼
I think it's a thing for character entering or something? IDK though

it's a thing in kazahana x setsuna too

MID_支援_カザハナ_セツナ_C:
3カザハナ:
あ~あ、残念…
もしかして…あたしたち二人だけ?▼

Just posting to say that this bug has been addressed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...