MaKiPL / OpenVIII-monogame

Open source Final Fantasy VIII engine implementation in C# working on Windows and Linux (Android and iOS planned too!) [Monogame]
MIT License
631 stars 58 forks source link

Basic support for Remaster. Need optimized. #147

Closed Sebanisu closed 4 years ago

Sebanisu commented 4 years ago

Music and Video playback is disabled reading from other.zzz and main.zzz. I was having issues getting the code to work reliably. Though it might be easier now because the other code has less bugs now.

I was running out of ram because I was loading multiple copies of zzz files and fs files into ram. I countered that but removing things from ram. Though increasing the complexity so it's slower. Speed is fine in 2013 as it has most of the files in a folder. My main goal was to get it functional and mostly bugfree.

If i just extract the files with demaster or another program it can run just as fast as 2013 version. Though i haven't told it to check those folders yet. To debug and improve zzz file handling. I think L4Z supports streams? I haven't experimented with that yet.

Currently the threads are disabled. They can make things faster by doing operations in parallel but they hide unoptimized code and bugs. So it made it difficult to debug or see why it'd error sometimes and not error others. I'd like this to be toggleable from a config file in the future. So users can get the faster load times.

Few more tweaks and fixes from before this project. like a null check or reorganizing sound class into 2 files instead of 1 big file.

Sebanisu commented 4 years ago

I forgot to mention this does not support the upscale textures yet. Frame rate is slower with the new models. Might need to optimized the way we update the vertices for animations.

During battle: