GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ps3dev/PSL1GHT: A lightweight PS3 SDK

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,027 Commits
1,027 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
common
common
 
 
docs
docs
 
 
ppu
ppu
 
 
samples
samples
 
 
spu
spu
 
 
templates
templates
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
AI_POLICY.md
AI_POLICY.md
 
 
CHANGES
CHANGES
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
base_rules
base_rules
 
 
data_rules
data_rules
 
 
doxygen.conf
doxygen.conf
 
 
ppu_rules
ppu_rules
 
 
spu_rules
spu_rules
 
 

Repository files navigation

License CI

PSL1GHT

PSL1GHT is an open-source PlayStation 3 homebrew SDK. It provides libraries for GameOS homebrew applications created using the PS3 toolchain.

Note

This is the SDK repository. For the full development environment, please use ps3dev.

Environment

The master repository, ps3dev, combines the toolchain, libraries and PSL1GHT into a complete environment; this is the recommended way for most users to get started with PSL1GHT.

PSL1GHT is built and tested with the toolchain provided by ps3toolchain. The toolchain supplies compilers for the PPU and SPU, patched newlib environment, binutils, signing tools and other programs required by PSL1GHT.

Building

Building PSL1GHT directly is useful when developing PSL1GHT itself or testing changes. A working PS3 toolchain must already be installed.

Note

make install will overwrite the global PSL1GHT installation. If you do not want this, you may want to temporarily change $PSL1GHT to a separate location while working on a locally modified version.

make install also installs parts into $PS3DEV; however, you cannot point $PS3DEV to an empty location, as the Makefiles will then fail to find the toolchain.

git clone https://github.com/ps3dev/PSL1GHT.git
cd PSL1GHT
make install-ctrl
make
make install

make install-ctrl installs the shared build rules required during the SDK build. make install installs the completed headers, libraries, rules, and host utilities into $PSL1GHT and $PS3DEV.

To remove generated build files:

make clean

Building Applications

PSL1GHT programs are built using their Makefile. The repository currently provides samples organised by subsystem, such as audio, graphics and input.

To build an individual sample:

cd samples/<category>/<sample>
make

A typical sample build produces .elf and .self outputs. Samples that define a package target can be packaged with

make pkg

Package metadata is set by the application's Makefile. Quitting from the XMB requires the application to register a callback to handle the event; an example can be found in the camera sample.

Optional Dependencies

ps3libraries

Some samples and applications use libraries from ps3libraries. It is a collection of libraries ported to the PS3 such as SDL and zlib.

NVidia Cg Toolkit

The current shader workflow relies upon the discontinued proprietary NVidia Cg Toolkit when compiling .vcg and .fcg shader sources. Cg Toolkit cannot be included in the PS3DEV environment - it must be installed separately. It is not required for applications that don't need shaders.

You can download the Cg Toolkit from: https://developer.nvidia.com/cg-toolkit-download

Documentation

There is a DeepWiki set up for PSL1GHT that contains information about the SDK and allows you to ask it questions. This can provide a start for basic questions; the source code and public headers remain the authority.

The public headers contain Doxygen documentation for many APIs. Generate it with:

make doc

Doxygen must be installed.

Current Status

The core PSL1GHT SDK is built in CI with the PS3 toolchain. Coverage of samples is currently incomplete - some samples are excluded from the top sample build script, and CI does not yet verify anything beyond a top-level make.

Contributions that improve compatibility, sample coverage and documentation are welcome. For runtime changes, please describe the toolchain and hardware used for testing.

Credits

AerialX     - Founder, Author
Parlane     - Author
phiren      - Author
Tempus      - PSL1GHT Logo
lousyphreak - libaudio
Hermes      - sysmodule, libpngdec, libjpgdec
BigBoss     - EyeToy support added to libcamera sample, libgem sample.
ooPo        - ps3libraries
ElSemi      - Vertex Program Compiler
zerkman     - SPU sample code
shagkur     - Author
miigotu     - Author

Thanks to all contributors who have helped to maintain and improve PSL1GHT over the years.

About

A lightweight PS3 SDK

deepwiki.com/ps3dev/PSL1GHT

Topics

homebrewps3sdk

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

336 stars

Watchers

18 watching

Forks

79 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.