Harmattan port?

Discussion about other and unofficial ports of ScummVM

Moderator: ScummVM Team

Orologiaio
Posts: 13
Joined: Thu Jan 05, 2012 3:16 pm

Post by Orologiaio » Wed Sep 19, 2012 6:38 pm

andei wrote:Here's version 1.5.0 of the unofficial ScummVM Nokia N9 port:

scummvm_1.5.0_armel.deb

And here's the source code diff and changelog:

scummvm-1.5.0-harmattan.diff.gz

- Updated to ScummVM 1.5.0 codebase
- Enabled pretty FreeType font rendering
- Fixed touchscreen coordinates bug in CoMI (reported by snc)
- Disabled unusably large 3x graphic modes
- Removed TiMidity support

Things are starting to calm down after a busy summer and I have time to work on this port again. I also built FluidSynth and TiMidity++ for N9, but unfortunately the hardware is not powerful enough for smooth game music playback. Same goes for the MT-32 emulator. So AdLib sound it is then... or PC speaker. Beep! :)
Thanks andei, works good! ;)

syrjala
Posts: 2
Joined: Thu Sep 20, 2012 1:48 pm

Post by syrjala » Thu Sep 20, 2012 1:57 pm

andei wrote:Here's version 1.5.0 of the unofficial ScummVM Nokia N9 port:

scummvm_1.5.0_armel.deb

And here's the source code diff and changelog:

scummvm-1.5.0-harmattan.diff.gz

- Updated to ScummVM 1.5.0 codebase
- Enabled pretty FreeType font rendering
- Fixed touchscreen coordinates bug in CoMI (reported by snc)
- Disabled unusably large 3x graphic modes
- Removed TiMidity support

Things are starting to calm down after a busy summer and I have time to work on this port again. I also built FluidSynth and TiMidity++ for N9, but unfortunately the hardware is not powerful enough for smooth game music playback. Same goes for the MT-32 emulator. So AdLib sound it is then... or PC speaker. Beep! :)
I have a port of SDL for Harmattan [1] which uses the GPU for scaling the application automagically. So when you use it you can build ScummVM w/ _build_scalers=no.

Might be interesting to check if that would free up enough CPU cycles for MIDI music.

[1] https://gitorious.org/harmattan-sdl

User avatar
andei
Posts: 18
Joined: Wed May 02, 2012 7:45 pm
Location: Finland

Post by andei » Sat Sep 22, 2012 8:02 am

^Nice work syrjala, really nice!

It's definitely faster than 2x scaler with aspect ratio correction enabled (the current default setting). MIDI music playback is still a bit choppy, but getting more useable with some finely tuned FluidSynth settings. And there's also the advantage of making much better use of available screen estate.

I'll put together a test build soon so anyone can try it out.

Orologiaio
Posts: 13
Joined: Thu Jan 05, 2012 3:16 pm

Post by Orologiaio » Sat Sep 22, 2012 5:21 pm

andei wrote:^Nice work syrjala, really nice!

It's definitely faster than 2x scaler with aspect ratio correction enabled (the current default setting). MIDI music playback is still a bit choppy, but getting more useable with some finely tuned FluidSynth settings. And there's also the advantage of making much better use of available screen estate.

I'll put together a test build soon so anyone can try it out.
Wow, that's great to hear! Better scaling and better sound! :P
Thanks to you both, looking forward for the new build! :wink:

User avatar
andei
Posts: 18
Joined: Wed May 02, 2012 7:45 pm
Location: Finland

Post by andei » Wed Sep 26, 2012 7:26 pm

Alright, here's a test build for the brave and adventurous:

scummvm_1.5.0_armel.deb

And the source diff and a patch for SDL that fixes mouse cursor jumps when dragging across window edges:

scummvm-1.5.0_23092012.diff.gz
harmattan-sdl_fixjumpycursor.diff.gz

This build has FluidSynth enabled and uses syrjala's enhanced SDL port with hardware scaling. Disable aspect ratio correction and use a small SoundFont for best results. I had to heavily limit FluidSynth sound quality to get MIDI music reasonably glitch free. Sometimes it still gets all choppy… depending on the weather or the color of your socks it seems.

Let me know if any bugs are found. Have fun! :)

hood
Posts: 7
Joined: Thu Sep 27, 2012 9:27 am

Post by hood » Thu Sep 27, 2012 9:30 am

Help me please. How to speed up intro? Is there some Esc key implementation?

User avatar
andei
Posts: 18
Joined: Wed May 02, 2012 7:45 pm
Location: Finland

Post by andei » Thu Sep 27, 2012 10:09 am

hood wrote:Help me please. How to speed up intro? Is there some Esc key implementation?
Yes, swipe two fingers to left. Harmattan port uses same gesture controls as the WebOS port does. You can find all of them listed here:

http://wiki.scummvm.org/index.php/WebOS.

hood
Posts: 7
Joined: Thu Sep 27, 2012 9:27 am

Post by hood » Thu Sep 27, 2012 10:43 am

andei wrote:
hood wrote:Help me please. How to speed up intro? Is there some Esc key implementation?
Yes, swipe two fingers to left. Harmattan port uses same gesture controls as the WebOS port does. You can find all of them listed here:

http://wiki.scummvm.org/index.php/WebOS.
Thank you so much)

syrjala
Posts: 2
Joined: Thu Sep 20, 2012 1:48 pm

Post by syrjala » Sat Sep 29, 2012 2:30 pm

andei wrote:And the source diff and a patch for SDL that fixes mouse cursor jumps when dragging across window edges:

scummvm-1.5.0_23092012.diff.gz
harmattan-sdl_fixjumpycursor.diff.gz
I need to check out that patch and probably apply it to my SDL repo.

Another thing that needs doing is implementing the aspect ratio correction in the SDL scaling code instead of in tha application. It's a fairly trivial issue, but I don't think SDL has any API for that, so I'd need to come up with some public function so that the application can tell SDL what the desired aspect ratio is.

User avatar
Freddo
Posts: 281
Joined: Mon Oct 31, 2005 4:41 pm

Post by Freddo » Thu Nov 08, 2012 9:17 pm

andei wrote:Alright, here's a test build for the brave and adventurous:

scummvm_1.5.0_armel.deb
Works very well for me so far, playing Discworld 2. Thanks a lot! :)

EDIT: The only annoying thing is that the screensaver isn't turned off while ScummVM is running, so if you look at a cutscene, the screen will get black.

Gloome
Posts: 3
Joined: Tue Sep 18, 2012 4:09 pm

Scummvm 1.6

Post by Gloome » Wed Sep 11, 2013 7:51 pm

Any chance we will get scummvm 1.6?

User avatar
andei
Posts: 18
Joined: Wed May 02, 2012 7:45 pm
Location: Finland

Post by andei » Sun Sep 15, 2013 11:35 am

Sure!

Here's ScummVM 1.6.0 for Nokia N9:

scummvm_1.6.0_armel.deb
scummvm-1.6.0-harmattan.diff.gz

No major changes, apart from all the new stuff in 1.6.0. Hard coded FluidSynth settings were removed (ScummVM now has GUI options for some of those) and one graphics mode warning message was fixed. This build uses GPU scaling just like the last test build.

I'm glad that people still use these cool phones. 8)

Gloome
Posts: 3
Joined: Tue Sep 18, 2012 4:09 pm

Thank you

Post by Gloome » Sun Sep 15, 2013 12:57 pm

This is great!

Yes, Nokia N9 is the best phone :-)

User avatar
Freddo
Posts: 281
Joined: Mon Oct 31, 2005 4:41 pm

Post by Freddo » Sun Sep 15, 2013 2:01 pm

Thanks a lot! :)

hood
Posts: 7
Joined: Thu Sep 27, 2012 9:27 am

Post by hood » Sun Sep 15, 2013 4:12 pm

andei wrote:Here's ScummVM 1.6.0 for Nokia N9:
It's a really fine update. Thanks a lot ya! But I have a request if it possible to make some UI elements larger coz it's so hard to hit it. Especially buttons left/right in upper right settings corner and up/down and whole right part of select game folder.

Post Reply