Removed references to wiki, made windows single player match linux

This commit is contained in:
Marwolf
2018-08-09 19:19:40 -04:00
parent b329877c56
commit 8f97277ad8
5 changed files with 40 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
echo ""
echo "Fetching updates to local repositories."
echo ""
sudo git pull
sudo make pull-game
sudo make pull-website
sudo make pull-wiki
echo ""

View File

@@ -2,9 +2,9 @@
@echo off
echo:
echo Fetching updates to local repositories.
echo:
git pull
make pull-game-windows
make pull-website-windows
make pull-website-windows
echo:
echo:

View File

@@ -201,7 +201,6 @@ echo:
echo Choices:
echo 1 - Single player RSC game + basic database editing (using PHPMyAdmin)
echo 2 - Game + Website + PHPMyAdmin
echo 3 - Game + Website + PHPMyAdmin + RSC Preservation Wiki
echo:
SET /P edition=Which of the above do you want? Type 1, 2, or 3, and press enter."
echo:

View File

@@ -4,10 +4,11 @@
echo ""
echo "Pulling recent updates from the Open-RSC Game repository."
echo ""
sudo git pull
sudo make pull-game
echo ""
echo ""
echo "Starting any stopped Docker containers."
echo "Starting Docker containers."
echo ""
sudo make start
echo ""

View File

@@ -1,15 +1,20 @@
@echo off
REM Check for any updates to the game server
echo:
echo Pulling recent updates from the Open-RSC Game repository.
echo:
git pull
make pull-game
echo:
echo:
echo:
echo Starting Docker containers.
echo:
make start
echo:
echo:
REM Compile the game server and client:
echo Compiling the game client.
echo:
@@ -20,11 +25,41 @@ echo:
echo:
call ant -f Game/server/build.xml compile
echo:
echo:
REM Create game cache:
echo Removing old then extracting a fresh client cache to your home folder.
echo:
rmdir "%HOMEPATH%/OpenRSC" /s /Q
md "%HOMEPATH%/OpenRSC"
7z x "Game/client/cache.zip" -o"%HOMEPATH%/OpenRSC" -r
echo:
echo:
REM Import fresh version of config database:
echo Importing a fresh openrsc_config.sql database.
echo:
docker exec -i mysql mysql -u"root" -p"root" < Game/Databases/openrsc_config.sql > NULL
echo:
echo:
REM Generate updated cache files, copies them to cache folder overwriting existing:
echo Generating cache .dat files from current config database and copying to client cache in your home folder.
echo:
call ant -f Game/server/build.xml npcs items objects > NULL
xcopy /y "Game/server/npcs.dat" "%HOMEPATH%/OpenRSC/npcs.dat"
xcopy /y "Game/server/objects.dat" "%HOMEPATH%/OpenRSC/objects.dat"
xcopy /y "Game/server/items.dat" "%HOMEPATH%/OpenRSC/items.dat"
echo:
echo:
REM Run the game client in a new window:
echo Starting the game client in a new window.
echo:
call START "" ant -f Game/client/build.xml runclient
echo:
echo:
REM Run the game server in the current window:
echo Starting the game server in the current window.
echo: