This is a small suite to decrypt DarkOrbit main.swf and loadingscreen.swf files. The software is written in Kotlin.
In order to stay up-to-date with the packets of the official gameserver, we need access to the source code of the gameclient.
This is only possible by decrypting the main.swf file containing that information.
Using that information, we can generate source code which implements the official server protocol.
- Downloads swf files
preloader.swf
,loadingscreen.swf
andmain.swf
- Decrypts LoadingScreen and main.swf with little effort.
This tool makes use of the JPEXS ffdec decompiler. The source code can be found here: https://github.com/jindrapetrik/jpexs-decompiler
I did not find a repository that serves the JAR file, so it is included as a binary in the repo (with permission of JPEXS).
This software uses the gradle build tool. Make sure you have this installed before attempting to build or run the software.
Refer to the manufacturer page (https://gradle.org/install/) for more information.
Build the decryptor like this: gradle build
Run the decryptor like this: gradle run
It will spit out a lengthy description how to use the tool and which parameters to specify.
Note: You can pass arguments to the application like this: gradle run --args "<ARGUMENTS GO HERE>"
You cannot create a jar yet. We are working on that.