RELEASE NXEngine (Cave Story / Doukutsu Monogatari reimplementation)

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by carstene1ns, May 8, 2018.

  1. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    Cave Story / Doukutsu Monogatari is a Japanese freeware PC side-scrolling platformer game from 2004.

    This is a reimplementation of the original freeware game engine, using its data files.
    It has nothing to do with Cave Story+ (published by Nicalis and being an actual, official Switch game).
    You can find more information about Cave Story on the fan site.

    Gameplay Video:

    Installation

    Copy the executable from the zip archive to your "sdmc:/switch" folder, best is to use a "nxengine-evo" subdirectory, as it will save settings and savegames there.

    Default Controls:

    Hat - Movement
    A - Fire
    B - Jump
    X - Map
    Y - Enter
    L/R - Change Weapons
    Minus - Pause/Menu
    Plus - Inventory
    The engine lets you reconfigure the buttons used.

    Source Code at GitHub.
    Download: See attachment and also available on my website.

    Changelog:
    alpha - first release
    beta - shipping data files inside romfs, resolved a crash when exiting
    beta-rebuild - testing on 4.x/5.x needed
     

    Attached Files:

    Last edited by carstene1ns, May 20, 2018 at 10:59 PM
  2. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    2
    Oct 2, 2015
    Canada
    ???
    HUZZAH! i'd definitely use this if i didn't have the official port. good work i guess.
     
  3. CeeDee

    CeeDee I'm A Chump

    Member
    14
    GBAtemp Patron
    CeeDee is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    May 4, 2014
    United States
    Impressive work! Cool to see some new Switch homebrew. And even with the official release being a thing, this'd allow modded versions of the game to run too.
     
  4. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    2
    Oct 2, 2015
    Canada
    ???
    Jenka's nightmare would be nice, but i reckon it used some ASM hacks.
     
  5. Miqote

    Miqote Advanced Member

    Newcomer
    2
    May 2, 2018
    Macedonia, The Former Yugoslav Republic of
    Not sure if anyone's posted (and it should come as no surprise), but this crashes the switch instantly on 5.0.X
     
  6. ChaoticCinnabon

    ChaoticCinnabon GBAtemp Regular

    Member
    2
    Oct 2, 2015
    Canada
    ???
    To be expected, that was a quick port of HBL so hopefully atmosphere works with it.
     
  7. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    I cannot debug anything related to higher firmwares, but maybe this will be fixed in libnx later...

    Jenka's nightmare is not possible, as it changed the original game engine (not supported in NXEngine).
     
    ChaoticCinnabon and CeeDee like this.
  8. Akuseru06

    Akuseru06 Advanced Member

    Newcomer
    1
    Jan 8, 2018
    Romania
    You got my attention.
     
  9. Wuigi

    Wuigi GBAtemp Fan

    Member
    3
    Sep 14, 2012
    Germany
    That German translation is pretty bad, nxengine runs really well though.
     
  10. Rune

    Rune GBAtemp Regular

    Member
    3
    Feb 15, 2017
    Not sure what this game is, but I appreciate the porting work you're doing and look forward to the next one. :yay:
     
  11. MonMonz

    MonMonz GBAtemp Regular

    Member
    2
    Nov 7, 2014
    Egypt
    I test it on 2.1 switch and it works..thank you for making this
     
    carstene1ns likes this.
  12. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    You are right, in the video i just wanted to demonstrate it is able to save the settings... :D
    There are actually two translations to german on the fansite, but no idea if the other one is better.
    I do not really intend to use it, but patches may be sent here.

    Scrolling is slow unfortunately (joys of software rendering), when disabling the widescreen mode (i.e. setting to 320x240) this can be avoided, however, you get black bars of course.
     
  13. konamicode89

    konamicode89 Newbie

    Newcomer
    1
    Mar 13, 2018
    United States
    There's an issue with the game being unplayable in docked mode as the joy cons are set to 2 players once you remove them from the tablet.
    Until CFW is released there's no way to make the joysticks work.
     
  14. Zumoly

    Zumoly Advanced Member

    Newcomer
    1
    Apr 27, 2018
    Mali
    Yorosso
    I was going to point this out as well (I prefer playing in tabletop mode). But I do think it's related to configuration? I'm able to play games in the pfba emulator with the joycons detached.
     
  15. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    Yeah, unfortunately that is a problem in the current SDL2 code. Controller configuration is set on app start (single mode) and the internal state is not changed afterwards. I can set dual mode manually, but this is not optimal.
    @cpasjuste has a patch to disable that behavior, however we need to set the correct mode ourselves then and keep an eye on what the user does. Currently it may just crash when you undock the controllers while the app is running, because ids change then.
    I think we may need to add some custom function to SDL2 and use it to change the controller mode to be able to react on this, but this needs to be done carefully as we need to support these hacks afterwards.
     
    konamicode89 likes this.
  16. konamicode89

    konamicode89 Newbie

    Newcomer
    1
    Mar 13, 2018
    United States
    Wouldn't it be best to wait for the release of CFW then? Its not just the undocking of the joy cons but the joysticks arent functional either in both cave story and retroarch emulators. Im happy enough that we have a working port no matter how slow or what it lacks, I understand theres not much that can be done until we have better resources(CFW)
     
  17. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    Thing is, CFW will not magically bring these improvements. Someone still needs to write code to handle these things.
    For homebrew developers CFW means more users can use their stuff and it is easier to setup and run code (for testing).
     
  18. renhei

    renhei Member

    Newcomer
    1
    Jun 21, 2016
    United States
    What about the Pro controller? I've seen in this topic and others people saying the joycons don't work undocked, but does the Pro controller work fine? Cuz that's what I always use.
     
  19. carstene1ns
    OP

    carstene1ns Member

    Newcomer
    2
    Apr 1, 2018
    Germany
    I have rebuilt the app. Might now also work on 4.x/5.x.
     
    hippy dave likes this.
  20. renhei

    renhei Member

    Newcomer
    1
    Jun 21, 2016
    United States
    Just tested on 5.0.2, works great! Great job. I'll have to take a look and see what you did to fix it. Is it just me or is having select be B and cancel A really confusing? :P
     
    hippy dave and carstene1ns like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice