Jump to content

Play Visual Novel on Android using Termux + box86-64


Recommended Posts

This is tutorial for setup Linux on Android

For beginner , please use Andronix first before using proot-distro ( You can download it on Google Play )

# Update distro

apt update && apt upgrade -y

# Sound

- In Termux

pulseaudio --start --exit-idle-time=-1

pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1

- In proot

export PULSE_SERVER=127.0.0.1

# Setup Box 86-64 + wine x86-64

sudo dpkg --add-architecture armhf

sudo apt update && sudo apt upgrade

# Install related kits :

sudo apt update

sudo apt install git build-essential cmake wget gcc-arm-linux-gnueabihf libstdc++6:armhf #compile box

sudo apt install mesa*:armhf zenity*:armhf libasound*:armhf #box86_dependencies

sudo apt install mesa* zenity* #box64_dependencies

# Compile Box86 with parameters for Raspberry Pi 4

cd

git clone https://github.com/ptitSeb/box86

cd box86

mkdir build; cd build; cmake .. -DRPI4ARM64=1 -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo

make -j$(nproc)

sudo make install

cd

rm -rf box86

# Compile Box64

cd

git clone https://github.com/ptitSeb/box64

cd box64

mkdir build; cd build; cmake .. -DRPI4ARM64=1 -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo

make -j$(nproc)

sudo make install

cd

rm -rf box64

# Download Wine 7.0

mkdir wine

cd wine

wget https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-7.0-upstream-linux-x86.tar.gz

tar -xvf *.tar.gz

cd

# Download Wine64 6.17

cd

mkdir wine64

cd wine64

wget https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-amd64/PlayOnLinux-wine-6.17-upstream-linux-amd64.tar.gz

tar -xvf *.tar.gz

cd

# Add these lines to your /etc/profile:

export BOX86_PATH=~/wine/bin/

export BOX86_LD_LIBRARY_PATH=~/wine/lib/wine/i386-unix/:/lib/i386-linux-gnu/:/lib/arm-linux-gnueabihf/:/lib/aarch64-linux-gnu/

export BOX64_PATH=~/wine64/bin/

export BOX64_LD_LIBRARY_PATH=~/wine64/lib/wine/i386-unix/:~/wine64/lib/wine/x86_64-unix/:/lib/i386-linux-gnu/:/lib/x86_64-linux-gnu/:/lib/arm-linux-gnueabihf/:/lib/aarch64-linux-gnu/

# If i want to execute 32-bit Box86 + Wine, the complete instructions are as follows:

box86 wine *.exe

# In case of 64-bit Box64 + Wine64:

export WINEPREFIX=~/.wine64

export WINEARCH=win64

box64 wine64 *.exe

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...