Skip to content

Descent 1 & 2 using DXX-Rebirth, ported to rockchip devices. Runs via PortMaster.

Notifications You must be signed in to change notification settings

JeodC/PortMaster-Descent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Descent 1 & 2 using DXX-Rebirth, ported to RK3326 and RK3566 devices. Runs via PortMaster. Shareware demo files included; you can provide your own full game version.

Latest PortMaster version built from commit b5ca993 for aarch64 and armhf. ArkOS compatibility binary built from commit e1d68f5 and compatibility fix c22de97.

Add-On Files

Add-On files allow you to customize DXX-Rebirth to your liking. You might prefer certain soundcard midi audio, or even the PS1 soundtrack. To use an add-on, simply drop the .dxa file into the descent/data folder. These dxa files are just .zip files, so you can open them and modify however you like.

There are several soundtrack addons to choose from as well as missions.

Some of these files are large and are therefore split into archive parts. Use something like 7zip to unarchive them.

Additional Add-Ons

Missions can be found and downloaded from Descent Mission Archive

Building from source dxx-rebirth

Install WSL and chroot

  1. Install wsl and ubuntu (use wsl2)
  2. sudo apt update
  3. sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
  4. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  5. sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  6. sudo apt install docker-ce -y
  7. sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
  8. sudo qemu-debootstrap --arch arm64 bookworm /mnt/data/arm64 http://deb.debian.org/debian/ -- Use bullseye instead of bookworm if building compatibility.

Note: The folder /mnt/data/arm64 can be modified, for example to /mnt/data/bookworm-arm64. This is useful if you like to maintain multiple chroots.

Enter chroot and install dependencies

  1. sudo chroot /mnt/data/arm64/
  2. apt -y install build-essential git wget python3 python3-pip python3-setuptools python3-wheel scons libglu1-mesa-dev pkg-config libpng-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libphysfs-dev
  3. ln -s /usr/lib/aarch64-linux-gnu/libGLESv1_CM.so /usr/lib/aarch64-linux-gnu/libGLES_CM.so for arm64 or ln -s /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so /usr/lib/arm-linux-gnueabihf/libGLES_CM.so for armhf. Install with apt -y install libgles1 if missing.

Install and build dxx-rebirth

  1. git clone https://github.com/dxx-rebirth/dxx-rebirth // git clone --branch compatibility https://github.com/JeodC/dxx-rebirth (Use the compatibility version for ArkOS etc)
  2. cd dxx-rebirth
  3. scons -j$(nproc) sdl2=1 sdlmixer=1 opengles=1

Retrieve your build from \\wsl.localhost\Ubuntu\mnt\data\arm64\dxx-rebirth\build

Optional Steps

  1. cd build
  2. strip d1x-rebirth/d1x-rebirth / strip d2x-rebirth/d2x-rebirth

About

Descent 1 & 2 using DXX-Rebirth, ported to rockchip devices. Runs via PortMaster.

Resources

Stars

Watchers

Forks