the cutting room mirror

Test Folder

This article has a talk page!
view on tcrf.net

This is a sub-page of Metaphor: ReFantazio.

In the initial demo and release of Metaphor: ReFantazio, a TEST folder was left in, leaving 5GB of development materials, from dev screenshots to code. This folder was removed in the 1.01 update of the demo and a day one patch (1.03) of the retail release.

akama#

To do:
More to document

  • Lots of EVT files in the event folder. See if any of these can work ingame.
  • A test script in the ScriptTest folder.

After Yuhei Akama, lead cutscene programmer.

Has a lot of files relating to cutscenes, like face animations, portrait and text displaying, and weather conditions.

alpha#

This folder contains test scripts, four test videos, and images of documentation about playtesting.

FollowerRankuUp.usm#

contains prototype testing of the Follower Rank Up system, with an early protagonist.

Map.usm#

A strange video of locations being drawn on. This video is duplicated in commentary_highlight.usm and commentary_play.usm.

Playtest Documentation#

battle#

This folder contains files relating to battles.

bgtexture#

This folder contains environment documentation, even 4K panoramic shots for reference.

demo#

Folder contains a script for a demo of sorts.

env#

The folder contains environment data towns and dungeons.

event#

This folder contains a script for chapter selection and two .xml files: captureConfig.xml, for screenshotting, and default_zoom.xml.

captureConfig.xml

<?xml version="1.0" encoding="UTF-8"?>
<ScreenCaptureConfig Version="0.0.1" 
    EnableUI="False"
    EnableChromakey="False">
    <Children>
        <ParameterList Count="2">
            <ScreenCaptureParameter Version="0.0.1"
                Format="TGA"
                Width="3840"
                Height="2160"
                OutputDirectory="./TEST/event/Sequential"
                FileName="Sequential"/>
            <ScreenCaptureParameter Version="0.0.1"
                Format="TGA"
                Width="1920"
                Height="1080"
                OutputDirectory="./TEST/event/Screenshot"
                FileName="Screenshot"/>
        </ParameterList>
    </Children>
</ScreenCaptureConfig>

field#

To do:
There's more to document.

  • .cpp files, there's a lot of these in multiple files.
  • A folder named shiftjisToUtf8, which includes a .bin file and a .txt file. Which has a lot of text inside.
    • This folder and the files in it are also present in the PS4 version.
  • A debug folder. With all of them being a .debug file.
  • Lots of .bin files in the bin folder.
  • The bg folder.
    • .Nav files, a .bin file, and seven .txt files.
  • The minimap folder.
    • A .bat file, save data relating to fields, and a env file.

This folder contains testing data relating to fields, even development screenshots of it in action.

convertDDStoPNG.bat#

Copied in serval folders.

@echo off

for %%a in (dir *.dds) do (
    C:\vd_projects\vd_xrd759\tools\gfd\texconv.exe -ft png %%a
    del %%a
)

PAUSE

Development Screenshots#

All of these show various points in the game's development. Some of these show debug information.

futatsumori#

After Daiki Futatsumori, support programmer from Creek & River Co. Ltd.

Contains a folder called mobUnitEditor, used for collecting a large number of NPCs for cutscenes.

gao#

Inside are files for a debug server.

hashimoto#

After Kunikazu Hashimoto, the battle programmer.

Contains screenshots with test as their filename, one shot from Persona 5, and a ExclusionFileList.txt:

ExclusionFileList.txt

C:\vd_projects\vd_xrd759\program\framework\TPL\TPL\GenericLibrary\STL\TPLStlAllocate.h
C:\vd_projects\vd_xrd759\program\framework\TPL\TPL\GenericLibrary\ADT\TPLAdt.h

C:\vd_projects\vd_xrd759\program\app\test\maegawa\service\debug\mgwDebugInfoWindow.cpp
C:\vd_projects\vd_xrd759\program\app\field\new\debug\unit\fldDebugUnit_Main.cpp
C:\vd_projects\vd_xrd759\program\app\debug\dbgWindow.c
C:\vd_projects\vd_xrd759\program\framework\ui\SS\SS6Player.cpp

ichikawa#

To do:
More to document.

  • A .bin file named "RootMenu".
  • Some more scripts in the "script" folder.

After Ryosuke Ichikawa, the interface programmer.

Containing sample squirrel scripts.

Oddly a .h file named RootMenu. All the comments transate to, "Comment".

/*===coding:utf-8-ws-dos ===============================================*/
/*-----------------------------------------------------------------------
*$Id: 
*======================================================================*/
#define    SKILL  ( 0)    //     コメント1
#define    ITEM  ( 1)    //     コメント2
#define    STATUS  ( 2)    //     コメント3
#define    EQUIP  ( 3)    //     コメント4
#define    PERSONA  ( 4)    //     コメント5
#define    COOPERATION  ( 5)    //     コメント6
#define    REQUEST  ( 6)    //     コメント7
#define    CALENDAR  ( 7)    //     コメント8
#define    SYSTEM  ( 8)    //     コメント9
#define    SKILL  ( 9)    //     コメント10

A .bat file name コンバートして実行環境に反映, found in a folder named script.

@echo off
pushd %~dp0

setlocal enabledelayedexpansion

set DIRR=%~dp0


for %%f in (*.*) do (
REM 大文字小文字を区別しない
  if /i "%%~xf" == ".nut" (

pushd %~dp0
cd ..\..\..\..\..\tools\script
call convertCheck.bat %DIRR%\%%~nf.nut

if !ERRORLEVEL! neq 0 (
set error=1
)

popd
   )
  )

if !error! equ 1 (
echo;
echo =======================================================
echo コンバートチェッカーで,エラーが発生しました。
echo ※ 続行します
echo =======================================================
pause
)


for %%f in (*.*) do (
REM 大文字小文字を区別しない
  if /i "%%~xf" == ".nut" (

pushd %~dp0
cd ..\..\..\..\..\tools\script
call script_cnv.bat  %DIRR%\%%~nf.nut  %DIRR%\cnut\%%~nf.cnut
popd
   )
  )

popd

echo;
echo =======================================================
echo コンバート終了
echo =======================================================
pause
pause
pause

ikeda#

After Kohei Ikeda, lead localization programmer from Technical Arts Ltd.

Inside is a Windows batch file PC-run.bat that copies a version of Metaphor to two folders back, goes to the directory, then runs it. If the program runs into a 759 error code, it pauses and deletes itself.

@echo off

copy xrd759_ikeda.exe ..\..
cd ..\..

xrd759_ikeda.exe

if %ERRORLEVEL% neq 759 (
    pause
)
del xrd759_ikeda.exe

junnki_ikeda#

After Junki Ikeda, another support programmer from Creek & River Co. Ltd.

Just a .txt file called can_open_layout_list.txt.

f_0155_005.layout

kosaka#

After Yujiro Kosaka, the chief programmer.

Inside are .csv files for character and enemy viewing and the logo for Project Re:Fantasy.

maegawa#

After Yuta Maegawa, lead field programmer.

Just an empty test.txt file.

mizuno#

To do:
More to document

  • A test message.
  • DebugONFlags.bin and DebugONFlagsStartup.bin
  • Some .cnut scripts.

After Hirotaka Mizuno, lead interface programmer.

Contains some test movie files and scripts.

A background for font view testing.

A Popularity rank display.

A old date display screen. The starred text reads *Special date change effect only when moving (all designs are temporary).

battle.usm#

A battle transition?

Watch on YouTube

sound_test.usm#

Contains development footage with testing audio channels.

Filename

Audio

movie_test_bgm

movie_test_se

movie_test_ja

movie_test_en

test.usm#

A test movie of the game's opening, with unused 2D and 3D shots, an early version of Prelude to a Heroic Tale, and a pale-looking protagonist.

wipe_loading.usm#

The game's loading screen when transitioning between town sections, except the protagonist is white and has clipping on his clothes.

wipe_test.usm#

A test video for transistioning, likely for when reading More's book.

staffroll_test.usm#

A copy of map.usm in the alpha folder.

jimaku_test_movie.usm#

A copy of the anime cutscene where Louis kills the king.

logo3pro.usm#

A copy of the Studio 0 logo movie.

nakamura#

After Shino Nakamura, daily system planner, field planner, and lead interface planner.

Contains two directories: testScructParser, which contains test particles, and testWheelWindow, which contains test_path.crv.

nobu-ishiyama#

After Nobuyuki Ishiyama, localization programmer from Technical Arts Ltd.

Contains localization-related files, like lipsync settings and language display test. Seems to contain an older script of the prologue amongst it.

ohira#

After Kosuke Ohira, another support programmer from Creek & River Co. Ltd.

Inside are two folders, game_auto_run and performance_check. The former directory has a .json file with settings for recording and testing.

'...But what does it mean?'
This game has text or audio that needs to be translated. If you are fluent with this language, please read our translation guidelines and then submit a translation!

WARNING: Language tag not added.

project_setting.json

{
    "comment0": "ターゲット",
    "target_dir": "C:\\vd_projects\\vd_xrd759\\data\\target",

    "comment1": "記録/再生時に参照するデモデータの情報",
    "demo_data":
    {
        "directory": "TEST\\ohira\\game_auto_run",
        
        "comment1": "ファイル名の接頭辞(記録時にお尻にインデックスがつく。例:demo14.csv)",
        "filename_prefix": "demo%d",
        "assigned_filename_prefix": "assign_demo%d",
        "extension": "csv"
    },

    "comment2": "記録/再生時に参照するセーブデータの情報",
    "save_data":
    {
        "directory": "TEST\\ohira\\game_auto_run",
        
        "comment1": "ファイル名の接頭辞",
        "comment2": "記録時にお尻にインデックスがつく。例:record_Save14.sav",
        "comment3": "スキップ時に作られるセーブデータはお尻に\"_interval_{インデックス}\"がつく。例:record_Save14_interval_2.sav",
        "filename_prefix": "record_Save%d",
        "comment4": "ゲーム開始時のセーブデータ名。読み込むべきセーブデータが存在しないときはNEW GAMEから始めて記録されるため、その時に生成されるセーブデータ名は他のものと別個として扱っている",
        "initial_filename_prefix": "gameStart",
        "interval_filename_prefix": "record_Save%d_interval_%d",
        "extension": "sav"
    },

    "comment3": "通信処理に関わる情報",
    "network":
    {
        "comment1": "ツールを実行しているホストPCのIP",
        "host_IP": "[redacted]"
    },

    "comment4": "コントローラーキャプチャ用の情報",
    "controller_capture":
    {
        "comment1": "ゲームパッド情報",
        "gamePad":
        {
            "x_R_Stick": 0.0,
            "y_R_Stick": 0.0,
            "x_L_Stick": 0.0,
            "y_L_Stick": 0.0,
            "pad_RU": false,
            "pad_RL": false,
            "pad_RD": false,
            "pad_RR": false,
            "pad_LU": false,
            "pad_LL": false,
            "pad_LD": false,
            "pad_LR": false,
            "pad_START": false,
            "pad_L1": false,
            "pad_R1": false,
            "pad_L2": false,
            "pad_R2": false,
            "pad_L3": false,
            "pad_R3": false,
            "pad_TOUCH": false,
            "pad_SHARE": false,
            "pad_OPTIONS": false,
            "pad_PS": false,
            "is_stop_controll": false,
            "elapsedTime": 0.0
        },

        "comment2": "記録間隔(s)",
        "record_interval": 0.0166667,

        "comment3": "デフォルトのキャプチャ記録データの出力先パス",
        "output_path":
        {
            "default_capture_output_filename_prefix":"C:\\vd_projects\\vd_xrd759\\data\\target\\TEST\\ohira\\game_auto_run\\capture_data_%d",
            "extension": "csv"
        },

        "commnet4": "実行プラットフォーム(TODO: GUIで設定するようにする?)",
        "platform": "x64",
        
        "comment5": "ハードウェアID",
        "HID":
        {
            "comment1": "仮想ゲームパッドのハードウェアID",
            "VirtualGamePad": "root\\VID_1234&PID_BEAD&REV_0219",
            
            "comment2": "物理ゲームパッドのハードウェアID(TODO: 今は同時に扱える物理コントローラは1つだけにする)",
            "PhysicalGamePad": ""
        }

    },

    "comment5": "プレイデータ",
    "play_data":
    {
        "comment1": "プレイヤー情報",
        "player":
        {
            "posX": 0.0,
            "posY": 0.0,
            "posZ": 0.0,

            "dirX": 0.0,
            "dirY": 0.0,
            "dirZ": 0.0,
            "dirW": 0.0,

            "actionID": 0,
            "basePose": 0,
            "isInputLock": false,
            "isAutoCtrl": false
        },

        "comment2": "メッセージ情報",
        "message":
        {
            "isMessageWindow": false,
            "isSelectMessageWindow": false,
            "cursorPos": 0,
            "selectMessageID": 0
        },

        "comment3": "カメラ情報",
        "camera":
        {
            "camTgtPosX": 0.0,
            "camTgtPosY": 0.0,
            "camTgtPosZ": 0.0,
            "camEyePosX": 0.0,
            "camEyePosY": 0.0,
            "camEyePosZ": 0.0
        },

        "comment4": "ゲームパッド情報",
        "comment4_2": "TODO: controller_captureのgamePad情報と同じデータセットにするよう修正",
        "gamePad":
        {
            "x_R_Stick": 0.0,
            "y_R_Stick": 0.0,
            "x_L_Stick": 0.0,
            "y_L_Stick": 0.0,
            "pad_RU": false,
            "pad_RL": false,
            "pad_RD": false,
            "pad_RR": false,
            "pad_LU": false,
            "pad_LL": false,
            "pad_LD": false,
            "pad_LR": false,
            "pad_START": false,
            "pad_L1": false,
            "pad_R1": false,
            "pad_L2": false,
            "pad_R2": false,
            "pad_TOUCH": false,
            "is_stop_controll": false
        },

        "comment5": "UIオープン状態の情報",
        "UI_STATE":
        {
            "isOpenTutorialWindow": false,
            "isOpenChoice": false,
            "isOpenReward": false,
            "isOpenGreetingMessageWindow": false,
            "isOpenWorldMap": false,
            "isOpenReportMessage": false,
            "isOpenNovel": false,
            "isOpenDateProgress": false,
            "isOpenParamUP": false,
            "isOpenQuest": false,
            "isOpenSortie": false,
            "isOpenSortieTownMap": false,
            "isOpenSortieTownMapEffect": false,
            "isOpenMessageBG": false,
            "isOpenMessageLog": false,
            "isOpenScreenTransition": false,
            "isOpenTimer": false,
            "isOpenGamble": false,
            "isOpenMoney": false,
            "isOpenMag": false,
            "isOpenSystemChoice": false,
            "isOpenCooking": false,
            "isOpenMeeting": false,
            "isOpenExpUP": false,
            "isOpenFollowerRankUP": false,
            "isOpenSaving": false,
            "isOpenDate": false,
            "isOpenElectionRank": false,
            "isOpenEventItemGet": false,
            "isOpenStaffRoll": false,
            "isOpenDifficultySelect": false,
            "isOpenGameOver": false,
            "isOpenIllustration": false,
            "isOpenGuide": false,
            "isOpenEndingBG": false,
            "isOpenEndingMessage": false,
            "isOpenBattleMission": false,
            "isOpenFldLargeMap": false,
            "isOpenFldReward": false,
            "isOpenFldSafeRoomMenu": false
        },
        
        "comment6": "Facility関連の情報",
        "FclScene":
        {
            "isExistCampRootMenu": false,
            "isExistSkill": false,
            "isExistItem": false,
            "isExistEquip": false,
            "isExistStatus": false,
            "isExistCooperation": false,
            "isExistQuest": false,
            "isExistSystem": false,
            "isExistSystemTutorial": false,
            "isExistSystemStory": false,
            "isExistSystemSaveLoad": false,
            "isExistSystemConfig.": false,
            "isExistCalendar": false,
            "isExistGlossary": false,
            "isExistInstantMenu": false,
            "isExistItemShop": false,
            "isExistAcademia": false,
            "isExistAcademiaTree": false,
            "isExistRecruitmentPlace": false,
            "isExistBountyCounter": false,
            "isExistSortieMenu": false,
            "isExistCooking": false,
            "isExistNameEntry": false,
            "isExistTitle": false,
            "isExistDungeonMap": false,
            "isExistSafeRoomMap": false,
            "isExistWorldMap": false,
            "isExistTownMap": false,
            "isExistSortieTownMap": false
        },
        
        "comment7": "マップID",
        "mapID": 0,

        "comment8": "1フレームあたりの経過時間",
        "deltaTime": 0.0,

        "comment9": "現在再生されているシーケンスの情報(32文字まで読み込む)",
        "eventID": ""
    }
}

The latter contains 3 .txt files: loadingFile_TestCase.txt, PS4_endMapID.txt, and PS4_startMapID.txt.

In loadingFile_TestCase.txt:

COMMON\field\source\bin\Attack_Data.bin
COMMON\field\source\bin\TravelPoint.bin
COMMON\field\source\bin\ReportData.bin

In PS4_endMapID.txt:

605

And in PS4_startMapID.txt:

1

sample#

This directory contains average things to sample: .dds images, two sample models with sample animations, and a sample.txt with the word test inside.

The Morning 午前 early graphic from Persona 5 is here.

Hulkenburg's portrait.

A sample model of a treasure chest, with animations of it opening.

A model of the protagonist with pale skin, as seen in development footage.

takeuchi#

After Keita Takeuchi, the battle programmer.

Contains three files: DataNote.BCD, refuge.BCD, which both are battle camera files, and test_sword_truck_01, an unknown file.

tools#

To do:
More to document

  • Weridly .h files in dbgCounterEditor and dbgFlagEditor, including comments.
  • More text in the dbgFieldModelViewer' folder.
  • Three .txt files in the dbgMobInfoList folder.
  • The ScriptViewer folder has a .bin file.

'...But what does it mean?'
This game has text or audio that needs to be translated. If you are fluent with this language, please read our translation guidelines and then submit a translation!

WARNING: Language tag not added. Inside are directories dbgCounterEditor, dbgFieldModelViewer, dbgFlagEditor, dbgMobInfoList, and ScriptViewer and ResourceSizeConfig.xml. All the stuff contains info on flag data, and a model viewer to view NPCs.

For dbgFieldModelViewer, there’s a readme.txt:

【概要】
R2 + R3メニューの「CHARACTER TEST」から呼べる、テストでフィールドにモデルを出す際の、各組み合わせのキャラクターIDを記述するファイル群です。

【使い方】
1行につき1つ、「モデルまでの相対パス アニメーションファイルまでの相対パス」というように表示したいモデルとアニメーションのパスを入力してください。
注意として、「C:\vd_projects\vd_xrd759\data\target\COMMON\model\」がカレントディレクトリ扱いになりますので、それ以降の相対パスを入力してください。
最大15体まで可能です。0を記入すると該当するキャラクターの位置はスキップされます。

【例】
character/0001/c_0001_001_F.GFS character/0001/anm_field/b_0001_001_001.GAP

と記入すると主人公のモデルがアニメーション付きで生成されます。

ui#

Contains UI button textures for Playstation 4, 5, Xbox, and Nintendo Switch and test textures of the menu protagonist’s foot, covered in watermarks from TexturePacker.

A rough sketch of the Adventurer.

MRF-field_01.png MRF-field_02.png

Two development shots of Grand Trad's Sunlumeo Street and a weapons shop.

A series of UI button prompts.

MRF-PC01_foot_01.png MRF-PC01_foot_02.png

Test textures of the menu protagonist's foot, covered in watermarks for purchasing a TexturePacker license.