見出し画像

PC版『NieR:Automata』FAR MOD導入で発生するフレームレートの異常について

僕はこの問題で貴重な休日を丸々潰してしまいました。

FAR MODを入れないとフルスクリーンでまともな解像度でプレイすることができない状態で未だに放置されていることがなによりも素晴らしいことです。

結果的には解決しましたが、この解決方法がSteamのコミュニティ(英語)にしかなかったため、日本語検索では一切引っかからずかなりの時間を要しました。

もし同じような現象が発生していて困っている多くの人の目につくように最近検索に強そうなnoteでまとめます。​

発生した現象

私の場合はゲーム起動から40分前後が経過するとFPS(フレームレート)が不自然な動きを始めます。

具体的に言うと、一定間隔でフレームレートが飛ぶ、という感じです。本当に1フレームだけ画面が止まっているような感覚。

些細な違和感、といった感じですが気がついてしまえば気になって仕方がない、といった現象です。

特に起動して30分程度は60FPSで安定して動いていた(最大120出せましたが、モニターの都合上60FPSを上限にしていた)だけに、不自然な現象でした。

また、40分以降はさらに悪化してプレイするのがストレスになるほど画面がチラつき始めました。

結果的に40分ごとにアプリケーションを終了して…と非常に面倒で厄介な問題でした。

前提条件

この記事にたどり着いている時点でFAR MODを導入していると思いますので問題は無いかと思いますが、最新版の0.7.0.23を導入しておいてください。

解決方法

サイトの中段部分のなっっっっがいLittleJonさんのコメントに全て記載されております。

https://steamcommunity.com/app/524220/discussions/0/3606765810637076434/

問題の解決手順部分のみをDeepL翻訳にかけて下記に転記します。

 I can confirm it's present in my test on 0.7.0.14 & 0.7.0.23 builds. This problem concern the interaction between FAR & Steam API. Reshade & other mods don't have any part in this problem.

私のテストでは0.7.0.14と0.7.0.23のビルドでこの問題が存在することを確認できました。この問題はFARとSteam APIの相互作用に関係しています。Reshadeや他のMODはこの問題には関係ありません。

In order to be sure you have this problem you must before check in game when you start if the achievement tab appears in FAR Window when the stuttering & fps degradation over time occurs.
If NOT make the simple steps below for fix this problem :

この問題が発生していることを確認するためには、ゲームを開始する前に、FARウィンドウにアチーブメントタブが表示されているかどうかを確認する必要があります。
そうでない場合は、この問題を修正するための以下の簡単な手順を行います。

Edit : Before doing this BE SURE you got the latest version of FAR : 0.7.0.23 & NOT The 0.7.0.14 than many ppl use because the last one including some compatibility upgrades with Steam API (you can check Kadaien's Github on the releases notes for confirm this since the 0.7.0.21 "still trying to fix Steam overlay incompatibilities").

編集:この作業を行う前に、FARの最新バージョンである0.7.0.23を入手していることを確認してください。0.7.0.14ではなく、0.7.0.21ではSteam APIとの互換性アップグレードが含まれているためです(0.7.0.21では「まだSteamオーバーレイの非互換性を修正しようとしている」ので、リリースノートのKadaienのGithubで確認することができます)。

1. Enable Steam overlay (Greatly help FAR to access to STEAM api in my case)

1. Steamオーバーレイを有効にする(私の場合はSTEAMアプリにアクセスするのに非常に役立ちます。

※筆者注釈:Windowsの場合、Steamアプリケーション内の左上のタブ「Steam」→「設定」から下記の画像の一番上のチェックボタンです。(画像ではチェックしてないです)

画像1

2. In Game on FAR Window go to[ COMPATIBILITY] tab & Check the option: "Load Steam Client DLL Early".

2. Game on FARウィンドウで[COMPATIBILITY]タブを開き、オプションにチェックを入れます。""Load Steam Client DLL Early""にチェックを入れます。

※筆者注釈:ここマジでわかりづらいです。FARウィンドウはCtrl+Shift+BackSpaceで開くウィンドウのことです。このウィンドウの中の最下部にある「Steam Enhancements」タブの中にある「COMPATIBILITY」タブを開く必要があります。下記画像の下部を参照してください。

画像2

3. In Game on FAR Window go to [PLUGINS] Click the Enhanced Popup sub-menu and select --- "stationnary" or "animated". (NOT DISABLED This step greatly help FAR to load the achievement tab in my case)

3. FARウィンドウで[プラグイン]をクリックして、拡張ポップアップサブメニューをクリックして、"stationnary "または "animated "を選択します。(私の場合、このステップはFARがアチーブメントタブをロードするのに非常に役立ちます。)

※筆者注釈:ここ絶望的にわかりづらいです。「PLUGINS」は罠です。正しくは「Steam Enhancements」→「Achivements」→「Enhanced Popup」のことだと思われます。てかここにしか""stationnary"と"animated "は見当たりませんでした。もしかしたら間違っているかもしれません。間違ってたら教えてください。でも僕は解決しました。

画像3

4. Go into this file: NieRAutomata\dinput8.ini & find these line : ForceLoadSteamAPI= false & change it to "true" (Can make a HUGE difference for allow FAR to access to Steam API)

4.このファイルに入ります。NieRAutomata\dinput8.ini に移動して、以下の行を見つけてください:ForceLoadSteamAPI= false を "true" に変更してください。

5. Be sure to start the game from the steam launcher & NOT from the .exe game file because it gonna call the steam api for start the game & facilitate the access of FAR to Steam api.

5.必ずSteamランチャーからゲームを起動してください。ゲームを開始するためのSteam apiを呼び出して、Steam apiへのFARのアクセスを容易にするため、.exeゲームファイルからではありません。

※筆者注釈:要はSteamランチャーから起動しろってことです。

Edit : 6. Be sure the achievement tab appears EVERYTIME you start the game now (I Repeat = EVERYTIME). If it does you're good. If not => stuttering & fps drop incoming so leave & restart & tell me if smth is still wrong after applied all fix above)

Edit : 6.ゲームを起動するたびにアチーブメントタブが表示されていることを確認してください(I Repeat = EVERYTIME)。表示されていれば問題なし。表示されない場合は、動作が重くなったり、fpsが落ちたりするので、放置して再起動して、上記の修正をしてもまだ問題があるかどうか教えてください)


以上となります。

私の場合はこれで解決しました。もしかしたら解決しない方もいるかもしれませんが、その場合はマジでわからないので先のSteamコミュニティフォーラムで聞いてみるといいかもしれません。

下記に神であるLittleJonの御言葉を全文DeepL翻訳にかけました。問題の根本部分についても触れております。翻訳が間違っている可能性は大いにありますが、その点はご了承ください。

神の御言葉

Ok guys i definitely find the issue. It was long & frustrating (took me more than 30hrs of work and tests on 1 week) but it's down now for me.

みんな、私は間違いなく問題を見つけました。長くてイライラしていましたが(1週間で30時間以上の作業とテストが必要でした)、今は私のためにダウンしています。

I'm gonna probably make a full post later with full explanation of this problem & contact Kaldaien because it's a BIG & horrible issue who must affect many ppl on FAR (all versions are probably affected since 0.7.0 release).

この問題はFARの多くの人に影響を与えているであろう重大で恐ろしい問題なので(0.7.0リリース以降、すべてのバージョンが影響を受けていると思われます)、後ほどこの問題の完全な説明を書いて投稿し、Kaldaienに連絡するつもりです。

~~上記記載済み解決手順部分~~

I'm not sure if all fix i listed above must all be applied because this problem don't appear all the time depending of your steam config & FAR settings which is a real problem for erade this problem. But i can ensure you (at 99.9 % for now for beeing honest after more of 30 hrs of tests) if you applied all of them than this problem will disappear (I repeat : i'm not sure it gonna be the case all the time because this problem appears randomly).

この問題はSteamの設定やFARの設定によっては常に発生するわけではないので、上記に挙げたすべての修正を適用しなければならないかどうかはわかりません。しかし、私は(30時間以上のテストの結果、今のところ99.9%の確率で)これらの修正をすべて適用すれば、この問題は消えると確信しています(繰り返します:この問題はランダムに現れるので、常にそうなるかどうかはわかりません)。

NOW for resume this problem for those who want to get more details on it (like i said i'm gonna problably make a full post on this issue later with more details for give more visibility to ppl experiencing this problem) :

さて、この問題の詳細を知りたい人のために、この問題を再開します(私が言ったように、私はこの問題についての詳細な記事を後で作るつもりですが、この問題を経験している人により多くの可視性を与えるために)。

It seems than FAR fails sometimes to access data from Steam API when the game start concerning your achievement progression on Nier.

It doesn't prevent it to start & work but the problem is than FAR seems to permanently trying to access it during the rendering process when the game started. (I'm not sure about it because i didn't check the code of Kaldaien)

FARよりもNierでの達成度に関するゲーム開始時にSteam APIからのデータアクセスに失敗することがあるようです。

起動・動作を妨げるわけではないのですが、問題はゲーム起動時のレンダリング処理中にFARが恒久的にアクセスしようとしているようです。(Kaldaienのコードを確認していないのでよくわかりません)


You can observe it by simply staying on the game menu without starting your save.

セーブを起動しなくてもゲームメニューにいるだけで観察できます。

After like 5 min you gonna start to notice small regular fps spikes (every 1 second step most of the time after 10 min) which seems to indicate than code instruction interfer with the rendering process of the game at regular times.

5分後には、小さな定期的なFPSのスパイク(10分後には1秒ごとのステップ)に気付き始めるでしょう。

At first glance it would not be a real problem if the degradation was constant over the time because it doesn't greatly affect your perfomance at start.

The main problem & the reason why this issue is horrible for ppl experiencing it is this degradation will be progressively more important during the game session.

一見すると、スタート時の性能に大きく影響しないので、経年劣化が一定であれば問題ないと思います。

主な問題は、この問題を経験している人にとってこの問題が恐ろしいものである理由は、この劣化がゲームセッション中に徐々に重要になってくるからです。

You can notice it too by checking your min & max frametimes when the fps spikes occur on FAR monitoring Window. At start if you stay on 60 hz it gonna be soft with less of 6 ms variations (You must have 10 ms min & 16ms max frametimes at 60 hz capped) .

FAR モニタリングウィンドウで fps のスパイクが発生したときの最小フレームタイムと最大フレームタイムをチェックすることで、それに気づくことができます。最初は60 hzのままだと6ms以下の変動でソフトになります(60 hzの上限で最小フレームタイムが10ms、最大フレームタイムが16msでなければなりません)。

After 10 min it gonna be more of 10 ms variations (9 ms min & 20 ms max frametimes). At this time you gonna start to notice regular soft stuttering because that means your framerate increase & drop brutally during less of 0.25 sec.

10 分後には、10ms の変動(9ms 分間と 20ms の最大フレームタイム)が発生します。この頃になると、0.25秒以下の間にフレームレートの上昇と低下が激しくなるため、通常のソフトスタッタリングに気づくようになります。

After 20 min it gonna be worse (with 20 ms variations or more)& the framerate variation will be a little longer with huge variations on 0.5 ms appro this time & it gonna be the same repeateadly again & again until the game become totally unplayable for you (after 45 min in my case with my 1080 GTX with more of 60 MS variations !!!!!! 2 ms min & 75 min max =O) wich results on massive regular stuttering & crazy frame variations always at the regular interval of 1 sec appro.

20分後にはさらに悪化します(20ms以上の変動がある) & フレームレートの変動が少し長くなり、今回は0.5msの巨大な変動があるでしょう & ゲームが完全にプレイできなくなるまで何度も何度も同じことを繰り返します(私の場合は60ms以上の変動がある1080 GTXで45分後) !!!!!! 2 ms min & 75 min max =O) wich結果大規模な定期的なスタッタリング&クレイジーフレームのバリエーションで常に約1秒の定期的な間隔で.

It means so than FAR after failed to access data from steam API is still trying to get them by repeating & stacking instructions over the time during the rendering process of Nier at regular interval. It's probably due to compatibility problem between FAR & the Steam API. That's why having the last FAR build is better choice for my fix.

つまり、Steam APIからのデータアクセスに失敗したFARが、Nierのレンダリング処理中に一定の間隔で命令を繰り返したり重ねたりしてデータを取得しようとしているということです。これはおそらくFARとSteam APIの互換性の問題によるものだと思われます。そのため、FARの最後のビルドを使った方が修正には適しています。

Like i said you just need to stay on game menu without start your save for notice this frametimes problem after between 5 min & 10 min (in my case but it can be more or less depending your config).

私が言ったように、5分から10分後にこのフレームタイムの問題に気づくためには、セーブを開始せずにゲームメニューにとどまる必要があります(私の場合はそうでしたが、あなたの設定にもよりますが)。

But if you start the game & you can see the achievement tab appears on FAR Window then your framerate will be normally perfectly stable in menu & in game & the rendering process will work correctly all over the time because FAR got all data he needs from Steam API.

しかし、ゲームを起動してFARのウィンドウにアチーブメントタブが表示されているのを確認すると、メニューやゲーム内でのフレームレートは完全に安定しています。

Now guys i really need you for two things :
1. For confirm than this issue is definitely solved with my fix above fater many tests from your side (By starting the game multiple times & specially after you sytem started on first launch because it's mainly here in my case than this issue appears)
2. By sharing A LOT this solution if it worked for you to other ppl on others similars threads because it's a huge problem in my opinion which atrociously degrade your Nier experience & It's a big error because i found this game absolutely FANTASTIC & he deserved a lot to offer a super experience to ppl who want to discover it in good conditions.

今、私は2つのことであなたが必要なのです。
1.この問題が確実に解決されることを確認するためには、上記の私の修正とあなたの側からの多くのテスト(ゲームを何度も起動して、特に最初の起動時にシステムを起動した後に、この問題が表示されるよりも、私の場合は主にここにあるので

2. それは私の意見では巨大な問題であるため、それが他のsimilarsスレッド上の他のplplにあなたのために働いた場合ロットこのソリューションを共有することによって、それは私がこのゲームは絶対に素晴らしい&彼は良い条件でそれを発見したいplplにスーパー体験を提供するために多くのことに値するので、それは大きなエラーだからです。

So please answer me if it worked for you too.

i'm down here. I probably talked too much like always & i'm sorry for that.

Have a Good game & fun guys.

なので、あなたにも効果があったかどうか答えてください。

私はここにいます いつものようにしゃべりすぎたかもしれないし、ごめんね。

楽しんできてね。


以上です。LittleJon様に感謝してニーアオートマタを楽しみましょう。

動画やたまに記事を書きます。 サポートされたお金はすべて動画と記事のために消費されます。 おいしいごはんにはなりません。よろしくお願いします。