Matrix Games Forums

Battle Academy is now available on SteamPlayers compare Ageods Civil War to Civil War IIDeal of the week - An updated War in the East goes half Price!Sign up for the Qvadriga beta for iPad and Android!Come and say hi at Pax and SaluteLegends of War goes on sale!Piercing Fortress Europa Gets UpdatedBattle Academy Mega Pack is now availableClose Combat: Gateway to Caen Teaser TrailerDeal of the Week Alea Jacta Est
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

It may be a small thing, but

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> It may be a small thing, but Page: [1]
Login
Message << Older Topic   Newer Topic >>
It may be a small thing, but - 1/29/2013 3:25:07 PM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline
DW is a great game. However, it is a very ill-behaved Windows program. If I alt-Tab out of the game, it is forever trying to grab the focus back. A well-behaved Windows program sits on the taskbar, with its music turned off, until I maximize it again.

This is not days and weeks of programming we're talking about here; it is a very simple fix, a competent programmer could do it in an hour tops. Yes, it would have to be tested, but you're testing other fixes all the time anyway.

Thanks for your attention.


_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.
Post #: 1
RE: It may be a small thing, but - 1/29/2013 4:01:11 PM   
Kayoz


Posts: 1369
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Morelyn

...a competent programmer could do it in an hour tops...


*twitch*

An hour? Wow, wherever you're from, your programmers are amazing!

Yes, DW does need some serious redesigning. I won't argue that - but suggesting it's a 1-hour quick fix is daft.

_____________________________

“That which can be asserted without evidence, can be dismissed without evidence.” ― Christopher Hitchens

(in reply to Morelyn)
Post #: 2
RE: It may be a small thing, but - 1/29/2013 5:10:59 PM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline
It's a simple call to a Windows function or two. Yes, an hour is about right. I've programmed this stuff.

Something like:

if (WindowState == FormWindowState.Minimized)
Hide();

and

Show();
WindowState = FormWindowState.Normal;

to show it again. There's a bit more to it than this, but it is by no means a major project.

_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.

(in reply to Kayoz)
Post #: 3
RE: It may be a small thing, but - 1/29/2013 9:52:01 PM   
Haree78


Posts: 1106
Joined: 5/18/2010
Status: offline

quote:

ORIGINAL: Morelyn

DW is a great game. However, it is a very ill-behaved Windows program. If I alt-Tab out of the game, it is forever trying to grab the focus back. A well-behaved Windows program sits on the taskbar, with its music turned off, until I maximize it again.

This is not days and weeks of programming we're talking about here; it is a very simple fix, a competent programmer could do it in an hour tops. Yes, it would have to be tested, but you're testing other fixes all the time anyway.

Thanks for your attention.



Hey dude

There's a few assumptions you are making that are probably pretty ill informed considering the maturity of Distant Worlds. You might also understand the issues using external libraries can cause or you might have considered there may be reasons why it needs to grab focus.

However I run in windowed mode with Distant Worlds and it behaves very well. I can task switch and use other apps and switch back to Distant Worlds with no issue so I'm not sure why you are getting problems.

_____________________________

Distant Worlds Extended
Battlestar Galactica Legends Mod

(in reply to Morelyn)
Post #: 4
RE: It may be a small thing, but - 1/29/2013 9:58:03 PM   
jpwrunyan


Posts: 445
Joined: 12/3/2011
From: Uranus
Status: offline
I thought DW was actually just trying to pass itself off as a full-screen mode game and that the ALT-TAB was a bug, not a feature. I use it all the time of course, but I got the impression that if they could get the game to be full-screen and disable ALT-TAB that's what they wanted to do. The fact that the game doesn't install itself into or save files in the proper windows OS directories tells me that the developer isn't completely knowledgable of windows behavior, much less best practices. Ironic since, as far as I know, this game won't run on a MAC. Who knows, maybe I did something weird and that is why DW is just in its own directory off the C: drive, but it shouldn't be.

Morelyn, you should just try to PM Erik and Eliot. I'm sure if it is an easy fix they will do it.

(in reply to Morelyn)
Post #: 5
RE: It may be a small thing, but - 1/29/2013 10:01:11 PM   
jpwrunyan


Posts: 445
Joined: 12/3/2011
From: Uranus
Status: offline
quote:

ORIGINAL: Haree78
There's a few assumptions you are making that are probably pretty ill informed considering the maturity of Distant Worlds. You might also understand the issues using external libraries can cause or you might have considered there may be reasons why it needs to grab focus.


What are they? Direct X? Not trolling. I don't know but find it interesting.

quote:


However I run in windowed mode with Distant Worlds and it behaves very well. I can task switch and use other apps and switch back to Distant Worlds with no issue so I'm not sure why you are getting problems.


I keep hearing about this Windowed mode. How do you enable it? I guess I should read the manual. I have only ever read the Galactopedia.

(in reply to Haree78)
Post #: 6
RE: It may be a small thing, but - 1/30/2013 12:15:38 AM   
Kayoz


Posts: 1369
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Morelyn

It's a simple call to a Windows function or two. Yes, an hour is about right. I've programmed this stuff.


Dunno - can't say much as I don't do C#. But a 2-line fix does seem rather optimistic - given that you know little or nothing about what 3rd party libraries he's using.

But then again, Elliot has made some bizarre decisions - such as not producing minidumps when DW crashes, which would simplify bug-reporting greatly.

_____________________________

“That which can be asserted without evidence, can be dismissed without evidence.” ― Christopher Hitchens

(in reply to Morelyn)
Post #: 7
RE: It may be a small thing, but - 1/30/2013 12:58:47 AM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline
He's using .Net, which means the language is likely either some form of C or Visual Basic. There's no need for "external libraries," what I'm talking about are Windows API calls. Windows itself provides these functions. You can call them through .Net or you could even make calls directly to the Win32 API.

I suspect that jpwrunyan is right and that the DW programmers simply aren't that comfortable with Windows programming.

In any case, it's not that big a deal, I can still alt-tab out and go about my business. It's just the way DW is constantly trying to jump up and grab the focus that's annoying. Look at a Paradox program: alt-tab and it will obediantly minimize to the taskbar, the music will stop, and you won't be bothered by it again until you decide to maximize.


_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.

(in reply to Kayoz)
Post #: 8
RE: It may be a small thing, but - 1/30/2013 5:10:29 AM   
Kayoz


Posts: 1369
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Morelyn

He's using .Net, which means the language is likely either some form of C or Visual Basic.


It's done in C#, as I thought I made quite clear in my previous post. Not VB, not C (what do you mean, "some form of"??? - What are you suggesting? Lisp?). It's C#. Which I think is quite ghastly to call "some form of C"... Have you no respect for C?

_____________________________

“That which can be asserted without evidence, can be dismissed without evidence.” ― Christopher Hitchens

(in reply to Morelyn)
Post #: 9
RE: It may be a small thing, but - 1/30/2013 9:17:33 AM   
Bingeling

 

Posts: 3100
Joined: 8/12/2010
Status: offline
Lisp rocks, but is maybe not preferred for game programming.

DW has its share of issues (performance, load times), but for me it works well in windowed mode. It may be that it does not help performance, though, but I have not checked.

Toggles for windowed mode is typically in the video options near the top. That is for games in general, and probably DW too.

(in reply to Kayoz)
Post #: 10
RE: It may be a small thing, but - 1/30/2013 11:22:55 AM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline

quote:

ORIGINAL: Kayoz


quote:

ORIGINAL: Morelyn

He's using .Net, which means the language is likely either some form of C or Visual Basic.


It's done in C#, as I thought I made quite clear in my previous post. Not VB, not C (what do you mean, "some form of"??? - What are you suggesting? Lisp?). It's C#. Which I think is quite ghastly to call "some form of C"... Have you no respect for C?


Is this tongue-in-cheek? By some form of C I meant either C++ or C#, possibly even C itself if it can be used with .Net. I have great respect for C and its variants, having programmed in all of them over the course of my career.
But of course C# evolved from C++ which in turn evolved from C so I fail to see the ghastliness.


_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.

(in reply to Kayoz)
Post #: 11
RE: It may be a small thing, but - 1/30/2013 12:09:14 PM   
Darkspire


Posts: 1582
Joined: 6/12/2003
From: My Own Private Hell
Status: online
I can C I may have to get the

Darkspire

_____________________________

Darkspires's File Repository

Dual Core E4500 2.20GHz - GeForce 8800GT (1gb) - XP 32bit 4gb with a 3gb twist and a shaking of PAE

(in reply to Morelyn)
Post #: 12
RE: It may be a small thing, but - 1/30/2013 4:40:58 PM   
Kayoz


Posts: 1369
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Morelyn

But of course C# evolved from C++ which in turn evolved from C so I fail to see the ghastliness.


Heathen! It's closer to Java than C!

_____________________________

“That which can be asserted without evidence, can be dismissed without evidence.” ― Christopher Hitchens

(in reply to Morelyn)
Post #: 13
RE: It may be a small thing, but - 1/30/2013 5:19:31 PM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline

quote:

ORIGINAL: Kayoz


quote:

ORIGINAL: Morelyn

But of course C# evolved from C++ which in turn evolved from C so I fail to see the ghastliness.


Heathen! It's closer to Java than C!


Yeah, probably. But I always rather liked Java (apart from the fact that it doesn't work....or at least it didn't used to, I don't know if it does these days. "Write once, test everywhere"). C# is sort of Java done right, if you ask me.

I accept heathen status.


_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.

(in reply to Kayoz)
Post #: 14
RE: It may be a small thing, but - 1/31/2013 12:26:52 AM   
Morelyn

 

Posts: 55
Joined: 1/29/2012
Status: offline
Incidentally, I'm apparently blind since I don't see where you set DW to run in windowed mode. Could someone please enlighten me?

_____________________________

Build a man a fire and he's warm for the rest of the night.
Set a man on fire and he's warm for the rest of his life.

(in reply to Morelyn)
Post #: 15
RE: It may be a small thing, but - 1/31/2013 2:25:27 AM   
necaradan666

 

Posts: 140
Joined: 5/28/2012
Status: offline
Window mode is lame anyway, the UI doesn't seem to scale. So if you make the window small enough to do other things while playing the interface covers nearly everyhing but a thin cross of the main gameplay screen in the center

(in reply to Morelyn)
Post #: 16
RE: It may be a small thing, but - 1/31/2013 3:44:12 AM   
Darkspire


Posts: 1582
Joined: 6/12/2003
From: My Own Private Hell
Status: online
quote:

ORIGINAL: Morelyn

Incidentally, I'm apparently blind since I don't see where you set DW to run in windowed mode. Could someone please enlighten me?


Consider thyself enlightened grasshopper

You have to edit the startup.ini file in the top level of the Distant Worlds home folder. Remove the ' from two lines, see below. Just dont ask what taking the one off hyperspeed does, think it is something to do with the distance the ships travel or somesuch. DW is like an old Moggy Minor car that keeps getting bits bolted on to make it better, hence there are defunct files here and there, like biases.txt, still as the saying goes 'If it aint broke don't fix it', DW isn't broken but it sure is wonky in some areas

'Distant Worlds startup settings

screenwidth 1024
screenheight 768
'hyperdrivespeed 1.6

Really needs a button on the secondary screen of the graphics settings under advanced options, but hey, we dont mind, there are so many other things that need a tweak up the compiler in this game this ones a minor.

Darkspire

< Message edited by Darkspire -- 1/31/2013 3:53:34 AM >


_____________________________

Darkspires's File Repository

Dual Core E4500 2.20GHz - GeForce 8800GT (1gb) - XP 32bit 4gb with a 3gb twist and a shaking of PAE

(in reply to Morelyn)
Post #: 17
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> It may be a small thing, but Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.082