Skip to content

Commit

Permalink
Merge pull request lunarcleint#8 from Reycko/master
Browse files Browse the repository at this point in the history
More user-friendly batch setup thing for W.I building requirements.
lunarcleint authored Sep 10, 2022
2 parents 0aa35bf + 0d7d63d commit 35eb502
Showing 3 changed files with 61 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
After you've made the sprite sheet look good, export the sprite sheet.
33 changes: 33 additions & 0 deletions config-source.bat
Original file line number Diff line number Diff line change
@@ -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
32 changes: 26 additions & 6 deletions config.bat
Original file line number Diff line number Diff line change
@@ -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
@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-----

0 comments on commit 35eb502

Please sign in to comment.