Nearest Neighbor Scaling in SS Fullscreen Mode

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
User avatar
classicmacreborn
Inquisitive Elf
Posts: 38
Joined: Tue Jan 24, 2017 6:58 am

Nearest Neighbor Scaling in SS Fullscreen Mode

Post by classicmacreborn »

Does anyone know if it's possible to use nearest neighbor scaling instead of linear interpolation in fullscreen mode? It looks like it's using nearest neighbor in windowed mode. It just looks so terrible in fullscreen.

Eventually, I would like to fix the display size to the largest multiple of the guest OS's resolution that fits inside the resolution of the host OS while in fullscreen. This is how modern pixel art games scale. It seems like it should definitely be an option in preferences.
kanjitalk755
Apple Corer
Posts: 239
Joined: Thu Nov 09, 2017 12:06 pm

Re: Nearest Neighbor Scaling in SS Fullscreen Mode

Post by kanjitalk755 »

I have implemented that feature.

https://github.com/kanjitalk755/macemu

To enable integer and nearest-neighbor scaling, append following lines to ~/.sheepshaver_prefs.

Code: Select all

scale_integer true
scale_nearest true
User avatar
classicmacreborn
Inquisitive Elf
Posts: 38
Joined: Tue Jan 24, 2017 6:58 am

Re: Nearest Neighbor Scaling in SS Fullscreen Mode

Post by classicmacreborn »

Thank you so much!!! This is really valuable.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Nearest Neighbor Scaling in SS Fullscreen Mode

Post by emendelson »

I've added an option to use integer scaling to my "Mac OS 9 for OSX/macOS" application, which can be found easily with a search.
Post Reply