Editing PSDK3v2

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
=Description=
PS3 development enviroment for windows, based on PSL1GHT, Tiny3D and PS3 Soundlib
PS3 development enviroment for windows, based on PSL1GHT, Tiny3D and PS3 Soundlib https://github.com/Estwald/PSDK3v2


Based on the work of Estwald, Marioga and other sceners and in libraries such as PSL1GHT, Tiny3D and PS3 Soundlib
*https://github.com/Estwald/PSDK3v2
 
PSDK3 aims to be a stable programming environment for PS3 homebrew under Windows, without external influences that threaten the integrity of the libraries, or the applications that are built with them, when someone decides to change everything, breaking the compatibility with the applications created with these libraries and causing a clear prejudice
 
Here the motto is "if something works, do not touch it", you can add things, but do not subtract or mess with the code.
 
=What to do=
Download the ZIP (by clicking in github green button). Create in root of C:\ the folder "PSDK3v2" and decompress inside the content of the zip (can be installed in other devices or directories changing the files Make*.bat if you prefer later)
 
Extract the file MinGW.7z (I use IZArc) and you will have the folder "MinGW" with the environment to run Make, etc.
 
In PSDK3v2\MinGW\msys\1.0\etc edit the file "profile" and at the end, where it tells ''export PS3SDK="/c/PSDK3v2"'' change the path by the path you want to use, if you want to launch the console (msys.bat) with the required environment variables.
 
Extract ps3dev.7z and you will have the folder "ps3dev" with PS3 compilers, the needed libraries already compiled and the utilities
 
=What the project contains=
'''MinGW''': MinGW/MSYS environment specifically designed to work with PS3 tools.
 
'''Ps3dev''': Contains compilers, compiled external libraries and other support tools, such as scetool for signing applications (replacing those for geohot), tools for creating packages as well as some necessary DLLs.
 
'''Psl1ght''': Contains the psl1ght library already compiled
 
'''Libraries-src''': Contains source codes for PSL1GHT, Tiny3D and PS3 Soundlib
 
'''Project''': Contains the source codes of the examples and the .bat files to create the executables
 
=Changing PSDK3v2 installation path=
Additionally to the above mentioned changes in /etc/profile (to overlap console), if you edit the Make*.bat files and change the path by the corresponding route, will suffice:
set PS3SDK=/F/PSDK3v2 set WIN_PS3SDK=F:/PSDK3v2
 
=Compiling=
'''Make_clean.bat''': Deletes all compiled files except .pkg
 
'''Make_SELF.bat''': Creates a .self signed with keys 3.40 (via scetool)
 
'''Make_EBOOT.BIN.bat''': Creates the application's self NPDRM EBOOT.BIN. This is useful if you update via FTP an already installed .pkg
 
'''Make_PKG.bat''': Creates the .pkg to install the application.
 
=Other info=
The "scetool" requires a file with keys that uses a relative path. That is why the "fake_scetool" utility has been included to support it.
 
Ppu_rules has been suitably modified to use this application. By default, it contains the keys in "SCETOOL_FLAGS". It can be overloaded by defining with SCETOOL_FLAGS: = and adding more parameters with SCETOOL_FLAGS + =. The 3.40 keys work on the CFWs we use and that's why I have chosen them.
 
The reference Makefiles are in the project/sample examples. In particular, "fireworks3D" is an example of how to use Tiny3D and PS3 Soundlib together and the needed libraries
 
I hope these tools are useful to you in your projects.
 
regards (estwald)


{{Development}}<noinclude>[[Category:Main]]</noinclude>
{{Development}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)