Git Product home page Git Product logo

exl / nxengine Goto Github PK

View Code? Open in Web Editor NEW
167.0 16.0 35.0 1.13 MB

A port of the open-source rewrite Cave Story game engine for various platforms. Original author is Caitlin "rogueeve" Shaw, https://nxengine.sourceforge.io/

Home Page: https://exlmoto.ru/nxengine/

License: GNU General Public License v3.0

C++ 91.60% C 7.03% Shell 0.06% QMake 1.31%
nxengine cave-story motomagx motorola dingux ezx cavestory ritmix haiku haiku-os

nxengine's Introduction

NXEngine

NXEngine is open-source rewrite engine of the Cave Story game. Author - Caitlin (rogueeve) Shaw.

Ritmix RZX-50

This repository contains source code of my NXEngine fork for various weak devices. I have added some engine improvements:

  1. Sound through SDL_mixer.
  2. Support for widescreen displays (480x272).
  3. Ports to various platforms.
  4. Russification.

Download

You can download ready-to-run packages with NXEngine and Cave Story here:

Russian and English versions of this game are available.

Build instructions

Building requires some SDL libraries: SDL-1.2, SDL_ttf-2.0, SDL_mixer-1.2 (optional). Please install developer versions of these libraries before building the project. You can open "nx.pro" project file in the Qt Creator IDE for easy code navigation.

Platform defines:

Define Description
-D_480X272 Use widescreen 480x272 resolution.
-D_320X240 Use normal 320x240 resolution.
-D_DINGUX Dingux platform and keyboard layout (Ritmix RZX-50, Dingoo A320, Dingoo A380, etc).
-D_MOTOMAGX MotoMAGX platform and keyboard layout (Motorola ZN5, Z6, E8, EM30, VE66, etc).
-D_MOTOEZX MotoEZX platform and keyboard layout (Motorola E2, E6, A1200, A1600).
-D_SDL_MIXER Don't use realtime music generation, *.xm tracks and sounds will be played via SDL_mixer.
-D_DEBUG Enable detailed debug output to the console.
-D_L10N_CP1251 Enable Russian l10n (you need a *.ttf font and Russian version of data-files).

Please read addition building information (in Russian) in the EXL's Developer Blog.

Screens

Ritmix RZX-50:

Ritmix RZX-50

Windows 8.1:

Windows 8.1

Haiku OS:

Haiku OS

Photos

Motorola ROKR E6

Videos

Demonstration video on YouTube which showing launch Cave Story game with this engine on the Ritmix RZX-50 device.

More information

Please read Porting Guide (in Russian) for more info about porting NXEngine to various platforms.

nxengine's People

Contributors

exl avatar fridayortiz avatar pilin avatar robloach avatar xordspar0 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  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  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  avatar  avatar  avatar  avatar

Watchers

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

nxengine's Issues

Java Port

At this point, Cave Story's basically the replacement of DOOM. Which is why i'm kinda disappointed that it's not on JAVA platforms (like those old Sony Ericsson phones). For your information, i do have a MODERN phone, and 2 computers. I just wanna have more than one game on my old walkman phone that isn't Johnny Crash Does Texas.

build error: "error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ [-Wnarrowing]"

Developer,
When attempting to build NXEngine I am encountering the below error. The host/target system is based on a Freescale/NXP P5020 SOC - this is a PPC64 system in current distribution by A-EON Technologies, running a Debian Buster based Linux Distribution. Please consider a fix as this system is currently available in the consumer marketplace. Thank you for your time.

fienix@Fienix:~/NXEngine$ make -f Makefile.linux g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o caret.o caret.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o console.o console.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o debug.o debug.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o floattext.o floattext.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o game.o game.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o input.o input.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o inventory.o inventory.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o main.o main.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o map.o map.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o map_system.o map_system.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o niku.o niku.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o object.o object.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o ObjManager.o ObjManager.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o p_arms.o p_arms.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o platform.o platform.cpp g++ -c -pipe -O2 -I/usr/include -I/usr/include/SDL -I/usr/local/include -I/usr/local/include/SDL -I. -o player.o player.cpp player.cpp: In function ‘void PDoLooking()’: player.cpp:727:53: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ [-Wnarrowing] 727 | { LEFTKEY, RIGHTKEY, UPKEY, JUMPKEY, FIREKEY, -1 }; | ^ make: *** [Makefile.linux:1110: player.o] Error 1

sdllib not found,could someone help me?

I'm a novice. Can someone help me? I just want to run my own modified version on my gkd350h.
I build mipsel-linux-g++ with buildroot and copy libs to /opt then try make -f Makefile.dingux but got this.

2020-12-22 20-23-29屏幕截图
2020-12-22 20-24-35屏幕截图

I've tried change -lSDL→-llibSDL and then try SDLmain.a but neither worked,still can't find it or get some functions undefined.
Is there something wrong with my SDLlibs?
Help me please.

blue fonts

Hi, I made Polish translation base on your code but all polish fonts are blue.
I see that rusian are also blue. Any idea how to make them white?
I noticed this happens for fonts above 0x7F.

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.