HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how to start NewGen Warcraft.exe when i test a map with NewGen WE.exe

08-24-2009, 07:13 PM#1
Troll-Brain
All is on the title.
I think i can edit a line in some file in the JNGP folder, but which ones ?
08-24-2009, 10:22 PM#2
PitzerMike
All that NewGen Warcraft does can be enabled for test-map from the menu. (Start with Grimoire and war3err option)
08-25-2009, 04:08 PM#3
Troll-Brain
But war3err is available only for patch 1.21, isn't it ?
So i would have to get the 1.21 worldedit.exe, and still war3 err can fuck up a benchmark (using StopWatch natives), or it is wrong ?
08-25-2009, 05:39 PM#4
PitzerMike
Running NewGen Warcraft.exe doesn't change the fact that it only works for 1.21.
08-25-2009, 05:50 PM#5
Troll-Brain
Quote:
Originally Posted by PitzerMike
Running NewGen Warcraft.exe doesn't change the fact that it only works for 1.21.
You talked about war3err ?
Yes i know, but in fact i'm bored to open NewGen Warcraft.exe and load the map, when i want to do a benchmark with StopWatch natives.
And theses natives works for 1.24.
08-25-2009, 07:45 PM#6
PitzerMike
I was a bit confused since as far as I remembered test-map used Newgen Warcraft anyway.

Well seems there is now a check to see if war3.exe is post-1.21 and if so, it only runs war3.exe and won't even try to run the other one.

You could work around that by commenting out the following line in wehack.lua:

Code:
if not grim.isnewcompiler(path.."\\war3.exe") then

And the according "end" too of course.
08-25-2009, 07:51 PM#7
Troll-Brain
Ok thx.
But now newgen war3.exe doesn't anymore work for the new patch, so i guess i will wait the new JNGP.

EDIT :

Extract of wehack.lua

Code:
--if not grim.isnewcompiler(path.."\\war3.exe") then
--  wh_grimoire = TogMenuEntry:New(whmenu,"Start War3 with Grimoire",nil,true)
--  wh_enablewar3err = TogMenuEntry:New(whmenu,"Enable war3err",nil,true)
--  wh_enablejapi = TogMenuEntry:New(whmenu,"Enable japi",nil,false)
  --wh_machine = TogMenuEntry:New(whmenu,"Enable warmachine",nil,false)
--end

When i press the test button it doesn't crash as newgenwar3 do, when i try to launch it, so probably still launch the official war3, and not the newgen one.