Skip to content
forked from Rox64/NXEngine

iOS port of the complete open-source clone/rewrite of Doukutsu Monogatari (also known as Cave Story) originally created by rogueeve (kty@lavabit.com).

License

Notifications You must be signed in to change notification settings

PIlin/NXEngine-iOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is iOS port of the complete open-source clone/rewrite of Doukutsu Monogatari (also known as Cave Story) originally created by rogueeve (kty@lavabit.com).

Demonstration: http://youtu.be/jH2xsjXx28U

Game has been tested on jailbroken iPhone 4S (iOS 5.1.1) and non-jailbroken iPad 2 (iOS 5.1.1).

How to install development build:

tl;dr video tutorial http://youtu.be/scSGqTP4AFs

  1. You need jailbroken device with Cydia. I have no apple developer profile so I unable to build package for non-jailbroken devices.
  2. Open Cydia.
  3. Go to "Manage" - "Sources"
  4. Press "Edit" - "Add"
  5. Enter link to Cydia source: http://pilin.github.com/NXEngine-iOS/repo/
  6. New source "NXEngine-iOS dev" must appear. Install package from it.

Biggest changes:

  • Original engine has been transfered to SDL2.
  • Render system has been changed to use hardware accelerated SLD2 API.
  • Graphics resolution will be automatically selected in runtime. In theory, it must correctly run on all iPad's and iPhones version >= 4.
  • Original engine has been changed to support separate file locations for game resources (read-only), save files (read-write, persistent) and cache files (read-write, temporary).
  • Primitive virtual joypad has been implemented.
  • Touch control of in-game buttons, dialogs, e.t.c.

Build dependencies:

  1. SDL2
  2. SDL_ttf 2
  3. Freetype 2

How to build:

  1. Check out game source:
git clone git://github.com/PIlin/NXEngine-iOS.git
  1. Downaload dependencies into iOS/deps folder. Use script:
cd NXEngine-iOS/iOS/deps
./deploy.sh
  1. Xcode porject is located in NXEngine-iOS/iOS/CaveStory.xcodeproj You can also use xcodebuild utility from command line:
cd NXEngine-iOS/iOS
xcodebuild

How to run on jailbroken device:

  1. Configure your environment: http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile
  2. Don't forget to set -gta flag in project properties.

How to build deb-pack

  1. Install dpkg. For example, from homebrew.

  2. Build package:

cd NXEngine-iOS/iOS
xcodebuild install
make deb

Package will be in

NXEngine-iOS/iOS/deb/CaveStory.deb

Links and acknowledgment:

Original NXEngine project: http://nxengine.sourceforge.net/

Liberation Mono font: https://fedorahosted.org/liberation-fonts/

Application icons were prepared by Sergey Osminogov (https://plus.google.com/u/0/109504104068874319771). Source image for icons was made by NYAssassin (http://nyassassin.deviantart.com/).

About

iOS port of the complete open-source clone/rewrite of Doukutsu Monogatari (also known as Cave Story) originally created by rogueeve (kty@lavabit.com).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.9%
  • C 3.1%
  • Other 1.0%