Stratagus 2.2.4 start problem
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JohnFante
    Posts: 142 from 2006/9/4
    From: Copenhagen
    I have installed Stratagus but I get a lot of Can't open file errors when I try to launch.

    After a couple of trys I found an original Warcraft 2 that compiled fine and I now have a data.wc2 folder (with files) in my stratagus folder. But everytime I try to launch with stratagus -d data.wc2 I get the following error:

    <code>Stratagus default config file loading ...

    Can't open file 'preferences.lua': No such file or directory
    Can't open file `neutral/units/warthog/selected/1.wav'
    Can't load the sound `neutral/units/warthog/selected/1.wav'
    Can't open file `neutral/units/warthog/annoyed/1.wav'
    Can't load the sound `neutral/units/warthog/annoyed/1.wav'
    Can't open file `human/units/alleria/acknowledgement/1.wav'
    Can't load the sound `human/units/alleria/acknowledgement/1.wav'
    Can't open file `orc/units/teron_gorefiend/acknowledgement/1.wav'
    Can't load the sound `orc/units/teron_gorefiend/acknowledgement/1.wav'
    Can't open file `human/units/kurdan/acknowledgement/1.wav'
    Can't load the sound `human/units/kurdan/acknowledgement/1.wav'
    Can't open file `orc/units/dentarg/acknowledgement/1.wav'
    Can't load the sound `orc/units/dentarg/acknowledgement/1.wav'
    Can't open file `human/units/khadgar/acknowledgement/1.wav'
    Can't load the sound `human/units/khadgar/acknowledgement/1.wav'
    Can't open file `orc/units/grom_hellscream/acknowledgement/1.wav'
    Can't load the sound `orc/units/grom_hellscream/acknowledgement/1.wav'
    Can't open file `orc/units/deathwing/acknowledgement/1.wav'
    Can't load the sound `orc/units/deathwing/acknowledgement/1.wav'
    Can't open file `human/units/turalyon/acknowledgement/1.wav'
    Can't load the sound `human/units/turalyon/acknowledgement/1.wav'
    Can't open file `human/units/danath/acknowledgement/1.wav'
    Can't load the sound `human/units/danath/acknowledgement/1.wav'
    Can't open file `orc/units/korgath_bladefist/acknowledgement/1.wav'
    Can't load the sound `orc/units/korgath_bladefist/acknowledgement/1.wav'
    Can't open file `human/units/alleria/selected/1.wav'
    Can't load the sound `human/units/alleria/selected/1.wav'
    Can't open file `human/units/danath/selected/1.wav'
    Can't load the sound `human/units/danath/selected/1.wav'
    Can't open file `human/units/khadgar/selected/1.wav'
    Can't load the sound `human/units/khadgar/selected/1.wav'
    Can't open file `human/units/kurdan/selected/1.wav'
    Can't load the sound `human/units/kurdan/selected/1.wav'
    Can't open file `human/units/turalyon/selected/1.wav'
    Can't load the sound `human/units/turalyon/selected/1.wav'
    Can't open file `orc/units/deathwing/selected/1.wav'
    Can't load the sound `orc/units/deathwing/selected/1.wav'
    Can't open file `orc/units/dentarg/selected/1.wav'
    Can't load the sound `orc/units/dentarg/selected/1.wav'
    Can't open file `orc/units/grom_hellscream/selected/1.wav'
    Can't load the sound `orc/units/grom_hellscream/selected/1.wav'
    Can't open file `orc/units/korgath_bladefist/selected/1.wav'
    Can't load the sound `orc/units/korgath_bladefist/selected/1.wav'
    Can't open file `orc/units/teron_gorefiend/selected/1.wav'
    Can't load the sound `orc/units/teron_gorefiend/selected/1.wav'
    Can't open file `human/units/alleria/annoyed/1.wav'
    Can't load the sound `human/units/alleria/annoyed/1.wav'
    Can't open file `human/units/danath/annoyed/1.wav'
    Can't load the sound `human/units/danath/annoyed/1.wav'
    Can't open file `human/units/khadgar/annoyed/1.wav'
    Can't load the sound `human/units/khadgar/annoyed/1.wav'
    Can't open file `human/units/kurdan/annoyed/1.wav'
    Can't load the sound `human/units/kurdan/annoyed/1.wav'
    Can't open file `human/units/turalyon/annoyed/1.wav'
    Can't load the sound `human/units/turalyon/annoyed/1.wav'
    Can't open file `orc/units/deathwing/annoyed/1.wav'
    Can't load the sound `orc/units/deathwing/annoyed/1.wav'
    Can't open file `orc/units/dentarg/annoyed/1.wav'
    Can't load the sound `orc/units/dentarg/annoyed/1.wav'
    Can't open file `orc/units/grom_hellscream/annoyed/1.wav'
    Can't load the sound `orc/units/grom_hellscream/annoyed/1.wav'
    Can't open file `orc/units/korgath_bladefist/annoyed/1.wav'
    Can't load the sound `orc/units/korgath_bladefist/annoyed/1.wav'
    Can't open file `orc/units/teron_gorefiend/annoyed/1.wav'
    Can't load the sound `orc/units/teron_gorefiend/annoyed/1.wav'
    ... ready!

    Stratagus V2.2.4, (c) 1998-2006 by The Stratagus Project.
    written by Lutz Sammer, Fabrice Rossi, Vladi Shabanski, Patrice Fortier,
    Jon Gabrielson, Andreas Arens, Nehal Mistry, Jimmy Salmon, and others.
    (http://stratagus.org)
    Compile options ZLIB BZ2LIB OPENGL

    Stratagus may be copied only under the terms of the GNU General Public License
    which may be found in the Stratagus source kit.

    DISCLAIMER:
    This software is provided as-is. The author(s) can not be held liable for any
    damage that might arise from the use of this software.
    Use it at your own risk.

    Invalid graphic (width, height) ui/fonts/game.png
    Expected: (13,14) Found: (210,196)</code>

    Looks like it can't find the required files. Am I giving a worng command?

    Any suggestions on what I am doing wrong?

    [ Edited by JohnFante on 2010/1/11 6:00 ]
  • »10.01.10 - 18:07
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    XzIt
    Posts: 250 from 2005/1/19
    From: Norway
    Same here some error about the fonts..

    Error message: "Invalid graphic (width, height) ui/fonts/game.png
    Expected: (13,14) Found: (210,196) "

    soo i tried to scale the game.png file down to size, now game starts but cant read the fonts :(( Help plz

    Xzit of Apathy
  • »09.02.10 - 10:59
    Profile Visit Website
  • Caterpillar
    Caterpillar
    micken
    Posts: 38 from 2004/6/7
    I have the same problems ..

    How do I make it to work ?
    MorphOS hangaround :)
  • »12.03.10 - 15:15
    Profile
  • Caterpillar
    Caterpillar
    micken
    Posts: 38 from 2004/6/7
    I had the wrong version , works now :)
    MorphOS hangaround :)
  • »13.03.10 - 17:38
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JohnFante
    Posts: 142 from 2006/9/4
    From: Copenhagen
    The wrong version of the original game?

    Where did you find that?
  • »14.03.10 - 07:00
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    NewSense
    Posts: 509 from 2012/11/10
    From: Manchester, Gr...
    I found out, eventually after various failed attempts, that the BattleNet edition of Stratagus is NOT supported (though it's written as "... now work ... " in the ReadMe) with Stratagus v2.2.4.

    Anyway, I acquired a copy of the UK/Australian DOS CD of the game, but when I eventually worked out that the build.sh script has to be run from Shell, after 'CD'-ing to the directory where the unarchived Stratagus files are and issuing the "build.sh -p cd0:" request in the Shell so that the CD is then correctly accessed and the files are converted into the data.wc2 folder.

    However, after I did that - after I run/start the game, I still get a message after the default config file has apparently loaded that is basically the same as John Fante asked, back in 2010 - in the above comment in this thread:

    Anyway, JohnFante's question (there is no 'preferences.lua' file, and the sound files do not seem to load at all, so even now does not seem to have been answered fully, so I wondered if anyone could explain if there is a way to fix the files that I have from the CD I own, that still seem to be missing the preferences.lua file, and the sound files that seem to be archived in their folder though they can easily be unarchived, but that does not seem to fix the problem with them being read/unarchived on-the-fly, if that's the way it is supposed to work.

    As the MorphOS 'build.sh' conversion of the WarCraft 2 files from CD into the Stratagus v2.2.4 folder is still creating these problems that won't allow the game to run, so if anyone knows how to fix these issues please offer some useful advice, for everyone to use this archive as it was intended.

    [ Edited by NewSense 14.02.2017 - 20:10 ]
    Mac Mini 1.5GHz, Model 10.2, 64MB VRam, 250GB HDD, 1GB RAM, Airport, Bluetooth, Wireless Keyboard & Mouse, DVD-RW-DL+CD-RW, Iomega MiniMax, Belkin 6 port 3 x Firewire/3 x USB2, MorphOS 3.9, Mac OS X 10.4 & 10.5 & A1138 Powerbook MOS v3.9, Model 5,8
  • »14.02.17 - 21:00
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Cool_amigaN
    Posts: 432 from 2011/11/30
    Well, Stratagus never worked for me either. Isn't easier for anyone that has the correct version and has sucessfully installed the game to make an ahem... lha pack out of it and upload it? Me won't tell to anyone :X
    Amiga gaming Tribute: Watch, rate, comment :)
  • »14.02.17 - 21:54
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    NewSense
    Posts: 509 from 2012/11/10
    From: Manchester, Gr...
    Glad it's not just me that's having this problem, then, but it doesn't solve what needs fixing, so I can only hope for some update/reply from Kiero or someone else coming up with a solution, but thanks for the input anyway, appreciated ;-)
    Mac Mini 1.5GHz, Model 10.2, 64MB VRam, 250GB HDD, 1GB RAM, Airport, Bluetooth, Wireless Keyboard & Mouse, DVD-RW-DL+CD-RW, Iomega MiniMax, Belkin 6 port 3 x Firewire/3 x USB2, MorphOS 3.9, Mac OS X 10.4 & 10.5 & A1138 Powerbook MOS v3.9, Model 5,8
  • »15.02.17 - 02:34
    Profile