Updated Compiling (markdown)

dborth 2025-03-20 20:17:58 -06:00
parent c8332a996b
commit 34721310c6

@ -6,9 +6,22 @@ Here's some basic instructions on compiling SNES9x GX. You don't need to be a pr
# Instructions #
1. Ensure that you have [devkitPPC r24 and libogc 1.8.7](http://www.devkitpro.org) or higher installed. If you have an older version, completely uninstall it first.
1. Download and copy the [ported libraries](http://sourceforge.net/projects/devkitpro/files/portlibs) to your PPC portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc)
1. Download the source.
1. Run Programmer's Notepad (installed with devkitPro)
1. Find the Makefile from the source you downloaded. Click Tools > Make.
1. You're done!
1. Use the devkitPro installer to get started, install devkitPPC (Wii/GameCube)
1. Update using Pacman
`pacman -Syu`
1. Install portlibs (dependencies) using devkitPro Pacman
`pacman -S ppc-bzip2 ppc-freetype ppc-libjpeg-turbo ppc-libogg ppc-libpng ppc-libvorbisidec ppc-mpg123 ppc-mxml ppc-pkg-config ppc-zlib`
1. Setup libogc2 with the instructions here: https://github.com/extremscorner/libogc2
1. Replace libfreetype with an older version. The most current version isn't stable.
Files: https://github.com/dborth/snes9xgx/tree/master/buildtools
Copy to (example): C:\devkitPro\portlibs\ppc\lib
1. Use the git command line or your favorite IDE to checkout the code. Eclipse is a good free option - https://eclipseide.org/
1. Run 'make' from the command line from within the project directory to build
1. A dol will be written to the executables directory
Helpful Links:
devkitPro Getting Started guide - https://devkitpro.org/wiki/Getting_Started
devkitPro updater - https://github.com/devkitPro/installer/releases
devkitPro Pacman - https://devkitpro.org/wiki/devkitPro_pacman
libogc2 - https://github.com/extremscorner/libogc2