カスタムスキンを使用しているとタイトル画面に進まずブラックアウトする件 #FM24

以前にも話題にした【解決策】スキンを使用していると画面が真っ黒になる件 #FM24

ついに完全攻略したので情報を共有しておく。

なお、タイトル画面を編集してできることはそんなに多くない、大きいところは背景画像を変えたりくらいなので、今まで通り、Intro panelの削除で対応してしまえば良いと思う。


解決策

結論から言うと、原因はそれぞれのスキンのフォルダの中のpanels/gameにあるIntro panelだ。
Intro panelの最後の部分に

 <container id="warn" hidden="true">
<animation class="fade_animation" trigger_id="hidden" trigger_value="false" end_mode="hold_end">
<record id="finished_event" event_id="waEn" event_target="root" event_flags="7" />
<list id="storyboard">
<record>
<real id="interval" value="0" />
<string id="value" value="0,5" />
<string id="tween" value="ease_in" />
</record>
<record>
<real id="interval" value="0.2" />
<string id="value" value="1" />
<string id="tween" value="none" />
</record>
<record>

<real id="interval" value="8.75" />
<string id="value" value="1" />
<string id="tween" value="ease_out" />
</record>
<record>

<real id="interval" value="10" />
<string id="value" value="0" />
<string id="tween" value="ease_out" />
</record>
</list>
</animation>

<layout class="stick_to_sides_attachment" alignment="all" inset="0" />
<widget class="picture" file="backgrounds/default" scale_picture="true" keep_aspect_ratio="false">
<layout class="stick_to_sides_attachment" alignment="all" inset="0" />
</widget>


<container>
<attachment_group class="horizontal_arrange_vertical_centre" horizontal_alignment="middle" />
<layout class="stick_to_sides_attachment" alignment="all" inset="0" />

<container width="600">

<attachment_group class="vertical_arrange_autosize" />
<!--Warning sign image-->
<widget class="picture" file="icons/16px/warning@2x" image_alignment="centre" size="xlarge" auto_size="vertical" red_replacement="bg accent" />
<widget class="spacer" height="10" />
<!--Warning title-->
<widget class="text" auto_size="vertical" spec="text" font="title" alignment="centre" size="16" colour="white">
<translation id="text" translation_id="586116" type="use" value="Photosensitivity Warning[COMMENT: AREA: Startup; SUB-AREA: Epilepsy Warning Screen; Note: Title for epilepsy warning]" />
</widget>

<widget class="spacer" height="40" />

<!--Warning text line one-->
<widget class="text" auto_size="vertical" spec="text" font="text" multiline="true" alignment="centre" size="13" colour="white">
<translation id="text" translation_id="586117" type="use" value="This game contains flashing lights and footage with strobe lights which could trigger seizures or cause some discomfort amongst a small population of people.[COMMENT: AREA: Startup; SUB-AREA: Epilepsy Warning Screen; Note: Text for epilepsy warning, first line]" />
</widget>
<widget class="spacer" height="30" />
<!--Warning text line two-->
<widget class="text" auto_size="vertical" spec="text" font="text" multiline="true" alignment="centre" size="13" colour="white">
<translation id="text" translation_id="586118" type="use" value="If you experience any unusual symptoms, including dizziness or disorientation please stop playing the game and consult your physician before resuming.[COMMENT: AREA: Startup; SUB-AREA: Epilepsy Warning Screen; Note: Text for epilepsy warning, second line]" />
</widget>
</container>
</container>
</container>


というコードが入っていたり、そもそも <container id="warn">関連のコードが含まれていないスキンが
タイトル画面に進めず画面がブラックアウトする不具合を起こす。

なので、 関連のコードが含まれているスキンであれば、
<container id="warn" hidden="true">の部分を
 <container id="warn" hidden="false">にしてやればいい。

含まれていない場合は上のコードをコピーしてintro panel.xmlの最後の部分
</panel>の上の行に差しこんでやればいい。
もちろんその場合も <container id="warn" hidden="false">に変更する必要があるので忘れずに変更しよう。



以上で暗転問題に関しては完全解決としたい。

なお、この部分、xmlを編集することで文言を変えることもできる。

アイコンと背景も変更できる

0コメント

  • 1000 / 1000