DirectX SDK

Strictly for discussing ZSNES development and for submitting code. You can also join us on IRC at irc.libera.chat in #zsnes.
Please, no requests here.

Moderator: ZSNES Mods

Post Reply
Sir Camehan
Rookie
Posts: 14
Joined: Tue Aug 03, 2004 7:04 am

DirectX SDK

Post by Sir Camehan »

I'm not sure if this question fits anywhere else but here. but anyway.
I am just wondering if the DirectX 9 SDK comes with also the DirectX8 SDK as well, as I can't find any place on the Net to download it.

I am asking this as I want to be able to make my own custom build of
ZSNES, as I already have Visual C++ 6 and NASM. So I'm asking about the SDK as I don't want to waste time downloading a 222MB SDK.
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Yes it does. Getting the DX9 SDK will allow you to compile and code for ANY previous version of DirectX.

The only side effect is the documentation will be updated for DX9. Look around a bit more.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Sir Camehan
Rookie
Posts: 14
Joined: Tue Aug 03, 2004 7:04 am

Post by Sir Camehan »

Thanks a lot for clearing this up, Nightcrawler.
magno
Rookie
Posts: 24
Joined: Fri Aug 13, 2004 11:32 pm
Location: Spain
Contact:

Post by magno »

where can be that Dx9 SDK found? Maybe in the Microsoft homepage?

It could be a great thing to begin messing uo with DX9 :D
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

http://msdn.microsoft.com/library/defau ... irectx.asp

Although, I beg you, if you get into 3D graphics, use OpenGL.
[u][url=http://bash.org/?577451]#577451[/url][/u]
burning shadow
Rookie
Posts: 32
Joined: Wed Aug 25, 2004 1:55 pm
Location: spb, ru
Contact:

Post by burning shadow »

If you do not want to download whole DX9 SDK, you can get just headers and libs. This is all you need to compile ZSNES. Get it here. This is a RAR archive, so you'll need WinRAR to unpack.
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Noxious Ninja wrote:http://msdn.microsoft.com/library/defau ... irectx.asp

Although, I beg you, if you get into 3D graphics, use OpenGL.
Why? Give me some specific examples of why OpenGL is better?
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Two words: cross platform.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

What, so 5% more people can use your program? I'd just as well expect them to get a PC emulator or dual boot windows to the same degree you'd expect someone to code 3D in OpenGL just for them.

Should the coder choose a specific API to cater to 5% more people or should the 5% of people cater to the coder and find a way to get the program to run on their system if they want to run it?
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Bahamut_ZERO_Clue

Post by Bahamut_ZERO_Clue »

OpenGL comes with just about every compiler and is way smaller of an API to use. Plus it has just as much capability of DirectX.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Bahamut_ZERO_939 wrote:Plus it has just as much capability of Direct3D.
Fixed.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Nightcrawler wrote:What, so 5% more people can use your program? I'd just as well expect them to get a PC emulator or dual boot windows to the same degree you'd expect someone to code 3D in OpenGL just for them.

Should the coder choose a specific API to cater to 5% more people or should the 5% of people cater to the coder and find a way to get the program to run on their system if they want to run it?
If you want 5% more sales...

You'd be suprised how many of the hard core FPS players do not use Windows, which probably would make it more like 10%.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Post by funkyass »

Nach wrote:
Nightcrawler wrote:What, so 5% more people can use your program? I'd just as well expect them to get a PC emulator or dual boot windows to the same degree you'd expect someone to code 3D in OpenGL just for them.

Should the coder choose a specific API to cater to 5% more people or should the 5% of people cater to the coder and find a way to get the program to run on their system if they want to run it?
If you want 5% more sales...

You'd be suprised how many of the hard core FPS players do not use Windows, which probably would make it more like 10%.
There isn't a linux half-life client, so no CS players use a non-windows platform.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Maybe not half life. But go see who all the unreal people are.

See if they made Half Life for Linux, I can gaurantee they'll have a lot more sales.

It's not really a big deal today to make something portable. Use Standard C++ as far as it goes, Open GL for graphics, and the rest of the portablization work should shouldn't be too big of a deal. There's portable stuff out there for sound and input, but it's not as popular.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by kode54 »

Don't forget SDL or OpenAL for sound, and SDL for input.

... but I still think you're full of shit about "a lot more sales." I'm sure a lot of geeks would also be happy if Barnes & Noble stocked spank mags, but that's not likely to happen either.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

That would depend on your definition of a lot more sales.

Perhaps I should have said a few thousand more sales.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

There was a big thread at slashdot. You can search for it, 95% of the posts are 'If it was made for linux, I'd buy it. But it's not, so screw it'.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
parasyte
Rookie
Posts: 15
Joined: Sat Aug 14, 2004 3:46 pm
Location: usa
Contact:

Post by parasyte »

grinvader wrote:There was a big thread at slashdot. You can search for it, 95% of the posts are 'If it was made for linux, I'd buy it. But it's not, so screw it'.
Take what you read at Slashdot with a grain of salt.

Also, using Direct3D doesn't exclude the use of OpenGL. It's not a particularly Herculean task to make an app use multiple renderers if necessary. Epic's Unreal series has done it for a long time, Half-Life had not just D3D and OGL renderers, but also a software renderer, and even some open-source projects like StepMania can switch renderers between D3D and OGL.

As far as choosing one to learn, I would guess OGL would be only slightly more important because of the cross-platform issue. Learning to program for a modern console would likely use either OGL or a custom rendering library, unless said console is the Xbox (and possibly its successor) where you'd use D3D.
Bahamut_ZERO_Clue

Post by Bahamut_ZERO_Clue »

SDL is pretty much the most cross-platform foundation API and pretty much the foundation API of choice on many OSes as well. SDL covers just about every API acrosss MacOS, Win32, Linux, and BSD based systems. Even the PS2's Linux package has a special port of it.
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Yeah.. SDL has come a long way as far as being widely supported.

Nonetheless, no matter how good SDL and OpenGL get, I don't see DirectX going anywhere anytime soon. It's support is difficult to match since it's backed by Microsoft.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Not to say Direct X is going anywhere in the near future.

But if you decided you want to get into multimedia programming, you should learn SDL instead of Direct X.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply