1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Bug USER FIXED: Fix for Game Manager DPI Issues

Discussion in 'SimTools DIY Version' started by eXntrc, Dec 15, 2014.

  1. eXntrc

    eXntrc Member

    Joined:
    Dec 3, 2014
    Messages:
    35
    Balance:
    636Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    Arduino
    Your Profile Editor and Game Manager look like this:

    [​IMG]


    The guidance so far has been to change your OS DPI settings back down to 100%

    [​IMG]
    But I don't feel that's a good answer. My screen is too high resolution and I sit too far away from it for this to be a viable option. So I did some digging.


    SimTools devs: This problem happens when Form.AutoScaleMode is set to anything other than AutoScaleMode.None and the app does not have the proper code to handle high DPI displays.


    The easiest way to fix the problem is to set all uses of AutoScaleMode to None, but of course I didn't have the source code. Luckily tools like .Net Reflector and Reflexil can be used to make tweaks to .NET code without having the source.

    I have modified the executables and was going to attach them to this post, but apparently the zip file was too large. I will post them to DropBox and hope that the devs can incorporate these changes into the application soon.

    The only downside of patching the apps in this way is that the background image on one or two pages wraps instead of filling the screen. I feel this is a very minor annoyance and at least all controls are visible and usable the way they were intended.


    Download SimToolsHighRes.zip from DropBox


    Once downloaded, just rename your existing executables to back them up then unzip the archive into the SimTools folder (usually C:\Program Files (x86)\SimTools).
    • Informative Informative x 2
    • Like Like x 1
  2. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,166
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,208Coins
    Ratings:
    +5,038 / 16 / -0
    Cool buddy I'll look this over man!
    • Like Like x 1
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,549
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,112Coins
    Ratings:
    +10,778 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    A very nice contribution @eXntrc, thanks so much for your creative initiative.
  4. eXntrc

    eXntrc Member

    Joined:
    Dec 3, 2014
    Messages:
    35
    Balance:
    636Coins
    Ratings:
    +44 / 0 / -0
    My Motion Simulator:
    Arduino
    Thanks guys. I've been playing with this all night. @yobuddy, I noticed that the Interface Settings screen in Game Manager still has some problems even with this approach. It's mainly that the labels overlap some of the controls and the Output Type radio buttons don't all fit on the page. You can still select all 3 options by clicking on the label, but the radio button for Binary can't be seen. I don't understand yet why it only seems to be a problem on this form and the rest of the interfaces seem to be OK. Hopefully when you get a chance to take a look you might be able to test with your own DPI set to something other than 100%. Please let me know if you need me to help test in any way, and thanks for looking into it!
    • Useful Useful x 1