From 422ae174a9c255711947fcb9492e88447f115e42 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Sun, 1 Sep 2024 13:01:52 +0800 Subject: [PATCH] Add faq and remove unused asset --- index.html | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 6f6af53..3c1036f 100644 --- a/index.html +++ b/index.html @@ -31,6 +31,23 @@ background-color: #ffffff; color: #000000; } + #info { + text-align: left; + min-width: 50vw; + } + details { + text-align: left; + padding: 6px; + padding-left: 8px; + border-radius: 1rem; + background-color: rgba(0,0,0,0.5); + margin-bottom: 1rem; + } + summary { + background-color: rgba(255,255,255,0.1); + padding: 4px; + border-radius: 0.6rem; + } @@ -52,6 +69,22 @@

+ +


+ Info: +
+
+ What .html file do I choose? + Once you have a local EaglercraftX workspace setup, in build.gradle, set the obfuscate property to false. + Then, run CompileJS.bat (or .sh if on a unix-based os), and then run MakeOfflineDownload.bat. The outputted offline download will have a much larger file size than other offline builds. This is the file you should select. + (it should have a naming convention similar to EaglercraftX_1.8_Offline_en_US.html) +
+
+ How does this tool work? + The injector works by analysing your uploaded file for patterns that appear in TeaVM's compiled JavaScript code. Then, it will replace all functions with proxies to the original code, which it moves into + ModAPI.hooks.methods. It does similar things with static properties and constructors, and then hooks into $rt_metadata to access auxilary information. +
+
@@ -285,6 +318,5 @@ var main;(function(){` -