maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Could Open Pandora games run on N900 ? (https://talk.maemo.org/showthread.php?t=100494)

endsormeans 2018-11-02 19:27

Re: Could Open Pandora games run on N900 ?
 
well ...there we go...

and the GemRB team hasn't stopped ...so I would imagine interested parties looky looing through their forum and wikis will find a great deal of fun...
years of fun from both GemRB and Scummvm ...

I know I was playing their games on my n8x0's up until last year...
then got a bit busy ...but I will go back to 'em for sure...
great portable fun when bored.

not to mention Heroes of Might and Magic...
that will keep people busy for eons....
great fun.

Halftux 2018-11-02 19:39

Re: Could Open Pandora games run on N900 ?
 
gemrb is in the repos and it could be updated.

Hmm made this new feature stopping the porting?

Quote:

experimental OpenGL and OpenGL ES renderers
This sounds a nice new feature:

Quote:

10 player party support (see the 10pp mod for the script part)
I think it is worth to update the gemrb package.
--

Heros of Might and Magic, oh yeah, I installed it once on N900 but never played. But for sure it is a great classic game.

Oh my "I believe to" we are totally offtopic :o
edit:Possibly not because games could also run on the pandora:)

sulu 2018-11-02 20:09

Re: Could Open Pandora games run on N900 ?
 
Quote:

Originally Posted by Halftux (Post 1549970)
Since 2006 mobile linux smartphones is my hobby and I saw everytime people porting doom or quake. But I think it is more a challenge to get it running. A proof of concept.

I don't like playing it on such devices when I could play it on a real machine.

This pretty much nails the whole situation.
The process of getting it running is much more rewarding than the final state of actually running it.

This thread just inspired me to try Flare [1] on my N900 (OC'ed to 900MHz) under Easy Debian. Flare might not be a full Diablo2 replacement, but I guess it deserves an honorable mention.

If I turn all the performance settings down, then performance-wise it seems to be borderline playable, which is great. It mainly runs fluently, but every now and then there's a small pause of maybe half a second. However, I only tried the very first screens of the game, where not more is happening than a few little goblins hopping around.
I have no idea what later happens in caves crawling with antlions hurling fireballs and frost flashes, and I'm not at all eager to find out, because the controls are a nightmare. Efficiently navigating with the N900's cursor keys (qwerty keypad) is impossible, which makes maneuvering via mouse/touchscreen almost mandatory. Customizing controls is possible but a little cryptic in Flare, and you absolutely need to have Esc mapped to your keyboard, otherwise you won't be able to gracefully close the game from fullscreen.

I also remember having played boswars years ago on my N900, which was fast enough, but even there the controls were awkward.


[1] https://packages.debian.org/jessie/flare

endsormeans 2018-11-03 03:33

Re: Could Open Pandora games run on N900 ?
 
Ach ...
I think we are subtly off topic ...
Question was answered and instead of a pat "no you can't or at least you can't without a ton of work and even then it may still not work" ..end of topic...
alternatives that can function being offered ...in it's place ...is honest and understandably still at least at the margins of topic.

endsormeans 2018-11-03 03:36

Re: Could Open Pandora games run on N900 ?
 
And technically ...we are still on topic.
GemRB infinity engine is flexible for creating in...
So no one is stopped from making a n900 poor man's Diablo 2 clone.
Bit of creative juggling ...and time.

endsormeans 2018-11-03 03:42

Re: Could Open Pandora games run on N900 ?
 
and yes...
the 10 player party support would be worth it for updating he package...
we could have some epic game parties ...

AapoRantalainen 2018-11-03 12:05

Re: Could Open Pandora games run on N900 ?
 
About Homeworld: Actually it was not hard to get it running, because Maemo5 can run Pandora's binaries (at least the old ones).
Intro: https://youtu.be/GuxVeW1beKo
Training: https://youtu.be/5CRD3pT99zg


1)
On Maemo:
Code:

#create directory for game and it's settings
ssh user@maemo
mkdir /home/user/homeworld
mkdir /home/user/homeworld/data
mkdir /home/user/.homeworld


#install needed GL-to-GLES-wrapper
sudo gainroot
apt-get install libglshim

More info about glshim: https://talk.maemo.org/showthread.php?t=90922



2) Download Pandora-version from https://repo.openpandora.org/?page=d...d-r907&dp=true

You get file: homeworld.pnd

You can check with file-command, what pnd is (file homeworld.pnd)
Quote:

homeworld.pnd: ISO 9660 CD-ROM filesystem data 'CDROM'
Create empty directory for mountpoint and mount it (mounting needs root permission)
Code:

mkdir mp
sudo mount homeworld.pnd mp

#You need the binary itself
scp mp/homeworld user@maemo:homeworld/homeworld

#Copy config file and modify it
cp mp/Homeworld.cfg .

The very beginning is the path for data, it should be:
Quote:

HomeworldDataPath /home/user/homeworld/data/
And upload it to the device:
Code:

scp Homeworld.cfg user@maemo:/home/user/.homeworld/Homeworld.cfg
Then you can unmount mountpoint
Code:

sudo umount mp

3)
As written in 'Pandora-store', you need these datafiles from Official game:
Code:

scp devstats.dat Homeworld.big HW_Music.wxd HW_Comp.vce Update.big user@maemo:homeworld/data
4)
I suggest starting game over ssh, because then you can quit it.
Code:

ssh user@maemo
cd homeworld
./homeworld



ISSUES:
-As seen in the Training video: Game needs right-mouse-button.
-If you force quit the game (pretty much all the times), it left file ~/.homeworld/AutoLock.txt, which needs to manually deleted
-(Not seen on the videos), starting the Training or New Game loads almost 20 seconds.
-Device's screen will dim, if you are just watching the screen.

I'm waiting somebody will test this with external mouse, and reports is game playable at all :D

AapoRantalainen 2018-12-05 21:11

Re: Could Open Pandora games run on N900 ?
 
1 Attachment(s)
About Diablo2: (spoiler, not enough processing power)
This is the starting point: https://repo.openpandora.org/?page=d...ackage.diablo2
It is statically recompiled Windows executable, that was recompiled to ARM and bundled with ARM version of wine.

1) Rip game data from original game
2) Max overclock your N900 [https://wiki.maemo.org/Overclocking]
Code:

sudo gainroot
kernel-config limits 250 1150
exit


3) Install newer libc. In this case we need 2.9 or bigger. I tested with 2.10 because is more tested [https://talk.maemo.org/showthread.php?t=89467]


4) Download and extract diablo2_r4.pnd
Copy run.sh, libd2game_sa_arm.exe.so, liblauncher_arm.exe.so and wine to /home/user/diablo2

Copy game data somewhere to the device (about 1.5GB), where ever you have space. You might then need symlinks
Code:

cd /home/user/diablo2
ln -s /home/user/MyDocs/diablo2/d2char.mpq    d2char.mpq
ln -s /home/user/MyDocs/diablo2/d2data.mpq    d2data.mpq
ln -s /home/user/MyDocs/diablo2/d2exp.mpq      d2exp.mpq
ln -s /home/user/MyDocs/diablo2/d2music.mpq    d2music.mpq
ln -s /home/user/MyDocs/diablo2/d2sfx.mpq      d2sfx.mpq
ln -s /home/user/MyDocs/diablo2/d2speech.mpq  d2speech.mpq
ln -s /home/user/MyDocs/diablo2/D2xMusic.mpq  d2xmusic.mpq
ln -s /home/user/MyDocs/diablo2/d2xtalk.mpq    d2xtalk.mpq
ln -s /home/user/MyDocs/diablo2/D2XVIDEO.MPQ  d2xvideo.mpq
ln -s /home/user/MyDocs/diablo2/Patch_D2.mpq  patch_d2.mpq

5) Tune wine
Code:

cd /home/user/diablo2
mkdir -p winedata/dosdevices/
cd winedata/dosdevices/
ln -s ../drive_c c:
ln -s / z:


6) Tune wine more
Code:

sudo gainroot
mkdir /home/notaz
chown -R user:users /home/notaz
exit

mkdir -p /home/notaz/stuff/wine_arm/
ln -s /home/user/diablo2/wine /home/notaz/stuff/wine_arm/inst

7) Check run.sh has correct path and run it
Code:

cd /home/user/diablo2
./run.sh

You should see wine config (look attachment).

Press 'Start the game'

There is some graphics blinking split of seconds and then just black.

Here is some log...
Quote:

hInstance 41010000
storm: ctors done
sub_6FC03B70 4 D=S
sub_6FC03B70 4 D=A
d2fog: ctors done
bnclient: ctors done
d2launch: ctors done
d2game: ctors done
d2client: ctors done
f_StackWalkThread 0
Resizing X display to 640x480@8
hack: rejecting DDSCAPS_FLIP.
hack: rejecting DDSCAPS_FLIP.
ALSA lib pcm_pulse.c:864:(_snd_pcm_pulse_open) Unknown field handle_underrun
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
Resizing X display to 800x600@8
hack: rejecting DDSCAPS_FLIP.
hack: rejecting DDSCAPS_FLIP.
Resizing X display to 640x480@16
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured

endsormeans 2018-12-05 21:35

Re: Could Open Pandora games run on N900 ?
 
So very very sad.
sounds like a job for Nuh-nuh-NUH-nunuh!
Leste on the nexus 5 :D
(lets hope)

Hmm..
I take it there aren't any resolutions lighter than 640x480 as options for the n900 to try and cope?
actually I imagine you tried options that were as light as possible an impact on the rendering of the game...so my previous is a silly question..


weren't there open source diablo 1 or 2 clones?
perhaps they may work.

I remember playing one...
just had to look it up again...
Erebus
It may have possibility.
they made a version for the Symbian phones ...sooooo...maybe?
http://erebusrpg.sourceforge.net/

I imagine Freeablo is going to be a little too much for the n900...


All times are GMT. The time now is 01:12.

vBulletin® Version 3.8.8