COMPLETED ScummVM

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by cpasjuste, Apr 1, 2018.

  1. cpasjuste
    OP

    cpasjuste GBAtemp Advanced Fan

    Member
    8
    Aug 27, 2015
    France
    Hi,

    Here is a port of the excellent ScummVM engine to the switch. I don't have the time to write a lot of information's right now.. i'll update this post later.

    In the meantime, here is the (very minimal) release information from the release page :

    INFORMATIONS
    • runs at a pretty good framerate even with HQ scalers
    • default gfx is 2x fullscreen. The game is rendered at 2x the resolution, and (linear) scaled to fit screen. My personnal choice would be fullscreen tv2x thought. 3x fullscreen/windowed is probably a good choice too (less "linear blur")

    KNOW BUGS
    • no sfx in some "scumm" engine games (curse of monkey island, full throttle) ! :(
    • intro in "the secret of monkey island" CD version hang, audio play fine and can be skipped. Other versions seems to works fine.
    • mp3 decoder doesn't seems to work (crash), but this format should not be used anyway

    TODO
    • fix "scumm" engine SFX (imuse/dimuse)
    • add touchscreen support
    • fix mp3 decoding (libmad? does it worth it?)

    THANKS

    • devkitPro and libnx people: yellows8, plutoo, profi200, WntrMute ....
    • Scummvm team
    • ScHlAuChi for providing a 3.0 Switch! (you rock mate)

    PS: this is NOT an april fool :)
     
    Last edited by cpasjuste, May 24, 2018
  2. ipkryss

    ipkryss Newbie

    Newcomer
    1
    Jan 27, 2018
    Sweden
    Wow, thanks for the hard work. Now we can play some fun point and click adventures on the switch :)
     
  3. salamandrusker

    salamandrusker Advanced Member

    Newcomer
    1
    Mar 12, 2018
    Spain
    thanks i tested with monkey islands 2 . perfectly . good job

    — Posts automatically merged - Please don't double post! —

    https://ibb.co/dsRN27
     
    ipkryss likes this.
  4. RichKK

    RichKK Member

    Newcomer
    2
    Apr 26, 2015
    United Kingdom
    Awesome work, many many thanks and Happy Easter! IMG_3064.JPG IMG_3065.JPG
     
    lordelan, MYFW and cpasjuste like this.
  5. Migz

    Migz Member

    Newcomer
    3
    Feb 3, 2008
    Hi cpasjuste, do you get any sleep Fella! Great work again! ;)
     
    vgmoose and cpasjuste like this.
  6. solrac21

    solrac21 Member

    Newcomer
    1
    Feb 22, 2018
    United States
    Omg, can't wait to try this!
     
  7. AcidFire52

    AcidFire52 Newbie

    Newcomer
    1
    Oct 14, 2017
    United States
    Does this run on stock firmware?
     
  8. Migz

    Migz Member

    Newcomer
    3
    Feb 3, 2008
    yes mate if you are on version 3.0 firmware through hb launcher! ;)
     
  9. freevil

    freevil Advanced Member

    Newcomer
    1
    Feb 8, 2018
    United Kingdom
    Thanks VERY much for this! I am currently playing king's quest. The memories... of yonder years...
     
  10. the_randomizer

    the_randomizer The Temp's official fox whisperer

    Member
    21
    Apr 29, 2011
    United States
    Dr. Wahwee's castle
    That's pretty freaking cool :P
     
  11. RichKK

    RichKK Member

    Newcomer
    2
    Apr 26, 2015
    United Kingdom
    @cpasjuste Where is the right place to report a potential bug?
    Starship Titanic (Windows PC version) launches correctly and starts the game but crashes during the early cut-scene where the starship crashes into the protagonists house.

    I've tried with both the 3CD version and the GOG version (both versions have identical files and filesizes anyway) and I've also been on the Scummvm forums where they tell you to download and copy over a custom titanic.dat file into your game folder. All that did for me is make the game crash earlier in the same cut-scene :-)
    I checked that the Titanic engine plug-in is included in your build, and it is.
    I've also ran the same files on Scummvm on my laptop and they work fine there.
    I understand if this is way down your list of fixes, and everything else I've thrown at it runs like a dream. Amazing work :-)
    I can put the game files on a cloud site if you wish, just let me know (They are 1.2GB total though!)
     
  12. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    I'm freaking shivering. Physically, no joke. Out of joy. LOVE you - man. :)

    Impressions: Shivering. It works. Broken Sword works. *raaa* Ok, let's go..

    - Scummvm creates a scummvm folder with a saves folder under root (/ ), even though the default saves folder under parent dir /saves gets chosen/used by default - and also holds the saves created by all games. I guess you can simply delete it. But if creation could be prevented, it would be better (less clutter on peoples SD cards).
    - Precision cursor movement mode with 2x might be a little slow. ;)

    That it so far, I'm not available for the next three hours. :)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Yiiippiiiee!
     
  13. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    3x is a genuine option in some games - although cursor emulation speed isn't optimal, when it is chosen - if you could implement a toggle to speed it up by the correct amount some time in the future, that would be a real benefit. :) If not - meh, 2x is fine. :) (All images taken with the default 2x render mode.)

    edit: The issue described only (?) seems to affect high res games such as bsword1 - so its not high priority. :)

    More images: :)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
    Last edited by notimp, Apr 1, 2018
    satelman, lordelan, angerized and 3 others like this.
  14. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    Broken Sword 1 freezes after just a few interactions, at seemingly random points. Image is still on screen (if it doesnt crash during a fade to black transition ;) ), but the switch requires a reboot.

    To replicate, load into the game, pick up the newspaper (B), enter the café - if it doesnt crash, exit the café, move "north" to towards the animated worker, a in game sequence should trigger, which brings you back into the café - and shortly thereafter the game should crash. Takes only a few seconds to replicate.

    If tried this with german subtitles enabled - will try to replicate at its default state (still - german version) and give an update.
     
  15. salamandrusker

    salamandrusker Advanced Member

    Newcomer
    1
    Mar 12, 2018
    Spain

    Yes, it has random errors in the games is not 100% stable in all games. There should be some update that works at least as in the mobile / cell
     
  16. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    @salamandrusker: More information might be helpful. :) Did you have the crashes in other games as well, or in Broken Sword in particular? If in bsword1, which language version?

    Did some more testing. Crashes arent location specific - but seem to happen at transitions, beginning of dialogue... With subtitles disabled, I could play longer stints until a crash occured, but ScummVM crashed eventually. I also got a first crash to a ScummVM error screen - I'll upload a photo of it asap. Also, fun state, the Switch is in at that point. :) The brightness (longpress home) menu still can pop in, mouse cursor is moving. The home button doesnt work though, and capturing a screenshot (screenshot button :) ) fails with an error message (x besides the image icon), I've never seen prior to this. :)

    I like it.. ;)

    edit: And after writing this, cursor movement also froze.. :) (On the scummvm error screen)
    error screen:
    [​IMG]
     
    Last edited by notimp, Apr 2, 2018
  17. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    Also - may I suggest a Button mapping that also maps a few more keyboard keys necessary for completing some games?

    F.e. this was the mapping of a more recent Xbox v1 port:
    Number keys for example are used for "fighting" in the Indy games, where the game expects you to hit inputs on reaction, so bringing up the software keyboard and entering them that way, doesnt necessarily work. :)

    The config above is overly concerned with inputs in "Lands of Lore" (must have been new at the time.. :) ), but numberkeys and direction keys mapping (keyboard) should help to make a few more games actually playable on the plattform - so they in general are a good thing to have. :)


    edit: Indy 4 seems to run stable. No surprise crashes. :) Also - I was able to beat Biff the bouncer in combat just using the on screen keyboard - but it wasn't very fun. (Just indicating, that no num key mapping might not be gamebreaking for the Indy games. :) )

    Also fiddled around a bit more with precision mode.. It is really "precise" when you hit R1, but then for stuff like changing sound volume, it almost needs to be (ScummVM UI requires very precise inputs)... In game it could be a little less "slow" from a gameplay perspective - but it isn't a must.

    I can try bsword1 on the ScummVM version you ported (Win) to see if its a regression of scummvm - if needed. Played through the game on an early version of ScummVM (1.6.0) with the same dataset, so it shouldnt be a "rom" (dataset) related issue.

    - edit: One more very optional thing. :) Allow for switching the A and B button. Primary button on the switch is A, and after playing many games that used that convention... I didn't want to use B as leftclick.. ;)

    - edit2: Broken Sword 2 seems to run without crashes. I'll recheck my version of bsword1. :/ Only differences I noticed are, that the save menu in bsword2 is "list only" (button to switch it to images, doesnt seem to work).
     
    Last edited by notimp, Apr 2, 2018
  18. cpasjuste
    OP

    cpasjuste GBAtemp Advanced Fan

    Member
    8
    Aug 27, 2015
    France
    I did play around 2 hours without any crash with the real CD version, not the one from the emulation site. So I guess it's also related to the game "format". I'll take a closer look next week anyway :)
     
  19. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    Thank you for the feedback - I played about 30 min of bsword2 without crashes - so I'll recheck my version (salvaged from an Xbox v1 with a harddrive that was on the brink of flaking out, so maybe file integrity is issue here.. :) Also - I'm not using the obvious rom resources either.. I have better ones, for those type of games. ;) ).
     
  20. notimp

    notimp GBAtemp Advanced Fan

    Member
    6
    Sep 18, 2007
    Did the best in depth analysis I could, and still experience the crashes.

    Sourced a new known good copy of the game (.flac and .pal encodes, compared to ogg encodes on the videofiles - both flac and ogg work in this port, btw. :) ). Compared md5 checksums. One videofile and one .wav file are different in my first version source (wav is the file thats listed as "dont copy it from disc2" in the scummvm datafiles sheet), and of course all video audio files (ogg vs flac) - but neither of those should be the culprite (later game resources).

    Apart from that, all md5 hashes matched.

    Booted up the known good new version, and got just the same crashes as before.

    Steps to reproduce:

    - Happens with both the german and english language versions of the game.

    - Add the game as usual, leave settings at default, except for one setting. Override default audio settings and set speech and subtitles to "both" (as in use both), click ok to add the game.

    - Start the game, skip the first cutscene. After the first sentence or two.

    - Pick up the newspaper (B button). Let the dialogue audio play for the first textparagraph, then skip it with B until it ends.

    - Go into the café - and the game should crash.

    - If not (happened to me once out of 3 attempts), leave the café - go north towards the animated worker, an in game sequence should trigger that brings you back to the café, after some additional dialogue, the game should crash. (happened to me twice).

    - If not, play a little further until you enter the "underground of Paris", and again - the game should crash. :) (Happened to me once, this time with the error message I posted earlier.)

    @cpasjuste: Ill try the english language version next - got to hunt down those potential differences. It is very important to me that _this_ game works. :)
    edit2: tried the english language version an it crashed at the same spot (the first one).
     
    Last edited by notimp, Apr 2, 2018
    cpasjuste likes this.
  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