Making Hammer not use the Win-98 era controls

Discussion in 'Mapping Questions & Discussion' started by a2h, Sep 26, 2008.

  1. a2h

    a2h L2: Junior Member

    Messages:
    93
    Positive Ratings:
    30
    Create the file hammer_dll.dll.manifest in your C:\Program Files\Steam\steamapps\<username>\sourcesdk\bin\orangebox\bin folder, and put this code as its contents:
    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity
        version="1.0.0.0"
        processorArchitecture="X86"
        name="Hammer"
        type="win32"
    />
    <description>Hammer</description>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                type="win32"
                name="Microsoft.Windows.Common-Controls"
                version="6.0.0.0"
                processorArchitecture="X86"
                publicKeyToken="6595b64144ccf1df"
                language="*"
            />
        </dependentAssembly>
    </dependency>
    </assembly>
    Save, launch Hammer and enjoy your new, slightly better interface!
     
    • Thanks Thanks x 21
    Last edited: Sep 28, 2008
  2. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    What does this do? *Screen*
     
  3. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,744
    what exactly are the win98 controls?? And what are the alternatives it will use after you do this?
     
  4. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    Trojan lolOLOLOLOLOLlolOLOLOlolo
     
  5. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    OMFG WE ALL GONNA DIE LOLOOLOLOLOlolooololoLOLOLOLOLOLOLOL
     
  6. a2h

    a2h L2: Junior Member

    Messages:
    93
    Positive Ratings:
    30
    You guys are so paranoid :mad:

    Fine, I'll upload a screenshot.

    Also, code changed slightly.
     
    • Thanks Thanks x 4
  7. FaTony

    FaTony Banned

    Messages:
    902
    Positive Ratings:
    160
    BEFORE screenshot looks way more better. ;)
     
  8. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,744
    Ignore them, they're just being stupid, the new one looks much better, thanks

    (also moved to tutorials)
     
  9. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    We aren't beeing stupid, we're just making fun of a code that we didn't know what it makes.


    Cool :thumbup1:
     
  10. Vander

    Vander L8: Fancy Shmancy Member

    Messages:
    507
    Positive Ratings:
    111
    Added! Thanks!
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    I believe the problem here is the use of "controls" when in fact "GUI" should be used.
     
  12. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    I just did this and it's not that big of a change. A few small things look different, that's all. You really have to look hard to see the changes. Some of you I'm guessing probably won't even notice.
     
  13. Chris|Gramps

    Chris|Gramps L1: Registered

    Messages:
    38
    Positive Ratings:
    2
  14. Bonecrusher

    Bonecrusher L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    this is interesting.

    being can't notice the changes are really weird. it may be lack of seeing. because this thing changes gui from win98 to your default windows gui. it doesn't changes one button or some small details, but complete gui.

    i wonder if it causes any stability problem.
     
  15. Mar

    Mar Banned

    Messages:
    607
    Positive Ratings:
    63
    So now the sharp corners are round and buttons are more shiny?

    YAY! :thumbup:

    PS. Why do I think that Valve uses this and is too lazy to update Hammer with a few lines of code?

    EDIT: How do input this code? Every time I open this file in notepad I get a huge load of random symbols.
     
    Last edited: Jun 6, 2009
  16. a2h

    a2h L2: Junior Member

    Messages:
    93
    Positive Ratings:
    30
    You're not supposed to open it with Hammer.
     
  17. Mar

    Mar Banned

    Messages:
    607
    Positive Ratings:
    63
    I meant open it in notepad. You can't open it in hammer.
     
  18. Gamecubic

    Gamecubic L1: Registered

    Messages:
    17
    Positive Ratings:
    0
    This broke Hammer (on my computer)... I can't select AND edit AND create anything. when I click and drag, it moves the camera...

    If I could get the XP GUI and the "98-era controls" (AKA the ones that work), I'd be happy.
     
  19. AntonJ3000

    AntonJ3000 I am inactive and make horrible maps

    Messages:
    401
    Positive Ratings:
    89
    Nothing wrong with this...
    Try pressing Z


    You do not open the .dll, you create a file named .dll.manifest and use it like a .txt and paste the code in.
     
    • Thanks Thanks x 2
  20. Gamecubic

    Gamecubic L1: Registered

    Messages:
    17
    Positive Ratings:
    0
    sorry, I mean it moves the camera in all the views... and Z does what it's supposed to do...