uyjulian
Developer
Thanks to the usage of Docker, it is even easier than ever to build Open PS2 Loader.
To install Docker Engine, follow the instructions here: https://docs.docker.com/engine/install/
(Note: if you want to use podman instead, just replace "docker" with "podman" in the following steps below)
## Running the container and cloning the repository
To clone the Open PS2 Loader repository and change directory into it, open a new terminal and run the following commands:
## Building Open PS2 Loader
To build Open PS2 Loader, run the following command:
## Copying the built Open PS2 Loader
To copy the built "OPNPS2LD.ELF" out of the container, do the following:
Open a new terminal and run the following command to copy "OPNPS2LD.ELF" out of the container:
where ./OPNPS2LD.ELF is the path where you want to place the output file on the host filesystem.
## Cleaning up
After you are finished with the container, in the terminal where you typed "docker run", type in the following:
To clean up and remove any files related to the container, type in the following:
To install Docker Engine, follow the instructions here: https://docs.docker.com/engine/install/
(Note: if you want to use podman instead, just replace "docker" with "podman" in the following steps below)
## Running the container and cloning the repository
To clone the Open PS2 Loader repository and change directory into it, open a new terminal and run the following commands:
Code:
docker run --name opl_build_tmp -it ghcr.io/ps2homebrew/ps2homebrew:main sh
cd ~
git clone https://github.com/ps2homebrew/Open-PS2-Loader.git
cd Open-PS2-Loader
## Building Open PS2 Loader
To build Open PS2 Loader, run the following command:
Code:
make
## Copying the built Open PS2 Loader
To copy the built "OPNPS2LD.ELF" out of the container, do the following:
Open a new terminal and run the following command to copy "OPNPS2LD.ELF" out of the container:
Code:
docker cp opl_build_tmp:/root/Open-PS2-Loader/opl.elf ./OPNPS2LD.ELF
## Cleaning up
After you are finished with the container, in the terminal where you typed "docker run", type in the following:
Code:
exit
To clean up and remove any files related to the container, type in the following:
Code:
docker rm opl_build_tmp
Last edited: