Notices


Reply
Thread Tools
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#31
Can you post the directory structure of /media/mmc1/games/stratagus?
 
Michiel's Avatar
Posts: 18 | Thanked: 2 times | Joined on Sep 2007 @ Eindhoven, Netherlands
#32
ofcourse, it's a straight copy from what Wargus extracted:

Links to images of directory structure (it's exactly the same on memorycard in N800)

Part 1
Part 2
Part 3

I should add; it works perfectly on PC (windowsXP)
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#33
Are you sure everything is copied? Could you connect it to your PC and run the PC stratagus with the same data?
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#34
Originally Posted by Michiel View Post
Links to images of directory structure (it's exactly the same on memorycard in N800)
As an aside, unless i'm misremembering, you can capture the output of tree on windows with output redirection, e.g. tree > mydirtree.txt
 
Posts: 1 | Thanked: 0 times | Joined on Feb 2008
#35
Originally Posted by Nathan View Post
Very Interesting, I've got the title music working. Unfortunately the game doesn't support MP3 or OGG so you have to use either a WAV or a .WAV compressed with gzip (maybe bzip, haven't tried it but the source code supports it) to at least take a bit (about 1/5th) of size off of it.

Man I forgot how much I loved the WC music until I heard it coming out of my N810... :-D

Someone else has a simple LUA patch to add file based music instead of CD music. I'll convert it to wav format patch and then if you really want to "waste" 20-30 megs of space for the music (like me) you can. ;-)

Once I have ported it -- I'll let post the simple replacement script file. In the meantime you can download the "official WCII MP3" from several sites on the web (22 megs) -- Blizzard released them a while back.

Nathan.
If you do not wish to dload 20-30M of mp3s, an alternative is to download the midi files that amounts to <150K. Then use timidity to convert the mid files to ogg,mp3 or wav.

Garage appears to contain a Timidity player but i'd imagine the cpu load would be too high for ingame music. One alternative may be to convert the midi files to mod format. Mod files are somewhat smaller than mp3s and playback cpu load would be low.

You mentioned a lua patch. I've been unable to get DefinePlaySections working in sound.lua. Any info would be useful.

Pete
 
Posts: 54 | Thanked: 6 times | Joined on Feb 2006
#36
I am getting the same errors reporting the preferences.lua and .wav files missing.

At the end of the error messages is one final one that seems to be stopping it:

"Invalid graphic (width, height) ui/fonts/small.png
Expected: (7,6) Found: (90,84)
terminate called without an active exception
Aborted"

This is with executing from xterm with -v 1 or -v 2. I am using the latest OS2008 (51-3) on a N800.

Can someone send me their ui/fonts/small.png file?
 
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#37
I am waiting to get my n800 and after that I will check the whole port. I have a plan to support original sound track if it possible without decreasing game speed and current frame rate.

Meanwhile I am trying to port Widelands and now it works fine ... I just have to remove the last edges and will make the package.

Last edited by linman; 2008-02-26 at 22:26.
 

The Following User Says Thank You to linman For This Useful Post:
Posts: 54 | Thanked: 6 times | Joined on Feb 2006
#38
Thanks! Replacing small.png seemed to make it work.

I've attached it here in case anyone else needs it... It goes in the /media/mmc1/games/stratagus/graphics/ui/fonts/ folder.
Attached Images
 

Last edited by pearl62; 2008-02-27 at 00:34.
 
Posts: 54 | Thanked: 6 times | Joined on Feb 2006
#39
It starts now, but crashes within just a few minutes. Not sure why...
 
linman's Avatar
Posts: 58 | Thanked: 49 times | Joined on Feb 2008
#40
Originally Posted by pearl62 View Post
It starts now, but crashes within just a few minutes. Not sure why...
See this http://www.internettablettalk.com/fo...7&postcount=17
__________________
while (FALSE == FALSE) fork();
 
Reply


 
Forum Jump


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