Author Topic: Updated application icons  (Read 16843 times)

0 Members and 1 Guest are viewing this topic.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #35 on: September 27, 2013, 04:58:16 PM »
@An_dz

I did reduce your Windows Icons a bit. For example, a 256x256 in 256 colours isn't supported in any of the Windows versions. So I removed the sizes and colour versions not specified by Microsoft for an application icon. I have not rescaled or changed any pixels, only removed the some formats.
Sorry to say but you're wrong. "Icon files require 8-bit and 4-bit palette versions as well, to support the default setting in a remote desktop."

There's also a note that 40x40 format is recommended for crisper look on Alt+Tab.

Do you have more application icons for Release candidate and debug? :P
We can use the "Experimental Icon", I made the icon but later figured it doesn't fit Simutrans Experimental.

Offline Max-Max

Re: Updated application icons
« Reply #36 on: September 28, 2013, 02:19:56 AM »
Under the nice colour picker image we can read:
-"Only a 32-bit copy of the 256x256 pixel image should be included, and only the 256x256 pixel image should be compressed to keep the file size down."

Sure we can add all sizes that Windows automatically does by itself, scaling between 32 and 256 with pretty good result. As long it doesn't add anything to the quality of the image I don't see why we should add them. The icon files can be quite big if all sizes and colour versions are added.

Anyway, you are the artist and it is your icon, you decide ;)

Quote
We can use the "Experimental Icon", I made the icon but later figured it doesn't fit Simutrans Experimental.
Since a release candidate is between a nightly and a release, I was thinking of the Simutrans icon with a sunrise :) What do you think?

...and one overlay image for debug compiled maybe?
I'm writing the resource script so it will use different application icons depending on the compile settings such as Debug, and Simutrans versions (nightly, release candidate and release).
- My code doesn't have bugs. It develops random features...

Offline kierongreen

Re: Updated application icons
« Reply #37 on: September 28, 2013, 02:38:52 AM »
8 and 4 bit versions really won't add much to filesize. Not that I'd like to try and use Simutrans over remote desktop!

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #38 on: September 28, 2013, 05:37:18 AM »
Under the nice colour picker image we can read:
-"Only a 32-bit copy of the 256x256 pixel image should be included, and only the 256x256 pixel image should be compressed to keep the file size down."
Thanks, should have read fully.

Since a release candidate is between a nightly and a release, I was thinking of the Simutrans icon with a sunrise :) What do you think?
Nice idea. Night -> Dawn -> Day

...and one overlay image for debug compiled maybe?
Don't get it. Can't we use the experimental icon?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #39 on: September 28, 2013, 07:44:25 AM »
8 and 4 bit versions really won't add much to filesize. Not that I'd like to try and use Simutrans over remote desktop!

One might still see the icon if one logs remotely onto a machine that is used to play Simutrans locally.

Offline Max-Max

Re: Updated application icons
« Reply #40 on: September 28, 2013, 01:45:57 PM »
One might still see the icon if one logs remotely onto a machine that is used to play Simutrans locally.
If there isn't a 4 or 8 bit available, Windows will generate one. How ever I'm not opposing the 4- or 8- bit versions, just the not so common sizes...

***EDIT***
@An_dz
The Simutrans versions Release, Release Candidate and Nightly are set by a define in the code. When compiling the target can be release or debug where debug adds debug information. Any of the Simutrans versions can be compiled as a debug version.

To easily see if  the target was a release or debug I was thinking to put an debug overly on each of the 3 Simutrans icons.
« Last Edit: September 28, 2013, 08:02:00 PM by Max-Max »
- My code doesn't have bugs. It develops random features...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 304
  • Helpful: 229
  • Languages: De,EN,JP
Re: Updated application icons
« Reply #41 on: September 28, 2013, 08:10:10 PM »
I always release debug builds on sourceforge, so an overlay would not make sense.

Offline Max-Max

Re: Updated application icons
« Reply #42 on: September 28, 2013, 08:22:31 PM »
I always release debug builds on sourceforge, so an overlay would not make sense.
Does every one know that it is a debug build? And if you have one release build and one debug build, how do you tell the difference ???
It makes sense for anyone working locally and debugging before a patch is created. A debug version can slow down the code and it is good to be able to see why Simutrans runs slower than usual...  :o

***EDIT***
Another way to do it is to add (debug) after the version "Version 112.4 Sep 28 2013 r990:991M (debug)" (in fact this is what I usually do in all software I write). The release target will not have anything added...

Maybe this is better than the icon overlay...
« Last Edit: September 28, 2013, 08:32:45 PM by Max-Max »
- My code doesn't have bugs. It develops random features...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 304
  • Helpful: 229
  • Languages: De,EN,JP
Re: Updated application icons
« Reply #43 on: September 28, 2013, 08:48:03 PM »
I release debug builds for several reasons (they are optimised debug builds, so slowdown is not so bad) Main reason is that some debug messages are not printed, and assertions are off. This make "simutrans is crashing" postings very difficult to remote debug (or find out if a new bug was discovered).

Offline Max-Max

Re: Updated application icons
« Reply #44 on: September 28, 2013, 09:38:37 PM »
@Prissi

I wasn't questioning why you posted a debug version, that is quite logical. I just wanted to be able to tell if the Simutrans.exe was a release or debug build by adding "(debug)" after the version info in the banner.

@An_dz
Quote
Nice idea. Night -> Dawn -> Day
Is this something you are working on? Should I wait for it?
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #45 on: September 28, 2013, 09:46:39 PM »
I just wanted to be able to tell if the Simutrans.exe was a release or debug build by adding "(debug)" after the version info in the banner.

I don't build Simutrans as debug or release (always debug, so I can hook up the debugger immediately), but as optimized or non-optimized (rarely the latter). So for me, I'd want something indicating that.

Offline Max-Max

Re: Updated application icons
« Reply #46 on: September 28, 2013, 10:23:18 PM »
...but as optimized or non-optimized (rarely the latter). So for me, I'd want something indicating that.
Is there an automatic define for it, like _OPTIMIZED?
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #47 on: September 29, 2013, 09:24:15 AM »
Is there an automatic define for it, like _OPTIMIZED?

Probably not, and I don't think there is for debug either. You have to explicitly send that define to the compiler from the build system. IDEs might include this in their default debug profiles, but that's only an IDE thing and may not apply to custom profiles.

There are also multiple optimization and debug levels. (Not so sure about the latter for MSVC, though.)

Offline Max-Max

Re: Updated application icons
« Reply #48 on: September 29, 2013, 02:39:22 PM »
MSVC defines _DEBUG (debug) and NDEBUG (release) if you make a new project. However the _DEBUG also makes the MSVC compiler to link a debug class and generates a link error in the current Simutrans code.

Since we already have a DEBUG we can use that one instead, but how is it used? AFIK Prissi always compile debug versions, even for release. The question is can we detect the target; debug,release, with the current defines we have?
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #49 on: September 29, 2013, 04:09:28 PM »
The problem is that what you write might be unique to MSVC. On GCC debug macros are defined by the project (in this case Simutrans) in its build system for use in its own use in its own headers. Including debug symbols is controlled via a command line switch, which according to http://stackoverflow.com/questions/7998100/does-gcc-define-anything-when-g-is-specified doesn't reveal its activation to the code. Linking to debug versions of libraries is controlled by explicitly linking to debug version of libraries, in other words specifying -lfoobar_d (if the debug version is called libfoobar_d.a) rather than -lfoobar on the command line. All these things can be done independently of eachother. One can define DEBUG to, lets say, activate verbose logging, yet still make an executable without debug symbols or linking against debug versions of libraries.

Offline Max-Max

Re: Updated application icons
« Reply #50 on: September 29, 2013, 08:44:58 PM »
Yes, that was what I said, that we already have a #define DEBUG in the Simutrans code and it would be better to use that one. I guess that gcc, just like most compilers, can set a define from the command line.

Since Prissi (and I guess other gcc users) do, use a make file to compile it would be possible for this to work on all platforms. What I don't know is how we can see the difference between a debug and a release target version. The DEBUG define can have a value, is this value set to something specific for a release target?
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #51 on: September 30, 2013, 05:06:12 AM »
There are two DEBUG flags in the Simutrans project, which as slightly releated:

Within the code, DEBUG turns on verbose logging and assertions. According to the Makefile, it's either on or off, although there are a few #ifs that checks if DEBUG is greater than or equal to some value.

The other DEBUG flag is in the Makefile. If defined, it sets the first DEBUG flag in the code and adds the compiler flag for debug symbols. Higher values for DEBUG "gradually" disable optimizations.

So the big question is what makes a debug release a debug release? Is it the presence of debug symbols, the presence of verbose logging, both? The Makefile build will make it both, but the code contains clues that sometimes the DEBUG flag within the code is customized to not work as normal. But as Prissi writes, all releases are made with debug symbols and verbose logging on (though not with optimizations turned off). A true debug release in Simutrans would be one in which optimizations are also disabled, which the code won't know about, or with the verbose trace logging turned on, which the Makefile doesn't seem to support out of the box.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #52 on: October 02, 2013, 05:35:38 AM »
Here are the new ico and icns files. And the RC logo.

http://simutrans-germany.com/files/upload/SimutransLogos.7z




Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 6
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Updated application icons
« Reply #53 on: October 02, 2013, 07:50:35 AM »
Sweet! :thumbsup:

But dawn imho should have whiter smoke and the headlamp on...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4206
  • Total likes: 161
  • Helpful: 148
  • Languages: EN, DE, AT
Re: Updated application icons
« Reply #54 on: October 02, 2013, 07:52:47 AM »
These icons are great :)
Parsley, sage, rosemary, and maggikraut.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #55 on: October 02, 2013, 07:55:25 AM »
But dawn imho should have whiter smoke and the headlamp on...
Agree, will do.... Tomorrow, gotta sleep zzzzzz....

Offline Max-Max

Re: Updated application icons
« Reply #56 on: October 02, 2013, 10:59:12 AM »
That it awesome  :thumbsup:

- My code doesn't have bugs. It develops random features...

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 6
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Updated application icons
« Reply #57 on: October 02, 2013, 11:12:48 AM »
Another though. 32*32 should be the smallest scale, 24*24 and 16*16 icons could be cropped instead of scaled (the bottom right corner and whatever else fits in the icon).

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 304
  • Helpful: 229
  • Languages: De,EN,JP
Re: Updated application icons
« Reply #58 on: October 02, 2013, 12:41:46 PM »
Hmm, those look to Smartphonish for me. Somehow I like the semicircle more.

Offline Sarlock

Re: Updated application icons
« Reply #59 on: October 02, 2013, 03:05:36 PM »
Apple icons :)

I like them...  Nice work!
Current projects: Pak128 Trees, blender graphics

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #60 on: October 02, 2013, 04:02:41 PM »
Apple icons :)

Made me think that we might need a fully square icon for Windows 8 Start Screen. (No that I plan using that version in the foreseeable future.)

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #61 on: October 03, 2013, 05:02:21 AM »
Windows 8 tiles always use the 64x64 icon when using a non-metro (non-shop) app.


Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #62 on: October 03, 2013, 05:39:33 AM »
Windows 8 tiles always use the 64x64 icon when using a non-metro (non-shop) app.



It should really use a bigger icon if possible, but 128x128 is perhaps not in the standard and automatically downscaling a 256x256 might give a too ugly icon.

A quick google revealed that there are apps for creating Modern-looking tiles for starting desktop applications. For Simutrans to really blend in, it would however need a monochrome icon.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 304
  • Helpful: 229
  • Languages: De,EN,JP
Re: Updated application icons
« Reply #63 on: October 03, 2013, 10:22:29 AM »
The semicircle with a black background would be a matching starting icon for the App. Is there any way to determine the background color?

Offline Max-Max

Re: Updated application icons
« Reply #64 on: October 04, 2013, 12:29:37 AM »
@Prissi

I think you can use An_dz icons straight as they are. I have modified the resource script to select the right icon depending the build; nightly, candidate and release.

Here is the new resource script and the icon files it will look for are;
Simutrans_nightly_winapp.ico
Simutrans_candidate_winapp.ico
Simutrans_release_winapp.ico


When it comes to Mac, I have no idea of how this is done so someone with a Mac might be able to modify the Mac files...
- My code doesn't have bugs. It develops random features...

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2591
  • Total likes: 288
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Updated application icons
« Reply #65 on: October 04, 2013, 01:34:04 AM »
Is there any way to determine the background color?
Yes.

Offline Max-Max

Re: Updated application icons
« Reply #66 on: October 04, 2013, 04:16:52 AM »

Oohhh... the right one was really minimalistic and nice, reel Win8 feel...  :thumbsup:
- My code doesn't have bugs. It develops random features...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4635
  • Total likes: 168
  • Helpful: 108
  • Languages: EN, NO
Re: Updated application icons
« Reply #67 on: October 04, 2013, 04:45:01 AM »
Oohhh... the right one was really minimalistic and nice, reel Win8 feel...  :thumbsup:

Looks a bit cloud-like, though. Would it become too cluttered it there were thin lines representing the headlamp and/or wheels?

Offline IgorEliezer

  • Devotee
  • Administrator
  • *
  • Posts: 3922
  • Total likes: 126
  • Helpful: 69
  • Lost In Stupid Parenthesis
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Updated application icons
« Reply #68 on: October 04, 2013, 07:27:10 AM »
Would it become too cluttered it there were thin lines representing the headlamp and/or wheels?
I'd add the headlamp. It might enhance the character of the loco.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8725
  • Total likes: 304
  • Helpful: 229
  • Languages: De,EN,JP
Re: Updated application icons
« Reply #69 on: October 04, 2013, 08:28:33 AM »
I still think that for smaller icon sizes the quarter circle is better recognized. The other icon is just a srtange blueish box, while shape could help. (Personally, I do not like the favicon at all, but I do not interfere with forum design.)

About the window8 icon. Could we have the tree and a track? Otherwise it is more like a flying blimp ...

And the last real stable we release was 88.10.5, all other were more or less release candidates although we do not call them. Just after two weeks without bad bugs the announcement was added to (stable).