Coder Social home page Coder Social logo

h4mu / rott94 Goto Github PK

View Code? Open in Web Editor NEW
32.0 7.0 0.0 29.33 MB

Rise of the Triad source port to SDL2, Android and WinRT

License: GNU General Public License v2.0

Perl 0.10% C++ 12.45% Makefile 0.26% CMake 0.67% HTML 0.03% Shell 2.85% C 77.11% Java 1.80% PowerShell 0.06% Objective-C 2.79% Python 0.01% JavaScript 0.08% Assembly 0.33% Batchfile 0.01% M4 1.41% Roff 0.01% Metal 0.02%
game rise triad apk android c windows-phone windows-8 windows-10

rott94's Introduction

Rott94

Build Status Build status

About

This is a source port of Apogee's DOS FPS game Rise of the Triad, originally released in 1994 (Shareware) and 1995 (Full version).

Android Requirements

  • Android 2.3.3 or higher
  • OpenGL ES 2.0 compatible display
  • Enough free space on device

Installing

  1. Enable unknown sources (and optionally debug connections for ADB support)
  2. Copy APK file to device (APKs can be downloaded from https://github.com/h4mu/rott94/releases)
  3. Open package and install it
  4. Copy game files to /sdcard/Android/data/io.github.h4mu.andrott/files/ (e.g. by using "adb push")

Playing

When running the game and if the game files are in the right place the intro animation should come up. Touch controls emulate the keyboard.

The screen surface is divided into 9 equal parts in a 3x3 matrix, a touch in each of these represents the following actions:

Move Forward Enter/Switch weapon Move Forward
Turn Left Space/Open Turn Right
Move Back Escape Shoot

rott94's People

Contributors

cxong avatar h4mu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rott94's Issues

Crash on Linux

I was very happy to finally find an SDL2-port of ROTT. It compiled without a problem on my Fedora 26 desktop, however when running it with the same game data I previously used the icculus.org ROTT with, I get this:

./rott-rottcd
Rise of the Triad Startup Version 1.4
CD Version
Z_INIT: 8950000 bytes
OH NO OH NO ROTT CRASHED!

Any idea what could be wrong?

Undefined references

With current master head:

cc -g -O0 -Wall -I/usr/include/SDL2 -D_REENTRANT cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o winrott.o audiolib/audiolib.a -lSDL2 -lSDL2_mixer -lm -o rott-rottsite
/usr/bin/ld: audiolib/audiolib.a(multivoc.o): in function MV_SetVoicePitch': /home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:1347: undefined reference to PITCH_GetScale'
/usr/bin/ld: /home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:1347: undefined reference to PITCH_GetScale' /usr/bin/ld: /home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:1347: undefined reference to PITCH_GetScale'
/usr/bin/ld: /home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:1347: undefined reference to PITCH_GetScale' /usr/bin/ld: /home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:1347: undefined reference to PITCH_GetScale'
/usr/bin/ld: audiolib/audiolib.a(multivoc.o):/home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:2755: more undefined references to PITCH_GetScale' follow /usr/bin/ld: audiolib/audiolib.a(multivoc.o): in function MV_UnlockMemory':
/home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:3430: undefined reference to PITCH_UnlockMemory' /usr/bin/ld: audiolib/audiolib.a(multivoc.o): in function MV_LockMemory':
/home/micmon/code/gaming/rott94.git/rott/audiolib/multivoc.c:3533: undefined reference to `PITCH_LockMemory'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:92: rott-rottcd] Error 1
make[1]: Leaving directory '/home/micmon/code/gaming/rott94.git/rott'
make: *** [Makefile:22: rott-rottcd] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/micmon/code/gaming/rott94.git/rott'
mv rott/rott-huntbgin .
make[1]: Leaving directory '/home/micmon/code/gaming/rott94.git/rott'
mv rott/rott-darkwar .
make[1]: Leaving directory '/home/micmon/code/gaming/rott94.git/rott'
mv rott/rott-rottsite .

Xbox one controller problem

Ho, first of all, this is Amazing work! You must hvae putted in a lot of hours for this port. The problems for me are the cpntrols. They are not good on screen, and i seem to have my character spin always, when i connect Xbox pne controller to my phone.

Touch controls

Hello! So the invisible touch controls i actually dont
Like on android so can you use different visible controls like beloko games or open touch gaming use on their ports
Thank you!

Intro movie black

The intro movie (after starting a game) stays black. I hear the sound but I cannot see anything.

Switch weapons frontward or backward

Please replace the "Move Forward" button on the top right corner with another "Switch Weapons" button so you can be able to switch weapons frontward or backward.

No music

I'm using the latest android build (tested the 3 apks from the releases page) and the game runs fine, but the background music doesn't play. My device has Android Pie.
Is there a way to make it work?

Is it possible to have music?

Hi there, Tamas!

I have discovered your ROTT SDL2 port, and it runs great on the Raspberry Pi thanks to being an excellent SDL2 port, so it gets "free" hardware fullscreen scaling via GLES2 renderer in SDL2. Good! :D

However, I miss ROTT's trademark cheesy music. I see no mention on the README.md or original docs, and looking at the code I don't see any OPL emulation or support for OGGs. etc.
Is this planned somehow?

Thanks!

Rott 94 Windows Release: Please Fix Mouse Aim

I tried Version 0.88 Beta (Release version, not the CD version) on Windows 10 and the mouse cannot be moved very far when turning to the left or right, so please fix that when you have a chance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.