Ingame UI with C#? menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ingame UI with C#?

    I recently started getting into reversing and detouring stuff a bit for a game that uses DX10. I thought it would be usefull to get a ingame UI going.
    Now here I am, stuck for like a week finding out how all this drawing stuff works without any luck... Seems like there aint that much libraries out there that I can use.

    I tried SlimDX but I can't compile the latest sourcecode so I can't fix a bug that was in the public release (StateBlock). I can't manage to get CEGUI# working either... are there any other options around or can someone help me out with all this? I'm clueless at the moment on what to do and what to use...
    Last edited by Mr.Zunz; 11-20-2012 at 08:16 AM.


    Ingame UI with C#?
  2. #2
    EvsonRARA's Avatar Member
    Reputation
    2
    Join Date
    Dec 2007
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're going to have to use low level drawing by hooking your favorite DX and injecting low(ish) level drawing code. There's nothing that I've ever seen that involves third party libraries and drawing to an external process.

    http://www.ownedcore.com/forums/worl...wing-game.html
    http://www.ownedcore.com/forums/worl...-happened.html

    I think you need to hook into CWorldSceneRender::Render

  3. #3
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I am using a different game and the game only has DX10.


  4. #4
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    1) Dont use C#
    2) Use D3D9 or D3D11.... I dont think 10 was any good
    3) Take a look at my code, I draw text ingame but it should be easy for you to add more. The Draw code should work with most D3D9 games.. just removed the warden crap...
    http://www.ownedcore.com/forums/worl...n-scanner.html (EverScan - An Open Source Warden Scanner)

  5. #5
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    1) Dont use C#
    2) Use D3D9 or D3D11.... I dont think 10 was any good
    3) Take a look at my code, I draw text ingame but it should be easy for you to add more. The Draw code should work with most D3D9 games.. just removed the warden crap...
    http://www.ownedcore.com/forums/worl...n-scanner.html (EverScan - An Open Source Warden Scanner)
    Why not use C#? I've gotten UIs working with pure C# just fine.

    Realistically, you'll be using the same code whether you use C# or C++. C# just has pretty verbose wrappers around the native DX stuff. (SlimDX, etc)

    10 was perfectly fine for what it was meant to do, but 11 expanded on it quite nicely.

  6. #6
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I guess I'm just not a big fan of wrappers :\ And yes 10 was fine, but you will find 9 and 11 more used. ops I did not see that the game only works in 10. My bad XD

  7. #7
    jjaa's Avatar Contributor
    Reputation
    245
    Join Date
    Dec 2006
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you guys looked at https://code.google.com/p/sharpdx/ at all? I've never used it. But my understanding is that its a very thin wrapper. I've seen it used in C# Windows 8 apps that embed a DirectX view in XAML.

  8. #8
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using it for my stuff. Works perfectly.

Similar Threads

  1. ingame-trading with chinese-farmers
    By Cintx in forum World of Warcraft General
    Replies: 3
    Last Post: 01-16-2009, 08:54 PM
  2. Updated Joana's 2.3.2 With Allakhazam Links And InGame!!!!
    By Mekks in forum World of Warcraft Guides
    Replies: 61
    Last Post: 03-24-2008, 04:53 AM
  3. [Semi-fun] Chat with bot (WoW ingame)
    By Aleah12 in forum World of Warcraft General
    Replies: 1
    Last Post: 03-23-2008, 07:24 AM
  4. [EMU]Use EVERY trinket ingame at once with 0 cd
    By b!atch in forum WoW EMU Exploits & Bugs
    Replies: 3
    Last Post: 01-25-2008, 03:58 AM
All times are GMT -5. The time now is 12:21 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search