Disabling Reinventing the Craft

RoarMan

Member
Reaction score
12
As the title says, is there a way to disable Reinventing the Craft? My AV is conflicting with it, and when it does display in the world editor, it only has the option to enable it. Deleting the RTC folder doesn't seem to work either, as it just causes an error when I try to test my map in WE.
 

TheTempest

New Member
Reaction score
6
69m8ib.jpg


Just uncheck it..
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
Yes, but it's not worth it. Why do you need to get rid of it all together?
 

Romek

Super Moderator
Reaction score
964
I had to do this too. Kaspersky was raping RtC, to the point of me being unable to test maps even if RtC was disabled.

Open up wehack.lua, and search for "RtC". Delete every 'block' that's related to it.
I just did a quick search; delete the following in that file:
Code:
havertc = grim.exists("rtc\\rtcexehack.exe") and grim.exists("rtc\\rcncore.dll")
if havertc then
    rtcmenu = wehack.addmenu("Reinventing the Craft")
    rtc_enabled = TogMenuEntry:New(rtcmenu, "Enable Reinventing the Craft", nil, true)
	
	wehack.addmenuseparator(rtcmenu)
	function rtcabout()
	  	wehack.execprocess("rtc\\rtcexehack.exe --about")
	end
    rtc_about = MenuEntry:New(rtcmenu, "About Reinventing the Craft ...", rtcabout)
else
    grim.log("Reinventing the Craft")
    if(not grim.exists("rtc\\rtcexehack.exe")) then
        grim.log("rtc\\rtcexehack.exe missing!")
    end
    if(not grim.exists("rtc\\rcncore.dll")) then
        grim.log("rtc\\rcncore.dll missing!")
    end
endf
And...
Code:
    if rtc_enabled.checked then
--		local args = string.gsub(cmdline,"\"([^\"]*)\" ","")
--		wehack.messagebox(args,"Grimoire",false)
--		cmdline = "startwar3.bat " .. args

        local testmaparglist = argsplit(cmdline)
        local len = table.getn(testmaparglist)
        if len > 2 then
            cmdline = "startwar3.bat"
            --if not grim.exists(cmdline) then
            --    cmdline = "NewGen Warcraft.exe" -- NewGen version doesn't use batch files
            --end
            for i = 2, len do
                if (i < len) and (usetestmapconf) then
                    local arglen = string.len(testmaparglist[i+1])
                    if testmaparglist[i] == "-loadfile" and arglen > 3 then
                        local ext = string.lower(string.sub(testmaparglist[i+1],arglen-4+1))
                        if ext == ".w3m" or ext == ".w3x" then
                            local substitute = wehack.setupwgcfile(testmaparglist[i+1]);
                            if (substitute ~= testmaparglist[i+1]) then
                                testmaparglist[i+1] = "\"" .. substitute .. "\""
                            end
                        end
                    end
                end
                cmdline = cmdline .. " " .. testmaparglist[i]
            end
        end
	end
I don't know if there's any simpler way, though this seems to have worked for me.
 

Sneakster

Active Member
Reaction score
24
I did this but I still get this problem whenever I save or test:

52379209.jpg


How would I fix this? I tried to save with a completely new map...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top