File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## Requirements:
44
55* Any real Japanese (NTSC-J region) PS1 CD-ROM game disc.
6- * A swap magic tool.
7- * Being OK with modifying the DVD-ROM faceplate of the console.
6+ * Something to block the lid sensor. This could be a pen spring (SCPH-1000-SCPH-9000), or a piece of paper (SCPH-100).
87* Anything else required by the entry point.
98
109## Supported Entry Points
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -e
4- echo " Sudo privilages may be required to install build dependencies"
53if command -v dnf & > /dev/null; then
6- sudo dnf install -y git autoconf automake g++ make libtool texinfo help2man ncurses-devel tinyxml2-devel cmake cdrdao python pip libstdc++-static.i686 glibc-static.i686 libstdc++-static.x86_64 mingw64-gcc mingw32-gcc mingw32-gcc-c++ mingw64-gcc-c++
4+
5+ if [ $EUID != 0 ]; then
6+ echo " Info: root privilages are required to install build dependencies"
7+ sudo dnf install -y git autoconf automake g++ make libtool texinfo help2man ncurses-devel tinyxml2-devel cmake cdrdao python libstdc++-static.i686 glibc-static.i686 libstdc++-static.x86_64 mingw64-gcc mingw32-gcc mingw32-gcc-c++ mingw64-gcc-c++ python3-numpy
8+ else
9+ dnf install -y git autoconf automake g++ make libtool texinfo help2man ncurses-devel tinyxml2-devel cmake cdrdao python pip libstdc++-static.i686 glibc-static.i686 libstdc++-static.x86_64 mingw64-gcc mingw32-gcc mingw32-gcc-c++ mingw64-gcc-c++ python3-numpy
10+ fi
711elif command -v apt & > /dev/null; then
8- sudo apt install --yes build-essential libtinyxml2-dev git cmake cdrdao python3 python3-pip autoconf texinfo help2man gawk libtool-bin libtool ncurses-dev gcc-multilib mingw-w64-tools
12+
13+ if [ $EUID != 0 ]; then
14+ echo " Info: root privilages are required to install build dependencies"
15+ sudo apt install --yes build-essential libtinyxml2-dev git cmake cdrdao python3 python3-pip pipx autoconf texinfo help2man gawk libtool-bin libtool ncurses-dev gcc-multilib mingw-w64-tools python3-numpy g++-multilib gcc-multilib mingw-w64-tools g++-mingw-w64 zip dpkg-dev
16+ else
17+ apt install --yes build-essential libtinyxml2-dev git cmake cdrdao python3 autoconf texinfo help2man gawk libtool-bin libtool ncurses-dev gcc-multilib mingw-w64-tools python3-numpy g++-multilib gcc-multilib mingw-w64-tools g++-mingw-w64 zip dpkg-dev
18+ fi
919else
1020 echo " Package manager is not apt or dnf, please add support for it here!"
1121 exit 1
1222fi
13-
14- pip3 install numpy
You can’t perform that action at this time.
0 commit comments