An Elder Scrolls Legend: Battlespire

An Elder Scrolls Legend: Battlespire

评价数不足
Better Texture Filtering (on Linux)
由 Olympic Pastry 制作
How to get better (nearest) filtering for in-game graphics.
   
奖励
收藏
已收藏
取消收藏
Before Attempting
Q:What am I even talking about?
A:The texture filtering of Battlespire, by default has a mushy linear effect. Using this guide, provided it works for you, will give a filtering more resembling nearest filtering (more pixelated).

Before attempting this, try less hacky ways to get better filtering. Try editing the bs.conf file in the DOSbox directory within the Battlespire installation directory, changing the output and scaler values. If this does not work, then continue with this guide.

This is a bit of a "brute force" method, but I was unable to get it to work any other way. We will be changing the system's resolution, to that of Battlespire's.
Implementation
I was able to get this working using Proton (5.13) and with Boxtron (native Dosbox).

You will need to install a resolution changing software, in this case I used xrandr. If xrandr is not supported on your system, you can try and adjust the following commands to match your system's equivalent.

In the Battlespire steam launch options, write the following command where <Device> is your monitor device and <Width>, and <Height> is your monitor's resolution:

xrandr --output <Device> --mode 640x480; %command%; xrandr --output <Device> --mode <Width>x<Height>

My command looks like this:
xrandr --output HDMI-A-0 --mode 640x480; %command%; xrandr --output HDMI-A-0 --mode 1360x768

In order the get <Device>, use the following command:
xrandr -q

When launching Battlespire, launch using the fullscreen option.
Additional Notes
Sometimes when first launching Battlespire, the cursor will be unable to respond. If this happens simply quit out and restart Battlespire.

If your game crashes, it will most likely leave your system with a 640x480 resolution. This can be fixed with the same xrandr command:
xrandr --output <Device> --mode <Width>x<Height>

In may case the command is:
xrandr --output HDMI-A-0 --mode 1360x768

When attempting to record gameplay, obs failed to capture Battlespire. Instead I had to resort to Dosbox's native recording, which is, by default activated with left control + left alt + F5. This key combination is usually already in use, so I would recommend changing the key combination. I added a holding of left shift in addition to the other keys.