Comments (7)
(by pali)
Can you specify version of Stratagus and Wargus and system which you are using? And will be good if you attach screenshot of your problem.
from stratagus.
(by zdmaster)
Wargus & Stratagus 2.2.5.5, OS Windows 7, netbook acer aspire one D250 (Atom N270 1.6 ГГц; chipset intel 945GSE) Screenshot in attach
from stratagus.
(by zdmaster)
Check on my PC with windows7, the same problem.
Checked on another PC with windows XP SP3, the same problem.
from stratagus.
(by pali)
When I changed video resolution to 800x600 on Windows XP videos are played correctly.
I try find problem in stratagus, but everything seens be OK. I recompile Stratagus for Windows using old i586-mingw32-msvc cross compiler (with all depends libs) and all videos in all video mode are now played correctly.
So this is not problem in Stratagus, but in some win32 libs/compiler. So closing bug as invalid. As temporary solution I reupload Stratagus builds for Windows in some days... Next I try find which windows library (or compiler) do this bad bug. Maybe it will be SDL or vorbis or ogg...
from stratagus.
(by pali)
When I changed video resolution to 800x600 on Windows XP videos are played correctly.
I try find problem in stratagus, but everything seens be OK. I recompile Stratagus for Windows using old i586-mingw32-msvc cross compiler (with all depends libs) and all videos in all video mode are now played correctly.
So this is not problem in Stratagus, but in some win32 libs/compiler. So closing bug as invalid. As temporary solution I reupload Stratagus builds for Windows in some days... Next I try find which windows library (or compiler) do this bad bug. Maybe it will be SDL or vorbis or ogg...
from stratagus.
(by pali)
Problem is in SDL library. When I builded this library (version 1.2.14) with cross compiler i586-mingw32msvc-gcc (from ubuntu package mingw32) Stratagus video worked fine without problem. When I builded same version of SDL but with cross compiler i686-w64-mingw32-gcc (from ubuntu package gcc-mingw-w64) this problem appeared.
SDL library compiled with i586-mingw32msvc-gcc working fine without problems. When I used SDL compiled with i686-w64-mingw32-gcc, videos worked only in screen resolution 640x480. So problem is that SDL damage screen when must scale video.
Compiler i586-mingw32msvc-gcc is using gcc version 4.2.1 and this compiler is only 32bit and now not developed. Compiler i686-w64-mingw32-gcc is using gcc 4.6.1 and is part of project mingw-w64 (support both 32 and 64bit compilers) and replace old mingw32msvc. So using old i586-mingw32msvc-gcc is not good idea in these days (generated code does not have to be compatible with mingw-w64).
I compiled test video overlay programs in SDL packages (with SDL library) and all worked fine (with scaling) in both compilers.
My question is: Why one compiler compile SDL and Stratagus binary with worked video playback and other compiler not? And why both compiler produce working example video programs?
So in Stratagus is may be bug which appears only in new (maybe strict) compilers and only in Windows. Tested on more Linux versions and this bug I was not able to reproduce.
Moving to project Stratagus and reopening this bug because maybe Stratagus has Windows SDL bug and we must decide what to do with SDL and how to compile...
from stratagus.
(by pali)
New release 2.2.6 is linked with SDL compiled by i586-mingw32msvc-gcc and vidoes are working with any resolution. This is really problem with gcc compiler or SDL library itself. Now solution with using SDL compiled with old compiler working, so closing this bug as invalid in Stratagus.
from stratagus.
Related Issues (20)
- Wargus 3.3.2 - Bug Extraction process HOT 5
- Wargus - Network out of sync in Single Player Campaign HOT 12
- building tolua.cpp.o: try to execute -L in sh HOT 1
- try to build with /usr/include/lua.h rather than /usr/include/lua-5.1/lua.h (I think) HOT 2
- Documentation typo/incorrect information? HOT 6
- Unexpected behavior when upgrading units to units with lower maximum health HOT 1
- Stratagus failed to load game data. HOT 1
- build stratagus make fatal error: mdns.h HOT 5
- Broken CI with icon with linuxdeploy HOT 2
- Network Desync. HOT 7
- Red Humans Glitch when loading games, followed by a Crash. (War1gus)
- crash on startup HOT 5
- PLEASE modify the uninstaller
- Warcraft 3 HOT 1
- [macOS] Regression: Black text on main menu in Wargus (Stratagus bug) HOT 5
- Crash to desktop when upgrading/morphing unit that is carrying resources into one that cannot
- [CRASH][wc1] Assertion failed RefsIncrease: !Refs || (Refs && !Destroyed) HOT 1
- Trigger: LoadGame memory issue by adding more triggers
- Pathfinder: Bad handling of failure results HOT 1
- [macOS] Crash when exiting program - Wargus & War1gus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratagus.