Author Topic: NXEngine (Cave Story) BETA 1  (Read 12099 times)

zear (OP)

  • * Moderator
  • Posts: 2381
NXEngine (Cave Story) BETA 1
« on: December 23, 2010, 04:09:43 pm »
BETA 1 release of NXEngine for Dingux, a clone/engine-rewrite of the classic jump-and-run platformer Cave Story.
v103 23/12/2010 (http://nxengine.sourceforge.net)



<a href="https://www.youtube.com/watch?v=dUFO48HiXhg" target="_blank">https://www.youtube.com/watch?v=dUFO48HiXhg</a>

Hello everyone.

This is a BETA release of NXEngine, meaning, some stuff is still missing.
And by some stuff I mean the soundtrack. The performance of the music part of the engine on the Dingoo is terrible,
it is stuttering and lagging. That's why I disabled it by default (you can still re-enable it through the menu).
I know, a Cave Story without it's soundtrack is not the same. But it's better to have a music-less Cave Story
on the Dingoo than not have it at all, right? :)
When will the music support be fixed? Can't tell, it's not up to me, but to the original author of this engine.
If you want to bug her about it, I encourage you to mail her at kty(at)lavabit(dot)com. I originally planned to wait
with the release until I get a music patch from her, but after several months of waiting I decided to release
this nice beta in it's current form. I know you guys were waiting for it as well :)

Download: http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,35,474

Ingredients:
* 1 x Dingoo A320/A330 with Dingux installed
* 1 x mini/microSD card
* 1 x NXEngine
* 1 x Win32 version of the original Cave Story 1.0.0.6 english datafiles

Preparation:
1) Extract the contents of NXEngine onto your SD card.
2) Copy the "Doukutsu.exe" and "data" dir from the original datafiles into the newly extracted "nxengine" dir
3) Run nx.dge executable
4) Wait a moment. The black screen on the first run is normal
5) Huzzah!

You can remove "Doukutsu.exe" file after the first successful run.

In case of any trouble installing it, follow the instructions that appeared on your Dingoo's screen after you
launched nx.dge

Merry Christmas!

PS.  The nx.png icon is nicked from GP2X version of Cave Story, I hope they don't mind ;)
PS2. Yes, I'm still working on GP2X/WIZ/Caanoo/Pandora versions of NXEngine.
« Last Edit: December 23, 2010, 08:30:23 pm by zear »

Coccijoe

  • Posts: 366
    • Underground Portables
Re: NXEngine (Cave Story) BETA 1
« Reply #1 on: December 23, 2010, 05:16:49 pm »
very good! thanks very very much zear!!

lemmywinks

  • Posts: 2795
Re: NXEngine (Cave Story) BETA 1
« Reply #2 on: December 23, 2010, 08:22:55 pm »
Excellent stuff, many thanks!

Been waiting ages for this, Dingoo needed Cave Story!
Handhelds:
GPD Win, GPD XD 64gb, RS-97, RS-90, 3DS XL, DSi XL, GBA SP, GBBC Clone, Gameboy Pocket, PSP Go
PC:
Medion Erazer, Toshiba Z20t, Dell Mini 9, Psion 5MX
Tons of other old laptops and tablets.....

L[one]R

  • Guest
Re: NXEngine (Cave Story) BETA 1
« Reply #3 on: December 23, 2010, 09:24:14 pm »
Cave Story! Ohhhh heck YEAH.

It's really great to see such a great platformer finally becoming cross-platform (and with a save state feature <3). Hoping to see a version with working music or maybe even some content from the Wii version at some point (new gamemodes, customizable difficulty).

Pingouin

  • Posts: 268
Re: NXEngine (Cave Story) BETA 1
« Reply #4 on: December 23, 2010, 11:34:46 pm »
Awesome, will defo try it when I have time!
Although... why is there a rewrite? I thought Cave Story was open source  ???

zear (OP)

  • * Moderator
  • Posts: 2381
Re: NXEngine (Cave Story) BETA 1
« Reply #5 on: December 23, 2010, 11:38:19 pm »
Although... why is there a rewrite? I thought Cave Story was open source  ???
Cave Story was never open source. Pixel used to occasionally share his code with the porters, but after he signed a deal with Nintendo for the Wii version, he's not giving it away anymore.

Pingouin

  • Posts: 268
Re: NXEngine (Cave Story) BETA 1
« Reply #6 on: December 23, 2010, 11:44:35 pm »
Ah, ok, thanks for the clarification. Just moved in into a new house, but eventually dug up a USB cable, so gonna try it now ;D

*EDIT* I made a 32x32 PNG icon:
« Last Edit: December 24, 2010, 12:05:25 am by Pingouin »

Tetsuoo

  • Guest
Re: NXEngine (Cave Story) BETA 1
« Reply #7 on: December 24, 2010, 02:23:57 am »
OMG Cave Story, GREAT STUFF !!! At least ! I wanted this BAD so thank you (i don't even know if it works but thank you anyway)
I'm going to try that RIGHT NOW

samir

  • Posts: 344
Re: NXEngine (Cave Story) BETA 1
« Reply #8 on: December 24, 2010, 05:04:24 am »
Thanks zear!!  :D

TheCaffeinator

  • Posts: 128
Re: NXEngine (Cave Story) BETA 1
« Reply #9 on: December 24, 2010, 05:21:25 am »
The opportunity to play Cav4e Story on teh Dingoo is very exciting...but I'm very sad, now. Can't get this to run and don't understand why. First time I ran it, got a blue screen of instructions. Followed them and, as far as I can tell, I have the right files. Tried different downloads from differnet sources. Ran patches. Tried using files from my PC install of Cave Story Deluxe. Still won't run. Keep getting blue screen of instructions. Game just exits to menu.

Here's the debug file contents, if that helps any:

Log set 241985474
Loading settings...
Couldn't open file settings.dat.
No saved settings; setting defaults.
videoinfo: desktop bpp 16
Graphics::SetResolution(1)
Setting scaling 1 and fullscreen=no
Graphics::InitVideo
Graphics::FlushAll()
SIFLoader::LoadHeader: read index of 8 sections
Loading SIF section 1 from address 004d
Loading SIF section 2 from address 044c
fonts: using bitmapped from smalfont.bmp
safemode print: 'I need to extract some game data'
safemode print: 'before I can start up for the first time.'
safemode print: ''
safemode print: 'Before beginning, you should have the Aeon Genesis'
safemode print: 'English translation of version 1.0.0.6, and drop'
safemode print: 'Doukutsu.exe and it's "data" directory into the same'
safemode print: 'folder as the "nx" program you just ran.'
safemode print: ''
safemode print: 'If you haven't done that yet, please press SELECT now'
safemode print: 'and come back in a moment. Otherwise, you can'
safemode print: 'press any other key to start the extraction.'
run_until_key()
safemode print: '= Extracting Files ='
safemode print: '[ pxt/fx01.pxt ]'
safemode print: 'failed to open pxt/fx01.pxt'
Graphics::Close()
« Last Edit: December 24, 2010, 05:50:20 am by TheCaffeinator »

rollo

  • Posts: 9
Re: NXEngine (Cave Story) BETA 1
« Reply #10 on: December 24, 2010, 05:55:32 am »
The opportunity to play Cav4e Story on teh Dingoo is very exciting...but I'm very sad, now. Can't get this to run and don't understand why. First time I ran it, got a blue screen of instructions. Followed them and, as far as I can tell, I have the right files. Tried different downloads from differnet sources. Ran patches. Tried using files from my PC install of Cave Story Deluxe. Still won't run. Keep getting blue screen of instructions. Game just exits to menu.

Here's the debug file contents, if that helps any:

Log set 241985474
Loading settings...
Couldn't open file settings.dat.
No saved settings; setting defaults.
videoinfo: desktop bpp 16
Graphics::SetResolution(1)
Setting scaling 1 and fullscreen=no
Graphics::InitVideo
Graphics::FlushAll()
SIFLoader::LoadHeader: read index of 8 sections
Loading SIF section 1 from address 004d
Loading SIF section 2 from address 044c
fonts: using bitmapped from smalfont.bmp
safemode print: 'I need to extract some game data'
safemode print: 'before I can start up for the first time.'
safemode print: ''
safemode print: 'Before beginning, you should have the Aeon Genesis'
safemode print: 'English translation of version 1.0.0.6, and drop'
safemode print: 'Doukutsu.exe and it's "data" directory into the same'
safemode print: 'folder as the "nx" program you just ran.'
safemode print: ''
safemode print: 'If you haven't done that yet, please press SELECT now'
safemode print: 'and come back in a moment. Otherwise, you can'
safemode print: 'press any other key to start the extraction.'
run_until_key()
safemode print: '= Extracting Files ='
safemode print: '[ pxt/fx01.pxt ]'
safemode print: 'failed to open pxt/fx01.pxt'
Graphics::Close()


Get data from this site. http://shii.org/pixel/

Tetsuoo

  • Guest
Re: NXEngine (Cave Story) BETA 1
« Reply #11 on: December 24, 2010, 12:16:12 pm »
Actually i tried a french translated version and it's working very well. The original (japanese) version crashes right after the main page, i don't get it but it's ok for me ^^

Too bad the music is lagging but i'm still happy \o/
« Last Edit: December 24, 2010, 03:19:26 pm by Tetsuoo »

TheCaffeinator

  • Posts: 128
Re: NXEngine (Cave Story) BETA 1
« Reply #12 on: December 25, 2010, 03:51:46 am »
Still doesn't work. Does it matter where the nxengine is in the SD card? Does it matter how you "run" it?

I put the nxengine folder in the .../local/games directory on my SD card.

I put the versions of Doukutsu.exe and the associated data directory recommended by rollo into the nxengine directory.

Then I added a gmenu link to nx.dge and tried to run it. I got the same blue screen of instructions, and when I clicked any key, the game exited to the games menu.

I also tried running nx.dge by navigatign directly to it in the Dingux Explorer tool but got the same result.

zear (OP)

  • * Moderator
  • Posts: 2381
Re: NXEngine (Cave Story) BETA 1
« Reply #13 on: December 25, 2010, 12:07:24 pm »
Still doesn't work. Does it matter where the nxengine is in the SD card? Does it matter how you "run" it?

I put the nxengine folder in the .../local/games directory on my SD card.

I put the versions of Doukutsu.exe and the associated data directory recommended by rollo into the nxengine directory.

Then I added a gmenu link to nx.dge and tried to run it. I got the same blue screen of instructions, and when I clicked any key, the game exited to the games menu.

I also tried running nx.dge by navigatign directly to it in the Dingux Explorer tool but got the same result.
Doesn't matter where you put nxengine to. The only requirement is you have ./data and Doukutsu.exe in the same directory, the nx.dge executable is.
Quote
safemode print: '= Extracting Files ='
safemode print: '[ pxt/fx01.pxt ]'
safemode print: 'failed to open pxt/fx01.pxt'
This looks like for some reason it cannot extract fx01.pxt to ./pxt dir.
There might be many reasons, the ones coming to my mind:
1) Your CaveStory executable is of a different version than 1.0.0.6 english
2) You don't have ./pxt dir (which should come with nxengine archive)
3) Your filesystem is corrupted and you can't write to it, so the engine cannot extract the pxt files

Pingouin

  • Posts: 268
Re: NXEngine (Cave Story) BETA 1
« Reply #14 on: December 25, 2010, 02:01:47 pm »
I played up to completing "egg corridor", and it works great! Thanks again zear!
PS: using v1.0.0.6 with English patch, I just followed the instructions and it worked first try.

zear (OP)

  • * Moderator
  • Posts: 2381
Re: NXEngine (Cave Story) BETA 1
« Reply #15 on: December 25, 2010, 07:00:03 pm »
I played up to completing "egg corridor", and it works great! Thanks again zear!
PS: using v1.0.0.6 with English patch, I just followed the instructions and it worked first try.
I got as far as the first ending final boss without any problems (you can partially see it on the screenshot) :) The engine is pretty much complete, I only noticed minor glitches, like your mimiga mask disappearing for a moment when you use a teleporter.
« Last Edit: December 25, 2010, 07:02:25 pm by zear »

Solstice

  • Posts: 367
Re: NXEngine (Cave Story) BETA 1
« Reply #16 on: December 26, 2010, 01:49:50 am »
Thanks Zear , i love me some platformers :) MERRY CHRISTMAS EVERYONE!!
Dingoo A320 stock 1.2 + Gmenu

PSP slim 2002 Gen 5.50 D3 Prom4

TheCaffeinator

  • Posts: 128
Re: NXEngine (Cave Story) BETA 1
« Reply #17 on: December 26, 2010, 06:51:41 pm »
Still doesn't work. Does it matter where the nxengine is in the SD card? Does it matter how you "run" it?

I put the nxengine folder in the .../local/games directory on my SD card.

I put the versions of Doukutsu.exe and the associated data directory recommended by rollo into the nxengine directory.

Then I added a gmenu link to nx.dge and tried to run it. I got the same blue screen of instructions, and when I clicked any key, the game exited to the games menu.

I also tried running nx.dge by navigatign directly to it in the Dingux Explorer tool but got the same result.
Doesn't matter where you put nxengine to. The only requirement is you have ./data and Doukutsu.exe in the same directory, the nx.dge executable is.
Quote
safemode print: '= Extracting Files ='
safemode print: '[ pxt/fx01.pxt ]'
safemode print: 'failed to open pxt/fx01.pxt'
This looks like for some reason it cannot extract fx01.pxt to ./pxt dir.
There might be many reasons, the ones coming to my mind:
1) Your CaveStory executable is of a different version than 1.0.0.6 english
2) You don't have ./pxt dir (which should come with nxengine archive)
3) Your filesystem is corrupted and you can't write to it, so the engine cannot extract the pxt files

Hmmm...item 2 is interesting. When I extract the nxengine archive, I don't get any subfolders in the nxengine folder; the extraction creates the nxengine folder with these files in it: font.ttf, nx.dge, nx.png, README.txt, smallfont.bmp, sprites.sif, and tilekey.dat. But no additional subfolders or files. Could using WinZip to extract the contents of the .tar archive be the problem?

xdpirate

  • * Former Staff
  • Posts: 490
Re: NXEngine (Cave Story) BETA 1
« Reply #18 on: December 28, 2010, 12:57:35 pm »
Nice work zear, but why not just port the original Cave Story? Source is available.

zear (OP)

  • * Moderator
  • Posts: 2381
Re: NXEngine (Cave Story) BETA 1
« Reply #19 on: December 28, 2010, 02:00:06 pm »
Nice work zear, but why not just port the original Cave Story? Source is available.
Source code of Cave Story was never publicly available. Pixel used to give it to the porters from time to time, but I guess they had to sign some deal with him so the source wouldn't leak. He's not giving his source away anymore since the official Nintendo Wii port anyway.
Or something has changed just recently?
« Last Edit: December 28, 2010, 02:01:40 pm by zear »

 

Post a new topic
Post a new topic