1. usineur0

    OP usineur0 Advanced Member
    Newcomer

    Joined:
    Mar 20, 2016
    Messages:
    79
    Country:
    France
    Hi there,

    I wrote a port of ResidualVM for the Switch.

    You can now play the following games with this engine:
    • Grim Fandango (original, not the remastered edition)
    • Escape from Monkey Island
    • Myst 3
    • The Longest Journey (engine is still WIP but playable)
    NRO, install instructions, control mapping are given/described here: https://github.com/usineur/residualvm/releases/latest

    Video by Stranno:


    Have fun,
    usineur
     
    Last edited by usineur0, May 2, 2020
    falcorr, dave325, CTBC and 23 others like this.
  2. Badablek

    Badablek GBAtemp Fan
    Member

    Joined:
    Jan 23, 2006
    Messages:
    323
    Country:
    France
    Thank You !

    It's nice to finally be able to play those great games on Switch :bow:
     
    usineur0 likes this.
  3. angelhp

    angelhp GBAtemp Fan
    Member

    Joined:
    Nov 30, 2014
    Messages:
    477
    Country:
    United States
    Thanks a lot
    Grim Fandango and Escape from Monkey Island run very well
     
    usineur0 likes this.
  4. cucholix

    cucholix Banners guy
    Member

    Joined:
    Jan 17, 2017
    Messages:
    2,305
    Country:
    Chile
    The Longest Journey seems full speed, can’t notice any hiccup in sound, thanks for porting it :)
     
    usineur0 likes this.
  5. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
    I can't believe it! I am playing The Longest Journey on my Switch in 60 FPS. It seems to be working flawlessly already. And Myst 3 Exile works great, too.

    Thank you Usineur for this great port! This is amazing work.
     
    Last edited by rsn8887, Apr 15, 2020
    usineur0 likes this.
  6. uludag

    uludag Advanced Member
    Newcomer

    Joined:
    Jun 5, 2018
    Messages:
    67
    Country:
    Fiji
    Is it christmas already?
    Thank you so much for your work!!

    //edit2:
    I got it to work.
    Needed to install the game to PC, apply the patch and then copy the files from the install directory.

    //edit:
    tried to play the german version of escape from monkey island using sxos.
    copied over the files from cd1 and cd2.
    used voiceAll.m4b from cd1.
    renamed FullMonkeyMap.imt files.
    copied MonkeyUpdate_DEU.exe into folder.
    Started residualvm on switch.
    Started monkey island.
    blackscreen. residualvm is still running, - button opens keyboard but game shows blackscreen.

    do you have an idea what could have gone wrong?
     
    Last edited by uludag, Apr 15, 2020
  7. usineur0

    OP usineur0 Advanced Member
    Newcomer

    Joined:
    Mar 20, 2016
    Messages:
    79
    Country:
    France
    Are "Movies" and "Textures" folders copied to the switch ?
     
  8. Purple_Shyguy

    Purple_Shyguy GBAtemp Maniac
    Member

    Joined:
    Nov 8, 2008
    Messages:
    1,121
    Country:
    A new homebrew in 2020? Neat.
     
  9. uludag

    uludag Advanced Member
    Newcomer

    Joined:
    Jun 5, 2018
    Messages:
    67
    Country:
    Fiji
    They were. Dunno what the problem was. Needed to install the game to PC, apply the patch and then copy the files from the install directory. Works like a charm now. Thank you very much!
     
    usineur0 likes this.
  10. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
    @usineur0 : I found a very small issue with touch controls: turning the touchpad_mouse_mode on or off in "Options->Controls" didn't really change anything. I made a PR to fix that.

    The problem was due to missing zero initialization of structs used in touch code. The same issue was present in ScummVM, but for some reason, the structs just happened to be zero initially there. But that's not guaranteed by the C++ compiler I guess, so better to initialize by hand.
     
    Last edited by rsn8887, Apr 15, 2020
  11. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    4,106
    Country:
    Laos
    I can confirm, that the german versions of

    - Escape from Monkey Island
    - The longest Journey
    and
    - Myst 3

    all work. :)

    Many kudos to you dear sir(s). ;)
    -

    The longest Journey is the only one of those games that has to be installed on the PC side first to be able to copy all the required files. (And in that case its more than 10.000 of them - so use a method where you get the full copy speed to your sdcard.)

    The switch has now become a proper adventure gaming platform. :)
    Grim Fandango remastered already is a Switch game, in case you didn't know (which is also why I havent tested it on this port.)

    The only thing thats missing now - for my Adventure retro flash is Still Life (Microids adventure).. If only... ;) (I know that this is beyond the scope of residualVM - I mainly was dropping its name so others might try it out as a game... ;) )
    --

    Monkey 4 (german) has a default audio mix, thats drowning the voice lines, but its fixable in game (options) and in 'game settings'.

    edit: Also make sure that you switch to 'camera relative' control scheme for Monkey 4 in ingame options. Tank controls are not the optimal way to play this game.. ;)
     
    Last edited by notimp, Apr 15, 2020
    usineur0 likes this.
  12. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
    @usineur0 : Hmm I was wrong it seems. It seems that with any version I build myself, even using your tagged release code, the touchpad_mouse_mode option works as intended. But in your release version, the option doesn't work.

    Did you maybe build with some older packages? I just updated to latest using pacman. Or did you use a special configure option that I am missing?

    I use "configure --host=switch --enable-optimizations"

    I am just trying to find out what causes the touchpad_mouse_mode to work or not. Apparently it is not the missing initialization I thought before.
     
    Last edited by rsn8887, Apr 15, 2020
  13. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    4,106
    Country:
    Laos
    usineur0 likes this.
  14. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
    @usineur0 I think I figured it out. You are using a different SDL2 than standard pacman version. In newer SDL2 source, there is a line "#define SYNTHESIZE_TOUCH_TO_MOUSE 1" in the file "src/events/SDL_Touch.c". This line causes double events that mess up ResidualVM touch.

    So in your SDl2, if you change
    "#define SYNTHESIZE_TOUCH_TO_MOUSE 1"
    to
    "#define SYNTHESIZE_TOUCH_TO_MOUSE 0"
    and recompile and install that, and build residualvm again linking to the fixed SDl2, then touch and touchpad_mouse_mode will work correctly.
     
    usineur0 likes this.
  15. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
    @usineur0 : I found an even better fix, no need to mess with SDL source. Just add this line to residualvm event source constructor SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");

    Pull Request made.
     
  16. usineur0

    OP usineur0 Advanced Member
    Newcomer

    Joined:
    Mar 20, 2016
    Messages:
    79
    Country:
    France
    @rsn8887: thx for this, it should be ok now.

    Remember this issue: https://bugs.scummvm.org/ticket/11342 ?
    I have pushed a commit to integrate "DrivePOSIXFilesystem" in ResidualVM.
    It fixes random crashes in Grim Fandango and EMI.
     
    rsn8887 likes this.
  17. rsn8887

    rsn8887 GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    903
    Country:
    United States
  18. Demetris

    Demetris Advanced Member
    Newcomer

    Joined:
    May 15, 2019
    Messages:
    81
    Country:
    Cyprus
    Awesome sauce! Cant thank you enough for this.
    You guys really worth it to check this mod out as its out of this world.
    https://tljhd.github.io/
    Thanks again both you guys
    @rsn8887 for (cannonball,Hurrican,j&b,uae4all2)
    & @usineur0
    Great work
     
    Last edited by Demetris, Apr 16, 2020
  19. usineur0

    OP usineur0 Advanced Member
    Newcomer

    Joined:
    Mar 20, 2016
    Messages:
    79
    Country:
    France
    Last edited by usineur0, Apr 16, 2020
    Demetris likes this.
  20. hippy dave

    hippy dave BBMB
    Member

    Joined:
    Apr 30, 2012
    Messages:
    5,871
    Country:
    United Kingdom
    Awesome to see, was just trying to remember yesterday if Residual had made it to Switch, good job!

    Don't forget to submit it to the app store!
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - ResidualVM,