Windows: Upgrading BasiliskII.exe causes screen scaling change

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
ussohio
Space Cadet
Posts: 9
Joined: Mon Feb 11, 2013 2:05 am

Windows: Upgrading BasiliskII.exe causes screen scaling change

Post by ussohio »

Today I updated from a 2020 build of BasiliskII.exe (if I knew how to tell the version number, I'd write it here) to a 2024 build of BasiliskII.exe. I cannot get the emulated screen resolution to be the same between the 2020 build and 2024 build - the 2020 build fills the screen (with great scaling), whereas the 2024 build scales differently, with large black borders. I've tried using the exact same BasiliskII_prefs file between the two versions, with no luck. I'm missing something here, and would appreciate anyone pointing out my mistake.

(I don't know how to include pictures in these posts, so here's a link to the PNGs on my Google Drive)
2020 BasiliskII.exe display:
https://drive.google.com/file/d/1m50TmY ... sp=sharing

2024 BasiliskII.exe display - note the large borders:
https://drive.google.com/file/d/1YzE_xW ... sp=sharing

Host system: Windows 10 Professional, 2560x1440 (native) display
Mac: System Software 7.5.5
Preferences file:

Code: Select all

displaycolordepth 0
disk F:\macemu\System.dsk
extfs 
screen dga/960/540
seriala COM1
serialb COM2
udptunnel false
udpport 6066
rom F:\macemu\Quadra, Centris 610,650,800 F1ACAD13 1993-02.ROM
bootdrive 0
bootdriver 0
ramsize 8388608
frameskip 1
modelid 14
cpu 4
fpu true
nocdrom false
nosound false
noclipconversion false
nogui false
jit false
jitfpu true
jitdebug false
jitcachesize 8192
jitlazyflush true
jitinline true
keyboardtype 5
keycodes false
mousewheelmode 1
mousewheellines 3
hotkey 0
scale_nearest true
scale_integer true
yearofs 0
dayofs 0
mag_rate 2
swap_opt_cmd true
ignoresegv false
sound_buffer 0
name_encoding 0
keycodes false
mousewheelmode 1
mousewheellines 3
idlewait false
enableextfs false
debugextfs false
extdrives CDEFGHIJKLMNOPQRSTUVWXYZ
pollmedia false
etherpermanentaddress true
ethermulticastmode 0
routerenabled false
ftp_port_list 21
portfile0 C:\B2TEMP0.OUT
portfile1 C:\B2TEMP1.OUT
sdlrender software
sdl_vsync false
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Windows: Upgrading BasiliskII.exe causes screen scaling change

Post by Cat_7 »

Hi, manually edit your prefs file and change:

scale_nearest true
scale_integer true

to

scale_nearest false
scale_integer false

And you're back in business.

Best,
Cat_7
ussohio
Space Cadet
Posts: 9
Joined: Mon Feb 11, 2013 2:05 am

Re: Windows: Upgrading BasiliskII.exe causes screen scaling change

Post by ussohio »

Thanks for the suggestions. The changes *do* allow BII to be full-screen, but the software rendering of the text & graphics is fuzzy do to mismatched virtual display size-to-actual display size. (Why do I like this specific resolution? Because it gives me the best tradeoff between extra real estate on the screen compared to 640x480, and larger screen elements to please my my imperfect eyes. :) )

I did figure something out yesterday. Somehow (I don't know how), I have Windows set up to change its display resolution to 1920x1080 when the 2020 version of BasiliskII.exe is launched. My monitor does great hardware-based resolution scaling, and things look great! Windows runs the 2024 version of BasiliskII.exe in 2560x1440, hence my screen resolution mismatches. Once again, this is a stupid-user-issue. :) I wonder how long it's going to take me to figure out how I got Windows to do that with the 2020 version.

Thank you for your time!
Post Reply