Open collinsmith opened 5 years ago
Whew, that was a nightmare. I guess let me know here if there are any problems. I may need to rework DesktopLauncher
due to the riiablo
refactor changes. I added two command-line arguments -i 853 -o 480
to indicate width/height of the window. These will be removed in production and are used so that I can test a variety of scaling/aspect ratios. I noticed a couple problems trying to run without them and they shouldn't be necessary to have either. 853x480
is the target native resolution BTW. I'll fix this and come up with a better solution so that I can test my hail of resolutions.
FYI, I test 640x480, 853x480, 640x360, 720x360, 840x360, 1280x720
. 360p
resolutions are mobile with 720x360
being 18:9
that newer phones use. I just want to add to, not all of the menus have had their UI reworked with the newer scaling (multiplayer), but those that have and the in-game in general looks pretty fantastic and works significantly better on mobile.
e9910c7bda396faa450dd03787b04bce78276d38 fixed some of the more serious MPQ Viewer crashes since the riiablo rebase. I've decided to move in a bit of a different direction with it and am replacing single-MPQ view support with multi-MPQ view (i.e., instead of only viewing files from a single MPQ, it will now show all files from all MPQs in a specified home directory). This is more useful to this project and viewing a single MPQ is now outside the scope of this tool. If this feature is requested at a later time, support may be added.
tester module has begun end-of-life and some of the more useful tools have been ported over to tools module. I am going to deprecate the module soon but leave the code as a lot of it will be useful when tests are written for core modules (a lot of the classes within tester are developmental tests for codecs/classes within core, so they are a good jumping point even if a lot of the code is archaic).
fc5786a broke a lot of existing older modules that should be ported over where possible. Some of these were using deprecated features that the riiablo refactor removed (really, really old code that was since long redeveloped).
Animation
class throws a null pointer error because this module doesn't init someRiiablo
class fields. I'll probably go through this and make sure it works properly after I add the new mpq module, but for now that is time better spent on the game itself because I can use DRTest.MapRenderer
which was pretty much completely junked and improved. This needs to be rewritten almost entirely. Some of it's functionality is in mapbuilder but this is still useful to look at individual DS1s. If possible I'd even like to delete this in favor of adding its functionality to mpqviewer