• HomeBoards
  • RulesRules
  • HelpHelp
  • WikiWiki
  • Donate

Author Topic: Cave Story (NXEngine)  (Read 18581 times)

zear (OP)

  • * Moderator
  • Posts: 2381
Cave Story (NXEngine)
« on: September 09, 2010, 03:06:14 pm »
Hey guys, today while searching for and trying to get some ancient and abandoned Cave Story engines to run on dingux, I noticed this new one (dated 2010), called NXEngine.
After a couple of minutes I had it running on the Dingoo. It looks very complete and as the author claims: "Currently you can make it from start to all 3 endings and all the objects I know about are implemented". So it looks like a perfect engine for Cave Story on Dingux :)

Here's a short video showing the current state of NXEngine on Dingux:
<a href="https://web.archive.org/web/20210121132634/https://www.youtube.com/watch?v=dUFO48HiXhg" target="_blank">https://www.youtube.com/watch?v=dUFO48HiXhg</a>

There are 4 things I need to fix before I decide to release it though:
* music support causing game hiccups
* font quality in 320x240
* button mapping/key captions
* a way to convert the datafiles on dingux without a need to run the game on PC first

If anyone is willing to help me with the development of this game, he is welcome to do so. Dingux deserves a Cave Story port and I want it to be perfect :)

Huzzah!
« Last Edit: September 09, 2010, 09:37:29 pm by zear »

Shin-NiL

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: Cave Story (NXEngine)
« Reply #1 on: September 09, 2010, 05:11:29 pm »
Great discovery zear, this game is just fantastic :D

Good luck in your port.

TheCaffeinator

  • Posts: 128
Re: Cave Story (NXEngine)
« Reply #2 on: September 09, 2010, 06:12:48 pm »
Wow!!!

Cave Story on the A320!!!

That'd be awesomicious!!!!!!

I look forward to exploiting the fruits of your labour!

;)

Derek182

  • Guest
Re: Cave Story (NXEngine)
« Reply #3 on: September 09, 2010, 08:46:34 pm »
Frabjous day! I was hoping Cave Story might one day be ported to the Dingoo.
Thanks, zear! Looking forward to its release. ;D

olio

  • Guest
Re: Cave Story (NXEngine)
« Reply #4 on: September 09, 2010, 09:19:05 pm »
what i have to do to play on my a330 dingux?
sorry but i'm new :-[

ruffnutts

  • Posts: 2654
Re: Cave Story (NXEngine)
« Reply #5 on: September 09, 2010, 11:59:42 pm »
This looks well smart - nice one zear  ;)

Yongary

  • Guest
Re: Cave Story (NXEngine)
« Reply #6 on: September 10, 2010, 01:25:46 am »
This is awesome news, zear. Playing Cave Story on my Dingoo would be beyond awesome!

zear (OP)

  • * Moderator
  • Posts: 2381
Re: Cave Story (NXEngine)
« Reply #7 on: September 10, 2010, 11:21:17 am »

The font is semi-fixed now. I replaced TTF_RenderText_Solid with TTF_RenderText_Shaded so it's anti-aliased now. The thing is TTF_RenderText_Shaded introduces a font background color and so far I haven't figured out how to make it transparent. This screenshot is a little trick where I set the font bg color to match the bg of the text box. But for all the other parts of the game where the background is of a different color it will not look good anymore :P

Here's how it looks like if I use a different background color:


I also improved the button mapping in the menus, but the button captions still need to be changed from F1, F2, ESC to A, B, SELECT etc. This is embedded into the datafiles, so I'll have to either extract and modify the bitmaps, or change the menus to text only.
« Last Edit: September 10, 2010, 11:22:58 am by zear »

Shin-NiL

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: Cave Story (NXEngine)
« Reply #8 on: September 10, 2010, 03:56:44 pm »
The font is semi-fixed now. I replaced TTF_RenderText_Solid with TTF_RenderText_Shaded so it's anti-aliased now. The thing is TTF_RenderText_Shaded introduces a font background color and so far I haven't figured out how to make it transparent. This screenshot is a little trick where I set the font bg color to match the bg of the text box. But for all the other parts of the game where the background is of a different color it will not look good anymore :P

You could try the TTF_RenderText_Blended, I think it's anti-aliased too and don't require bgcolor.

zear (OP)

  • * Moderator
  • Posts: 2381
Re: Cave Story (NXEngine)
« Reply #9 on: September 10, 2010, 03:58:36 pm »
You could try the TTF_RenderText_Blended, I think it's anti-aliased too and don't require bgcolor.
Tried it, but for some reason it resulted in white blocks instead of text ;)

Shin-NiL

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: Cave Story (NXEngine)
« Reply #10 on: September 10, 2010, 05:10:46 pm »
And if you use SDL_SetColorKey to force the transparency on the surface returned from TTF_RenderText_Shaded?

It should be something like this:
Code: [Select]
    Uint32 color = SDL_MapRGB(textSurface->format, r, g, b);
    SDL_SetColorKey(textSurface, SDL_SRCCOLORKEY | SDL_RLEACCEL, color);

RodrigoCard

  • Posts: 314
    • Mac Joystick Apps
Re: Cave Story (NXEngine)
« Reply #11 on: September 10, 2010, 05:27:18 pm »

The font is semi-fixed now. I replaced TTF_RenderText_Solid with TTF_RenderText_Shaded so it's anti-aliased now. The thing is TTF_RenderText_Shaded introduces a font background color and so far I haven't figured out how to make it transparent. This screenshot is a little trick where I set the font bg color to match the bg of the text box. But for all the other parts of the game where the background is of a different color it will not look good anymore :P

Here's how it looks like if I use a different background color:


Could you use another font? This one is a little hard to read in low res screens :/
I have a sugestion...

olio

  • Guest
Re: Cave Story (NXEngine)
« Reply #12 on: September 10, 2010, 08:27:16 pm »
what i have to do to play on my a330 dingux?
sorry but i'm new :-[
anyone help me? :'(

zear (OP)

  • * Moderator
  • Posts: 2381
Re: Cave Story (NXEngine)
« Reply #13 on: September 10, 2010, 08:29:09 pm »
what i have to do to play on my a330 dingux?
sorry but i'm new :-[
anyone help me? :'(
If you're asking where to get the Cave Story build, you have to patiently wait till i release it :P
But if you're asking how to install dingux on a330, well.. browse the forums, there is a lot of threads about that already.

olio

  • Guest
Re: Cave Story (NXEngine)
« Reply #14 on: September 10, 2010, 08:52:57 pm »
what i have to do to play on my a330 dingux?
sorry but i'm new :-[
anyone help me? :'(
If you're asking where to get the Cave Story build, you have to patiently wait till i release it :P
But if you're asking how to install dingux on a330, well.. browse the forums, there is a lot of threads about that already.
Yes, i search cave story build ;D
Thanks for the response.

zear (OP)

  • * Moderator
  • Posts: 2381
Re: Cave Story (NXEngine)
« Reply #15 on: September 15, 2010, 08:54:39 pm »
I was a little quiet recently, so here's a little update:

Thanks to the original author NXEngine supports bitmap fonts now:


Also, the exit dialog is now fixed:


The only problem left now is the music support.. :P

I also made initial ports of NXEngine to GP2X and OpenPandora. The latter uses experimental widescreen support:

(full size)

Since I wrote a simple joystick support for gp2x, I am interested in supporting wiz and caanoo platforms as well. Because I don't have that devices, I'm gonna need some beta testers. Also, some info on what's the newest toolchain/libpack for that platforms would be welcome :)

Domian

  • Guest
Re: Cave Story (NXEngine)
« Reply #16 on: September 15, 2010, 09:35:55 pm »
great work, realy looking forward to the release :)

RodrigoCard

  • Posts: 314
    • Mac Joystick Apps
Re: Cave Story (NXEngine)
« Reply #17 on: September 15, 2010, 11:06:05 pm »
I was a little quiet recently, so here's a little update:

Thanks to the original author NXEngine supports bitmap fonts now:


Nice! This font looks so much better :)

Orion4874

  • Posts: 229
Re: Cave Story (NXEngine)
« Reply #18 on: September 16, 2010, 02:23:54 am »
Wiz beta tester here if needed. Should have my Caanoo in a couple weeks as well. One question though, why port this to GP2X? There's already Cave Story for that console. Does this diifer from the original?

TheCaffeinator

  • Posts: 128
Re: Cave Story (NXEngine)
« Reply #19 on: September 16, 2010, 04:56:15 am »
Looks great!

Looking forward to the Dingoo release.

Awesome work, zear!

 

Post a new topic
Post a new topic