Skip to content

duall/singlePlayerWow-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

One click install script:

copy into termux

curl -fsSL https://raw.githubusercontent.com/duall/singlePlayerWow-android/main/wowsp.sh -o ~/wowsp.sh && bash ~/wowsp.sh

Should take care of everything below automatically

Connect with chromiecraft 3.3.5 trough winlator ( set realm to 127.0.0.1 or 192.168.x.x )

Manual installation if script does not work

You need to install the build and runtime dependancies:

pkg install git cmake make clang mariadb boost-headers boost-static tmux libc++

Install Azerothcore

Clone the project

git clone https://github.com/duall/azerothcore-android.git

Enter the project's modules directory

cd azerothcore-android/modules

Clone modules

Feel free to remove or add, but mod-playerbots.git is required for this branch.

Some players might want to remove mod-individual-progression

echo "https://github.com/liyunfan1223/mod-playerbots.git https://github.com/DustinHendrickson/mod-player-bot-level-brackets https://github.com/ZhengPeiRu21/mod-individual-progression.git https://github.com/azerothcore/mod-1v1-arena https://github.com/azerothcore/mod-random-enchants https://github.com/azerothcore/mod-account-achievements https://github.com/azerothcore/mod-ah-bot https://github.com/azerothcore/mod-auto-revive https://github.com/azerothcore/mod-autobalance https://github.com/azerothcore/mod-better-item-reloading https://github.com/azerothcore/mod-boss-announcer https://github.com/azerothcore/mod-desertion-warnings https://github.com/azerothcore/mod-duel-reset https://github.com/hallgaeuer/mod-dynamic-loot-rates https://github.com/azerothcore/mod-dynamic-xp https://github.com/azerothcore/mod-emblem-transfer https://github.com/azerothcore/mod-fireworks-on-level https://github.com/azerothcore/mod-guildhouse https://github.com/azerothcore/mod-individual-xp https://github.com/azerothcore/mod-instance-reset https://github.com/noisiver/mod-junk-to-gold https://github.com/noisiver/mod-learnspells https://github.com/azerothcore/mod-low-level-rbg https://github.com/azerothcore/mod-morphsummon https://github.com/azerothcore/mod-npc-beastmaster https://github.com/azerothcore/mod-npc-buffer https://github.com/azerothcore/mod-npc-enchanter https://github.com/Gozzim/mod-npc-spectator https://github.com/azerothcore/mod-npc-talent-template https://github.com/azerothcore/mod-phased-duels https://github.com/azerothcore/mod-pvp-titles https://github.com/azerothcore/mod-queue-list-cache https://github.com/azerothcore/mod-quick-teleport https://github.com/azerothcore/mod-racial-trait-swap https://github.com/azerothcore/mod-rdf-expansion https://github.com/ZhengPeiRu21/mod-reagent-bank https://github.com/azerothcore/mod-reward-played-time https://github.com/azerothcore/mod-solo-lfg https://github.com/azerothcore/mod-top-arena https://github.com/azerothcore/mod-transmog https://github.com/azerothcore/mod-who-logged" | tr ' ' '\n' | xargs -I {} -P 5 git clone --depth 1 {}

Create the build directory

cd ../ - go back to main directory

mkdir build

Enter the directory

cd build

Configure azerothcore for building

cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ \ -DCMAKE_C_COMPILER=$PREFIX/bin/clang \ -DCMAKE_CXX_COMPILER=$PREFIX/bin/clang++ \ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=static \ -DCMAKE_CXX_FLAGS="-D__ANDROID__ -DANDROID -Wno-deprecated-literal-operator" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--allow-multiple-definition -lunwind"

Compile Azerothcore

make -j$(nproc) (Might want to reduce it if low on RAM)

Install Azerothcore

make install

You will find executables in ~/azeroth-server/bin/

Apply configs

git clone --filter=blob:none --sparse https://github.com/duall/singlePlayerWow-android.git temp_configs && cd temp_configs && git sparse-checkout set configs && cp -r configs/* ~/azeroth-server/etc/ && cd .. && rm -rf temp_configs

Download serverdata

curl -L https://github.com/wowgaming/client-data/releases/download/v16/data.zip -o ~/data.zip && unzip ~/data.zip -d ~/azeroth-server/ && rm ~/data.zip

Fix mariadb link

CANNOT LINK EXECUTABLE "./authserver": library "libmariadb.so" not found: needed by main executable

ln -sf $PREFIX/lib/aarch64-linux-android/libmariadb.so $PREFIX/lib/libmariadb.so

Spoof mysql version

echo -e "\n[mysqld]\nversion=8.0.36" >> $PREFIX/etc/my.cnf

Start MariaDB

mariadbd-safe --datadir=$PREFIX/var/lib/mysql &

Create user

mariadb -u root -e "DROP USER IF EXISTS 'acore'@'localhost'; CREATE USER 'acore'@'localhost' IDENTIFIED BY 'acore';"

Grant privileges

mariadb -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'acore'@'localhost';"

Servers should be runnable now

cd ~/azeroth-server/

./bin/authserver

./bin/worldserver

If worldserver fails with SQL error, do this:

curl -sL https://raw.githubusercontent.com/duall/singlePlayerWow-android/refs/heads/main/fix-modules-sql.sh | bash

Launch both authserver and worldserver in a single tmux window

tmux new-session -d -c ~/azeroth-server -s azeroth './bin/authserver' \; split-window -h -c ~/azeroth-server './bin/worldserver' \; attach

Connect with chromiecraft 3.3.5 trough winlator ( set realm to 127.0.0.1 or 192.168.x.x )

Troubleshooting:

How to create account:

Type this in worldserver window AC>

account create test test

account set gmlevel test 3 -1

Poor performance:

Try reducing playerbots number in: nano ~/azeroth-server/etc/modules/playerbots.conf

Winlator performance boost

Disable efficiency cores in winlator

And change this in worldserver.conf UseProcessors = 3 (To use your CPU efficiency cores) Ask AI for help how to modify this bitmask value to match your phone CPU

My wifi friends cannot connect

Replace 192.168.X.XXX with your actual LAN IP (type ifconfig to find out)

mariadb -u root -e "UPDATE acore_auth.realmlist SET address = '192.168.X.XXX' WHERE id = 1;"

About

Single player optimised pack with 40 modules + Individual progression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages