the cutting room mirror

Ghost Trick: Phantom Detective

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

Ghost Trick: Phantom Detective is a puzzle game somewhat reminiscent of the Ace Attorney series. It all starts with your death. In this game you have to possess inanimate objects to find information about your life before the sun rises. Your "Ghost Tricks" will help you save lives and find more about yourself until you vanish, all while following the advice of a lamp named 'Ray'.

To do:

  • Lots of printf strings in the code (source: Ed_IT).
  • Everything on the page other than the Development Text was found on DS. Check iOS.
  • iOS/Android port differences
  • 2023/2024 port differences (possibly added some softlock bugs that require chapter restart?)

Unused Music#

SEQ_GHOST_BGM032 A slower-paced, less upbeat version of Missile's theme.

SEQ_GHOST_BGM053_B An alternate version of Madam's theme (the normal one being SEQ_GHOST_BGM053). The "_B" suffix is used for alternate versions of tracks in the game's music files.

SEQ_GHOST_BGM012 A fast-paced track that sounds similar to "TRAUMA".

SEQ_GHOST_BGM025 A slower-paced track that sounds similar to "SUSPICION".

SEQ_GHOST_BGM026 This track sounds rather happy and upbeat.

SEQ_GHOST_BGM039 A track that sounds similar to "Welcome to the Salon".

SEQ_GHOST_BGM040 Another track that sounds similar to "Welcome to the Salon".

SEQ_GHOST_BGM034 A track that doesn't sound similar to any known tracks.

SEQ_GHOST_BGM045 An arrangement of "Tifa's Theme" from Final Fantasy VII. The two games have no connections whatsoever, so why is this here...?

Unused Jingles#

SEQ_GHOST_BGM020 A somewhat melodramatic jingle.

SEQ_GHOST_BGM028 A jingle that sounds somewhat similar to Inspector Cabanela's theme.

SEQ_GHOST_BGM021_b A short jingle with a square wave lead instrument.

Unused Character Poses#

To do:
PNG rips of these.

A sprite of young Lynne, wearing headphones. She is already wearing the toy badge that was given to her. Her headphones are knocked off in-game before she receives her badge.

Another sprite of young Lynne, same as above but without the headphones. This would probably have been used right after she received her badge.

Jowd's laughing sprite, redesigned with the other outfits he's shown in during the game.

Development Text#

To do:
Double-check whether it's in any of the DS versions.

Present in the iOS version.

Japanese

Translation

スクリプトメモ

st15_demo000_Expand.xml エンディング カノン宅

st15_demo001_Expand.xml スタッフロール カノン宅
st15_demo010_Expand.xml スタッフロール キッチン→レストラン
st15_demo020_Expand.xml スタッフロール レストラン 欠番(キッチンに吸収)
st15_demo030_Expand.xml スタッフロール レストランバー
st15_demo040_Expand.xml スタッフロール 金庫室
st15_demo050_Expand.xml スタッフロール 執務室
st15_demo060_Expand.xml スタッフロール 公園
st15_demo070_Expand.xml スタッフロール 司令室
st15_demo080_Expand.xml スタッフロール 看守室
st15_demo090_Expand.xml スタッフロール ゴミ捨て場
st15_demo100_Expand.xml スタッフロール シセル独房
st15_demo110_Expand.xml スタッフロール ラスト

Script Memo

st15_demo000_Expand.xml Ending Kamila's Home

st15_demo001_Expand.xml Staff Roll Kamila's Home
st15_demo010_Expand.xml Staff Roll Kitchen→Restaurant
st15_demo020_Expand.xml Staff Roll Restaurant Missing Number (Absorbed into Kitchen)
st15_demo030_Expand.xml Staff Roll Restaurant Bar
st15_demo040_Expand.xml Staff Roll Vault Room
st15_demo050_Expand.xml Staff Roll Office
st15_demo060_Expand.xml Staff Roll Park
st15_demo070_Expand.xml Staff Roll Control Room
st15_demo080_Expand.xml Staff Roll Guard Room
st15_demo090_Expand.xml Staff Roll Junkyard
st15_demo100_Expand.xml Staff Roll Sissel's Cell
st15_demo110_Expand.xml Staff Roll Last

(Source: Original TCRF research)

Resource.txt#

1

(Source: Original TCRF research)

st01_memo.txt#

ゴミ捨て場ステージ(st01)

※このステージでは、ゲーム進行には st01_game???.xml のみが使われます。
 st01_demo???.xml はゲーム進行に使われません(デモの単体参照用としてアップしています)。

//--------------------------------------

ゲームスクリプト

st01_game000    ゴミ捨て場1(前半)・[現代]序盤チュートリアル地上
st01_game001    ゴミ捨て場1(前半)・[現代]序盤チュートリアル地下
st01_game010    ゴミ捨て場1(前半)・[過去]4分前デモ
st01_game011    ゴミ捨て場1(前半)・[過去]ゲームパート地下
st01_game012    ゴミ捨て場1(前半)・[過去]ゲームパート地上
st01_game013    ゴミ捨て場1(前半)・[現代]ゲームクリア後地上
st01_game014    ゴミ捨て場1(前半)・[現代]ゲームクリア後地下
st01_game015    ゴミ捨て場1(前半)・[現代]1章終了
st01_game016    ゴミ捨て場(後半開始前状態)
st01_game020    ゴミ捨て場2(後半)・[現代]殺人現場イベント
st01_game021    ゴミ捨て場2(後半)・[過去]ゲームパート
st01_game022    ゴミ捨て場2(後半)・[現代]ゲームクリア後
st01_game900    TGS体験版用・ゴミ捨て場・[現代]序盤チュートリアル地上
st01_game901    TGS体験版用・ゴミ捨て場・[現代]序盤チュートリアル地下
st01_game902    TGS体験版用・ゴミ捨て場・[過去]4分前デモ~ゲームパート地上
st01_game903    TGS体験版用・ゴミ捨て場・[過去]エンディング
st01_game904    TGS体験版用・ゴミ捨て場・タイムアップ用
st01_demo100    レストランでの回想シーン1(参照用)
st01_demo101    管理人小屋での回想シーン1(参照用)
st01_demo102    管理人小屋での回想シーン2(参照用)
st01_demo103    管理人小屋からつながるシーン(参照用)
st01_demo110    警察署での防犯カメラの映像(参照用)
st01_demo111    レストランでの回想シーン2(参照用)
st01_demo112    レストランでの回想シーン3(参照用)
st01_demo113    警察署での防犯カメラの映像(参照用)
st01_demo120    潜水艦での回想シーン(参照用)
//--------------------------------------

デモスクリプト

st01_demo000    ゴミ捨て場1(前半)・[st01_game000で使用] オープニングデモ(最初のソウルビジョン手前まで)
st01_demo001    ゴミ捨て場1(前半)・[st01_game001で使用] 殺し屋階段を下りる~クネリとの会話デモ
st01_demo002    ゴミ捨て場1(前半)・[st01_game000で使用] リンネが撃たれる~シセル蹴り落とされるデモ
st01_demo010    ゴミ捨て場1(前半)・[st01_game010で使用] 4分前デモ
st01_demo011    ゴミ捨て場1(前半)・[st01_game012で使用] リンネが殺し屋に気づくシーン(ゲームパート)
st01_demo012    ゴミ捨て場1(前半)・[st01_game012で使用] リンネと殺し屋の会話シーン(ゲームパート)
st01_demo013    ゴミ捨て場1(前半)・[st01_game012で使用] 地下→地上移動時のデモ(ゲームパート)
st01_demo020    ゴミ捨て場2(後半)・[st01_game020で使用] カバネラ登場デモ
st01_demo021    ゴミ捨て場2(後半)・[st01_game020で使用] カバネラ退場デモ
st01_demo022    ゴミ捨て場2(後半)・[st01_game020で使用] コアアクションで銃を撃ったときのデモ
st01_demo100    レストランでの回想シーン1・リンネがシセルのメモを取り出す
st01_demo101    管理人小屋での回想シーン1・リンネがシセルの死体を揺さぶる
st01_demo102    管理人小屋での回想シーン2・リンネが殺し屋に撃たれる
st01_demo103    管理人小屋からつながるシーン・リンネが地下道から走ってくる
st01_demo110    警察署での防犯カメラの映像・リンネがシセルを撃つ
st01_demo111    レストランでの回想シーン2・リンネがシセルを撃つ(demo110とほぼ同じ)
st01_demo112    レストランでの回想シーン3・リンネがシセルを撃つ(撃つ瞬間のシーンのみ)
st01_demo113    警察署での防犯カメラの映像・バッグからネコが現れる
st01_demo120    潜水艦での回想シーン1・防犯カメラ映像の冒頭からソウルビジョンに入る直前まで
st01_demo121    潜水艦での回想シーン2・ソウルビジョン後からリンネがネコを目撃するまで
st01_demo130    公園3での回想シーン1・防犯カメラ映像の冒頭からソウルビジョンに入る直前まで
st01_demo131    公園3での回想シーン2・殺し屋に鉄球が落ちてくるところ
st01_demo132    公園3での回想シーン3・クネリ登場シーン
st01_demo133    公園3での回想シーン3・シセルがクネリ(ミサイル)に協力しないシーン
st01_demo901    (TGS体験版用・st01_demo001を一部改変・未使用)
st01_demo910    (TGS体験版用・st01_demo010を一部改変)
//--------------------------------------

外部参照するステージのデモスクリプト

st06_demo100    ヒロイン宅・回想シーン[st01_game021で使用](リンネが肩を叩かれてビックリするシーン)

//--------------------------------------

その他

st01_gimmick0   ゴミ捨て場1(前半)地上ギミック制御
st01_gimmick1   ゴミ捨て場1(前半)地下ギミック制御
st01_gimmick2   ゴミ捨て場2(後半)以降の全体ギミック制御
st01_gimmick3   公園3のクネリデモ(エンディング直前)用ゴミ捨て場回想ギミック制御

//--------------------------------------
[EOF]

(Source: Original TCRF research)

st07_memo.txt#

旧カノン宅ステージ(st07)

//--------------------------------------

ゲームスクリプト

st07_game000        旧カノン宅・ゲームパート
st07_game001        旧カノン宅・章セーブ
st07_game002        旧カノン宅・クリア後
st07_game003        旧カノン宅・執務室1の過去ゲームパートから来たとき用(バッドエンド)
st07_game004        旧カノン宅・ゲームパート前のモノローグ
st07_demo101        執務室2での回想シーン1(参照用)
st07_demo102        執務室2での回想シーン2(参照用)
st07_demo103        執務室2での回想シーン3(参照用)
st07_demo120        潜水艦での回想シーン(参照用)

※ゲーム進行順
(失敗ルート)st07_game003
(本編ルート)st07_game004 -> st07_game001 -> st07_game000 -> st07_game001
(クリア後)  st07_game002

//--------------------------------------

デモスクリプト

st07_demo000        旧カノン宅・[st07_game000で使用] 序盤イベント(誘拐犯(女)が部屋から出ていく)
st07_demo001        旧カノン宅・[st07_game000で使用] 中盤イベント(誘拐犯(男)が部屋から出ていく)
st07_demo002        旧カノン宅・[st07_game000で使用] 過去回想(カノンママが撃たれるシーン)
st07_demo003        旧カノン宅・[st07_game000で使用] 終了イベント(誘拐犯2人とも部屋から出ていく)
st07_demo100        執務室3での回想シーン(過去カノン宅を見渡す)
st07_demo101        執務室2での回想シーン1(カノンママが撃たれた直後)
st07_demo102        執務室2での回想シーン2(現代カノン宅を見渡す)
st07_demo103        執務室2での回想シーン3(誘拐犯(女)に睨まれるシーン)
st07_demo110        (成功パターン?)
st07_demo120        潜水艦での回想シーン(カノンがトランクに収まるシーン)

//--------------------------------------

(Source: Original TCRF research)

st13_memo.txt#

公園ステージ(st13)

//--------------------------------------

ゲームスクリプト

st13_game000        公園1・
st13_game001        公園1・
st13_game002        公園1・
st13_game003        公園
st13_demo000        公園1・
st13_demo001        公園1・
st13_game010        公園2・現代パート
st13_game011        公園2・4分前デモ
st13_game012        公園2・過去ゲームパート(ミサイルチュートリアル)
st13_game013        公園2・過去ゲームパート(本編)
st13_game014        公園2・クリア後現代パート
st13_game015        公園2・章セーブ
st13_game016        公園2・ゲームパート前のモノローグ
st13_game020        公園3・4分前デモ
st13_game021        公園3・過去ゲームパート
st13_demo100        (参照用)
st13_demo103        (参照用)
st13_demo110        (参照用)
st13_demo120        (参照用)
st13_demo121        (参照用)

//--------------------------------------

デモスクリプト

st13_demo000_000    公園1・
st13_demo010        公園2・[st13_game011で使用] 4分前デモ前半(駐車場)
st13_demo011        公園2・[st13_game012で使用] ミサイル回想シーン1
st13_demo012        公園2・[st13_game012で使用] ミサイル回想シーン2
st13_demo013        公園2・[st13_game014で使用] クリア後デモ(公園)
st13_demo014        公園2・[st13_game014で使用] クリア後デモ(記念碑)
st13_demo015        公園2・[st13_game011で使用] 4分前デモ後半(公園)
st13_demo020        公園3・[st13_game020で使用] 4分前デモ前半
st13_demo021        公園3・[st13_game020で使用] 4分前デモ後半
st13_demo022        公園3・[st13_game021で使用] シセル柱にささる
st13_demo023        公園3・[st13_game021で使用] シセルリンネを助けて下敷き
st13_demo024        公園3・[st13_game021で使用] クリア後デモ
st13_demo025        公園3・[st13_game021で使用] 4分前デモ後半回想
st13_demo026        公園3・[st13_game021で使用] 4分前デモ後半の1シーン
st13_demo027        公園3・[st13_game021で使用] ゲームパートの1シーン回想
st13_demo100        レストラン2での回想シーン・10年前の事件の1シーン
st13_demo101        執務室3での回想シーン1・10年前の事件の1シーン(※現在は一枚絵表示のみの状態)
st13_demo102        執務室3での回想シーン2・10年前の事件の1シーン(※現在は一枚絵表示のみの状態)
st13_demo103        刑務所・中庭での回想シーン・10年前の事件の1シーン
st13_demo110        管理小屋3での回想シーン・管理人が公園を調査する
st13_demo120        潜水艦での回想シーン1・隕石がシセルにささる
st13_demo121        潜水艦での回想シーン2・誘拐犯のバイクがミサイルを轢く

//--------------------------------------

(Source: Original TCRF research)

Anti-Piracy#

The Nintendo DS version utilizes the DS Protect anti-piracy library to ensure that it is not being run off a flashcart or emulator. If any of the DS Protect checks fail, the game will do the following:

  • The game will not display any text during gameplay and the speech bubbles will be completely blank.

Normal

Pirated

  • When reaching Lynne's core, after the conversation has ended, it will reset back to the beginning once. After pressing the "Rewind Time" button when the conversation has ended again, the game will replay the previous cutscene, effectively trapping you in an endless loop.

The Japanese version of the game uses DSProtect 1.26, while international versions use DSProtect 1.28.

Unused Demo Graphics#

They still can't remember to remove the demo screens...

Regional Differences#

Title Screen#

Japan

International

Ghost Trick DS JP Title Screen.png

Japan omits "Phantom Detective" and transliterates the title.