A Visual Studio template bundle for the official PS4 SDK. Quickly scaffold SPRX and ELF eboot projects with automatic fself scripts and StubMaker integration.
- SPRX Project Template: PS4 module project
- ELF Eboot Template: Standalone executable project
- Automatic fself Scripts:
make_fself.pyincluded in Scripts folder - StubMaker Ready: Pre-configured External folder for StubMaker
- Precompiled Headers: Standardized library management across configurations
- Download the latest
.vsixfrom Releases - Double-click to install (requires Visual Studio 2022/2026)
- Wait for "Updating configuration" to complete (this can take 1-2 minutes)
- Open Visual Studio
- File → New → Project
- Search for "PS4"
- Select your template (SPRX or ELF)
- After creation, set up your dependencies:
# Option A: Initialize git and add StubMaker as submodule
cd YourProject
git init
git submodule add https://github.com/OSM-Made/StubMaker.git External/StubMaker
# Option B: Just clone StubMaker directly
git clone https://github.com/OSM-Made/StubMaker.git External/StubMakerYourProject/
├── YourProject.sln
├── YourProject/
│ ├── YourProject.vcxproj
│ ├── stdafx.h # Precompiled header - includes
│ ├── stdafx.cpp # Precompiled header - library links
│ └── main.cpp/prx.cpp
├── Scripts/
│ └── make_fself.py # Fake self signing script
└── External/
└── StubMaker/ # Clone or submodule here
The templates use a standardized precompiled header approach for easy library management:
Add your system includes and headers here:
#pragma once
#include <kernel.h>
#include <string>
#include <queue>
#include <vector>
#include <mutex>
#include <variant>
// Add more system libs here...
// StubMaker
#include <KernelExt.h>
// Your project libs
// #include <...>Link your libraries here:
#include "stdafx.h"
// Standard Libraries
#pragma comment(lib, "libSceLibcInternal_gen_stub_weak.a")
#pragma comment(lib, "libkernel_stub_weak.a")
#pragma comment(lib, "libkernel_gen_stub_weak.a")
// Additional Libraries
// #pragma comment(lib, "...")This approach keeps library management consistent across Debug/Release configurations and makes it easy to see all dependencies in one place.
- Extensions → Manage Extensions
- Find "PS4 Templates" and click Uninstall
- Restart Visual Studio
- If VS has issues starting, run:
devenv /updateconfiguration
- Visual Studio 2022 or 2026
- Official PS4 SDK
- StubMaker