PCSX2 Documentation/Compiling on Windows: Difference between revisions

Line 313: Line 313:
  C:\Development\Project Source\PCSX2\NSIS\
  C:\Development\Project Source\PCSX2\NSIS\
If you skip this step, the NSIS compile will fail. This file must be present for any branch of PCSX2 as well, including wxGUI.
If you skip this step, the NSIS compile will fail. This file must be present for any branch of PCSX2 as well, including wxGUI.
Packaging PCSX2 with NULL Plugins
 
===Packaging PCSX2 with NULL Plugins===
After you install NSIS and .NSI files are associated with the Nullsoft Scriptable Installer System, you can Right-Click on .NSI files and select "Compile NSIS Script", as shown in the picture.
After you install NSIS and .NSI files are associated with the Nullsoft Scriptable Installer System, you can Right-Click on .NSI files and select "Compile NSIS Script", as shown in the picture.
This will compile a PCSX2 installer and include all of the null plugins. This will NOT include the additional plugins (gsDX, SPU-X, etc.)


[[File:Nsis6.jpg | frameless]]
[[File:Nsis6.jpg | frameless]]


Packaging PCSX2 with all Plugins In order to compile PCSX2 and include the Plugins, you must specify the INC_PLUGINS variable to makensis.exe. To do this, run the following in a command prompt (assuming default installation directories):
 
"C:\Program Files\NSIS\makensis.exe" "C:\Development\Project Source\PCSX2\NSIS\pcsx2_installer_script.nsi" /DINC_PLUGINS
This will compile a PCSX2 installer and include all of the null plugins. This will NOT include the additional plugins (gsDX, SPU-X, etc.)
 
===Packaging PCSX2 with all Plugins===
In order to compile PCSX2 and include the Plugins, you must specify the INC_PLUGINS variable to makensis.exe. To do this, run the following in a command prompt (assuming default installation directories):
<source lang="powershell">C:\Program Files\NSIS\makensis.exe" "C:\Development\Project Source\PCSX2\NSIS\pcsx2_installer_script.nsi" /DINC_PLUGINS</source>
This will compile PCSX2 and include all of the plugins in the installer file.
This will compile PCSX2 and include all of the plugins in the installer file.
Packaging the PCSX2 wxGUI Branch Due to a few changes in the versioning (and some not yet up-to-date code), you will need to make some changes to the pcsx2_installer_script.nsi in order to get a working installer for the wxGUI trunk. Update to the latest SVN revision and check the .NSI file at (or around) line 103. You may see the following:
Packaging the PCSX2 wxGUI Branch Due to a few changes in the versioning (and some not yet up-to-date code), you will need to make some changes to the pcsx2_installer_script.nsi in order to get a working installer for the wxGUI trunk. Update to the latest SVN revision and check the .NSI file at (or around) line 103. You may see the following:
ninja
782

edits