darwin: Astron + start scripts

This commit is contained in:
Little Cat 2021-06-26 21:22:08 -03:00
parent a90d259b20
commit c3ff21824c
No known key found for this signature in database
GPG key ID: 68CC2B4D0E5AF41C
11 changed files with 41 additions and 0 deletions

BIN
astron/darwin/astrond Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
astron/darwin/libuv.1.dylib Normal file

Binary file not shown.

Binary file not shown.

14
darwin/start-ai-server.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
cd ..
BASE_CHANNEL=401000000
MAX_CHANNELS=999999
STATE_SERVER=4002
MESSAGE_DIRECTOR_IP="127.0.0.1:7199"
EVENT_LOGGER_IP="127.0.0.1:7197"
DISTRICT_NAME="Toon Valley"
/usr/local/bin/python3.9 -m toontown.ai.AIStart --base-channel ${BASE_CHANNEL} \
--max-channels ${MAX_CHANNELS} --stateserver ${STATE_SERVER} \
--messagedirector-ip ${MESSAGE_DIRECTOR_IP} \
--eventlogger-ip ${EVENT_LOGGER_IP} --district-name "$DISTRICT_NAME"

View file

@ -0,0 +1,6 @@
#!/bin/sh
cd ../astron/darwin
# This assumes that your astrond build is located in the
# "astron/darwin" directory.
./astrond --loglevel info ../config/astrond.yml

8
darwin/start-game.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
cd ..
# TODO: Make this actually work, to change token in the meantime,
# change the fake-playtoken variable in etc/Configrc.prc.
export LOGIN_TOKEN=dev
/usr/local/bin/python3.9 -m toontown.toonbase.ToontownStart

View file

@ -0,0 +1,13 @@
#!/bin/sh
cd ..
MAX_CHANNELS=999999
STATE_SERVER=4002
MESSAGE_DIRECTOR_IP="127.0.0.1:7199"
EVENT_LOGGER_IP="127.0.0.1:7197"
BASE_CHANNEL=1000000
/usr/local/bin/python3.9 -m toontown.uberdog.UDStart --base-channel ${BASE_CHANNEL} \
--max-channels ${MAX_CHANNELS} --stateserver ${STATE_SERVER} \
--messagedirector-ip ${MESSAGE_DIRECTOR_IP} \
--eventlogger-ip ${EVENT_LOGGER_IP}