• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[General] World Editor testing not in Nativefullscr and Direct3d9

Status
Not open for further replies.
Level 2
Joined
May 1, 2022
Messages
4
I am at 1.31.1 World Editor when i test a map wc3 is in default mode no (-windowmode fullscreen -graphicsapi Direct3D9) so its laggy.
But it is fine when launch through the shortcut though.
World editor cannot run the game with the command line since it comes from the raw warcraft3.exe

Is there a settings somewhere or a config file to just add -windowmode fullscreen -graphicsapi Direct3D9? Thanks for your help
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,277
Generally Warcraft III should perform better in D3D11 mode than D3D9 on modern hardware and operating systems. It is my understanding the D3D9 mode was left in there temporarily while the D3D11 mode was finished/polished before being removed entirely like it has been from other Blizzard games which only offer D3D11 or newer backends. Of course due to development hell problems it would appear such progress has stalled so maybe the D3D11 backend is still buggy or the D3D9 backend has just been left in because no one has removed it yet.

At some stage I found deleting the Warcraft III settings registry entry solved my graphic performance problems. However this was before they migrated away from using the registry to store settings.
 
Level 20
Joined
Jan 3, 2022
Messages
364
Is there a settings somewhere or a config file to just add -windowmode fullscreen -graphicsapi Direct3D9? Thanks for your help
For me both DirectX are slow and OpenGL is fast. The below are the built-in default settings switches:
WorldEditor -> (top left) File > Preferences... > (tab) Test Map > Window Mode: Windowed / Windowed Fullscreen / Fullscreen

To set a graphics API, we can exploit the trick that WorldEdit has no input validation for name: same window as above, "Player Profile":
Code:
WorldEdit -graphicsapi OpenGL
Turns to and starts the game with these options:
Code:
... -testmapprofile WorldEdit -graphicsapi OpenGL ...
If I wanted to underline my own importance, I would call it a security vulnerability: no validation of user input.
 
Status
Not open for further replies.
Top