PCSX2 Documentation/Compiling on Windows: Difference between revisions

Line 257: Line 257:


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:
<source lang="powershell">
SetOutPath $INSTDIR
File /oname=pcsx2-r${SVNREV}.exe
..\bin\pcsx2.exe
File ..\bin\w32pthreads.dll
File ..\bin\gnu_gettext.dll
</source>
Note that it is referencing w32pthreads.dll even though the wxGUI branch of PCSX2 uses an updated w32pthreads.v2.dll. Change the code to read
<source lang="powershell">
SetOutPath $INSTDIR
File /oname=pcsx2-r${SVNREV}.exe
..\bin\pcsx2.exe
File ..\bin\w32pthreads.v2.dll
File ..\bin\gnu_gettext.dll
</source>
and close the file. Note that updating the SVN after you make this change may alert you that your copy and the copy on the server do not match. This means that the NSI file has changed in the repository and you should re-download it. If you update and get an error from NSIS about being unable to find w32pthreads.dll, you'll know what to do to fix it. Once that is done, follow the same process as is outlined above for the PCSX2 Trunk SVN.


{{PCSX2 Documentation Navbox}}
{{PCSX2 Documentation Navbox}}
ninja
31

edits