You are very likely right. The question I can't figure out is why. It works fine on most machines, but seems to randomly give others problems. This makes it difficult to test because I can't replicate the problem. Also, the updated nw.js is theoretically supposed to work much better than the ancient version that natively comes with RPGM MV. For the public release of TOW 0.70, I am reverting to nw.js 0.44.6 in the hopes that it helps. There is scant information on this issue, but from what I've read, that is a stable version that hopefully works for more people. If anyone knows more about this issue, please let me know as I'd like to figure it out.
Hi,
So I did a little more digging and I'm quite confident that the problem seems to be caused by codec fuckery.
I grabbed the latest 32bit build of nwjs. I set up a copy of the 0.70 version of the game. I deleted everything except package.json and the "www" folder. I unpacked nwjs into the game folder.
Test 1
I fired up the game and saved in the train station. I then chose to board the train and the video froze while trying to play the movie.
Test 2
I grabbed a pre-built ffmpeg.dll from here:
Code:
https://github.com/iteufel/nwjs-ffmpeg-prebuilt
. Renamed the dll that came bundled with nwjs. Unpacked this into the game folder. I fired up the game, boarded the train and... it worked. Did a bit of back and forth by renaming the new and old dlls to test with one or the other. I consistently got freezing with the dll that came packed with nwjs but not the one I downloaded separately.
The one I got from the mentioned github page also is 1.1MB bigger than the one that came bundled.
Test 3
Game movies are mp4 files using the h264 codec. I used ffmpeg to transcode the file "Subwaybathroom1_Outfit_09.mp4" from h264 to vp9
With the the ffmpeg dll that came bundled with nwjs the subway bathroom scene plays fine but getting on the train freezes the video of the game.
Easiest solution to avoid dll swapping is to transcode movie files to vp9 and save future ones also using this codec instead of the h264.