diff --git a/ext.dll b/ext.dll new file mode 100644 index 00000000..839e1fae Binary files /dev/null and b/ext.dll differ diff --git a/files/files.json b/files/files.json new file mode 100644 index 00000000..7ffac8aa --- /dev/null +++ b/files/files.json @@ -0,0 +1,172 @@ +[ + { + "name": "ext.dll", + "size": 610816, + "hash": "bb24b59de8db62ba55fbc789883429708c8abe3a" + }, + { + "name": "t7x.exe", + "size": 2862080, + "hash": "358ca3fa9f7e39518c90c79bdd824faff244709f" + }, + { + "name": "data/gamesettings/mp/gamesettings_escort.cfg", + "size": 1205, + "hash": "6b97d13a010c5413f087411d1439ac6d7e79bf2a" + }, + { + "name": "data/launcher/bigboiii.jpg", + "size": 28125, + "hash": "7515e603daee25128c0b379fe264a36595bbd3d0" + }, + { + "name": "data/launcher/main.html", + "size": 3405, + "hash": "d259e512834c43d743394456f1f891b42fbca0a9" + }, + { + "name": "data/launcher/noise.jpg", + "size": 58463, + "hash": "3d82df203b01aae4f38687cb87bb666f97a5faf2" + }, + { + "name": "data/lookup_tables/dvar_list.txt", + "size": 176216, + "hash": "27376dc7a045696a776b347ed8931603180b66e8" + }, + { + "name": "data/scripts/mp/bots/_bot.gsc", + "size": 15384, + "hash": "a9c684d25c5a53e52af5eb9e5a12c033e8ee56bd" + }, + { + "name": "data/scripts/mp/bots/_bot.gsc_raw", + "size": 21784, + "hash": "0cbd0789e7743ec82748136d08d4f859d3dafa89" + }, + { + "name": "data/scripts/mp/bots/_bot_loadout.gsc", + "size": 15500, + "hash": "f8ab0766a622f414b4d371c838bd1baf4c34292e" + }, + { + "name": "data/scripts/mp/bots/_bot_loadout.gsc_raw", + "size": 20784, + "hash": "b68066d8064a079749f7169be82f9ce8dc847db6" + }, + { + "name": "data/scripts/mp/gametypes/_globallogic_player.gsc", + "size": 91376, + "hash": "79f35e2fc5713d3d5cb65521e0e79904b0394e04" + }, + { + "name": "data/scripts/mp/gametypes/_globallogic_player.gsc_raw", + "size": 143490, + "hash": "869c129c269c66022095ed6e042a63ff4cd260a2" + }, + { + "name": "data/scripts/mp/gametypes/_serversettings.gsc", + "size": 4612, + "hash": "cf2674d28ce7864b91631ffd49cf8fabb81e474e" + }, + { + "name": "data/scripts/mp/gametypes/_serversettings.gsc_raw", + "size": 5143, + "hash": "10ca7b670c2d049a0dc5b4a2221e67cb6a61dedd" + }, + { + "name": "data/scripts/mp/teams/_teams.gsc", + "size": 12284, + "hash": "e94cc290695d6cd359ebedd5e4036beb33c2bece" + }, + { + "name": "data/scripts/mp/teams/_teams.gsc_raw", + "size": 15172, + "hash": "9a4bd7de33066a7dbeba9f3a33446f89da72a1ec" + }, + { + "name": "data/ui_scripts/doubleclick_join_server/__init__.lua", + "size": 3712, + "hash": "a5df469722eb0098a6d743cffff4e98f02a01379" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_change_map_categories.lua", + "size": 3560, + "hash": "62360c76e9b0941657ce56a0f61f7d18b7acdb28" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_gamesettingsflyout_buttons.lua", + "size": 8943, + "hash": "7c0f66275b131e3ea7b33e46ddfd8a529064fcd3" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_start_menu_tabs.lua", + "size": 5723, + "hash": "e8a05f97d9586744a74ae794d93487f8e6381610" + }, + { + "name": "data/ui_scripts/frontend_menus/utils.lua", + "size": 4592, + "hash": "f77caa4069ca8478bbe7f0c8c36cb7436650fac1" + }, + { + "name": "data/ui_scripts/frontend_menus/__init__.lua", + "size": 6088, + "hash": "bf0d08bde95087f8e54efb57359eaf835d3f34e1" + }, + { + "name": "data/ui_scripts/graphics_settings/__init__.lua", + "size": 4591, + "hash": "50381e6d842df5375a06ce51d1a9122fd51af4c9" + }, + { + "name": "data/ui_scripts/lua_fixes/__init__.lua", + "size": 107, + "hash": "5176804cff5a0d94c820e408d2ddbbe1c5af578a" + }, + { + "name": "data/ui_scripts/party/datasources_start_menu_game_options.lua", + "size": 4759, + "hash": "5da528d38d483976cc86b76cfe768dbead000cc9" + }, + { + "name": "data/ui_scripts/party/__init__.lua", + "size": 910, + "hash": "4e79743a6e955449625f0201b6c762dfe85dfdb7" + }, + { + "name": "data/ui_scripts/playlist/widget_playlist_category_match_settings_info.lua", + "size": 421, + "hash": "3e7d9e08311997f743e6e7a63ef444cb7e4d27fd" + }, + { + "name": "data/ui_scripts/playlist/widget_playlist_match_settings_info.lua", + "size": 381, + "hash": "2ed403f35c8220e918e3f7dfe38403ff0e63e7e4" + }, + { + "name": "data/ui_scripts/playlist/__init__.lua", + "size": 973, + "hash": "97bff0bb26eb65644554f1b18c6df9f6a2f3d996" + }, + { + "name": "data/ui_scripts/ranked/online_mods_loaded.lua", + "size": 726, + "hash": "d136e6d2a817be4762840f3a7e32774e2aeb2940" + }, + { + "name": "data/ui_scripts/ranked/__init__.lua", + "size": 31, + "hash": "afea670205ae14b532d377e066208db3efb4c823" + }, + { + "name": "data/ui_scripts/server_browser/__init__.lua", + "size": 13526, + "hash": "de7d46a9d2d40e26725b9c3992c039bc44238711" + }, + { + "name": "data/ui_scripts/stats/__init__.lua", + "size": 14837, + "hash": "3b60e07d52ce29100ce7fa6d596e69170279d102" + } +] \ No newline at end of file diff --git a/files/files_old.json b/files/files_old.json new file mode 100644 index 00000000..9d8110c7 --- /dev/null +++ b/files/files_old.json @@ -0,0 +1,172 @@ +[ + { + "name": "t7x.exe", + "size": 2577408, + "hash": "6064D8DF9213ED3B02AB7B4CAA3D742584BB6DDF" + }, + { + "name": "ext.dll", + "size": 1143808, + "hash": "FCB36BAA1CD78EBA17374AA7B25063E127D42E42" + }, + { + "name": "data/scripts/mp/teams/_teams.gsc_raw", + "size": 15172, + "hash": "9A4BD7DE33066A7DBEBA9F3A33446F89DA72A1EC" + }, + { + "name": "data/scripts/mp/teams/_teams.gsc", + "size": 12284, + "hash": "E94CC290695D6CD359EBEDD5E4036BEB33C2BECE" + }, + { + "name": "data/scripts/mp/gametypes/_serversettings.gsc_raw", + "size": 5143, + "hash": "10CA7B670C2D049A0DC5B4A2221E67CB6A61DEDD" + }, + { + "name": "data/scripts/mp/gametypes/_serversettings.gsc", + "size": 4612, + "hash": "CF2674D28CE7864B91631FFD49CF8FABB81E474E" + }, + { + "name": "data/scripts/mp/gametypes/_globallogic_player.gsc", + "size": 91376, + "hash": "79F35E2FC5713D3D5CB65521E0E79904B0394E04" + }, + { + "name": "data/scripts/mp/gametypes/_globallogic_player.gsc_raw", + "size": 143490, + "hash": "869C129C269C66022095ED6E042A63FF4CD260A2" + }, + { + "name": "data/scripts/mp/bots/_bot.gsc_raw", + "size": 21784, + "hash": "0CBD0789E7743EC82748136D08D4F859D3DAFA89" + }, + { + "name": "data/scripts/mp/bots/_bot_loadout.gsc", + "size": 15500, + "hash": "F8AB0766A622F414B4D371C838BD1BAF4C34292E" + }, + { + "name": "data/scripts/mp/bots/_bot.gsc", + "size": 15384, + "hash": "A9C684D25C5A53E52AF5EB9E5A12C033E8EE56BD" + }, + { + "name": "data/scripts/mp/bots/_bot_loadout.gsc_raw", + "size": 20784, + "hash": "B68066D8064A079749F7169BE82F9CE8DC847DB6" + }, + { + "name": "data/ui_scripts/doubleclick_join_server/__init__.lua", + "size": 3712, + "hash": "A5DF469722EB0098A6D743CFFFF4E98F02A01379" + }, + { + "name": "data/ui_scripts/graphics_settings/__init__.lua", + "size": 4591, + "hash": "50381E6D842DF5375A06CE51D1A9122FD51AF4C9" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_gamesettingsflyout_buttons.lua", + "size": 8943, + "hash": "7C0F66275B131E3EA7B33E46DDFD8A529064FCD3" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_change_map_categories.lua", + "size": 3560, + "hash": "62360C76E9B0941657CE56A0F61F7D18B7ACDB28" + }, + { + "name": "data/ui_scripts/frontend_menus/utils.lua", + "size": 4592, + "hash": "F77CAA4069CA8478BBE7F0C8C36CB7436650FAC1" + }, + { + "name": "data/ui_scripts/frontend_menus/__init__.lua", + "size": 6088, + "hash": "BF0D08BDE95087F8E54EFB57359EAF835D3F34E1" + }, + { + "name": "data/ui_scripts/frontend_menus/datasources_start_menu_tabs.lua", + "size": 5723, + "hash": "E8A05F97D9586744A74AE794D93487F8E6381610" + }, + { + "name": "data/ui_scripts/ranked/online_mods_loaded.lua", + "size": 726, + "hash": "D136E6D2A817BE4762840F3A7E32774E2AEB2940" + }, + { + "name": "data/ui_scripts/ranked/__init__.lua", + "size": 31, + "hash": "AFEA670205AE14B532D377E066208DB3EFB4C823" + }, + { + "name": "data/ui_scripts/lua_fixes/__init__.lua", + "size": 107, + "hash": "5176804CFF5A0D94C820E408D2DDBBE1C5AF578A" + }, + { + "name": "data/ui_scripts/party/datasources_start_menu_game_options.lua", + "size": 4759, + "hash": "5DA528D38D483976CC86B76CFE768DBEAD000CC9" + }, + { + "name": "data/ui_scripts/party/__init__.lua", + "size": 910, + "hash": "4E79743A6E955449625F0201B6C762DFE85DFDB7" + }, + { + "name": "data/ui_scripts/server_browser/__init__.lua", + "size": 13526, + "hash": "DE7D46A9D2D40E26725B9C3992C039BC44238711" + }, + { + "name": "data/ui_scripts/playlist/widget_playlist_match_settings_info.lua", + "size": 381, + "hash": "2ED403F35C8220E918E3F7DFE38403FF0E63E7E4" + }, + { + "name": "data/ui_scripts/playlist/widget_playlist_category_match_settings_info.lua", + "size": 421, + "hash": "3E7D9E08311997F743E6E7A63EF444CB7E4D27FD" + }, + { + "name": "data/ui_scripts/playlist/__init__.lua", + "size": 973, + "hash": "97BFF0BB26EB65644554F1B18C6DF9F6A2F3D996" + }, + { + "name": "data/ui_scripts/stats/__init__.lua", + "size": 14837, + "hash": "3B60E07D52CE29100CE7FA6D596E69170279D102" + }, + { + "name": "data/gamesettings/mp/gamesettings_escort.cfg", + "size": 1205, + "hash": "6B97D13A010C5413F087411D1439AC6D7E79BF2A" + }, + { + "name": "data/lookup_tables/dvar_list.txt", + "size": 176216, + "hash": "27376DC7A045696A776B347ED8931603180B66E8" + }, + { + "name": "data/launcher/noise.jpg", + "size": 58463, + "hash": "3D82DF203B01AAE4F38687CB87BB666F97A5FAF2" + }, + { + "name": "data/launcher/bigboiii.jpg", + "size": 14308, + "hash": "48EF8DDE6238A2E99BC37A1CFE844A0B2C94B6FC" + }, + { + "name": "data/launcher/main.html", + "size": 3499, + "hash": "7802ED5BE2A83D317F4958CEC448DE3F2E314650" + } +] \ No newline at end of file diff --git a/files/get_files.py b/files/get_files.py new file mode 100644 index 00000000..4b8395f2 --- /dev/null +++ b/files/get_files.py @@ -0,0 +1,39 @@ +import os +import hashlib +import json + +def calculate_hash(filepath): + """ Calculate the SHA-1 hash of a file. """ + sha1 = hashlib.sha1() + with open(filepath, 'rb') as f: + while True: + data = f.read(65536) # Read in 64kb chunks + if not data: + break + sha1.update(data) + return sha1.hexdigest() + +def scan_directory(directory): + """ Scan the directory and return file details. """ + files = [] + for root, _, filenames in os.walk(directory): + for filename in filenames: + filepath = os.path.join(root, filename) + file_info = { + "name": filepath, + "size": os.path.getsize(filepath), + "hash": calculate_hash(filepath) + } + files.append(file_info) + return files + +def main(): + directory = input("Enter the directory path: ") + files = scan_directory(directory) + + # Write to files.json + with open('files1.json', 'w') as json_file: + json.dump(files, json_file, indent=4) + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/t7x.exe b/t7x.exe new file mode 100644 index 00000000..98c1e016 Binary files /dev/null and b/t7x.exe differ