Skip to content

Windows (98/2000) Compilation / Development Guide

Environment configuration

To compile RetroArch targeting Windows 98 and 2000, we will use Microsoft Visual C++ 2005. This is the last version of Visual C++ that can target 98/2000.

This guide assumes the host OS is Windows 2000 Professional. VC2005 does run on Windows XP and Vista but this has not been tested with RetroArch.

Prerequisites:

Windows 2000 Service Pack 4

Windows 2000 Update Rollup 1

Internet Explorer 6

Internet Explorer 6 Service Pack 1 (required by VC2005)

DirectX SDK February 2005 (versions after this date will not install on Windows 2000)

Windows Server 2003 SP1 Platform SDK

Visual C++ 2005 Express (or Pro)

Note

Windows 98 Second Edition is supported, but First Edition has not been tested. If you do try to target it, make sure that your DirectX SDK is no newer than July 2004.

RetroArch Compilation

Building RetroArch

Note

Setting up a working git shell is beyond the scope of this document. msysgit 1.8.5.2 is known to work locally but is unable to communicate with any remote servers on Windows 2000, and the github website does not load in IE6 either.

The first step is to obtain RetroArch's source tree.
You can clone the repository directly from GitHub

1
git clone https://github.com/libretro/RetroArch.git retroarch

For subsequent builds you will need to pull the changes from the repo

1
2
cd retroarch
git pull

To compile RetroArch, first open the solution file located at pkg/msvc/RetroArch-msvc2005.sln with Visual C++ 2005.

Next we select the desired solution configuration:

configurations

The choices are:

1
2
3
4
Debug
Debug NoAccel
Release
Release NoAccel

For development purposes you can use the Debug configurations, otherwise use Release. The "NoAccel" versions do not include Direct3D or OpenGL support (but keeps DirectInput and DirectSound support).

Now press F7 to build the solution, or go to Build -> Build Solution.

After the build is finished you should be able to find RetroArch-msvc2005.exe in the pkg/msvc/msvc-2005/<configuration> directory, where <configuration> is the one you chose earlier such as Debug or Release. To start the newly compiled retroarch you can press F5 in Visual C++ or simply navigate to the .exe file and run it there.


Last update: 2024-04-25