Removed references to wiki, made windows single player match linux
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Fetching updates to local repositories."
|
echo "Fetching updates to local repositories."
|
||||||
echo ""
|
echo ""
|
||||||
|
sudo git pull
|
||||||
sudo make pull-game
|
sudo make pull-game
|
||||||
sudo make pull-website
|
sudo make pull-website
|
||||||
sudo make pull-wiki
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
@echo off
|
@echo off
|
||||||
echo:
|
echo:
|
||||||
echo Fetching updates to local repositories.
|
echo Fetching updates to local repositories.
|
||||||
|
echo:
|
||||||
git pull
|
git pull
|
||||||
make pull-game-windows
|
make pull-game-windows
|
||||||
make pull-website-windows
|
|
||||||
make pull-website-windows
|
make pull-website-windows
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ echo:
|
|||||||
echo Choices:
|
echo Choices:
|
||||||
echo 1 - Single player RSC game + basic database editing (using PHPMyAdmin)
|
echo 1 - Single player RSC game + basic database editing (using PHPMyAdmin)
|
||||||
echo 2 - Game + Website + PHPMyAdmin
|
echo 2 - Game + Website + PHPMyAdmin
|
||||||
echo 3 - Game + Website + PHPMyAdmin + RSC Preservation Wiki
|
|
||||||
echo:
|
echo:
|
||||||
SET /P edition=Which of the above do you want? Type 1, 2, or 3, and press enter."
|
SET /P edition=Which of the above do you want? Type 1, 2, or 3, and press enter."
|
||||||
echo:
|
echo:
|
||||||
|
|||||||
@@ -4,10 +4,11 @@
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Pulling recent updates from the Open-RSC Game repository."
|
echo "Pulling recent updates from the Open-RSC Game repository."
|
||||||
echo ""
|
echo ""
|
||||||
|
sudo git pull
|
||||||
sudo make pull-game
|
sudo make pull-game
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo "Starting any stopped Docker containers."
|
echo "Starting Docker containers."
|
||||||
echo ""
|
echo ""
|
||||||
sudo make start
|
sudo make start
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
|
|
||||||
|
@echo off
|
||||||
|
|
||||||
REM Check for any updates to the game server
|
REM Check for any updates to the game server
|
||||||
echo:
|
echo:
|
||||||
echo Pulling recent updates from the Open-RSC Game repository.
|
echo Pulling recent updates from the Open-RSC Game repository.
|
||||||
|
echo:
|
||||||
git pull
|
git pull
|
||||||
make pull-game
|
make pull-game
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo Starting Docker containers.
|
echo Starting Docker containers.
|
||||||
echo:
|
echo:
|
||||||
make start
|
make start
|
||||||
echo:
|
echo:
|
||||||
|
echo:
|
||||||
|
|
||||||
REM Compile the game server and client:
|
REM Compile the game server and client:
|
||||||
echo Compiling the game client.
|
echo Compiling the game client.
|
||||||
echo:
|
echo:
|
||||||
@@ -20,11 +25,41 @@ echo:
|
|||||||
echo:
|
echo:
|
||||||
call ant -f Game/server/build.xml compile
|
call ant -f Game/server/build.xml compile
|
||||||
echo:
|
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:
|
REM Run the game client in a new window:
|
||||||
echo Starting the game client in a new window.
|
echo Starting the game client in a new window.
|
||||||
echo:
|
echo:
|
||||||
call START "" ant -f Game/client/build.xml runclient
|
call START "" ant -f Game/client/build.xml runclient
|
||||||
echo:
|
echo:
|
||||||
|
echo:
|
||||||
|
|
||||||
REM Run the game server in the current window:
|
REM Run the game server in the current window:
|
||||||
echo Starting the game server in the current window.
|
echo Starting the game server in the current window.
|
||||||
echo:
|
echo:
|
||||||
|
|||||||
Reference in New Issue
Block a user