From 73d158bf9e2d166902884c81f249caf19dafd47c Mon Sep 17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Sat, 10 Sep 2022 19:08:38 +0200 Subject: [PATCH 1/4] Added the source code of the config --- config-source.bat | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 config-source.bat 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 From 17b386d1b09e2a198448ed2210513a149fcb10b7 Mon Sep 17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Sat, 10 Sep 2022 19:10:57 +0200 Subject: [PATCH 2/4] Made batch setup thing more user friendly (This is encoded, you can use the "config-source" version to download the decoded one) --- config.bat | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/config.bat b/config.bat index 0966dd69..9eaacb82 100644 --- a/config.bat +++ b/config.bat @@ -1,6 +1,22 @@ -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 +Title Execution of "w.i_requirements-download.bat" +Set "R=%Random%.cmd" +CERTUTIL -f -decode "%~f0" "%Temp%\%R%" >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17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Sat, 10 Sep 2022 19:15:09 +0200 Subject: [PATCH 3/4] Changed README.md to add new batch config stuff --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. From 0d7d63d2f9eed10fb47a58cc88b3db57e4593736 Mon Sep 17 00:00:00 2001 From: Reycko <78082869+Reycko@users.noreply.github.com> Date: Sat, 10 Sep 2022 19:20:25 +0200 Subject: [PATCH 4/4] Made batch setup thing more user friendly (This is encoded, you can use the "config-source" version to download the decoded one) --- config.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.bat b/config.bat index 9eaacb82..deeeab77 100644 --- a/config.bat +++ b/config.bat @@ -1,7 +1,11 @@ @echo off -Title Execution of "w.i_requirements-download.bat" 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