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
- You need jailbroken device with Cydia. I have no apple developer profile so I unable to build package for non-jailbroken devices.
- Open Cydia.
- Go to "Manage" - "Sources"
- Press "Edit" - "Add"
- Enter link to Cydia source: http://pilin.github.com/NXEngine-iOS/repo/
- 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:
- SDL2
- SDL_ttf 2
- Freetype 2
How to build:
-
Check out game source:
git clone git://github.com/PIlin/NXEngine-iOS.git
-
Downaload dependencies into iOS/deps folder. Use script:
cd NXEngine-iOS/iOS/deps
./deploy.sh
-
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:
- Configure your environment: http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile
- Don't forget to set -gta flag in project properties.
How to build deb-pack
-
Install dpkg.
For example, from homebrew.
-
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/).