forked from ooPo/ps4sdk-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
70 lines (44 loc) · 2.08 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
====================
What does this do?
====================
This program will automatically build a docker image with
ps4sdk, elf-loader and other various tools ready to be used for homebrew development on 5.05 PS4.
====================
How do I build it?
====================
IMPORTANT: Open Dockerfile and change IP addresses of both your local machine and PS4. (PS4IP and LOCALIP)
This is needed for ps4sh to work.
Build the image (--rm flag is for cache usage):
docker build --rm==false -t ps4sdk-docker .
Copy the helper script:
cp ps4sdk-docker.sh /usr/local/bin
OR add the directory where you cloned this repository to the $PATH
==================
How do I use it?
==================
Use the helper script to run bash in the docker container:
ps4sdk-docker.sh
Or, use the helper script to run 'make':
ps4sdk-docker.sh make
The local folder will be mounted as /build inside docker.
There are some aliases inside the docker container available for you to use:
ps4sh - Executes ps4sh installed
elfcp - When building the homebrew.elf executable, move this file to the ps4sh directory to start serving that file.
And the following enviroment variables are available:
$PS4SH - directory where ps4sh is installed
$PS4DEV - directory where ps4dev tools are installed
$PS4SDK - directory where ps4sdk is installed
============================
How do I save and load it?
============================
Save the image:
docker save ps4sdk-docker | bzip2 > ps4sdk-docker.tar.bz2
Load the image:
docker load < bzip2 -dc ps4sdk-docker.tar.bz2
============================
What else is there?
============================
Orbislink.pkg is added here. Install and start it on the PS4. The ServerIP is hardcoded (I think) to 192.168.1.3,
so make sure the computer running PS4SH is that IP address. Else the PS4 won't be able to connect.
Also the homebrew started from that Orbislink.pkg is only homebrew.elf.
If assets (such as audio files) are missing when serving homebrew.elf via ps4sh you will only see a black screen via Orbislink.