Windows port of flatz ps4_stub_lib_maker.
Credits to flats for the original project https://github.com/flatz/ps4_stub_lib_maker_v2
- Requires Official SDK :( so you must specify your SDK path in
Libs/makeStub.bat
. - Run the
build.bat
. - All of the generated stubs will be in the root of the repo.
- You can now link against these stubs with more function definitions than the official.
- Python 2.7
- Sony PS4 SDK
-
Download and install Miniconda: You can download Miniconda from the offical website
-
During the installation process, you'll be prompted to select environment variables. Choose the following options:
- Add Miniconda3 to my PATH environment variable
- Register Miniconda3 as my default Python 3.11
- Clear the package cache upon completion
-
Verify the Conda version by running
conda --version
in your terminal. -
Create a Python 2.7 environment named "py27" with the command:
conda create --name py27
-
Start the Conda environment in terminal by running
conda init powershell
-
Restart your terminal to ensure that the changes take effect.
-
Check the list of Conda environments using the command:
conda env list
-
Activate the Python 2.7 environment you created with:
conda activate py27
-
Install Python 2.7 in your "py27" environment using the command:
conda install python=2.7.18