Usage and Building.md changes for ps4_unfself which is required for Testing

This commit is contained in:
RyzenDew 2023-07-28 00:07:36 -03:00 committed by GitHub
parent b63d13d6ec
commit 032d1915f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 5 deletions

17
.github/USAGE.md vendored
View file

@ -1,7 +1,20 @@
# Usage
## How to prepare eboot.bin with ps4_unfself
### eboot.bin needs to be unfselfed and to do this [pip](https://github.com/RyzenDew/rpcsx/edit/usage-changes/.github/BUILDING.md#we-need-one-more-thing) is required with this tool [ps4_unfself](https://github.com/SocraticBliss/ps4_unfself)
Place ```ps4_unfself.py``` into the same folder as the eboot.bin then open a console and type
```
python ps4_unfself.py eboot.bin
```
You will get a read out and it will make an ```eboot.elf```
## How to run samples and games
You will need firmware 5.05 dumped via PS4 FTP it must be fully decrypted and we do not provide the firmware
See the Commands of `rpcsx-os` (`-h` argument), or join the [Discord](https://discord.gg/t6dzA4wUdG) for help.
You can run the emulator with some samples using this command:
@ -12,13 +25,13 @@ rm -f /dev/shm/rpcsx-* && ./rpcsx-os --mount "<path to fw>/system" "/system" --
## Creating a log
You can use this flag if you encountered a segfault for debugging purposes.
### You can use this flag if you encountered a segfault for debugging purposes.
```sh
--trace
```
You can redirect all log messages to a file by appending this command:
### You can redirect all log messages to a file by appending this command:
```sh
&>log.txt