Fix for enemies not visible in resolutions other than 1920x1080.
Caution! Only tested with Demulshooter as standalone! Always back up the file just in case!
I don't know if there is much interest in this, normally no one mentions anything but here it goes...
First of all, my reasons. I play on an arcade machine, and the maximum screen resolution I can use is 800x600. That's why I'm constantly looking for fixes for newer games to be able to play them at those low resolutions (and I almost always succeed).
In this game, the problem is that enemy positions are calculated for a fixed resolution of 1920x1080. However, this can be fixed for any other resolution.
Instructions:
1. Open the config folder and find the config_screen_pos.txt file.
Create a folder, i.e. "Backup", and copy the above file there for backup and to have an original reference when modifying the original file.
2. Open the file inside the config folder (not the backup) with a text editor (Notepad, for example).
Inside the file, there are a series of lines like this: ATTACK_SCREEN_POS_15 = 1100,400,3. The first number, 1100, refers to the horizontal position within 1920p
horizontal resolution, and the second number is the vertical position within 1080p vertical resolution.
3. Now for some simple math. Let's take i.e a desired resolution of 800x600, take 800 and divide by 1920, and then take 600 and divide by 1080.
800:1920=0.4166
600:1080=0.555
Write down these two numbers on a piece of paper.
In the line mentioned above: ATTACK_SCREEN_POS_15 = 1100,400,3, we take 1100 and multiply it by 0.4166, and we take 400 and multiply it by 0.555.
1100x0.4166=458.26
400x0.555=222
In the case of 458.26, we must round (no decimals) to 458.
Change it accordingly in the mentioned line: ATTACK_SCREEN_POS_15 = 458,222,3
All lines must be changed. The positions that contain only a 0 digit, of course, are not changed.
That's it...
If anyone modifies the file for a specific resolution, please upload it to share it with the rest. Thanks. 😉
Btw. For a correct aspect ratio with 4:3 resolutions, even if your real screen resolution is i.e. 800x600, put a 16:9 resolution ingame. For this example: 800x450,
otherwise there will be not black bars and you'll see some graphical glitches.
Here are my files for the 800x600 resolution for both versions, 2.0.6 and 3.0.2
800x600fix.zip