michael-fadely / d3d8to11 Goto Github PK
View Code? Open in Web Editor NEWRun DirectX 8 programs in DirectX 11
License: MIT License
Run DirectX 8 programs in DirectX 11
License: MIT License
This will make long-term dependent project compatibility less of a pain.
i.e.
std::
collections from the header, make this a real interface againHi, do you offer a binary or compile instructions?
In Direct3D 8 and 9, a pointer to a contiguous buffer is provided when a level is locked. This contiguous buffer is encompassing of all the mipmap levels including the level asked for, and all the levels to follow.
Some games, such as Phantasy Star Online: Blue Burst exploit this to populate all mipmap levels simultaneously.
There is a branch called lock-rect-all-mips
which is experimenting with a fix.
(cuz the SADX version says it's missing some module, and you archived it...)
This will require some refactoring. Current implementation doesn't allow for creation of individual Direct3DSurface8
instances without a parent Direct3DTexture8
.
May be a somewhat stupid question but how do i see it did work?
I am using it on an mmorpg, where i have the source code from and can compile the entire game. The game sadly is so old it is a 32 bit game with DX8.1
I Put your files after compiling to my games Bin folder where an original d3d8.dll file was located and replaced all with your files, but ingame i see no difference and my ingame console still says directx8
This is my current game folder structure with your files:
And this is the open public source code link if that helps understanding:
https://github.com/openlastchaos/lastchaos-source-client/blob/master/Engine/Graphics/Gfx_Direct3D.cpp
Because why wouldn't you want a 4294967295x4294967295 32-bit ARGB texture?
Thought it might be the implementation of Direct3DDevice8::GetDeviceCaps
, but it doesn't even call this function.
At startup there's an error message:
Cannot create 3D device:
Adapter 0 () Fullscreen
Resolution 1920x1080, format A8R8G8B8/D24S8, refresh 60 Hz.
Error D3DERR_INVALIDCALL
Once press OK the application is closed.
The screen will typically just go blank.
Current shader implementations use a combination of runtime branching and preprocessor magic to compile the desired shader permutation required for rendering.
Typical uses of runtime branching are:
To greatly reduce runtime branching, shader source code generation could be employed to generate task-optimized shaders that already understand these conditions.
These shaders need to be uniquely and reliably identifiable at runtime. This is currently handled with a huge 64-bit bitfield. By taking runtime checks and making them shader permutations, we exhaust the number of reasonable bits we can use in that bitfield. An optimized multiple-key lookup mechanism might be a good idea (conceptually, std::unordered_map<bitfield_a, std::unordered_map<bitfield_b, shader>>
).
I'd like this done in such a way that snippets of shader code--which would be used to produce full shaders--can be modified and re-loaded at runtime for rapid iteration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.