Giter Site home page Giter Site logo

Comments (13)

timfel avatar timfel commented on May 24, 2024

(by pali)
Can you provide log output from cmd console when starting Wargus?

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by enkerzan)

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by enkerzan)

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by enkerzan)
Hmm... My comment did not get posted... Guess I will repeat it:

When I try to run debugger in cmd.exe it does the same thing as trying to run Wargus itself. Or it will display what I posted above in that log, it complains that there is too many files, any option I pick makes it do nothing. I also included the install log, and I watched it carefuly and I got the same install info on the log posted above, and to me it doesn't look right, so it could be the problem. This version is currently unstable without the expansion.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by erstmap)
Same issue here.

  • Original WarCraft 2 DOS Expansion CD
  • Stratagus 2.2.6
  • Wargus 2.2.6
  • Windows 7 64bit

I don't get any output from CMD.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
try to run stratagus from command line (cmd.exe) with wargus data:

cd "path_to_stratagus"
stratagus.exe -d "path_to_wargus"

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by erstmap)
Success!

Copy and pasting the Stratagus.exe into the Wargus folder works to.

Why not just package Stratagus.exe with Wargus?

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
So there is bug in wargus.exe binary.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
wargus.exe binary is using stratagus-game-launcher.h file:
http://bazaar.launchpad.net/~stratagus/stratagus/trunk/view/head:/gameheaders/stratagus-game-launcher.h

linux/ubuntu version working fine, so problem will be somewhere in #ifdef WIN32

can somebody who using windows look at this problem?

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by joris-dauphin)
I tried wargus(svn) vs stratagus(2.2.6) and it fail (normal) (I did that almost to feed registry with the installation)

Then, I tried with both svn version (wargus/stratagus),
and after fixing an error (introduced after 2.2.6) to find the data path (which creates a messageBox)
It works for me.

Note that wargus.exe is nearly just a "link" to stratagus.exe -d Drive:\Path\To\wargus
(In addition, it checks if stratagus is installed and if data is present...)

Note that, for Windows, wargus looks in registry to find stratagus.exe
(so if you install multiple version of stratagus in different folder, wargus may find a bad version of stratagus)

Last note, in the "cmd log.txt" you give, I see you use -w option which is not a valid option (case sensitive, -W exists)
but I don't understand where the 'too many files' come from :-/

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
Joris, is stratagus-game-launcher.h and wargus.exe working on your computer (with correct installation)?

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by joris-dauphin)
trunk version works for me.

from stratagus.

timfel avatar timfel commented on May 24, 2024

(by pali)
Now I found problem which cause that wargus.exe binary is now working. Problem is in stratagus-game-launcher.h - we need to escape string which contains path to data dir. Bug is fixed in bzr trunk.

from stratagus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.