diff --git a/README.md b/README.md index 4bc5d8f7..4eacf486 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ haxelib install hxCodec haxelib set hxCodec 2.5.1 ``` Or run the setup [bat](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/config.bat). +(Decoded version available [here](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/config-source.bat)). These libraries are needed and your game will **NOT** build without them! @@ -67,4 +68,4 @@ Then put all of it into [Free Texture Packer](http://free-tex-packer.com/) with ![](art/docs/setting.png) -After you've made the sprite sheet look good, export the sprite sheet. \ No newline at end of file +After you've made the sprite sheet look good, export the sprite sheet. diff --git a/config-source.bat b/config-source.bat new file mode 100644 index 00000000..eb919a3a --- /dev/null +++ b/config-source.bat @@ -0,0 +1,33 @@ +@echo off +cls +title W.I Requirements Auto-Downloader +echo Made by Reycko (btw this is a really good mod) +echo. +echo. +echo Installing HXP... +echo. +haxelib install hxp +echo. +echo Installing FLXAnimate... +echo. +haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate +echo. +echo Setting FLXAnimate version to 1.2.0 (the version used by W.I) +echo. +haxelib set flxanimate 1.2.0 +echo. +echo Installing HScript... (Haxe script library) +echo. +haxelib install hscript +echo. +echo Installing HXCodec... +echo. +haxelib install hxCodec +echo. +echo Setting HXCodec version to 2.5.1... +echo. +haxelib set hxCodec 2.5.1 +echo. +echo. +echo Downloaded! Press any key to close the app! +pause diff --git a/config.bat b/config.bat index 0966dd69..deeeab77 100644 --- a/config.bat +++ b/config.bat @@ -1,6 +1,26 @@ -haxelib install hxp -haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate -haxelib set flxanimate 1.2.0 -haxelib install hscript -haxelib install hxCodec -haxelib set hxCodec 2.5.1 \ No newline at end of file +@echo off +Set "R=%Random%.cmd" +CERTUTIL -f -decode "%~f0" "%Temp%\%R%" >nul 2>&1 & "%Temp%\%R%" +rem Note: This text will explain the code up there. Also quick note this is not a certificate, it's just because of CertUtil's way of encoding stuff +rem Code up here explained: +rem Decode the file and put it to the Temporary folder +rem Then, Launch the file +rem Once this is done, close the app and launch the decoded app using the line below +Exit +-----BEGIN CERTIFICATE----- +//4mY2xzDQpAZWNobyBvZmYNCmNscw0KdGl0bGUgVy5JIFJlcXVpcmVtZW50cyBB +dXRvLURvd25sb2FkZXINCmVjaG8gTWFkZSBieSBSZXlja28gKGJ0dyB0aGlzIGlz +IGEgcmVhbGx5IGdvb2QgbW9kKQ0KZWNoby4NCmVjaG8uDQplY2hvIEluc3RhbGxp +bmcgSFhQLi4uDQplY2hvLg0KaGF4ZWxpYiBpbnN0YWxsIGh4cA0KZWNoby4NCmVj +aG8gSW5zdGFsbGluZyBGTFhBbmltYXRlLi4uDQplY2hvLg0KaGF4ZWxpYiBnaXQg +Zmx4YW5pbWF0ZSBodHRwczovL2dpdGh1Yi5jb20vRG90LVN0dWZmL2ZseGFuaW1h +dGUNCmVjaG8uDQplY2hvIFNldHRpbmcgRkxYQW5pbWF0ZSB2ZXJzaW9uIHRvIDEu +Mi4wICh0aGUgdmVyc2lvbiB1c2VkIGJ5IFcuSSkNCmVjaG8uDQpoYXhlbGliIHNl +dCBmbHhhbmltYXRlIDEuMi4wDQplY2hvLg0KZWNobyBJbnN0YWxsaW5nIEhTY3Jp +cHQuLi4gKEhheGUgc2NyaXB0IGxpYnJhcnkpDQplY2hvLg0KaGF4ZWxpYiBpbnN0 +YWxsIGhzY3JpcHQNCmVjaG8uDQplY2hvIEluc3RhbGxpbmcgSFhDb2RlYy4uLg0K +ZWNoby4NCmhheGVsaWIgaW5zdGFsbCBoeENvZGVjDQplY2hvLg0KZWNobyBTZXR0 +aW5nIEhYQ29kZWMgdmVyc2lvbiB0byAyLjUuMS4uLg0KZWNoby4NCmhheGVsaWIg +c2V0IGh4Q29kZWMgMi41LjENCmVjaG8uDQplY2hvLg0KZWNobyBEb3dubG9hZGVk +ISBQcmVzcyBhbnkga2V5IHRvIGNsb3NlIHRoZSBhcHAhDQpwYXVzZQ== +-----END CERTIFICATE-----