-
Notifications
You must be signed in to change notification settings - Fork 0
Installation from Git
I don't recommend doing this unless you're a developer and you know what you're doing.
If you just want to use Super Pedobear as it is, please consider using the Steam Workshop instead.
Please note that the third party bear model is not included in the Git repository and will be missing from your game/server.
Make sure that symlinks are enabled on your Git installation! It might not be enabled by default in GitHub Desktop or Git for Windows. So please make sure to have symlinks = true
in the [core]
section of %USERPROFILE%\.gitconfig
and C:\ProgramData\Git\config
.
When you're ready you can clone Super Pedobear recursively in some appropriate folder on your computer:
git clone --recursive https://github.com/Xperidia/SuperPedobear.git
When it's done you can start setting up symlinks to your game/server(s) from the SuperPedobear
folder.
Windows example (change drive letters and paths with where your stuff is):
set TARGET_DRIVE_LETTER=X
set TARGET_PATH=%TARGET_DRIVE_LETTER%:\steamcmd\steamapps\common\GarrysModDS\garrysmod
set SOURCE_PATH=Y:\Sources\SuperPedobear
%TARGET_DRIVE_LETTER%
cd %TARGET_PATH%
mkdir gamemodes
mklink /D gamemodes\superpedobear "%SOURCE_PATH%\gamemodes\superpedobear"
mkdir maps
mklink maps\spb_school.bsp "%SOURCE_PATH%\maps\spb_school.bsp"
mklink maps\spb_school.nav "%SOURCE_PATH%\maps\spb_school.nav"
mkdir maps\thumb
mklink maps\thumb\spb_school.png "%SOURCE_PATH%\maps\thumb\spb_school.png"
mkdir materials
mklink /D materials\superpedobear "%SOURCE_PATH%\materials\superpedobear"
mkdir sound
mklink /D sound\superpedobear "%SOURCE_PATH%\sound\superpedobear"
Unix/Linux example (change paths with where your stuff is):
TARGET_PATH=/home/user/.steam/steamcmd/steamapps/common/GarrysModDS/garrysmod
SOURCE_PATH=/home/user/Sources/SuperPedobear
cd %TARGET_PATH%
mkdir gamemodes
ln -s $SOURCE_PATH/gamemodes/superpedobear gamemodes/superpedobear
mkdir -p maps/thumb
ln -s $SOURCE_PATH/maps/spb_school.bsp maps/spb_school.bsp
ln -s $SOURCE_PATH/maps/spb_school.nav maps/spb_school.nav
ln -s $SOURCE_PATH/maps/thumb/spb_school.png maps/thumb/spb_school.png
mkdir materials
ln -s $SOURCE_PATH/materials/superpedobear materials/superpedobear
mkdir sound
ln -s $SOURCE_PATH/sound/superpedobear sound/superpedobear sound/superpedobear
You can also use relative paths of course, this is just a simple example.
Now you're ready to properly use and develop Super Pedobear from Git!
Don't forget to do git pull
to get the latest commits on your local repository.