Skip to content

Commit b2cdaee

Browse files
committed
improve build script and correct japanese ps1 requirements in docs
1 parent b12fdd3 commit b2cdaee

3 files changed

Lines changed: 15 additions & 8 deletions

File tree

gameshark/thigsgen

-112 KB
Binary file not shown.

japanese-ps1-instructions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
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

scripts/get-deps.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
#!/bin/bash
22

3-
set -e
4-
echo "Sudo privilages may be required to install build dependencies"
53
if 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
711
elif 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
919
else
1020
echo "Package manager is not apt or dnf, please add support for it here!"
1121
exit 1
1222
fi
13-
14-
pip3 install numpy

0 commit comments

Comments
 (0)