Aurora 4x

VB6 Aurora => Aurora Suggestions => Topic started by: exdeathbr on March 23, 2013, 02:59:39 PM

Title: Why not add feature that auto add dot as decimal separator when the game start?
Post by: exdeathbr on March 23, 2013, 02:59:39 PM
My country use comma as decimal separator. 

To not have to change by myself the stuff I made some bat
The bat change the decimal separator to dot
open the game
and then when I quit it, it change back the decimal separator to comma

Quote
reg add "HKEY_CURRENT_USER\Control Panel\International" /v sDecimal /t REG_SZ /d .  /f
aurora
reg add "HKEY_CURRENT_USER\Control Panel\International" /v sDecimal /t REG_SZ /d , /f

This sounds like something that would be easy to code, on the game, why not add something this on the game?
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: Erik L on March 23, 2013, 04:42:36 PM
Actually Registry hacks in VB 6 are not as easy as you'd think. Much much easier in later versions of VS.
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: sloanjh on March 24, 2013, 12:17:01 PM
Plus I REALLY don't want Aurora messing with global/registry settings on my computer.  It is not commercial software, and is not guaranteed to exit gracefully.  For example of the risks, I think someone recently complained that Aurora crashed on them and left the blue/gold windows coloring scheme in place.

John
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: Gidoran on March 24, 2013, 01:32:06 PM
Plus I REALLY don't want Aurora messing with global/registry settings on my computer.  It is not commercial software, and is not guaranteed to exit gracefully.  For example of the risks, I think someone recently complained that Aurora crashed on them and left the blue/gold windows coloring scheme in place.

John

Actually I've found that Aurora just leaves that on its own, it's really rather annoying. I've gotten to saving my theme right before I boot the program to make an easy shortcut to undoing it.
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: Erik L on March 24, 2013, 02:56:44 PM
If you use the exit command in the menu, it reverts. If you use the X to close, it doesn't.
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: exdeathbr on March 24, 2013, 06:57:44 PM
Quote from: sloanjh link=topic=6003. msg61662#msg61662 date=1364145421
Plus I REALLY don't want Aurora messing with global/registry settings on my computer.   It is not commercial software, and is not guaranteed to exit gracefully.   For example of the risks, I think someone recently complained that Aurora crashed on them and left the blue/gold windows coloring scheme in place.

John
This windows theme stuff happens with me also.

Also, this aurora hack idea i am proposing here would not be default.  You would need to select in game if you want to enable that (but them, after selected next time you join the game it would auto select to you).
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: viperfan7 on May 10, 2013, 09:38:53 PM
in all honesty aurora should have been updated to VB.NET or C# long ago, I can see it being simple enough to recode for C#, but it would take A TON of time
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: Erik L on May 10, 2013, 11:27:40 PM
in all honesty aurora should have been updated to VB.NET or C# long ago, I can see it being simple enough to recode for C#, but it would take A TON of time

Agreed, but then you have the decision... "Rewrite VB6 code to current .NET, or improve/expand/fix the current code."

All comes down to how Steve sees the best use of his time.
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: AcidWeb on May 11, 2013, 01:22:26 AM
Considering that Aurora use VB6 we should be glad we can start it on modern PC at all...
Title: Re: Why not add feature that auto add dot as decimal separator when the game start?
Post by: s20dan on May 11, 2013, 10:13:15 AM
Quote from: Erik Luken link=topic=6003. msg61668#msg61668 date=1364155004
If you use the exit command in the menu, it reverts.  If you use the X to close, it doesn't.

 Odd.  On my win7x64 PC the colour scheme reverts no matter how Aurora is closed, be it 'Exit', the 'X' or Ctrl+Alt+Delete ;)