11; MIT License
22;
3- ; Copyright (c) 2021 CodISH Inc.
3+ ; Copyright (c) 2021 clownless (Maxim K.)
44;
55; Permission is hereby granted, free of charge, to any person obtaining a copy
66; of this software and associated documentation files (the "Software"), to deal
2323;
2424; @Ahk2Exe-SetName FET Loader
2525; @Ahk2Exe-SetDescription A simple cheats loader written in AHK.
26- ; @Ahk2Exe-SetCopyright Copyright (C) 2021 CodISH inc.
27- ; @Ahk2Exe-SetCompanyName CodISH Inc .
28- ; @Ahk2Exe-SetProductVersion 3.2.1 .0
29- ; @Ahk2Exe-SetVersion 3.2.1 .0
26+ ; @Ahk2Exe-SetCopyright Copyright (C) 2021 clownless
27+ ; @Ahk2Exe-SetCompanyName Maxim K .
28+ ; @Ahk2Exe-SetProductVersion 3.2.2 .0
29+ ; @Ahk2Exe-SetVersion 3.2.2 .0
3030; @Ahk2Exe-SetMainIcon icon.ico
3131; @Ahk2Exe-UpdateManifest 1
3232global script = " FET Loader"
33- global version = " v3.2.1 "
33+ global version = " v3.2.2 "
3434global build_status = " release"
3535global times = 3 ; piece of shit, don't touch
3636
@@ -48,7 +48,6 @@ SetBatchLines, -1
4848CoordMode , Mouse , Screen
4949
5050FileDelete , %A_AppData %\FET Loader\Web\main.*
51- FileDelete , %A_AppData %\FET Loader\Web\js\iniparser.*
5251FileDelete , %A_AppData %\FET Loader\cheats.ini
5352FileDelete , %A_AppData %\FET Loader\* .dll
5453
@@ -58,8 +57,6 @@ RegRead, winbuild, HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion, BuildLabEx
5857RegRead , isLightMode, HKCU ,SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize, SystemUsesLightTheme
5958RegRead , isReaded, HKCU \SOFTWARE\CodISH Inc\FET Loader, isReadedDisclaimer
6059RegRead , isDPIWarningReaded, HKCU \SOFTWARE\CodISH Inc\FET Loader, isDPIWarningReaded
61- IniRead , cheatrepo, %A_AppData %\FET Loader\config.ini, settings, cheatrepo
62- IniRead , branch, %A_AppData %\FET Loader\config.ini, settings, branch
6360IniRead , oldgui, %A_AppData %\FET Loader\config.ini, settings, oldgui
6461IniRead , cheatlist, %A_AppData %\FET Loader\cheats.ini, cheatlist, cheatlist
6562IniRead , checkupdates, %A_AppData %\FET Loader\config.ini, settings, checkupdates
@@ -123,19 +120,20 @@ Logging(1,"Creating folders and downloading files...")
123120IfNotExist , %A_AppData %\FET Loader\cheats.ini
124121{
125122 Logging(1 ," - Getting cheat list..." )
126- UrlDownloadToFile , https:// github .com/ %cheatrepo% / raw / main / cheats.ini, %A_AppData %\FET Loader\cheats.ini
123+ UrlDownloadToFile , https:// gitlab .com/ api / v4 / projects / 25080350 / repository / files / cheats.ini/ raw ?ref=main , %A_AppData %\FET Loader\cheats.ini
127124 Logging(1 ," ......done." )
128125}
126+
129127IfNotExist , %A_AppData %\FET Loader\vac- bypass.exe
130128{
131129 Logging(1 ," - Downloading vac-bypass.exe..." )
132- UrlDownloadToFile , https:// github .com/ clangremlini / fetloader - dll - repo / raw / main / vac- bypass.exe, %A_AppData %\FET Loader\vac- bypass.exe
130+ UrlDownloadToFile , https:// gitlab .com/ api / v4 / projects / 25080350 / repository / files / vac- bypass.exe/ raw ?ref=main , %A_AppData %\FET Loader\vac- bypass.exe
133131 Logging(1 ," ......done." )
134132}
135133IfNotExist , %A_AppData %\FET Loader\emb.exe
136134{
137135 Logging(1 ," - Downloading emb.exe..." )
138- UrlDownloadToFile , https:// github .com/ clangremlini / fetloader - dll - repo / raw / main / emb.exe, %A_AppData %\FET Loader\emb.exe
136+ UrlDownloadToFile , https:// gitlab .com/ api / v4 / projects / 25080350 / repository / files / emb.exe/ raw ?ref=main , %A_AppData %\FET Loader\emb.exe
139137 Logging(1 ," ......done." )
140138}
141139Logging(1 ," done." )
@@ -157,8 +155,8 @@ else {
157155 Logging(1 ," Build No.: " winbuild)
158156}
159157Logging(1 ," Loader Location: " A_ScriptFullPath )
160- Logging(1 ," Cheat Repo: " cheatrepo )
161- Logging(1 ," Cheat Repo Branch: " branch )
158+ Logging(1 ," Cheat Repo: FETLoader/dll-repo " )
159+ Logging(1 ," Cheat Repo Branch: main " )
162160if (A_IsUnicode = true ) {
163161 Logging(1 ," Compiler Type: UTF-8" )
164162} else {
@@ -179,7 +177,7 @@ FileCreateDir, Web
179177FileCreateDir , Web\js
180178FileCreateDir , Web\css
181179FileCreateDir , Web\css\fonts
182- FileInstall , Web\js\iniparser.js, Web\js\iniparser.bak , 1
180+ FileInstall , Web\js\iniparser.js, Web\js\iniparser.js , 1
183181FileInstall , Web\js\bootstrap- 4.4.1 .js, Web\js\bootstrap- 4.4.1 .js, 1
184182FileInstall , Web\css\bootstrap- 4.4.1 .css, Web\css\bootstrap- 4.4.1 .css, 1
185183FileInstall , Web\js\jquery- 3.4.1 .min.js, Web\js\jquery- 3.4.1 .min.js, 1
@@ -245,10 +243,6 @@ if (oldgui = "true")
245243}
246244else
247245{
248- newrepo = %cheatrepo%/ raw / %branch%
249- FileRead , gui , Web\js\iniparser.bak
250- StringReplace , newgui, gui , clangremlini/ fetloader- dll- repo/ raw / main, %newrepo%, All
251- FileAppend , %newgui%, Web\js\iniparser.js
252246 IniRead , cheatlist, %A_AppData %\FET Loader\cheats.ini, cheatlist, cheatlist
253247 StringSplit , cheatss, cheatlist, |
254248 cheatsCount := cheatss0
0 commit comments