Skip to content

Commit

Permalink
readme: update instructions to accommodate for the new home
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed Apr 10, 2024
1 parent d2e454b commit 428bc02
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,50 @@ repository originate from the [PS5SDK][PS5SDK] project.
On Debian-flavored operating systems, you can invoke the following command to
install dependencies used by the SDK.
```console
john@localhost:ps5-payload-sdk$ sudo apt-get install bash socat cmake pkg-config clang-15 lld-15
john@localhost:ps5-payload-dev/sdk$ sudo apt-get install bash socat cmake pkg-config clang-15 lld-15
```

## Building
```console
john@localhost:ps5-payload-sdk$ make
john@localhost:ps5-payload-dev/sdk$ make
```

## Installation
```console
john@localhost:ps5-payload-sdk$ make DESTDIR=/opt/ps5-payload-sdk install
john@localhost:ps5-payload-dev/sdk$ make DESTDIR=/opt/ps5-payload-sdk install
```

## Usage
```console
john@localhost:ps5-payload-sdk$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-sdk$ make -C samples/hello_world
john@localhost:ps5-payload-sdk$ export PS5_HOST=ps5; export PS5_PORT=9021
john@localhost:ps5-payload-sdk$ make -C samples/hello_world test
john@localhost:ps5-payload-dev/sdk$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-dev/sdk$ make -C samples/hello_world
john@localhost:ps5-payload-dev/sdk$ export PS5_HOST=ps5; export PS5_PORT=9021
john@localhost:ps5-payload-dev/sdk$ make -C samples/hello_world test
```

## Adding new SCE Libs
If you have decrypted sprx files that you would like to interact with, you can
build stubs for them as follows:
```console
john@localhost:ps5-payload-sdk$ sudo apt-get install wget python3 python3-pyelftools
john@localhost:ps5-payload-sdk$ cp /path/to/sprx/libSceXYZ.sprx sce_stubs/
john@localhost:ps5-payload-sdk$ make -C sce_stubs stubs
john@localhost:ps5-payload-sdk$ make DESTDIR=/opt/ps5-payload-sdk install
john@localhost:ps5-payload-dev/sdk$ sudo apt-get install wget python3 python3-pyelftools
john@localhost:ps5-payload-dev/sdk$ ln -s /path/to/sprx/libSceXYZ.sprx sce_stubs/libSceXYZ.sprx
john@localhost:ps5-payload-dev/sdk$ make -C sce_stubs stubs
john@localhost:ps5-payload-dev/sdk$ make DESTDIR=/opt/ps5-payload-sdk install
```

## Reporting Bugs
If you encounter problems with ps5-payload-sdk, please [file a github issue][issues].
If you encounter problems with the SDK, please [file a github issue][issues].
If you plan on sending pull requests which affect more than a few lines of code,
please file an issue before you start to work on you changes. This will allow us
to discuss the solution properly before you commit time and effort.

## License
Files in the include_bsd directory are licenced under BSD licences.
Unless otherwhise explicitly stated inside a file, the rest are licensed under
the GPLv2.
the GPLv3+.

[bdj]: https://github.com/john-tornblom/bdj-sdk/tree/master/samples/ps5-payload-loader
[sdk]: https://github.com/john-tornblom/ps5-payload-sdk
[issues]: https://github.com/john-tornblom/ps5-payload-sdk/issues/new
[elfldr]: https://github.com/john-tornblom/ps5-payload-elfldr
[issues]: https://github.com/ps5-payload-dev/sdk/issues/new
[elfldr]: https://github.com/ps5-payload-dev/elfldr
[PS5SDK]: https://github.com/PS5Dev/PS5SDK
[webkit]: https://github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit

0 comments on commit 428bc02

Please sign in to comment.