Play/port your GameMaker games on NintendoSwitch

Discussion in 'Switch - Tutorials' started by CardochDM, Sep 30, 2018.

  1. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    As you might already know there is a way of running different gamemaker games recently discovered by Chocolate2890. However some of them might not work correctly or might fail on launch.... So I did my job and discovered a way of fixing multiple issues on those games that don't work, example of this is Zelda Breath Of the NES, not a popular game right now but it was back in time (developed by winterdrake, do you remember?). Well I tried making the "trick" to play this demo on the switch, it always crashed but here's how to fix it...

    For those who don't know yet, it's possible to use the cfw layeredfilesystem AKA gamemods to replace the original game.win from undertale with another game made with GameMaker1 and later versions. To be more specific this file it's located at titles/010080b00ad66000/romfs/game.win
    This file is in other words the game itself, so by replacing it we are able to play mostly every game designed with GameMaker!

    How to play GameMaker Games over Undertale:

    Basic Method
    Warning: Spoilers inside!

    If the basic method doesn't work for you you will need to go trough the FixMethod below


    Fix Method(windows only)
    Warning: Spoilers inside!

    You can also create a new nsp file using the exefs from undertale and a romfs folder that contains the desired game.win

    Credits to Chocolate2890 and the creator of altar tool and to everyone that contributed with this things!

    This is how it would look like (just an example with the mentioned breath of the nes demo)
    https://twitter.com/kardch_code/status/1046441568239063041?s=19

    Also an example of an nsp fully working (photo below)
    Warning: Spoilers inside!

    IMPORTANT NOTE: Some games may fail when exporting, I'm investigating the most common issues. Also this process is experimental as the games when playing can have bad performance (from 10 to 60fps depending on the context), issues like this and savedata errors, not playable in docked mode, wireless joycons not working, etc are being worked to be fixed and make a full port of your favorite games, stay tunned!
     

    Attached Files:

    Last edited by CardochDM, Oct 4, 2018
  2. DiJornios

    DiJornios DiJiorno

    Member
    3
    May 18, 2018
    United States
    All gamemaker games?
     
    Hmed likes this.
  3. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Not all of them, but the majority, in special those that are not built with YYC
     
  4. DiJornios

    DiJornios DiJiorno

    Member
    3
    May 18, 2018
    United States
    Pretty cool none the less!
     
  5. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    I also have to advice that there are a few problems left to solve like performance on fps, and savedata files with a fee others, but this guide covers (and will cover) the most important fixes, right now is just the size, which is the most important one but I will provide more fixes to the problems left, as always stay tuned and follow me on Twitter! (@kardch_code): https://twitter.com/kardch_code?s=09
     
  6. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Also, if a mod is watching this please change the tag to none since it's a tutorial and not a release, my bad
     
  7. Knucklesfan

    Knucklesfan GBAtemp Regular

    Member
    3
    Sep 11, 2016
    United States
    Interesting, haven't heard of a fix for broken games. Nice work!
     
  8. cheese the chao

    cheese the chao Member

    Newcomer
    3
    Mar 15, 2009
    United States
    It keeps getting an error when exporting and it just stops there.
     
  9. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Can you tell me the error log?
     
  10. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Can you tell me the error log?, (Sorry for double message, it somehow got bugged)
     
    Last edited by CardochDM, Oct 1, 2018
  11. cheese the chao

    cheese the chao Member

    Newcomer
    3
    Mar 15, 2009
    United States
    "Exporting rooms... (98/391)An error occured during export

    Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Altar.Unpack.Serialize.SerializeRoomTile(RoomTile tile, BackgroundInfo[] bgs)
    at Altar.Unpack.Serialize.<>c__DisplayClass31_0.<SerializeRoom>b__3(RoomTile t)
    at Altar.Unpack.Serialize.SerializeArray[T,TRet](IEnumerable`1 coll, Func`2 converter)
    at Altar.Unpack.Serialize.SerializeRoom(RoomInfo room, BackgroundInfo[] bgs, ObjectInfo[] objs)
    at Altar.Program.Export(ExportOptions eo)
    at Altar.Program.<>c.<Main>b__10_0(String verb, Object vo)
    at CommandLine.Parser.ParseArgumentsStrict(String[] args, Object options, Action`2 onVerbCommand, Action onFail)
    at Altar.Program.Main(String[] args)"
     
  12. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    What game are you trying to export?
     
  13. cheese the chao

    cheese the chao Member

    Newcomer
    3
    Mar 15, 2009
    United States
    AM2R . Wondered if this fix would solve its not booting problem. But can't even get all the files exported out of it.
     
  14. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Ohh I see, I'm casually trying to export it right now hehe, it's going ok, we will see if it gets past rooms and if not I will track the problem!
     
  15. CardochDM
    OP

    CardochDM Advanced Member

    Newcomer
    3
    Sep 18, 2017
    Spain
    Aaand the same issue
     
  16. cheese the chao

    cheese the chao Member

    Newcomer
    3
    Mar 15, 2009
    United States
    so its not just me
     
  17. McWhiters9511

    McWhiters9511 GBAtemp Maniac

    Member
    6
    Mar 28, 2016
    United States
    Space
    Is there a tutorial around for putting it in Homebrew?
     
  18. Centergaming

    Centergaming GBAtemp Advanced Fan

    Member
    5
    Apr 17, 2016
    United States
    Getting the same error with another gamemaker game... :/
     
  19. DiJornios

    DiJornios DiJiorno

    Member
    3
    May 18, 2018
    United States
    Rivals of Aether doesn't work right?
     
  20. cheese the chao

    cheese the chao Member

    Newcomer
    3
    Mar 15, 2009
    United States
    at what point did the error occur at when exporting?
     
Loading...