Page 10 of 10 FirstFirst ... 8910
Results 226 to 239 of 239

Thread: Direct-X Plugin (Beta)

  1. #226
    Join Date
    Jul 2009
    Posts
    166
    Mentioned
    5 Post(s)
    Quoted
    69 Post(s)

    Default

    Can I has updated d3d9 source plx=?
    I build one with visual studio 2015 from your dxi attched code. Dosent load with jagexlauncher.exe. Included d3d9 does load and displays blackscreen.
    Updated d3d9 Works fine.

  2. #227
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    I got a working version by doing the following:

    Grab the zip file from here

    There's a d3d9-visual folder that should build ok. Incorporate the two changes from post 223 and comment out the calls to messageboxa in hooks.cpp

    I also changed Direct3DDevice9Proxy.cpp so it would create the shared memory under smart. This allowed DXIsetup() to succeed when using smart (although it's not updating the screen info so it's kind of worthless).

    Simba Code:
    HRESULT Direct3DDevice9Proxy::EndScene()
    {
        bool isMinimised = false;
        if (SmartGlobal && SmartGlobal->version)
        {
            // bonsai copied to get DXIsetup working under smart
            if (!SharedImageData || !SharedImageData->GetDataPointer())
            {
                CreateSharedMemory(GetCurrentProcessId()) || OpenSharedMemory(GetCurrentProcessId());
            }

  3. #228
    Join Date
    Jul 2009
    Posts
    166
    Mentioned
    5 Post(s)
    Quoted
    69 Post(s)

    Default

    Someone has commented out messagebox in source allready. Thats why I thought it wasnt loading. (no message at my compiled). But now I has no idea what to do with it

  4. #229
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Brandon, if you get this semi-working I'd be happy to develop a include similar to SRL-6 for it. Got a lot of free time coming up!





  5. #230
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by Fitta View Post
    Brandon, if you get this semi-working I'd be happy to develop a include similar to SRL-6 for it. Got a lot of free time coming up!
    Same here @Brandon;

    As a matter of fact a lot of people would be interested in working on this!

  6. #231
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    @Fitta; @Ross; Communication is the only thing left to write, everything else is pretty much done.

  7. #232
    Join Date
    Dec 2011
    Location
    New York
    Posts
    119
    Mentioned
    5 Post(s)
    Quoted
    40 Post(s)

    Default

    Did you guys ever go anywhere with this? I was told to politely ask

  8. #233
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by iAmaGz View Post
    Did you guys ever go anywhere with this? I was told to politely ask
    I have time over Christmas if @Brandon; hasn't already done it

  9. #234
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default

    Yeah I can't wait for this, dxLib v0.1 would be an amazing Christmas present

  10. #235
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Twinki View Post
    Yeah I can't wait for this, dxLib v0.1 would be an amazing Christmas present
    Pretty sure the guys who made oglib don't want to make one for directx, so you'll need a different naming system.

  11. #236
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Pretty sure the guys who made oglib don't want to make one for directx, so you'll need a different naming system.
    Says who?

  12. #237
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Twinki View Post
    Yeah I can't wait for this, dxLib v0.1 would be an amazing Christmas present
    Quote Originally Posted by BMWxi View Post
    Pretty sure the guys who made oglib don't want to make one for directx, so you'll need a different naming system.
    Quote Originally Posted by Ross View Post
    Says who?
    Well I personally don't feel like wasting time making an include that will be useless in a few months, although if the plugin is structured just like Brandon's, a simple copy-paste with some function name changes wouldn't be hard for those who want it.

  13. #238
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    I had book marked the QFC: 198-199-113-65596566 but it doesn't seem to exist :S IIRC, there was a post by a mod with something to the effect of "We plan to support OpenGL for multiple platforms and we're looking into/keeping an eye on Direct-X 12".
    I guess we can safely say it's confirmed now; NXT will make use of both DirectX and OpenGL. This plugin will probably become more relevant when NXT is released as we will probably see a lot more clients using these methods in the future. In terms of villavu and simba, I can see it having widespread acceptance and use if it's performance is up to par (which is what the fps tests on this thread have shown).

  14. #239
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default

    Quote Originally Posted by The Simba Noob View Post
    I guess we can safely say it's confirmed now; NXT will make use of both DirectX and OpenGL. This plugin will probably become more relevant when NXT is released as we will probably see a lot more clients using these methods in the future. In terms of villavu and simba, I can see it having widespread acceptance and use if it's performance is up to par (which is what the fps tests on this thread have shown).
    In the Q&A livestream they said they wouldn't be supporting previous versions of DirectX since DX12 is around the corner, so the only rendering they're going to use is OGL until Vulkan and DX12 becomes a thing later on. If NXT will only have DX12 support, then I'd rather see Brandon take another look at the OGL Plugin or possibly Vulkan, since dxLib or whatever include uses the DX Plugin, will only be usable on Windows 10.

Page 10 of 10 FirstFirst ... 8910

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •