• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Executabe Test

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,208
The executable requires "making changes to this computer" (elevated runtime permission, run as administrator) which is not what you expect for something that should simply run. You have not disclosed what changes it is going to make or why it needs such permission.

Such permission is usually request by processes trying to install something (drivers, software etc) so is it possible that you are trying to make folders somewhere? Or is it because you read the install path from the registry?
 
This is an executable file created using windows cmd batch it searches for a specific registry key (install path in this case) to determine your War3 location. Once it determines the location it starts War3.exe with a map file that has been imported inside the .exe. The sole goal of this is to play your single player projects independent from War3. Furthermore you can create custom launchers, intro movies, .exe icon, splash screen and even a main menu that is not a part of War3. It allows people to turn simple maps into something much larger. As a test I've created an example executable that launches Iceborn map by Approject. I need it tested whether it works for other people and if there are any problems with it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,208
It is broken, you forgot to append a "\" before the executable name as well as use the correct case. It tries to access the file "Warcraft IIIWar3.exe". It should be trying to access the file "Warcraft III\war3.exe".

The rest of the search path is correct, even appending correctly for 64bit Windows.

Currently tries this (wrong)...
C:\Program Files (x86)\Warcraft IIIWar3.exe

Should try this (correct)...
C:\Program Files (x86)\Warcraft III\war3.exe
 
Status
Not open for further replies.
Top