2010-09-25 15:46:12 +00:00
|
|
|
Various software and tools are required to compile Snes9x on Windows:
|
|
|
|
|
2010-09-25 17:35:19 +00:00
|
|
|
NOTE: Unicode support requires a special zlib build - see the end of the zlib entry
|
|
|
|
|
2017-04-29 16:12:41 +00:00
|
|
|
- The current official binary is compiled with Visual Studio 2017, you'll have to create
|
|
|
|
your own project file for earlier MSVC versions. VS2017 will automatically ask to install
|
2016-10-15 00:20:09 +00:00
|
|
|
the correct Windows SDK Version (7.1A)
|
2010-09-25 15:46:12 +00:00
|
|
|
|
2016-10-15 00:20:09 +00:00
|
|
|
- A recent DirectX SDK. The official binary is compiled against the August 2009 SDK.
|
2017-04-29 16:12:41 +00:00
|
|
|
Note that as of the June 2010 release of the DirectX SDK, DirectDraw has been removed
|
|
|
|
(DirectDraw is disabled by default, DIRECTDRAW_SUPPORT enables it)
|
2016-10-15 00:20:09 +00:00
|
|
|
https://www.microsoft.com/en-us/download/details.aspx?id=23549
|
2010-09-25 15:46:12 +00:00
|
|
|
|
2017-04-29 16:12:41 +00:00
|
|
|
- zlib (optional, ZLIB define, enabled by default) - the default solution includes a zlib
|
|
|
|
project that builds appropriately (force includes _tfwopen.h for unicode support in s9x).
|
2018-01-05 19:33:03 +00:00
|
|
|
The zlib directory should reside at win32/zlib/src, or you can download it automatically
|
|
|
|
with git submodule init && git submodule update.
|
2010-09-25 15:46:12 +00:00
|
|
|
|
2017-04-29 16:12:41 +00:00
|
|
|
- libpng (optional, HAVE_LIBPNG define, enabled by default) - the default solution includes
|
|
|
|
a libpng project that builds appropriately.
|
2018-01-05 19:33:03 +00:00
|
|
|
The libpng directory should reside at win32/libpng/src, or you can download it automatically
|
|
|
|
with git submodule init && git submodule update.
|
2010-09-25 15:46:12 +00:00
|
|
|
|
|
|
|
- To compile Snes9x:
|
2017-04-29 16:12:41 +00:00
|
|
|
Start up VS2017.
|
|
|
|
Load the Snes9x solution.
|
2010-09-25 15:46:12 +00:00
|
|
|
Select the desired configuration and build.
|
|
|
|
The Release configuration may build significantly slower than Debug.
|
|
|
|
Then you can run it.
|