0 Favourites

An odd (and probably pointless) problem

This forum is currently in read-only mode.
  • I decided to try using Construct's physics engine to make a fancy screen saver, since a screen saver is basically just an .exe labeled as an .scr. And hey, what do you know... it works.

    Just one problem though, and that's when I install the .scr in my system32 folder and go to select it in my screen properties, the name doesn't show up in the screen saver list properly. Instead, it's labeled as a number. The first time I did it, it showed up as "3." I exported another .exe, making sure to label all my layouts and such properly, thinking that maybe it was just because I left the program title blank in Construct, but then when I checked my screen saver list again it showed up as "4."

    I can select this number and set it as my screen saver, and it works fine, but it was kinda bugging me that it didn't show the actual name.

    Anyway, I opened up the .scr in Resource Hacker to check the string tables and see if it was pulling the 4 from one of them. The only listing in the string table is this:

    STRINGTABLE
    LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
    {
    1,    "4"
    }
    [/code:2wrptwbe]
    
    I guessed that this was where Windows pulls the name of the application from, so I changed the string with ResHack.  Sure enough, it showed up in the screen saver list properly... but changing the table also made my screen saver crash.
    
    Should Construct be filling this spot on the string table with the app name when it exports an .exe?  Is this a bug, or am I just being fussy?
  • Heh, I haven't gotten round to doing screensavers. That's actually the number of plugins stored in your EXE, so changing it is definitely going to mess up your application. I didn't know Windows would take that as the screensaver name <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    Maybe I'll tweak it to put the application name there instead, and put the count somewhere else, so it might work for screensavers.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Ah, I see. Well, I was way off. But hey, we both learned something today <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)