How to deal with SWGroup - old EXE hacker for Shadow Warrior

How to deal with SWGroup - old EXE hacker for Shadow Warrior

Postby Graf Zahl » Thu Jul 08, 2021 1:33 am

This is an old tool, similar in scope to Dehacked, vintage 1998, that allows to distribute mods that modify the executable to change level names and other settings.
Unfortunately this thing not only encrypts its .grp files but there also seems to be no easy way to find out what modifications it performs, from the looks of it the changeset is available in binary form only and the tool to apply it was written in assembly. So for all intents and purposes these mods have become inaccessible by now as the toolchain is an utter mess with zero thought invested to future proof it.

Has anyone ever tried to take such a mod apart or are they more or less dead meat by now?
Last edited by Graf Zahl on Mon Jul 12, 2021 12:21 pm, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby Gez » Thu Jul 08, 2021 2:35 am

Probably dead meat. Are there any of these mods that would actually be worth the effort?
Gez
 
 
 
Joined: 06 Jul 2007

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby Graf Zahl » Thu Jul 08, 2021 2:46 am

Hard to say because the only way to access them is via Dosbox and that's not fun to play. I found 3 of them so far. One has a somewhat older, but clean version. One makes heavy edits and one looks like one can just ignore the shit, that was done. That tool was done by Ben Smit a.k.a. ProAsm (Author of SWP), btw. He's also responsible for the one mod with heavy edits, called Rampage Warrior. That one's definitely a total loss if there is no way to extract the changes from it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby NY00123 » Sun Jul 11, 2021 10:01 am

I saw Phredreeke linking to this topic in the Duke4.net Discord.
Anybody gave SwGrpExt a try? http://www.proasm.com/sw/swutils.html
NY00123
 
Joined: 25 Apr 2020

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby Graf Zahl » Sun Jul 11, 2021 3:56 pm

The far bigger issue is getting the actual EXE changes. For extracting the GRPs I just launched the mods in DosBox and copied the files.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby Redneckerz » Mon Jul 12, 2021 12:04 pm

I never knew such a thing even existed. But i guess it shouldn't be surprising.

Given its term, i reckon there are few mods that actually use this - Much less so anything extensive.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: Intel (Modern GZDoom)

Re: How to deal with SWGrouo - old EXE hacker for Shadow War

Postby Graf Zahl » Mon Jul 12, 2021 12:21 pm

I found 4, but 3 of them had direct involvement of the tool's author. The fourth only used it for altering some texts so that should be playable once extracted (with incorrect level names, of course, but that's better than nothing, of course.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby NY00123 » Mon Jul 12, 2021 12:45 pm

While it looks like it was already mentioned here, I'll link to the assembly source code.

SwGroup and its source don't seem to be directly linked from ProAsm's SW pages, so I'll quote the following Duke4.net post from Hendricks266.

In theory, even if not all of the source is understandable, my impression is that SwGroup can edit existing bin files. Thus, one may see how are edits impacting the file. As an option, the DOSBox debugger can be used for stepping through the code itself. But, if there aren't too many SW modifications making use of it, then the question is if any effort is worth at all.

https://forums.duke4.net/topic/5587-cha ... _p__131523

Hendricks266 wrote:Actually, I just remembered the program SwGroup by ProAsm / Ben Smit. It is capable of adjusting the ammo capacity among a lot of other stuff in the DOS exe.

SwGroup : http://www.proasm.com/files/sw/SwGroup.zip

Source code : http://www.proasm.com/files/sw/SwGrp_Src.zip

Not usable in SWP and requires DOS or Win98 to execute.

NY00123
 
Joined: 25 Apr 2020

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Graf Zahl » Mon Jul 12, 2021 12:54 pm

It's just not worth bothering for the few affected maps.
That code is just awful and should serve as a monument for "how not to write tools". Everything that was done here has ensured that any mod this was used for is as good as dead.
Had this been done in Dehacked style with an external text file to contain the changes it could all be recreated in ports - but as things stand, no such luck.

Of the affected mods, most are a lost cause, the only one I was able to play was "When I was young", but even there I had to edit one map to remove one sprite because it always made progression break.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Dynamo » Mon Jul 12, 2021 1:15 pm

Is there a full list of mods that make use of this?
User avatar
Dynamo
Gecko on the run
 
Joined: 07 Jun 2008
Location: Industrial District

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Graf Zahl » Mon Jul 12, 2021 1:18 pm

No, but considering that he wrote the tool, you should find all of them on ProAsm's homepage.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Phredreeke » Mon Jul 12, 2021 3:02 pm

Didn't ProAsm do SWP compatible versions of his addons? I know I've played through Rampage Warrior on SWP and WangGDX (though I seem to recall GDX didn't replace the pickup texts)
User avatar
Phredreeke
 
Joined: 10 Apr 2018
Discord: phredreeke#6500

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Graf Zahl » Mon Jul 12, 2021 3:19 pm

Google gave me this: http://swcentral.weebly.com/rampagewarrior.html

Got to check it out. At least this means one mod down. :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Graf Zahl » Mon Jul 12, 2021 3:27 pm

Same page also has TaiWang and When I Was Young, which were two of the others that I only had as an SWGroup version. I cannot remember the other one where this was all I had but I think this chapter can be closed by now. He seems to have converted all mods of this kind to using SWCustom.txt himself.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to deal with SWGroup - old EXE hacker for Shadow War

Postby Dynamo » Mon Jul 12, 2021 4:00 pm

Graf Zahl wrote:I cannot remember the other one where this was all I had

I would imagine that they were all from the same website originally?
User avatar
Dynamo
Gecko on the run
 
Joined: 07 Jun 2008
Location: Industrial District

Next

Return to General

Who is online

Users browsing this forum: No registered users and 0 guests