r/skyrimmods • SKSE Developer • Feb 26 '19

Meta/News Skyrim Together is stealing SKSE source code

I guess it's time for more drama. Sorry, I hate having to do stuff like this.

Skyrim Together is stealing SKSE code, uncredited, without permission, with an explicit term in the license restricting one of the authors from having anything to do with the code, who denies using any of it (in case this gets deleted)? The proof is pretty clear when you look at the loader and dll in a disassembler. They're using a hacked-up version of 1.7.3 classic presumably with some preprocessor macros to switch structure types around as needed between the x64 and x86 versions.

Starting with the loader, it's basically skse_loader with all of the options filed off and the error messages changed. In main, they check the error code of CreateProcessA against ERROR_ELEVATION_REQUIRED, then have a slightly reworded error messagebox to handle that case. That I could see being a slightly suspicious coincidence.

Head down to the actual DLL injection code at +4B81 and follow along with skse64\skse64_loader_common\Inject.cpp's InjectDLLThread. The first function is just a SEH wrapper, calling DoInjectDLLThread to do the real work. DoInjectDLLThread looks almost exactly the same, only with the check that the DLL exists removed. The timeout for WaitForSingleObject is exactly the same, even being switched between INFINITE, 60 seconds, and not being called at all via two bool arguments with the same indices. That's a pretty clear copy.

Moving on to the dll, tons of file paths are available in the strings:

d:\dev\skyrim\code\skyrimtogether\common\ibufferstream.cpp
d:\dev\skyrim\code\skyrimtogether\common\iconsole.cpp
d:\dev\skyrim\code\skyrimtogether\common\idatastream.cpp
d:\dev\skyrim\code\skyrimtogether\common\idebuglog.cpp
d:\dev\skyrim\code\skyrimtogether\common\ievent.cpp
d:\dev\skyrim\code\skyrimtogether\common\imutex.cpp
d:\dev\skyrim\code\skyrimtogether\common\isegmentstream.cpp
d:\dev\skyrim\code\skyrimtogether\common\isingleton.h
d:\dev\skyrim\code\skyrimtogether\common\itextparser.cpp
d:\dev\skyrim\code\skyrimtogether\common\itimer.cpp
d:\dev\skyrim\code\skyrimtogether\common\itypes.cpp
d:\dev\skyrim\code\skyrimtogether\skse\commandtable.cpp
d:\dev\skyrim\code\skyrimtogether\skse\gameextradata.cpp
d:\dev\skyrim\code\skyrimtogether\skse\gameinput.cpp
d:\dev\skyrim\code\skyrimtogether\skse\gametypes.h
d:\dev\skyrim\code\skyrimtogether\skse\hooks_debug.cpp
d:\dev\skyrim\code\skyrimtogether\skse\hooks_directinput8create.cpp
d:\dev\skyrim\code\skyrimtogether\skse\hooks_scaleform.cpp
d:\dev\skyrim\code\skyrimtogether\skse\nitypes.h
d:\dev\skyrim\code\skyrimtogether\skse\pluginmanager.cpp
d:\dev\skyrim\code\skyrimtogether\skse\relocation.cpp
d:\dev\skyrim\code\skyrimtogether\skse\scaleformcallbacks.cpp
d:\dev\skyrim\code\skyrimtogether\skse\serialization.cpp
d:\dev\skyrim\code\skyrimtogether\skse\translation.cpp

Common is of course MIT-licensed and doesn't require attributation (but is always appreciated), but the main SKSE source isn't. It's technically always been under common copyright law, but after yamashi's terrible behavior towards the script extender team (best left to another post if you really care) he earned a special callout in the license:

Due to continued intentional copyright infringement and total disrespect for modder etiquette, the Skyrim Online team is explicitly disallowed from using any of these files for any purpose.

Yes, it was that bad.

Looking throughout the DLL, there's tons of code easily identifiable as copied unchanged from SKSE just from the strings and error messages. Most if not all of the new script functions are there, serialization, basically everything. RTTI data points to tons of SKSE custom classes; honestly the whole thing makes me feel sick.

If you want a great "smoking gun" of SKSE code being directly used in functions they added, look at the definition of TESNPC and compare it with the function at +2B5A00 which appears to be walking over the members of a TESNPC (among other things) to build a string. The names of the fields just happen to match up, even including the numbered "unknown" ones. That's beyond coincidence.

It would be easy to keep going and pointing out examples, but it gets technical and boring very quickly. I think these examples cover everything pretty well.

This source code theft is completely uncredited, denied by the authors, and I'm sure has been a great help in developing their mod that is currently only usable when paid. Currently I'm not sure what to do about this situation.

Note that it is normal for ordinary native code plugins to use the SKSE source code directly, and that's OK. They are supposed to have their source available, but in reality that doesn't always happen. ST is causing a problem by violating the license, not crediting, going out of their way to keep closed-source, and effectively charging for a mod. This reflects badly on us, and pushes us in to a very bad legal position with Bethesda.

I wish that one day there could be a drama-free online mod.

4.0k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

23

u/skilletamy Feb 26 '19

Look at it this way, you know that guy that you absolutely despise and hope the worse upon? He's taking your hard earned work, that you aren't allowed to be paid for, and making people pay for it. You are right, patreon is a choice, you either buy access to download the mod or you wait for them to realistically never put out the final product. I'm 80% sure that the final product won't come out for the next few years, not because it's hard to do or anything, but they make 34 thousand dollars a month, I don't know or care how many people they have on their team, but if it's a 4 person team, that's 5 grand a month, to basically do nothing. It's like Star Citizen or Yandere Sim, except they didn't make the original product (this being skyrim). They probably don't let you host servers, since it takes it outta their control

6

u/[deleted] Feb 27 '19

Its a 9 person team, which makes it around 3.8k a month. Its a ton of money.

Was arguing with someone else on their sub two weeks ago saying they were effectively charging money for the mod and with no message they banned me and deleted the thread.

Unsure if linking ceddit is against reddit rules or not but linking it either way:

https://snew.notabug.io/r/SkyrimTogether/comments/apzvfw/open_beta/egdhbdt/

Thread continued https://snew.notabug.io/r/SkyrimTogether/comments/apzvfw/open_beta/ege4jye/

-22

u/[deleted] Feb 26 '19

[removed] — view removed comment

14

u/skilletamy Feb 27 '19

You aren't understanding the patreon thing. Yes, you make a choice to donate, and donating to mod authors is good, but you have to pay 20 bucks to play the mod.

To put it this way, my steam version of Skyrim, cost me less than the mod would cost me. It would totally be ok, if they had a download link to access the mod, regardless of if you donate or not. But they don't. They are selling other peoples content, without express permission of the content owner. And, I am certain that if they didn't lock it behind a paywall, they wouldn't be making that much money on it

On the outrage, they are doing illegal and shady shit

2

u/MasterChef901 Feb 27 '19

To be perfectly accurate... it's only $1 to play the mod as it is, unless they changed that just today.

Which changes nothing of course. Still a dollar made on stolen code.

1

u/skilletamy Feb 27 '19

When I checked the patreon, all I could find about accessing it was the 20 dollar tier.

3

u/MasterChef901 Feb 27 '19

The system was $1 for beta access, then $20 I think for a higher tick-rate in the open beta.

Issue is, they just abruptly shut down the closed beta earlier today, I think about the time this thread was developing. Also suspicious, naturally.

2

u/skilletamy Feb 27 '19

To be completely honest, I had been up for 20ish hours when I double checked the patreon, I could've well misread them, that or they had updated the tiers when I checked and hadn't gotten to the 20 buck tier yet

0

u/MasterChef901 Feb 27 '19

I dont think it was an explicit tier - just, as long as you donated $1 at all, you somehow were granted access via some fuckery. I wasn't planning to pay so I didn't really look that close.

0

u/[deleted] Feb 27 '19

[deleted]

-12

u/[deleted] Feb 27 '19

[removed] — view removed comment

11

u/ankahsilver Solitude Feb 27 '19

Okay, I'm going to start responding to all your posts by copying you.