VOGONS

Common searches


First post, by johnnystarr

User metadata
Rank Newbie
Rank
Newbie

I'm trying my best to follow the instructions, but for some reason I cannot get "surfacepp" or "openglpp" to actually work.

In the PATCHES.txt notes I see:

+ Patch for pixel perfect scaling, created by Ant_222 (https://www.vogons.org/viewtopic.php?f=32&t=49160)

In the pixel perfect txt file i see

This  patch  adds  three  modes  of software scaling
based on the 'surface' output type and one hardware
scaling mode based on the 'opengl' output type:

surfacepp (pixel-perfect):
Each emulated pixel is represented as a sharp
rectangle with integral dimensions m x n such
that m:n approximates the desired pixel aspect
ratio (PAR), which depends on the emulated reso-
lution and the 'aspect' setting in the [render]
section. Whereas the standard PARs are them-
selves ratios of small integers, this mode will
yield the exact aspect ratio, provided the output
resolution is high enough for the game.

So, in dosbox.conf I set:

output=surfacepp

Run DOSBox, and the output console says:

"surfacepp" is not a valid value for variable: output.

I realize these are "patches", but is there something else I need to do to enable these features?

It should also be noted that the dosbox.conf comments were never updated, notice my available options:

#           output: What video system to use for output.
# Possible values: surface, overlay, opengl, openglnb, ddraw.

Reply 2 of 3, by johnnystarr

User metadata
Rank Newbie
Rank
Newbie
xcomcmdr wrote on 2020-07-25, 09:14:

With modern versions of ECE, try to use the pixel-perfect opengl shader instead :
Re: DOSBox ECE (for Windows & Linux)

So I'm confused. The latest version of ECE says to use output. Why haven't they updated their documentation?

FWIW, I'm a professional developer. If the ECE source code was on Github I would open a pull request and call it a day 😀

Reply 3 of 3, by johnnystarr

User metadata
Rank Newbie
Rank
Newbie
xcomcmdr wrote on 2020-07-25, 09:14:

With modern versions of ECE, try to use the pixel-perfect opengl shader instead :
Re: DOSBox ECE (for Windows & Linux)

Also, FWIW

[sdl]
output = openglnb

[render]
glshader = pixel_perfect

Results in:

Shader file "pixel_perfect" not found.