maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   OpenDUNE - Dune II remake (https://talk.maemo.org/showthread.php?t=54779)

zod 2012-01-31 11:43

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by awett (Post 1158324)
now it stops that way

Imho this is just a warning. Are you sure that opendune is not installed now? Check for /usr/games/opendune

awett 2012-01-31 11:54

Re: OpenDUNE - Dune II remake
 
edited my last post runs fine now :-)
any chance to fix the full screen issue?

zod 2012-01-31 14:25

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by awett (Post 1158324)
only think i recogniced is that this version no longer runs in full screen thank you very much your work :-)

I'ts looks like this? :
http://i44.tinypic.com/34qn5th.png

Actually there was black border from beginning. If you look Smoku's screenshots at first post, they also contain 640x400 image.
Problem is that original Dune2 runs at 320x200 resolution, so if you just double pixels, then it will be 640x400 not 640x480 (or 800x480).
So it's neccesary to stretch 200 to 240 first and then double (like it's done in ScummVM).

Estel 2012-02-01 09:51

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by zod (Post 1158299)
Added tar-gnu as dependency. Probably this fixes tar related problems.
Update your repositories and try again :)

Sorry, but why You're adding not-necessary program as dependency? Seems like very bad practice for me.

I'm satisfied enough with tar I have on my N900, and why the hell installing Dune should require tar-gnu (possibly breaking other things, that expect regular tar and it commands, not tar-gnu)?

/Estel

zod 2012-02-01 10:32

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by Estel (Post 1158818)
Sorry, but why You're adding not-necessary program as dependency? Seems like very bad practice for me

Problem is that busybox tar and tar-gnu need different arguments.

Solution is to make something like:
tar --version > /dev/null 2> /dev/null
if [ $? -ne 0 ]; then
TAR='tar x'
else
TAR='tar x --no-same-owner --no-same-permissions'
fi

Estel 2012-02-01 10:39

Re: OpenDUNE - Dune II remake
 
busybox-power tar is also lacking required arguments? all after all, busybox-power seems to be more sane thing to depend on, than tar-gnu.

Also, I don't see reason, why gnu-tar users should be "favorites" here. installing gnu-tar is "bleeding-edge" enough, to expect from people doing so, that they will be able to fix compatibility problems on their own.

Please, target Dune release on "normal" users, not noobs that messed something with their environment, and don't know how to provide 2 independent PATH'es...

/Estel

pelago 2012-02-01 11:28

Re: OpenDUNE - Dune II remake
 
Yes, I agree that depending on gnu-tar is not ideal.

zod 2012-02-01 11:35

Re: OpenDUNE - Dune II remake
 
Point taken.
Dependency now removed and version checking added.

daniel_m 2012-02-02 18:20

Re: OpenDUNE - Dune II remake
 
Great to see that you are continuing OpenDUNE!
But the latest update can't be installed on my N900 ... I get an error message about missing internet connection, which can't be since I was able to update OpenMediaPlayer ...

Mc_mice 2012-02-02 18:53

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by daniel_m (Post 1159574)
Great to see that you are continuing OpenDUNE!
But the latest update can't be installed on my N900 ... I get an error message about missing internet connection, which can't be since I was able to update OpenMediaPlayer ...

I have the same problem, tried installing with FAP and got the error. Also tried to install using terminal, got size mismatch error for the deb package.

zod 2012-02-02 21:41

Re: OpenDUNE - Dune II remake
 
Thanks for reporting. Should be fixed now.

daniel_m 2012-02-03 07:46

Re: OpenDUNE - Dune II remake
 
yes, now it's working like a charm, thanks! :-)

zod 2012-02-17 09:41

Re: OpenDUNE - Dune II remake
 
Fullscreen working now.
some screenshots
original (no streching): http://i44.tinypic.com/34qn5th.png
stretched by y-axis: http://tynipic.com/images/bfi1329466590k.png
fullscreen:http://tynipic.com/images/bwy1329466687a.png

todo:add bilinear filtering and/or try scale2x or hq2x algorithm.

whisk4s 2012-02-17 18:50

Re: OpenDUNE - Dune II remake
 
The installation fails with
Code:

mv: can't preserve ownership of '/home/user/MyDocs/Games/DUNE2/ballast': Operation not permitted
 mv: can't preserve ownership of '/home/user/MyDocs/Games/DUNE2/dune.cfg': Operation not permitted
 mv: can't preserve ownership of '/home/user/MyDocs/Games/DUNE2/put_dune2_here.txt': Operation not permitted

Afterwards the game does not start. It seems to crash the hildon-desktop, as briefly there are no window decorators in other open windows. Also the catorise menu is empty briefly after an unsuccessful game start.

Installed today, version is 0.7.2555-maemo6.

zod 2012-02-17 19:28

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by whisk4s (Post 1166326)
The installation fails with[code]mv: can't preserve ownership of '/home/user/MyDocs/Games/DUNE2/ballast': Operation not permitted

These are warnings only, reason is that /home/user/MyDocs/ is fat32 filesystem.
Quote:

Originally Posted by whisk4s (Post 1166326)
Afterwards the game does not start. It seems to crash the hildon-desktop, as briefly there are no window decorators in other open windows. Also the catorise menu is empty briefly after an unsuccessful game start.

This one is weird. Could anybody confirm that.
Could you also post output of
Code:

ls -l /home/user/MyDocs/Games/DUNE2/

whisk4s 2012-02-17 20:02

Re: OpenDUNE - Dune II remake
 
Code:

ls -l /home/user/MyDocs/Games/DUNE2/
-rw-r--r--    1 user    root          10 Feb 17 09:10 dune.cfg
-rw-r--r--    1 user    root            0 Feb 17 09:10 put_dune2_here.txt

Ok, it seems I missed the part where I have to copy ye olde dune2 to the folder. But still, I interpret the install script as FAIL. And so does FapMan. Now the package is in limbo state until I install/remove something else? This should not happen...
And let's see if I'm the only one with the hildon-crash. KP49 and CSSU-T installed. Maybe there is a conflict?

zod 2012-02-17 20:48

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by whisk4s (Post 1166345)
...

Seems that dune2 data files were not downloaded correctly during install. I will investigate it soon.

EDIT: New version pushed to extras-devel. Hopefully this bug is gone now. Just upgrade and let me know if that didn't help.

whisk4s 2012-02-18 17:58

Re: OpenDUNE - Dune II remake
 
Thank you very much, zod. Now it installs and starts flawlessly.

Actually since my install was still in limbo state, I kept the old version and just replaced the old postinst in /var/lib/dpkg/info/opendune.postinst.

zod 2012-03-22 12:37

Re: OpenDUNE - Dune II remake
 
Vote and promote OpenDune to extras!
http://maemo.org/packages/package_in...7.2555-maemo7/

rfeese 2012-03-22 20:43

Re: OpenDUNE - Dune II remake
 
This version seems to work well. I like the new full screen mode. Scrolling via touch screen used to work somehow I thought (click near the edge?). Also, I think the mouse cursor used to be hidden, but I guess that is personal preference.

Edit: Never mind, I guess the mouse scrolling (click and hold near edge) still works, it works better with the stylus.

zod 2012-03-26 12:58

Re: OpenDUNE - Dune II remake
 
1 Attachment(s)
Quote:

Originally Posted by rfeese (Post 1182933)
This version seems to work well. I like the new full screen mode. Scrolling via touch screen used to work somehow I thought (click near the edge?). Also, I think the mouse cursor used to be hidden, but I guess that is personal preference.

Edit: Never mind, I guess the mouse scrolling (click and hold near edge) still works, it works better with the stylus.

Never used edge scrolling, using mini-map is much more user-friendly.

Attached version without cursor. imho opendune with mouse cursor is more playable.
Maybe some middle version would be better - only show crosshair when moving or targeting.

Estel 2012-03-26 15:43

Re: OpenDUNE - Dune II remake
 
Version that read user preferences - even if from little text file - would be best ;)

SovietStriker 2012-03-31 14:54

Re: OpenDUNE - Dune II remake
 
The full screen really makes a difference compared to the old black borders. Great work, it makes it alot more playable for me

Edit: Also any word on the music support?

snusmu 2012-04-01 21:28

Re: OpenDUNE - Dune II remake
 
hi,

when i installed game 2 days ago, it seemed to work - the demo started going but i force quitted the game because i couldnt skip through the demo.

i was very happy and grateful to see this game with which i spent days and days in my teenagehood

but today i tried to open it and it doesn't start - it loads the black screen, then i hear a short click (as if it tries to load the sound) and then it crashes/disappears

i tried also running it in the shell, with root

if i do:

Code:

sudo gainroot
cd /opt/usr/games/
./opendune.sh

i get same result as described

the console output is:

Code:

[EMU] [INT21:3D] Requesting mode '20' which is not completely supported

[EMU] [INT21:3D] Requesting mode '20' which is not completely supported

Home directory /home/user not ours

Home directory /home/user not ours

Program Termination: jumped to 01F7:42A7, which is not decompiled

The jump was triggered at decompiled/cs__01F7.c:9091
The jump appears to originate from 01F7:42A4
Please send the file 'memory/crash.bin' to upstream developers.

Creating crash-dump ...
Crash dump in 'memory/crash.bin'


I tried uninstalling and installing again with same result..

help?

snusmu 2012-04-01 21:32

Re: OpenDUNE - Dune II remake
 
ps. if i run it not as a root, i get same output except i dont get the lines about home dir ownership but i do get error message about impossibility to create crash log (failed to open memory/crash.bin)

other games and emulators, f.ex. scummvm(20 games), gemrb(baldurs gate,icewind dale), heroes of might and magic run ok.

zod 2012-04-02 06:33

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by snusmu (Post 1186951)
hi,
but today i tried to open it and it doesn't start - it loads the black screen, then i hear a short click (as if it tries to load the sound) and then it crashes/disappears

Which version you are using? opendune 0.3-1maemo7 from extras or opendune 0.7.2555-maemo7 from extras devel?
I can see cs__01F7.c in output, so it should be older one.

If you don't want to enable extras-testing then vote here: http://maemo.org/packages/package_in...7.2555-maemo7/ - one vote missing :)

Quote:

Originally Posted by snusmu (Post 1186951)
hi,
when i installed game 2 days ago, it seemed to work - the demo started going but i force quitted the game because i couldnt skip through the demo.

Yes, you can't skip demo when there are no savegames.

zod 2012-04-02 08:46

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by SovietStriker (Post 1186505)
Edit: Also any word on the music support?

Alsa is disabled because it causes massive lag and music was still missing.
I'll try to debug this issue.

SovietStriker 2012-04-05 21:30

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by zod (Post 1187127)
Alsa is disabled because it causes massive lag and music was still missing.
I'll try to debug this issue.

No problem if it causes massive lag dont bother, the game plays at a great speed with just sound effects.

chill 2017-02-19 12:18

Re: OpenDUNE - Dune II remake
 
I tried starting it after a long time. It worked ok on my N900 before, but now it wouldn't. I tried uninstalling and reinstalling, but the installation said a package called bzip2 was missing.

mrsellout 2017-02-19 18:54

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by chill (Post 1523740)
I tried starting it after a long time. It worked ok on my N900 before, but now it wouldn't. I tried uninstalling and reinstalling, but the installation said a package called bzip2 was missing.


Are you using alternative repos since the Nokia's shut?
Eg. see here:
http://wiki.maemo.org/Repository#fre...ources.list.29

or
https://talk.maemo.org/showthread.php?t=95870


There's a direct link to the required packages for bzip2 in this thread if you're stuck:
https://talk.maemo.org/showthread.php?t=72260

chill 2017-02-23 08:31

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by mrsellout (Post 1523749)
Are you using alternative repos since the Nokia's shut?
Eg. see here:
http://wiki.maemo.org/Repository#fre...ources.list.29

or
https://talk.maemo.org/showthread.php?t=95870


There's a direct link to the required packages for bzip2 in this thread if you're stuck:
https://talk.maemo.org/showthread.php?t=72260

Thanks, that fixed the bzip2 problem, but after the installation procedure (with the Application manager), I get the yellow popup window saying OpenDune cannot install. And the mystery still remains why it stopped working in the first place.

zod 2017-02-23 12:04

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by chill (Post 1523925)
I get the yellow popup window saying OpenDune cannot install.

Probably because postinst tries to download from dead links. fixed.
I also tried to upgrade to latest version but there are some problems with sound. Needs more investigation.

chill 2017-02-23 13:16

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by zod (Post 1523929)
Probably because postinst tries to download from dead links. fixed.
I also tried to upgrade to latest version but there are some problems with sound. Needs more investigation.

Still won't install. I actually see it installed and there are opendune files and I can successfully uninstall it, but there is no OpenDune icon so I can't start the game.
(this is not new, it was happening when I first saw a problem a few days ago)

chill 2017-02-23 15:26

Re: OpenDUNE - Dune II remake
 
So it looks like what originally happened was that OpenDune would not start because it could not find dune,cfg in MyDocs/games/DUNE2, and this is because my MyDocs got destroyed. This a guess, though.

Then, running opendune.sh from /home/opt/usr/games, it compains it cannot load the data file. The data file should, I guess, come from /usr/share/games/opendune/data, which has a put_dune2_here.txt file.

To summarize, I think originally OpenDune could not run because of my MyDocs mishap, and now it won't run because the fresh install is not correct.

zod 2017-02-23 15:57

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by chill (Post 1523938)
To summarize, I think originally OpenDune could not run because of my MyDocs mishap, and now it won't run because the fresh install is not correct.

In my /usr/share/games/opendune folder there are 'data' symlink to '/home/user/MyDocs/Games/DUNE2/' folder. You copied/already have original dune files in /usr/share/games/opendune/data/?
You can also check output of 'apt-get remove opendune' and 'apt-get install opendune'. Installer should download data files for you but I think postinstall script fails for some reason.

chill 2017-02-23 18:19

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by zod (Post 1523941)
In my /usr/share/games/opendune folder there are 'data' symlink to '/home/user/MyDocs/Games/DUNE2/' folder. You copied/already have original dune files in /usr/share/games/opendune/data/?
You can also check output of 'apt-get remove opendune' and 'apt-get install opendune'. Installer should download data files for you but I think postinstall script fails for some reason.

No, my files are different:

/usr/share/games/opendune $ cd data
/usr/share/games/opendune/data $ ls
dune.cfg put_dune2_here.txt

~/MyDocs/Games/DUNE2 $ ls
~/MyDocs/Games/DUNE2 $

Ok will check apt-get.

chill 2017-02-24 12:15

Re: OpenDUNE - Dune II remake
 
Here is what happened:

Nokia-N900:~# apt-get install opendune
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bzip2
The following NEW packages will be installed:
bzip2 opendune
0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.
Need to get 243kB of archives.
After this operation, 631kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
bzip2
Install these packages without verification [y/N]? y
Get:1 http://maemo.muarf.org ./ bzip2 1:1.0.5-3+0m5 [51.5kB]
Get:2 http://repository.maemo.org fremantle/free opendune 0.7.2555-maemo9 [192kB]
Fetched 243kB in 3s (65.9kB/s)
Selecting previously deselected package bzip2.
(Reading database ... 37880 files and directories currently installed.)
Unpacking bzip2 (from .../bzip2_1%3a1.0.5-3+0m5_armel.deb) ...
Selecting previously deselected package opendune.
Unpacking opendune (from .../opendune_0.7.2555-maemo9_armel.deb) ...
Setting up bzip2 (1:1.0.5-3+0m5) ...
Setting up opendune (0.7.2555-maemo9) ...
ln: /opt/maemo/usr/share/games/opendune/data: No such file or directory
dpkg: error processing opendune (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
opendune
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#

zod 2017-02-24 20:59

Re: OpenDUNE - Dune II remake
 
try 'apt-get update' first, I pushed opendune 0.7.2555-maemo10 to repositories yesterday. Then 'apt-get remove opendune' (if you have opendune already installed).
You can also try 'rm -rf /opt/maemo/usr/share/games/opendune/data'
If that doesn't help you can delete (or create) /opt/maemo/usr/share/games/opendune

chill 2017-03-02 14:12

Re: OpenDUNE - Dune II remake
 
Quote:

Originally Posted by zod (Post 1524037)
try 'apt-get update' first, I pushed opendune 0.7.2555-maemo10 to repositories yesterday. Then 'apt-get remove opendune' (if you have opendune already installed).
You can also try 'rm -rf /opt/maemo/usr/share/games/opendune/data'
If that doesn't help you can delete (or create) /opt/maemo/usr/share/games/opendune

I tried. It looks like what helps is creating /opt/maemo/usr/share/games/opendune/data
(it's not there before I attempt an install, and it's not there after the faulty install)

Then during install, there is a progress window saying it's downloading data - I've never seen that before.

Then once it's finished, there is a correct Dune icon in the list of apps, and there are files in the data directory - cool - but tapping on the icon does not start Dune.

zod 2017-03-05 15:12

Re: OpenDUNE - Dune II remake
 
I suspect that this package was broken at last three years :(
New version is in repos and this time I also included updated scenario.pak file.

Try to update your repositries (apt-get update) and try to uninstall&install opendune once more.
Thank you for your patience!


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

vBulletin® Version 3.8.8