Skip to content
Wai Wang edited this page Apr 14, 2021 · 11 revisions

WAI2K - Setup Guide

Preface

This Guide is targeted towards anyone who seeks to set up and run WAI2K on their machine. As with all written documentation this work is prone to eventually be outdated. In that case you might want to visit the projects Discord, where you may find News, Updates and lots of strange people.

Requirements

Everyone

Windows Users

Recommended Hardware

  • Intel CPU recommended as it works best with Android Studio Emulator
  • Decent amount of RAM (8GB+)
  • Nvidia GPU for hardware acceleration

Emulator Setup

Download and install Android Studio from Google. Android Studio might complain about some path issue, you need to install any SDK preferably the latest. You can do this in the SDK Manager.

  1. On the startup menu of Android Studio, click Configure>AVD Manager

  2. On the lower left corner of AVD Manager, click Create Virtual Device

  3. On the Phone preset screen, click the Pixel 3 preset

  4. Click Next, select Android 11 x86, download if necessary

  5. Click Next, now you should be able to switch to advanced Settings. Things to be done here:

    • Switch to landscape Mode (Resolution has to be 2160x1080)
    • Uncheck Device Frame
    • Assign some more RAM ( ~2.5GB works best so far, emulator supports max 4GB)
    • Assign some more Internal Storage ( 10GB+, depending on how big GFL installation gets )
  6. Click Finish to create your Device.

Configuration file should now look somewhat like this:

    AvdId=Pixel_3
    PlayStore.enabled=true
    abi.type=x86
    avd.ini.displayname=Pixel 3 API
    avd.ini.encoding=UTF-8
    disk.dataPartition.size=7544M
    fastboot.chosenSnapshotFile=
    fastboot.forceChosenSnapshotBoot=no
    fastboot.forceColdBoot=no
    fastboot.forceFastBoot=yes
    hw.accelerometer=yes
    hw.arc=false
    hw.audioInput=yes
    hw.battery=yes
    hw.camera.back=virtualscene
    hw.camera.front=emulated
    hw.cpu.arch=x86
    hw.cpu.ncore=4
    hw.dPad=no
    hw.device.hash2=
    hw.device.manufacturer=Google
    hw.device.name=pixel_3
    hw.gps=yes
    hw.gpu.enabled=yes
    hw.gpu.mode=auto
    hw.initialOrientation=landscape
    hw.keyboard=yes
    hw.lcd.density=440
    hw.lcd.height=1080
    hw.lcd.width=2160
    hw.mainKeys=no
    hw.ramSize=2536
    hw.sdCard=yes
    hw.sensors.orientation=yes
    hw.sensors.proximity=yes
    hw.trackBall=no
    image.sysdir.1=system-images\android-27\google_apis_playstore\x86\
    runtime.network.latency=none
    runtime.network.speed=full
    sdcard.path=
    sdcard.size=512 MB
    showDeviceFrame=no
    skin.dynamic=yes
    skin.name=2160x1080
    skin.path=2160x1080
    tag.display=Google Play
    tag.id=google_apis_playstore
    vm.heapSize=256

You should now be able to start your emulator. Do that and install the game.

GPU Acceleration

WAI2K can also utilize your GPU for hardware acceleration for certain AI related tasks, check out the relevant guide.

Emulator is Slow

Intel

Check that your CPU supports virtualization and it is enabled in the BIOS then install the SDK extension for Intel HAXM in the SDK Manager. Your emulator should be running smoothly at this point.

AMD

Check that your CPU supports virtualization and it is enabled in the BIOS then follow this Guide to set up Hypervisor for Android Studio here. Read it carefully since the first step might be counter intuitive.


If you are still having problems, you can try seeking help and reporting your hardware on the discord.

Setting up WAI2K

The launcher can always be downloaded over here.

If you have Java installed correctly you can now open the .jar File with a double click.

With that you are all set to start using WAI2K. Under the device tab you should now see a preview of your emulator

Running

WAI2k expects your echelons to be arranged in a certain way, please head over to:

https://github.com/waicool20/WAI2K/wiki/Maps-and-Echelon-Setup

and setup your echelons accordingly. After that just click start and watch the magic happen!