My mod has antivirus issues

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
Goblins Productions
Posts: 14
Joined: Fri Sep 02, 2016 12:34 pm

My mod has antivirus issues

Post by Goblins Productions »

Hello Zdoomers.

I have a mod just released. Because I want it to be one-click launch, with desktop icon and stuff. I created a bat file, and used bat2exe.
Then I used NSIS to make an installer, that also optionally installs GZdoom, so all the end user really needs to do is get Doom 2.

But there is a problem. After installing it on other PC, Avira antivirus says it is "TR/Drop.Agent"
WTF, it literally just launches gzdoom.

Are there any alternative ways of achieving it. I dont care about the icon much, but I want my mod to be one-click launch.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: My mod has antivirus issues

Post by wildweasel »

it is probably because of the way it's packaged. Virus scanners, Avira especially, love to trip false-positives for things like bat2exe, UPX, or any other kind of EXE wrapper, because they're often used to obfuscate or otherwise hide malicious things.
User avatar
Rachael
Posts: 13968
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: My mod has antivirus issues

Post by Rachael »

What do you need a .bat for?

If you need a custom GZDoom compile specifically for your mod, let me know and I can personalize GZDoom for you. But it comes with two caveats:

- I will distribute the source for the changes as a Github fork.
- The mod itself must still work with a real copy of GZDoom, independently of the newly compiled version.
Goblins Productions
Posts: 14
Joined: Fri Sep 02, 2016 12:34 pm

Re: My mod has antivirus issues

Post by Goblins Productions »

I need a bat that automatically loads my mod and sets some cvars, like mouselook.
It is literally just:

Code: Select all

gzdoom.exe -file dtsotb7pre.wad +exec dtsot_default.cfg
I don't really want to create my own version of gzdoom.
I will try to make a launcher in C++, and see what it does.
User avatar
Rachael
Posts: 13968
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: My mod has antivirus issues

Post by Rachael »

Just rename your current config to gzdoom.ini then, and it will be the default. Alternatively you can just name the config autoexec.cfg.
Post Reply

Return to “General”