This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
cb-legacy-dev/installers/dosboxw95/guest_tools/guest-scripts/1024_16bpp.bat

18 lines
913 B
Batchfile
Raw Normal View History

2023-11-18 16:56:10 +00:00
@echo off
mkdir C:\WINDOWS\TEMP
echo REGEDIT4 > C:\WINDOWS\TEMP\set1024.reg
echo. >> C:\WINDOWS\TEMP\set1024.reg
echo [HKEY_LOCAL_MACHINE\Config\0001\Display\Settings\] >> C:\WINDOWS\TEMP\set1024.reg
echo "fonts.fon"="vgasys.fon" >> C:\WINDOWS\TEMP\set1024.reg
echo "fixedfon.fon"="vgafix.fon" >> C:\WINDOWS\TEMP\set1024.reg
echo "oemfonts.fon"="vgaoem.fon" >> C:\WINDOWS\TEMP\set1024.reg
echo "DPILogicalX"="96" >> C:\WINDOWS\TEMP\set1024.reg
echo "DPILogicalY"="96" >> C:\WINDOWS\TEMP\set1024.reg
echo "DPIPhysicalX"="96" >> C:\WINDOWS\TEMP\set1024.reg
echo "DPIPhysicalY"="96" >> C:\WINDOWS\TEMP\set1024.reg
echo "BitsPerPixel"="16" >> C:\WINDOWS\TEMP\set1024.reg
echo "Resolution"="1024,768" >> C:\WINDOWS\TEMP\set1024.reg
echo "DisplayFlags"="0" >> C:\WINDOWS\TEMP\set1024.reg
C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\set1024.reg
del C:\WINDOWS\TEMP\set1024.reg