Index of /QNX/8.0/dopewars/

NameLast ModifiedSizeType
../ -  Directory
README.txt2025-Aug-12 11:07:261.8Ktext/plain; charset=utf-8
______                                        
|  _  \                                       
| | | |___  _ __   _____      ____ _ _ __ ___ 
| | | / _ \| '_ \ / _ \ \ /\ / / _` | '__/ __|
| |/ / (_) | |_) |  __/\ V  V / (_| | |  \__ \
|___/ \___/| .__/ \___| \_/\_/ \__,_|_|  |___/
           | |                                
           |_|                                

# Experimental port of dopewars - drug dealing game (server/client) 
# https://en.wikipedia.org/wiki/Drug_Wars_(video_game) 
# only QNX8 x86_64 port here 

Precompiled QNX8 x86_64 binaries + dependencies are here >  https://astr0baby.online/QNX/8.0/x86_64/data/usr-x86_64.tgz  
(SCP them to a running QNX8 Qemu VM and extract in /data) 


REQUIREMENTS:

First build and install glib as instructed here 

https://github.com/qnx-ports/build-files/tree/main/ports/glib 

Once glib is compiled and installed in both QNX8 target and SDP host you can build dopewars

$ source ~/qnx800/qnxsdp-env.sh 
$ mkdir ~/qnx800/SRC
$ cd ~/qnx800/SRC
$ git clone  https://github.com/qnx-ports/build-files 
$ cd build-files/ports 
$ wget https://astr0baby.online/QNX/8.0/build_files/ports/dopewars.tgz 
$ tar -zxvf dopewars.tgz 
$ rm dopewars.tgz 
$ cd mkdir ~/qnx800/SRC 
$ wget https://astr0baby.online/QNX/8.0/SRC/dopewars.tgz 
$ tar -zxvf dopewars.tgz 
$ rm dopewars.tgz
$ QNX_PROJECT_ROOT="$(pwd)/dopewars" make -C build-files/ports/dopewars install   


The binaries will then install to 

$ ~/qnx800/target/qnx/x86_64/data  

SCP over the data to the QNX8 running VM in qemu 

Running client only game inside QNX8 (ncurses) 

# LD_LIBRARY_PATH=/data/usr/local/lib/ /data/usr/local/bin/dopewars  -f /data/var/dopewars.sco 

Running a server inside QNX8 (adjust accordingly)  

# LD_LIBRARY_PATH=/data/usr/local/lib/ /data/usr/local/bin/dopewars  -S -p 443 -f /data/var/dopewars.sco

Enjoy!  


Webserver 1.0