Lol
This commit is contained in:
commit
16b64a8e71
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# https://help.github.com/articles/dealing-with-line-endings/
|
||||||
|
#
|
||||||
|
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.sh text eol=lf
|
||||||
|
gradlew text eol=lf
|
|
@ -0,0 +1,17 @@
|
||||||
|
.gradle
|
||||||
|
.settings
|
||||||
|
.classpath
|
||||||
|
.project
|
||||||
|
build
|
||||||
|
bin
|
||||||
|
proxyServer/bin
|
||||||
|
proxyServer/rundir
|
||||||
|
desktopRuntime/_eagstorage*
|
||||||
|
desktopRuntime/eclipseProject/bin*
|
||||||
|
desktopRuntime/hs_err_*
|
||||||
|
desktopRuntime/crash-reports/*
|
||||||
|
desktopRuntime/options.txt
|
||||||
|
desktopRuntime/_eagstorage*
|
||||||
|
desktopRuntime/filesystem/*
|
||||||
|
desktopRuntime/downloads/*
|
||||||
|
desktopRuntime/screenshots/*
|
|
@ -0,0 +1,306 @@
|
||||||
|
# Eaglercraft Code Standards
|
||||||
|
|
||||||
|
**These are some basic rules to follow if you would like to write code that is consistent with the Eaglercraft 1.8 codebase. If you are already familiar with Eaglercraft 1.5 or b1.3, please abandon whatever you think is the best practice as a result of reading that code, those clients should be considered as obsolete prototypes.**
|
||||||
|
|
||||||
|
## Part A. Coding Style
|
||||||
|
|
||||||
|
### 1. Tabs, not spaces
|
||||||
|
|
||||||
|
Tabs not spaces, it makes indentation easier to manage and reduces file size. Other popular projects that are also known to use tabs instead of spaces include the linux kernel. We prefer to set tab width to 4 spaces on our editors.
|
||||||
|
|
||||||
|
Format code like the eclipse formatter on factory settings
|
||||||
|
|
||||||
|
### 2. Avoid redundant hash map lookups
|
||||||
|
|
||||||
|
Don't retrieve the same value from a hash map more than once, that includes checking if an entry exists first before retrieving its value. If you do this, you are a horrible person!
|
||||||
|
|
||||||
|
**Incorrect:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
if(hashMap.containsKey("eagler")) {
|
||||||
|
Object val = hashMap.get("eagler");
|
||||||
|
// do something with val
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
Object val = hashMap.get("eagler");
|
||||||
|
if(val != null) {
|
||||||
|
// do something with val
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Cache the return value of a function if you plan to use it multiple times
|
||||||
|
|
||||||
|
This is somewhat an extension of rule #2, don't repeatedly call the same function multiple times if there's no reason to, even if its a relatively fast function. Everything is slower and less efficient in a browser.
|
||||||
|
|
||||||
|
**Incorrect:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
while(itr.hasNext()) {
|
||||||
|
if(!Minecraft.getMinecraft().getRenderManager().getEntityClassRenderObject(SomeEntity.class).shouldRender(itr.next())) {
|
||||||
|
itr.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
Render<SomeEntity> render = Minecraft.getMinecraft().getRenderManager().getEntityClassRenderObject(SomeEntity.class);
|
||||||
|
while(itr.hasNext()) {
|
||||||
|
if(!render.shouldRender(itr.next())) {
|
||||||
|
itr.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 4. Iterators aren't that great
|
||||||
|
|
||||||
|
Avoid using iterators when possible, this includes a `for(Item item : list)` type loop, since this may compile into bytecode that uses an iterator. If the list is a linked list or some other type of data structure that can’t perform random access efficiently, then it is recommended to use an iterator, but if the collection is guaranteed to be something similar to an ArrayList then implement it via a traditional for loop instead.
|
||||||
|
|
||||||
|
**Recommended way to iterate an ArrayList:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
for(int i = 0, l = list.size(); i < l; ++i) {
|
||||||
|
Item item = list.get(i);
|
||||||
|
// do something
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 5. Don't shit on the heap
|
||||||
|
|
||||||
|
Avoid creating temporary single-use objects in performance critical code, since the overhead of doing so is larger in a browser where there’s no type safety to predefine object structures. This includes using lambdas or using most of the stuff in the google guava package. Also this is partially why I prefer not using iterators whenever possible.
|
||||||
|
|
||||||
|
**Incorrect, creates 5 temporary objects:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
List<String> list1 = Arrays.asList("eagler", "eagler", "deevis");
|
||||||
|
List<String> list2 = Lists.newArrayList(
|
||||||
|
Collections2.transform(
|
||||||
|
Collections2.filter(
|
||||||
|
list1,
|
||||||
|
(e) -> !e.equals("deevis")
|
||||||
|
),
|
||||||
|
(e) -> (e + "!")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct, creates no temporary objects:**
|
||||||
|
|
||||||
|
```java
|
||||||
|
List<String> list1 = Arrays.asList("eagler", "eagler", "deevis");
|
||||||
|
List<String> list2 = Lists.newArrayList();
|
||||||
|
for(int i = 0, l = list1.size(); i < l; ++i) {
|
||||||
|
String s = list1.get(i);
|
||||||
|
if(!s.equals("deevis")) {
|
||||||
|
list2.add(s + "!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
(note: we are ignoring the StringBuilder instances that the compiler generates from ` + "!"`)
|
||||||
|
|
||||||
|
### 6. Don't base game/render logic off of the system time
|
||||||
|
|
||||||
|
Use `EagRuntime.steadyTimeMillis()` instead to access a monotonic clock, as in a clock that is guaranteed to only run forwards, and is not affected by changes in the system time. `System.currentTimeMillis()` should only be used in situations where you want to know the actual wall time or are measuring elapsed time across multiple page refreshes.
|
||||||
|
|
||||||
|
### 7. Prefer multiplication over division
|
||||||
|
|
||||||
|
If you're always gonna divide a number by some constant, it is better to multiply it by one-over-the-constant instead.
|
||||||
|
|
||||||
|
**Incorrect**
|
||||||
|
|
||||||
|
```java
|
||||||
|
float b = a / 50.0f;
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct**
|
||||||
|
|
||||||
|
```java
|
||||||
|
float b = a * 0.02f;
|
||||||
|
```
|
||||||
|
|
||||||
|
### 8. Shaders should take advantage of compiler intrinsics
|
||||||
|
|
||||||
|
Although you may think these two pieces of code are identical, its more than likely that the "Correct" example will compile to a more efficient shader on almost any hardware. The functions in GLSL are not a library, they are compiler intrinsics that usually compile to inline assembly that can take advantage of different acceleration instructions in the GPU's instruction set. Vector math should be done in ways that promotes the use of SIMD instructions when the code is compiled to a shader.
|
||||||
|
|
||||||
|
**Incorrect:**
|
||||||
|
|
||||||
|
```glsl
|
||||||
|
float dx = pos1.x - pos2.x;
|
||||||
|
float dy = pos1.y - pos2.y;
|
||||||
|
float dz = pos1.z - pos2.z;
|
||||||
|
float distance = sqrt(dx * dx + dy * dy + dz * dz);
|
||||||
|
float fogDensity = pow(2.718, -density * distance);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct:**
|
||||||
|
|
||||||
|
```glsl
|
||||||
|
float fogDensity = exp(-density * length(pos1.xyz - pos2.xyz));
|
||||||
|
```
|
||||||
|
|
||||||
|
### 9. Flatten the control flow of shaders
|
||||||
|
|
||||||
|
Modern GPUs are able to execute multiple instances of a shader on a single core, but if one of those shaders encounters a branch (if statement, or related) that causes it to begin executing different code from the other instances of the shader running on that core, that instance of the shader can no longer be executed at the same time as the other instances, and suddenly you've significantly increased the amount of time this core will now be busy executing shader instructions to account for all of the branches the different shader instances have taken.
|
||||||
|
|
||||||
|
**Incorrect:**
|
||||||
|
|
||||||
|
```glsl
|
||||||
|
float lightValue = dot(lightDirection, normal);
|
||||||
|
if(lightValue > 0.0) {
|
||||||
|
color += lightValue * lightColor * diffuseColor;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct:**
|
||||||
|
```glsl
|
||||||
|
float lightValue = max(dot(lightDirection, normal), 0.0);
|
||||||
|
color += lightValue * lightColor * diffuseColor;
|
||||||
|
```
|
||||||
|
|
||||||
|
### 10. Use textureLod unless mipmapping is necessary
|
||||||
|
|
||||||
|
This will prevent the shader from wasting time trying to determine what mipmap levels to read from when the texture is sampled.
|
||||||
|
|
||||||
|
**Incorrect:**
|
||||||
|
|
||||||
|
```glsl
|
||||||
|
float depthValue = texture(depthBuffer, pos).r;
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct:**
|
||||||
|
|
||||||
|
```glsl
|
||||||
|
float depthValue = textureLod(depthBuffer, pos, 0.0).r;
|
||||||
|
```
|
||||||
|
|
||||||
|
### 11. Divide complex and branch-intensive shaders into multiple draw calls
|
||||||
|
|
||||||
|
You can use a variety of different blending modes to mathematically combine the results of shaders. This is done for the same reason as flattening the control flow, to try and keep instruction pointers in sync by periodically resetting their positions, and also to allow for the driver to multitask better on GPUs with insane numbers of cores. It also allows the shader’s execution to be distributed across multiple frames in the case of something that doesn’t need to update often (like clouds).
|
||||||
|
|
||||||
|
|
||||||
|
### 12. Don't abuse `@JSBody` in TeaVM code
|
||||||
|
|
||||||
|
TeaVM provides lots of ways of interacting with JavaScript, using `@JSBody` is not the only way, consider using an overlay type.
|
||||||
|
|
||||||
|
**Incorrect**
|
||||||
|
|
||||||
|
```java
|
||||||
|
@JSObject(params = { "obj" }, script = "return obj.valueA;")
|
||||||
|
public static native JSObject getValueA(JSObject obj);
|
||||||
|
|
||||||
|
@JSObject(params = { "obj" }, script = "return obj.valueB;")
|
||||||
|
public static native JSObject getValueB(JSObject obj);
|
||||||
|
|
||||||
|
@JSObject(params = { "obj" }, script = "return obj.valueC;")
|
||||||
|
public static native JSObject getValueC(JSObject obj);
|
||||||
|
|
||||||
|
@JSObject(params = { "obj" }, script = "obj.dumbFunction();")
|
||||||
|
public static native void callDumbFunction(JSObject obj);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct**
|
||||||
|
|
||||||
|
```java
|
||||||
|
public interface MyObject extends JSObject {
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
JSObject getValueA();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
JSObject getValueB();
|
||||||
|
|
||||||
|
@JSProperty
|
||||||
|
JSObject getValueC();
|
||||||
|
|
||||||
|
void dumbFunction();
|
||||||
|
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 13. Don't fall for TeaVM's threads
|
||||||
|
|
||||||
|
It is impossible to have multithreading in JavaScript, only worker objects can be used to execute code concurrently, which can't share javascript variables. Therefore, when you create a thread in TeaVM, you're creating a virtual thread that isn't capable of running at the same time as any other virtual thread in the TeaVM context. This means it's impossible to speed a TeaVM program up through the use of multiple Java threads, instead it is more than likely that it will just slow the program down more to implement multithreading through TeaVM's threads due to the additional time required for synchronization and context switches. Its more efficient to just program the entire application to be single threaded to begin with, just put everything in the main loop and realize that if it was in a different thread it would just periodically interrupt the main loop.
|
||||||
|
|
||||||
|
### 14. Always use try-with-resources
|
||||||
|
|
||||||
|
For any code that deals with streams to be considered safe, it should either use a try-with-resources or try/finally in order to release resources when complete, since otherwise the stream might not close if an IO error causes the function to return early. This is especially important for plugin code since its supposed to be able to run on a large server for weeks at a time without the underlying JVM being restarted. If hackers discover a bug in the code to cause a function to return early like this without closing a stream, they might exploit it to fatally crash the server by spamming whatever corrupt packet causes the function to leak the stream, so all code must be written so it can fail at any time without leaking resources.
|
||||||
|
|
||||||
|
**Incorrect**
|
||||||
|
|
||||||
|
```java
|
||||||
|
InputStream is = new FileInputStream(new File("phile.txt"));
|
||||||
|
is.write(someArray);
|
||||||
|
is.close();
|
||||||
|
```
|
||||||
|
|
||||||
|
**Correct**
|
||||||
|
|
||||||
|
```java
|
||||||
|
try(InputStream is = new FileInputStream(new File("phile.txt"))) {
|
||||||
|
is.write(someArray);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Notice that the `.close()` can be omitted completely when using a try-with-resources
|
||||||
|
|
||||||
|
### 15. Always close compression/decompression streams
|
||||||
|
|
||||||
|
In the desktop runtime, the default oracle JDK uses native code to implement the compression/decompression streams (InflaterInputStream, GZIPInputStream, etc) and therefore if you forget to close the compression/decompression stream it will cause a memory leak when the code isn't running in a browser. This is a common issue when using byte array input/output streams since you might believe when decompressing data from a byte array that there's no reason to close the stream when you're done since its not a file, but that will still cause a memory leak due to the decompression stream not being cleaned up.
|
||||||
|
|
||||||
|
## Part B. Project Structure
|
||||||
|
|
||||||
|
### 1. Code decompiled from Minecraft goes in `src/game/java`
|
||||||
|
|
||||||
|
Don't add any new classes to `src/game/java`, and ideally any significant additions to the game's source (functions, etc) should be done through creating new classes in `src/main/java` instead of adding it directly to the decompiled classes.
|
||||||
|
|
||||||
|
### 2. Do not put platform-dependent code in `src/main/java` or `src/game/java`
|
||||||
|
|
||||||
|
One of the objectives of Eaglercraft is to make Minecraft Java edition truly cross platform, why stop at just a desktop and JavaScript runtime? There are plans to create an Android runtime and several WebAssembly runtimes, all of which will be compatible with any pre-existing eaglercraft clients that only depend on the EaglercraftX runtime library and don't directly depend on components of TeaVM or LWJGL. Ideally, all core features of the client should be implemented in the `src/main/java` and `src/game/java` and any platform-dependent features should be stubbed out in some abstract platform-independent way in classes in the `src/teavm/java` and `src/lwjgl/java` and any other future runtime you want your client to support. Ideally, every source folder of platform-dependent code should expose an identical API for access to the platform-independent code as all the other platform-dependant code folders currently expose.
|
||||||
|
|
||||||
|
### 3. Don't mix JavaScript with Java
|
||||||
|
|
||||||
|
Don’t implement features in the JavaScript runtime by requiring additional JavaScript files be included on index.html, if you must access browser APIs then use the TeaVM JSO to write your code in Java instead so it’s baked directly into classes.js. Certain browser APIs may be missing from the default TeaVM JSO-APIs library but it is not difficult to create the overlay types for them manually. Clients that violate this rule may also not possible to automatically import into the EaglercraftX boot menu depending on how fucked up they are. There aren't any limitations to the TeaVM JSO that give you a good enough excuse not to follow this rule.
|
||||||
|
|
||||||
|
### 4. Don't access the classes named "Platform\*" directly from your platform-independent code
|
||||||
|
|
||||||
|
Much like the Java runtime environment itself, Eaglercraft's runtime library consists of two layers, the internal classes full of platform-dependent code that expose an intermediate API not meant to be used by programmers directly, and the platform-independent API classes that provide a platform-independent wrapper for the platform dependent classes and also provide all the miscellaneous utility functions that don't require platform dependent code to be implemented. Chances are if you are directly using a function on a class that has a name that starts with "Platform\*", that there is a different class in `src/main/java` that you are meant to use in order to access that feature, that may perform additional checks or adjust the values you are passing to the function before calling the function in the Platform class.
|
||||||
|
|
||||||
|
## Part C. Compatibility Standards
|
||||||
|
|
||||||
|
### 1. Target minimum JDK version is Java 8
|
||||||
|
|
||||||
|
Its difficult to find a platform where its not possible to run Java 8 in some capacity, therefore the desktop runtime of EaglercraftX and the BungeeCord plugin should target Java 8. The Velocity plugin is an exception since Velocity itself doesn't support Java 8 either.
|
||||||
|
|
||||||
|
### 2. Target minimum supported browser is Google Chrome 38
|
||||||
|
|
||||||
|
Released on October 7, 2014, we think its a good target for the JavaScript versions of EaglercraftX. This is the last version of Chrome that supports hardware accelerated WebGL 1.0 on Windows XP. All base features of the underlying Minecraft 1.8 client must be functional, however things such as EaglercraftX's shaders or dynamic lighting are not required to work. The client cannot crash as a result of any missing features on an old browser, you must either implement fallbacks or safely disable the unsupported features.
|
||||||
|
|
||||||
|
### 3. Target minimum supported graphics API is OpenGL ES 2.0 (WebGL 1.0)
|
||||||
|
|
||||||
|
The most widely supported graphics API in the world is currently OpenGL ES 2.0, so ideally that should be the target for EaglercraftX 1.8. We can guarantee the client will be on an OpenGL ES 3.0 context 99% of the time, however its not that hard to also maintain support for GLES 2.0 (WebGL 1.0) as well with slightly reduced functionality so we might as well make it a feature in case of the 1% of the time that functionality is not available. The client cannot depend on any GL extensions in order to run in GLES 2.0 mode, however its reasonable to assume there will be VAO support via extensions in most GLES 2.0 contexts so the client includes an abstraction layer (via EaglercraftGPU.java) to seamlessly emulate VAO functionality even when the client is running in GLES 2.0 mode with no VAO extensions. The only core feature of Minecraft 1.8 that is completely unavailable in GLES 2.0 mode is mip-mapping for the blocks/items texture atlas due to being unable to limit the max mipmap level.
|
||||||
|
|
||||||
|
### 4. Use preprocessor directives to make portable shaders that can be compiled for both OpenGL ES 2.0 and 3.0 contexts
|
||||||
|
|
||||||
|
Most of the shaders in the base "glsl" directory of the resources EPK file use a file called "gles2_compat.glsl" to polyfill certain GLSL features (such as input/output declarations) via preprocessor directives to allow them to be compiled on both OpenGL ES 3.0 and 2.0 contexts. This is the preferred way to implement backwards compatibility over creating seprate versions of the same shaders, since future developers don't need to waste time maintaining multiple versions of the same code if they don't really care about backwards compatibility in the first place.
|
||||||
|
|
||||||
|
### 5. Target minimum version of the JavaScript syntax is ES5 strict mode
|
||||||
|
|
||||||
|
A shim is included to provide certain ES6 functions, however you should always program with syntax compatible with ES5, so the script doesn't crash immediately due to syntax errors even if the functions that use unsupported syntax aren't actually being called. `build.gradle` currently patches out all the ES5 strict mode incompatible syntax in the output of TeaVM 0.9.2, but this will probably break if you try to update TeaVM. Don't worry though because future WASM versions of EaglercraftX will use the latest versions of TeaVM. **Some common incompatible syntax to avoid includes `const`, `let`, `async`, `( ) => `, and using named functions! You can't do any of these things in your JSBody annotations.**
|
||||||
|
|
||||||
|
### 6. You cannot depend on any deprecated browser features
|
||||||
|
|
||||||
|
The same way we want EaglercraftX to work on browsers from over 10 years ago, we want it to still work in browsers 10 years from today, therefore the client cannot depend on any deprecated browser features in order for all the base Minecraft 1.8 game's features to work properly. However it is okay to use deprecated features as fallback if any modern non-deprecated feature (such as keyboard event handling) that the game needs if the game is running in an old browser.
|
||||||
|
|
||||||
|
### 7. Always use addEventListener to register event handlers
|
||||||
|
|
||||||
|
Always use addEventListener to register event handlers for browser APIs, never through the use of assigning the legacy "on\*" (onclick, onkeydown, onmessage, etc) variables, the TeaVMUtils class has a universal helper function for accessing addEventListener on any JSO objects that don’t already implement the function.
|
||||||
|
|
||||||
|
### 8. JavaScript should be executed in strict mode
|
||||||
|
|
||||||
|
Always make sure your JavaScript files start with `"use strict";`, be careful when adding this to your code retroactively because it will probably break hastily written code unless you haven’t made a single typo that’s not forbidden in strict mode. Be aware that in Chrome 38 this means you can't use stuff such as `const` and `let` or named functions in any of your JSBody annotations!
|
|
@ -0,0 +1,6 @@
|
||||||
|
@echo off
|
||||||
|
title epkcompiler
|
||||||
|
echo compiling, please wait...
|
||||||
|
java -jar "desktopRuntime/CompileEPK.jar" "desktopRuntime/resources" "javascript/assets.epk"
|
||||||
|
echo finished compiling epk
|
||||||
|
pause
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
java -jar "desktopRuntime/CompileEPK.jar" "desktopRuntime/resources" "javascript/assets.epk"
|
|
@ -0,0 +1,4 @@
|
||||||
|
@echo off
|
||||||
|
title gradlew generateJavascript
|
||||||
|
call gradlew generateJavascript
|
||||||
|
pause
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
chmod +x gradlew
|
||||||
|
./gradlew generateJavascript
|
|
@ -0,0 +1,263 @@
|
||||||
|
|
||||||
|
# EaglercraftX 1.8
|
||||||
|
|
||||||
|
### Play Minecraft 1.8 in your browser, supports singleplayer and multiplayer
|
||||||
|
|
||||||
|
![EaglercraftX 1.8 Screenshot Main Menu](https://deev.is/eagler/cors/eagler-1.8-u22-titlescreen-480p.png)
|
||||||
|
|
||||||
|
### This repository contains:
|
||||||
|
|
||||||
|
- **Utilities to decompile Minecraft 1.8 and apply patch files to it**
|
||||||
|
- **Source code to provide the LWJGL keyboard, mouse, and OpenGL APIs in a browser**
|
||||||
|
- **Patch files to mod the Minecraft 1.8 source code to make it browser compatible**
|
||||||
|
- **Browser-modified portions of Minecraft 1.8's open-source dependencies**
|
||||||
|
- **Plugins for Minecraft servers to allow the eagler client to connect to them**
|
||||||
|
|
||||||
|
### This repository does NOT contain:
|
||||||
|
|
||||||
|
- **Any portion of the decompiled Minecraft 1.8 source code or resources**
|
||||||
|
- **Any portion of Mod Coder Pack and it's config files**
|
||||||
|
- **Data that can be used alone to reconstruct portions of the game's source code**
|
||||||
|
|
||||||
|
## Getting Started:
|
||||||
|
|
||||||
|
### To compile the latest version of the JavaScript client, on Windows:
|
||||||
|
|
||||||
|
1. Make sure you have at least Java 11 installed and added to your PATH, it is recommended to use Java 17
|
||||||
|
2. Download (clone) this repository to your computer
|
||||||
|
3. Double click `CompileLatestClient.bat`, a GUI resembling a classic windows installer should open
|
||||||
|
4. Follow the steps shown to you in the new window to finish compiling
|
||||||
|
|
||||||
|
### To compile the latest version of the JavaScript client, on Linux/macOS:
|
||||||
|
|
||||||
|
1. Make sure you have at least Java 11 installed, it is recommended to use Java 17
|
||||||
|
2. Download (clone) this repository to your computer
|
||||||
|
3. Open a terminal in the folder the repository was cloned to
|
||||||
|
4. Type `chmod +x CompileLatestClient.sh` and hit enter
|
||||||
|
5. Type `./CompileLatestClient.sh` and hit enter, a GUI resembling a classic windows installer should open
|
||||||
|
6. Follow the steps shown to you in the new window to finish compiling
|
||||||
|
|
||||||
|
### To set up the development environment
|
||||||
|
|
||||||
|
1. Prepare the required files in the mcp918 folder ([readme](mcp918/readme.txt))
|
||||||
|
2. Run the `build_init` script
|
||||||
|
3. Run the `build_make_workspace` script
|
||||||
|
|
||||||
|
## Browser Compatibility
|
||||||
|
|
||||||
|
The JavaScript runtime of EaglercraftX 1.8 is currently known to work on browsers as old as Chrome 38 on Windows XP, the game supports both WebGL 1.0 and WebGL 2.0 however features such as dynamic lighting and PBR shaders require WebGL 2.0. The game also supports mobile browsers that don't have a keyboard or mouse, the game will enter touch screen mode automatically when touch input is detected. The game also includes an embedded OGG codec (JOrbis) for loading audio files on iOS where the browsers don't support loading OGG files in an AudioContext.
|
||||||
|
|
||||||
|
## WebAssembly GC Support
|
||||||
|
|
||||||
|
EaglercraftX 1.8 also has an experimental WebAssembly GC (WASM-GC) runtime, almost all of the features supported on the JavaScript runtime are also supported on the WebAssembly GC runtime, however it is still incompatible with several major browsers (especially Safari) and will not run in Chrome unless you can access the `chrome://flags` menu or request an origin trial token from Google for your website. Its based on experimental technology and may still crash sometimes due to browser bugs or unresolved issues in the Java to WASM compiler. Hopefully in the coming months the required feature (JSPI, WebAssembly JavaScript Promise Integration) will become enabled by default on the Chrome browser. It performs significantly better than the JavaScript client, around 50% more FPS and TPS in some cases, and will hopefully replace it someday. Just make sure you enable VSync when you play it, otherwise the game will run "too fast" and choke the browser's event loop, causing input lag.
|
||||||
|
|
||||||
|
You can compile the WebAssembly GC runtime by creating a development environment (workspace) and reading the README in the "wasm_gc_teavm" folder.
|
||||||
|
|
||||||
|
## Singleplayer
|
||||||
|
|
||||||
|
EaglercraftX 1.8 fully supports singleplayer mode through an integrated server. Worlds are saved to your browser's local storage and are available even if your device does not have an internet connection. You can also import and export worlds in EaglercraftX as EPK files to copy them between devices and send them to your friends.
|
||||||
|
|
||||||
|
You can also import and export your existing vanilla Minecraft 1.8 worlds into EaglercraftX using ZIP files if you want to try playing all your old 1.8 maps in a modern browser. The glitch that caused some chunks to become corrupt when exporting worlds as vanilla in Eaglercraft 1.5.2 no longer happens in EaglercraftX 1.8, its perfect now. Beware that the inventories of LAN world players are not saved when the world is converted to vanilla, and pets (dogs, cats, horses, etc) might sometimes forget their owners due to the UUID changes.
|
||||||
|
|
||||||
|
## Shared Worlds
|
||||||
|
|
||||||
|
**This feature used to be known as "LAN Worlds" but has been renamed to "Shared Worlds" to avoid confusion**
|
||||||
|
|
||||||
|
If you would like to invite other players to join your singleplayer world and play the game together, use the "Invite" button in the pause menu. You can configure gamemode and cheats for the other players joining your world, you can also decide if you would like to hide your world from other people on your wifi network or advertise your world to them. If hidden is "off" then other people on your same wifi network will see your world listed on their game's "Multiplayer" screen with all of their servers like how sharing LAN worlds behave in vanilla Minecraft 1.8.
|
||||||
|
|
||||||
|
Once you press "Start Shared World", EaglercraftX 1.8 will give you a "join code" (usually 5 letters) to share with your friends. On a different device, go the "Multiplayer" screen and press "Direct Connect" and press "Join Shared World", enter the join code given to you when you started the shared world and press "Join World". Given a few seconds, the client should successfully be able to join your shared world from any other device on the internet that also has unrestricted internet access. If it does not work, check the "Network Settings" screen and make sure you and your friends all have the same set of shared world relay URLs configured or your clients will not be able to find each other.
|
||||||
|
|
||||||
|
If you would like to host your own relay, the JAR file and instructions can be downloaded from the "Network Settings" screen in the client. EaglercraftX 1.8 uses the same "LAN world" relay server that is used by Eaglercraft 1.5.2, however there have been several bug fixes. The current version is available in the `sp-relay/SharedWorldRelay` folder.
|
||||||
|
|
||||||
|
## PBR Shaders
|
||||||
|
|
||||||
|
EaglercraftX 1.8 includes a deferred physically-based renderer modeled after the GTA V rendering engine with many new improvements and a novel raytracing technique for fast realistic reflections. It can be enabled in the "Shaders" menu in the game's options screen. Shader packs in EaglercraftX are just a component of resource packs, so any custom shaders you install will be in the form of a resource pack. EaglercraftX also comes with a very well optimized built-in PBR shader pack and also a built-in PBR material texture pack to give all blocks and items in the game realistic lighting and materials that looks better than most vanilla Minecraft shader packs. The default shader and texture packs were created from scratch by lax1dude, shaders packs made for vanilla Minecraft will not work in EaglercraftX and no shaders in EaglercraftX were taken from vanilla Minecraft shader packs. The shaders are not available in WebGL 1.0 mode or if floating point HDR render targets are not fully supported.
|
||||||
|
|
||||||
|
## Voice Chat
|
||||||
|
|
||||||
|
EaglercraftX 1.8 includes an integrated voice-chat service that can be used in shared worlds and also on multiplayer servers when it is enabled by the server owner. This feature also uses WebRTC like shared worlds, so be careful that you don't leak your IP address accidentally by using it on a public server. If you own a website and don't want people to use voice chat on it, edit the `eaglercraftXOpts` variable in your index.html and add `allowVoiceClient: false`.
|
||||||
|
|
||||||
|
## Resource Packs
|
||||||
|
|
||||||
|
EaglercraftX 1.8 allows you to use any vanilla Minecraft 1.8 resource pack in your browser by importing it as a zip file, resource packs are saved to your browser's local storage and are saved between page refreshes. This can be used to add the original C418 soundtrack back into the game, download and import [this pack](https://bafybeiayojww5jfyzvlmtuk7l5ufkt7nlfto7mhwmzf2vs4bvsjd5ouiuq.ipfs.nftstorage.link/?filename=Music_For_Eaglercraft.zip) to add music back to Eaglercraft. A known bug with the debug desktop runtime is that sound files in resource packs do not play, this may be fixed in the future but is not a high priority issue.
|
||||||
|
|
||||||
|
If you are creating a resource pack and want to disable the blur filter on the main menu panorama, create a file called `assets/minecraft/textures/gui/title/background/enable_blur.txt` in your pack and set it's contents to `enable_blur=0`
|
||||||
|
|
||||||
|
## Making a Server
|
||||||
|
|
||||||
|
To make a server for EaglercraftX 1.8 the recommended software to use is EaglercraftXBungee ("EaglerXBungee") which is included in this repository in the `gateway/EaglercraftXBungee` folder. This is a plugin designed to be used with BungeeCord to allow Eaglercraft players to join your BungeeCord server. It is assumed that the reader already knows what BungeeCord is and has a working server set up that is joinable via java edition. If you don't know what BungeeCord is, please research the topic yourself first before continuing. Waterfall and FlameCord have also been tested, but EaglerXBungee was natively compiled against BungeeCord.
|
||||||
|
|
||||||
|
There is an experimental velocity plugin available in `gateway/EaglercraftXVelocity` but it is still in development and not recommended for public servers, so be sure to check for updates regularly if you use it. Configuration files are basically identical to EaglercraftXBungee so its safe to just directy copy in your old EaglercraftXBungee config files to the `plugins/eaglerxvelocity` folder and they should work with a minimal number of edits if you are migrating your network from BungeeCord to Velocity.
|
||||||
|
|
||||||
|
**Warning:** Both EaglerXBungee and EaglerXVelocity perform a lot of reflection that will inevitably break after a while when BungeeCord or Velocity is updated upstream. Both plugins will display the precise build number of BungeeCord and Velocity that has been tested by the developers and known to be compatible with EaglerXBungee and EaglerXVelocity when the proxy first starts up. If you are experiencing issues, try checking the BungeeCord or Velocity website for old versions and find the closest version number to whatever the current compatible version number is that is printed by EaglerXBungee/EaglerXVelocity, it will probably fix whatever missing functions the error messages are complaining about.
|
||||||
|
|
||||||
|
### Detailed READMEs
|
||||||
|
|
||||||
|
- [**EaglerXBungee README**](README_EAGLERXBUNGEE.md)
|
||||||
|
- [**EaglerXVelocity README**](README_EAGLERXVELOCITY.md)
|
||||||
|
- [**EaglerXBukkitAPI README**](README_EAGLERXBUKKITAPI.md)
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
Obtain the latest version of the EaglerXBungee JAR file (it can be downloaded in the client from the "Multiplayer" screen) and place it in the "plugins" folder of your BungeeCord server. It's recommended to only join native Minecraft 1.8 servers through an EaglerXBungee server but plugins like ProtocolSupport have allowed some people to join newer servers too.
|
||||||
|
|
||||||
|
Configuration files and other plugin data will be written in `plugins/EaglercraftXBungee`
|
||||||
|
|
||||||
|
### Online Mode Instructions
|
||||||
|
|
||||||
|
1. Enable `online_mode` in BungeeCord's `config.yml` file and make sure it works
|
||||||
|
2. Join the BungeeCord server using Minecraft Java Edition while logged into your Microsoft account
|
||||||
|
3. Run the `/eagler` command, it will give you a temporary login code
|
||||||
|
4. Disconnect from the server, close java edition, launch EaglercraftX 1.8
|
||||||
|
5. Set your profile username to the username of your Microsoft account
|
||||||
|
6. Go to the "Multiplayer" menu, press "Direct Connect", press "Connect to Server", then enter "ws://localhost:8081/"
|
||||||
|
7. If you are using a VPS, replace "localhost" with the IP address of the VPS when you connect
|
||||||
|
8. Press "Join Server", a login screen will be displayed, enter the temporary login code into the password field
|
||||||
|
9. EaglerXBungee will log you into the server as the Microsoft account you generated the login code with
|
||||||
|
|
||||||
|
Players using EaglercraftX will be able to see the vanilla skins of players on the server using vanilla Minecraft, but players on the server using vanilla Minecraft won't be able to see the skins of players using Eaglercraft. Instead they will see the skin of the Minecraft account that was used when the Eaglercraft player originally ran the `/eagler` command.
|
||||||
|
|
||||||
|
To disable this vanilla player skin feature and stop the plugin from downloading the textures of any player heads spawned with commands, edit the EaglercraftXBungee `settings.yml` file in the `plugins/EaglercraftXBungee` folder and change `download_vanilla_skins_to_clients` to `false`. Ratelimits configured in `settings.yml` define the maximum number of times per minute a single player is allowed to trigger profile/skin lookups and also define the maximum number of times per minute the entire server is allowed to actually perform profile/skin lookups.
|
||||||
|
|
||||||
|
By default, EaglercraftXBungee will use a local SQLite database in the server's working directory to store player skins and authentication codes. SQLite will be downloaded automatically if it is not already present. If you would like to use MySQL or something else instead, EaglercraftXBungee is JDBC-based and supports any database type that you can find a driver for. You can set the path of the database, path of the driver JAR, and the name of the driver class (example: `org.sqlite.JDBC`) for storing player skins in `settings.yml` and for storing login codes and profiles in `authservice.yml`.
|
||||||
|
|
||||||
|
### Offline Mode Instructions
|
||||||
|
|
||||||
|
By setting `online_mode` to `false` in the BungeeCord `config.yml` the authentication system will be disabled and players will no longer be required to first generate a code to log in. This should only be used for testing or if you can't get the authentication system to work. EaglercraftXBungee's skin system is supposed to be able to display SkinsRestorer skins if you plan to have vanilla players on the server but it's not guaranteed.
|
||||||
|
|
||||||
|
### Built-in HTTP server
|
||||||
|
|
||||||
|
When configuring the EaglercraftXBungee `listeners.yml` file, every listener includes an `http_server` section that can be used to configure the listener to also behave like a regular HTTP server when the websocket address is entered into a browser. If this is disabled people will get the normal "404 Websocket Upgrade Failure" instead when they accidentally type your server address into their browser. `root` defines the path to the folder containing index.html and the other files you want to host, relative to the `plugins/EaglercraftXBungee` folder. This can be useful for hosting the client if the offline download doesn't work for some reason but might slow your BungeeCord server down if lots of people are loading it all the time.
|
||||||
|
|
||||||
|
### Enabling Voice Chat
|
||||||
|
|
||||||
|
Voice chat is disabled by default in EaglercraftXBungee because it is not recommended for use on public servers. To enable it, add or change `allow_voice: true` to your EaglercraftXBungee `listeners.yml` file. The main difference between Eaglercraft 1.5.2 and EaglercraftX 1.8's voice chat feature is that the "Global" channel now only includes other players on the same server as you instead of every single player connected to the same bungeecord proxy. If you would like to disable voice chat on certain servers, add the names of the servers to the `disable_voice_chat_on_servers` list in the EaglercraftXBungee `settings.yml` file. You may have to add this property to the YML file manually if you've upgraded your server from an older version of EaglercraftXBungee.
|
||||||
|
|
||||||
|
### Disabling FNAW Skins
|
||||||
|
|
||||||
|
Players are known to complain about the high-poly Five Nights At Winstons character skins making PVP harder because of the belief that they change a player's hitbox. If you would like to disable those skins in your PVP worlds you can either set `disable_fnaw_skins_everywhere: true` in your EaglercraftXBungee `settings.yml` file to disable them for all players on your whole BungeeCord proxy, or you can disable them on specific servers by adding the names of the servers to the `disable_fnaw_skins_on_servers` list also in `settings.yml` like with disabling voice chat.
|
||||||
|
|
||||||
|
## Launch Options
|
||||||
|
|
||||||
|
The EaglercraftX 1.8 client is configured primarily through a variable called `window.eaglercraftXOpts` that must be set before the client starts up.
|
||||||
|
|
||||||
|
The default eaglercraftXOpts values is this:
|
||||||
|
|
||||||
|
const relayId = Math.floor(Math.random() * 3);
|
||||||
|
window.eaglercraftXOpts = {
|
||||||
|
demoMode: false,
|
||||||
|
container: "game_frame",
|
||||||
|
assetsURI: "assets.epk",
|
||||||
|
localesURI: "lang/",
|
||||||
|
worldsDB: "worlds",
|
||||||
|
servers: [
|
||||||
|
{ addr: "ws://localhost:8081/", name: "Local test server" }
|
||||||
|
],
|
||||||
|
relays: [
|
||||||
|
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId == 0 },
|
||||||
|
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId == 1 },
|
||||||
|
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId == 2 }
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
### List of available options
|
||||||
|
|
||||||
|
- `container:` the ID of the HTML element to create the canvas in **(required)**
|
||||||
|
- `assetsURI:` the URL of the assets.epk file **(required)**
|
||||||
|
- `localesURI:` the URL where extra .lang files can be found
|
||||||
|
- `lang`: the default language to use for the game (like "en_US")
|
||||||
|
- `joinServer`: server address to join when the game launches
|
||||||
|
- `worldsDB:` the name of the IndexedDB database to store worlds in
|
||||||
|
- `resourcePacksDB:` the name of the IndexedDB database to store resource packs in
|
||||||
|
- `demoMode:` whether to launch the game in java edition demo mode
|
||||||
|
- `servers:` a list of default servers to display on the Multiplayer screen
|
||||||
|
- `relays:` the default list of shared world relays to use for invites
|
||||||
|
- `checkGLErrors:` if the game should check for opengl errors
|
||||||
|
- `checkShaderGLErrors:` enables more verbose opengl error logging for the shaders
|
||||||
|
- `enableDownloadOfflineButton:` whether to show a "Download Offline" button on the title screen
|
||||||
|
- `downloadOfflineButtonLink:` overrides the download link for the "Download Offline" button
|
||||||
|
- `html5CursorSupport:` enables support for showing the CSS "pointer" cursor over buttons
|
||||||
|
- `allowUpdateSvc:` enables the certificate-based update system
|
||||||
|
- `allowUpdateDL:` allows the client to download new updates it finds
|
||||||
|
- `logInvalidCerts:` print update certificates with invalid signatures to console
|
||||||
|
- `enableSignatureBadge:` show a badge on the title screen indicating if digital signature is valid
|
||||||
|
- `checkRelaysForUpdates:` proprietary feature used in offline downloads
|
||||||
|
- `allowVoiceClient:` can be used to disable the voice chat feature
|
||||||
|
- `allowFNAWSkins:` can be used to disable the high poly FNAW skins
|
||||||
|
- `localStorageNamespace:` can be used to change the prefix of the local storage keys (Default: `"_eaglercraftX"`)
|
||||||
|
- `enableMinceraft:` can be used to disable the "Minceraft" title screen
|
||||||
|
- `crashOnUncaughtExceptions:` display crash reports when `window.onerror` is fired
|
||||||
|
- `openDebugConsoleOnLaunch:` open debug console automatically at launch
|
||||||
|
- `fixDebugConsoleUnloadListener:` close debug console beforeunload instead of unload
|
||||||
|
- `forceWebViewSupport:` if the server info webview should be allowed even on browsers without the required safety features
|
||||||
|
- `enableWebViewCSP:` if the `csp` attibute should be set on the server info webview for extra security
|
||||||
|
- `enableServerCookies:` can be used to disable server cookies
|
||||||
|
- `allowServerRedirects:` if servers should be allowed to make the client reconnect to a different address
|
||||||
|
- `autoFixLegacyStyleAttr:` if the viewport meta tag and style attributes on old offline downloads and websites should be automatically patched
|
||||||
|
- `showBootMenuOnLaunch:` if the client should always show the boot menu on every launch
|
||||||
|
- `bootMenuBlocksUnsignedClients:` if the boot menu should only be allowed to launch signed clients
|
||||||
|
- `allowBootMenu:` can be used to disable the boot menu entirely
|
||||||
|
- `forceProfanityFilter:` if the profanity filter should be forced enabled
|
||||||
|
- `forceWebGL1:` if the game should force the browser to only use WebGL 1.0 for the canvas
|
||||||
|
- `forceWebGL2:` if the game should force the browser to only use WebGL 2.0 for the canvas
|
||||||
|
- `allowExperimentalWebGL1:` if the game should be allowed to create an `experimental-webgl` context
|
||||||
|
- `useWebGLExt:` can be used to disable all OpenGL ES extensions to test the game on a pure WebGL 1.0/2.0 context
|
||||||
|
- `useDelayOnSwap:` if the game should `setTimeout(..., 0)` every frame instead of using MessageChannel hacks
|
||||||
|
- `useJOrbisAudioDecoder:` if OGG vorbis files should be decoded using the JOrbis Java OGG decoder instead of using the browser
|
||||||
|
- `useXHRFetch:` if the game should use XMLHttpRequest for downloading resources instead of the fetch API
|
||||||
|
- `useVisualViewport:` if the game should resize some GUIs relative to `window.visualViewport` (needed on mobile browsers when the keyboard is open)
|
||||||
|
- `deobfStackTraces:` can be used to disable the runtime stack-trace deobfuscation, reduces micro stutters if the game is logging errors
|
||||||
|
- `disableBlobURLs:` if the game should use `data:` URLs instead of `blob:` URLs for loading certain resources
|
||||||
|
- `eaglerNoDelay:` can be used to disable "Vigg's Algorithm", an algorithm that delays and combines multiple EaglercraftX packets together if they are sent in the same tick (does not affect regular Minecraft 1.8 packets)
|
||||||
|
- `ramdiskMode:` if worlds and resource packs should be stored in RAM instead of IndexedDB
|
||||||
|
- `singleThreadMode:` if the game should run the client and integrated server in the same context instead of creating a worker object
|
||||||
|
- `enableEPKVersionCheck:` if the game should attempt to bypass the browser's cache and retry downloading assets.epk when its outdated
|
||||||
|
- `enforceVSync:` (WASM only) if the game should automatically re-enable VSync at launch if its disabled
|
||||||
|
- `hooks:` can be used to define JavaScript callbacks for certain events
|
||||||
|
* `localStorageSaved:` JavaScript callback to save local storage keys (key, data)
|
||||||
|
* `localStorageLoaded:` JavaScript callback to load local storage keys (key) returns data
|
||||||
|
* `crashReportShow:` JavaScript callback when a crash report is shown (report, customMessageCB)
|
||||||
|
* `screenChanged:` JavaScript callback when the screen changes/resizes (screenName, scaledWidth, scaledHeight, realWidth, realHeight, scaleFactor)
|
||||||
|
|
||||||
|
### Using Hooks
|
||||||
|
|
||||||
|
You may want to implement some custom logic for loading/saving certain local storage keys. The eaglercraftXOpts hooks section can be used to override the client's local storage load and save functions. Currently, local storage keys are used to save game settings, the user's profile, custom servers, and shared world relays. Worlds and resource packs do not use local storage keys because modern browsers limit local storage keys to only 5 megabytes per domain which is too small for saving entire worlds and resource packs. Worlds and resource packs are saved using [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API).
|
||||||
|
|
||||||
|
window.eaglercraftXOpts = {
|
||||||
|
...
|
||||||
|
...
|
||||||
|
...
|
||||||
|
hooks: {
|
||||||
|
localStorageSaved: function(key, data) {
|
||||||
|
// 'key' is local storage key name as a string
|
||||||
|
// 'data' is base64-encoded byte array as a string
|
||||||
|
// function returns nothing
|
||||||
|
},
|
||||||
|
localStorageLoaded: function(key) {
|
||||||
|
// 'key' is local storage key name as a string
|
||||||
|
// function returns a base64-encoded byte array as a string
|
||||||
|
// function returns null if the key does not exist
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Be aware that the client will still save the key to the browser's local storage anyway even if you define a custom save handler, and will just attempt to load the key from the browser's local storage normally if you return null, these are meant to be used like event handlers for creating backups of keys instead of completely replacing the local storage save and load functions.
|
||||||
|
|
||||||
|
On a normal client you will only ever need to handle local storage keys called `p` (profile), `g` (game settings), `s` (server list), `r` (shared world relays), in your hooks functions. Feel free to just ignore any other keys. It is guaranteed that the data the client stores will always be valid base64, so it is best practice to decode it to raw binary first if possible to reduce it's size before saving it to something like a MySQL database in your backend if you are trying to implement some kind of profile syncing system for your website. The keys already have GZIP compression applied to them by default so don't bother trying to compress them yourself a second time because it won't reduce their size.
|
||||||
|
|
||||||
|
### Crash Report Hook
|
||||||
|
|
||||||
|
The `crashReportShow` hook can be used to capture crash reports and append additional text to them. It takes two parameters, the crash report as a string and a callback function for appending text. Do not use the callback function outside the body of the hook.
|
||||||
|
|
||||||
|
hooks: {
|
||||||
|
crashReportShow: function(report, customMessageCB) {
|
||||||
|
// 'report' is crash report as a string
|
||||||
|
customMessageCB("Hello from crashReportShow hook!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
## Developing a Client
|
||||||
|
|
||||||
|
There is currently no system in place to make forks of 1.8 and merge commits made to the patch files in this repository with the patch files or workspace of the fork, you're on your own if you try to keep a fork of this repo for reasons other than to contribute to it
|
||||||
|
|
||||||
|
**Note:** If you are trying to use the desktop runtime on Linux, make sure you add the "desktopRuntime" folder to the `LD_LIBRARY_PATH` environment variable of the Java process. This should be done automatically by the Eclipse project's default run configuration, but it might not work properly on every system, or when the Eclipse project is imported into IntelliJ.
|
|
@ -0,0 +1,4 @@
|
||||||
|
@echo off
|
||||||
|
title MakeOfflineDownload
|
||||||
|
java -cp "desktopRuntime/MakeOfflineDownload.jar;desktopRuntime/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeOfflineDownload "javascript/OfflineDownloadTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/EaglercraftX_1.8_Offline_en_US.html" "javascript/EaglercraftX_1.8_Offline_International.html" "javascript/lang"
|
||||||
|
pause
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
java -cp "desktopRuntime/MakeOfflineDownload.jar:desktopRuntime/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeOfflineDownload "javascript/OfflineDownloadTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/EaglercraftX_1.8_Offline_en_US.html" "javascript/EaglercraftX_1.8_Offline_International.html" "javascript/lang"
|
|
@ -0,0 +1,4 @@
|
||||||
|
@echo off
|
||||||
|
title MakeSignedClient
|
||||||
|
java -cp "desktopRuntime/MakeOfflineDownload.jar;desktopRuntime/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeSignedClient "javascript/SignedBundleTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/lang" "javascript/SignedClientTemplate.txt" "javascript/UpdateDownloadSources.txt" "javascript/EaglercraftX_1.8_Offline_Signed_Client.html"
|
||||||
|
pause
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
java -cp "desktopRuntime/MakeOfflineDownload.jar:desktopRuntime/CompileEPK.jar" net.lax1dude.eaglercraft.v1_8.buildtools.workspace.MakeSignedClient "javascript/SignedBundleTemplate.txt" "javascript/classes.js" "javascript/assets.epk" "javascript/lang" "javascript/SignedClientTemplate.txt" "javascript/UpdateDownloadSources.txt" "javascript/EaglercraftX_1.8_Offline_Signed_Client.html"
|
|
@ -0,0 +1,32 @@
|
||||||
|
### Java 17 is recommended for compiling to TeaVM
|
||||||
|
|
||||||
|
### Java 8 or greater is required for the desktop runtime
|
||||||
|
|
||||||
|
**Most Java IDEs will allow you to import this repository as a gradle project for compiling it to JavaScript.**
|
||||||
|
|
||||||
|
Java must be added to your PATH!
|
||||||
|
|
||||||
|
**To compile the web client:**
|
||||||
|
1. Run `CompileEPK`
|
||||||
|
2. Run `CompileJS` (or the `generateJavaScript` gradle task in your IDE)
|
||||||
|
3. Check the "javascript" folder
|
||||||
|
|
||||||
|
**To compile an offline download:**
|
||||||
|
1. Run `CompileEPK`
|
||||||
|
2. Run `CompileJS` (or the `generateJavaScript` gradle task in your IDE)
|
||||||
|
3. Run `MakeOfflineDownload`
|
||||||
|
4. Check the "javascript" folder
|
||||||
|
|
||||||
|
**To compile the WASM GC client:**
|
||||||
|
Consult the [README](wasm_gc_teavm/README.md) in the wasm_gc_teavm folder
|
||||||
|
|
||||||
|
**To use the desktop runtime:**
|
||||||
|
1. Import the Eclipse project in "desktopRuntime/eclipseProject" into your IDE
|
||||||
|
2. Open one of the .java files from the source folders (workaround for a bug)
|
||||||
|
3. Run/Debug the client with the included "eaglercraftDebugRuntime" configuration
|
||||||
|
|
||||||
|
**Note:** If you are trying to use the desktop runtime on Linux, make sure you add the "desktopRuntime" folder to the `LD_LIBRARY_PATH` environment variable of the Java process. This should be done automatically by the Eclipse project's default run configuration, but it might not work properly on every system, or when the Eclipse project is imported into IntelliJ.
|
||||||
|
|
||||||
|
**See the main 1.8 repository's README for more info**
|
||||||
|
|
||||||
|
The source codes of EaglercraftXBungee and EaglercraftXVelocity are not included here.
|
|
@ -0,0 +1,72 @@
|
||||||
|
import org.teavm.gradle.api.OptimizationLevel
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
dependencies {
|
||||||
|
classpath files("src/teavmc-classpath/resources")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id "java"
|
||||||
|
id "eclipse"
|
||||||
|
id "org.teavm" version "0.9.2"
|
||||||
|
}
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
|
java {
|
||||||
|
srcDirs(
|
||||||
|
"src/main/java",
|
||||||
|
"src/game/java",
|
||||||
|
"src/protocol-game/java",
|
||||||
|
"src/protocol-relay/java",
|
||||||
|
"src/teavm/java",
|
||||||
|
"src/teavm-boot-menu/java"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
teavm(teavm.libs.jso)
|
||||||
|
teavm(teavm.libs.jsoApis)
|
||||||
|
compileOnly "org.teavm:teavm-core:0.9.2" // workaround for a few hacks
|
||||||
|
}
|
||||||
|
|
||||||
|
def folder = "javascript"
|
||||||
|
def name = "classes.js"
|
||||||
|
|
||||||
|
teavm.js {
|
||||||
|
obfuscated = true
|
||||||
|
sourceMap = true
|
||||||
|
targetFileName = "../" + name
|
||||||
|
optimization = OptimizationLevel.BALANCED // Change to "AGGRESSIVE" for release
|
||||||
|
outOfProcess = false
|
||||||
|
fastGlobalAnalysis = false
|
||||||
|
processMemory = 512
|
||||||
|
entryPointName = "main"
|
||||||
|
mainClass = "net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass"
|
||||||
|
outputDir = file(folder)
|
||||||
|
properties = [ "java.util.TimeZone.autodetect": "true" ]
|
||||||
|
debugInformation = false
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named("generateJavaScript") {
|
||||||
|
doLast {
|
||||||
|
|
||||||
|
// NOTE: This step may break at any time, and is not required for 99% of browsers
|
||||||
|
|
||||||
|
def phile = file(folder + "/" + name)
|
||||||
|
def dest = phile.getText("UTF-8")
|
||||||
|
def i = dest.substring(0, dest.indexOf("=\$rt_globals.Symbol('jsoClass');")).lastIndexOf("let ")
|
||||||
|
dest = dest.substring(0, i) + "var" + dest.substring(i + 3)
|
||||||
|
def j = dest.indexOf("function(\$rt_globals,\$rt_exports){")
|
||||||
|
dest = dest.substring(0, j + 34) + "\n" + file(folder + "/ES6ShimScript.txt").getText("UTF-8") + "\n" + dest.substring(j + 34)
|
||||||
|
phile.write(dest, "UTF-8")
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,29 @@
|
||||||
|
Copyright (c) 2012-present Lightweight Java Game Library
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
|
||||||
|
- Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
- Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
- Neither the name Lightweight Java Game Library nor the names of
|
||||||
|
its contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,514 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2024 lax1dude. All Rights Reserved.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||||
|
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<html style="width:100%;height:100%;">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Eaglercraft Desktop Runtime</title>
|
||||||
|
<link type="image/png" rel="shortcut icon" id="vigg" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQjCUYG5gD2T38vLy/PwsDfL9/f3Dw8PT05M0b29vnKLhCKCBT4L4gvBLBIei4//4+Hh1dUVEQutUuLu7E83FxQUGnKLBWKfQaA3S+AREVxaEOD8/Pzk50XpzcyMDcH19zdZG3N3d3dzc3Nvb01aX5pQUpQGGQJxcQpfNysoKhUIdHR1o1tbWbInYAgxIPDMzMy8vLzc3FxqOdMoRqwJK8G8ALUYIhHMiSEhIwI6CyIb0qQzC4eGhsXCc1tZWnZIEKzdQJQSXgKxfX18RCM3Z5eWlcfVAxKOjo+Pj49PTU88lTOk2NjbMsePc3t6SAfcgFdszOyMuAdeBg0CQi2lhYUHOeOLDCisN8FzcPFZXV3t7ezHY3t5GQ+6it+2xMASsKhEEWKsmRLRBBUpPvpJ/TpFKFBwKYAiITmicsbYhdHfJAltqhUCVsCQhwslmeXmZxiBQT9c0Ar9E2O3v72sYSE0N1yQArkKy0kBMXLqlZqIZHR3t6empqqqSDcBdhXEJSJ/bUc3q6uq+vj629GB9fR1WsLW1NTs7u7S0RN2locMjIyOEm5ubQ7+4uJienk4/+vv77Y1hwhLBEKhwWHitdVFfX9/Y2Gg2HuLi4owUAysrK8yCG97rh0+ApP5Q2ZycHFlPTExUVFRIBvn5+WhKSkp2dnaMKhptbW2426GgQ/rwuAQCZ1hwFayLiork9hMFBQV1dXVmE0BLS4vqw3QFB8kn4IAxoGPkYpxi4FeDmpqas7Mz4pClAgqGwD48rjY2NmacYqC0tJQ1KSlJWyE5OZkpUKkBAxZVIntAoZh04+Q48fHxPNGBgYHExMT29naj9cBodnZ2mo3jlJWVMeW2OGQck4B1amqqoaGhqamJjx2lGxwcpL0mUgR8fJhsWqJtSkoKU2SbHHUDpkhPBujd8xuQG6PJRM/Pz09PT7O1NNnZ2Tw3fgZkXVhYKCUlUhBATP+hCVyKZGky17RV0g04laayslJ6hlVeFHB4eFhKaogGd0LxtmTgE+hbhKDnPjMzgw8E3qGL2tpaBWpubjYqj2BoaEj6rq4uNATRZ0ZwCbiL6gXEzINk5vCBQJ9rMD4+rkA8QNK036uDg4Py8vLu7m680KjIBNR3zBDoWQM1g98snyB+VSoRW8C/UwR81/SvhgNj9JOTkwwVERUdRBEI0BAdLRVERkhLS8vIyEDQlrsTPTU1lVFhKxARvZgUlFLbegCf4BvIsbi4mIg4E5EogIHhiKCMtU0WUFiVy06j5fAJIDdSBDQw+PegDfBRcbOPwH4F9LuFWIIQdQNKwWqzIE0aoFUaBsw+SQuFw0uNtC9A+F4i3QNrbg3IDn+SAsHh+wYiEpeyBEMLv/cAO6KzAijxxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" />
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
(function() {
|
||||||
|
var webSocketURI = "${client_websocket_uri}";
|
||||||
|
if(webSocketURI === ("$" + "{client_websocket_uri}")) {
|
||||||
|
alert("Don't open this file in your browser");
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
document.body.innerHTML = "<p style=\"text-align:center;\">cunt</p>";
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var eaglercraftXOpts = {eaglercraftXOpts};
|
||||||
|
var cspAttrSupport = false;
|
||||||
|
var checkSupport = function() {
|
||||||
|
if(eaglercraftXOpts.forceWebViewSupport) {
|
||||||
|
cspAttrSupport = true;
|
||||||
|
return true;
|
||||||
|
}else {
|
||||||
|
var tempIFrameElement = document.createElement("iframe");
|
||||||
|
cspAttrSupport = eaglercraftXOpts.enableWebViewCSP && (typeof tempIFrameElement.csp === "string");
|
||||||
|
return (typeof tempIFrameElement.allow === "string") && (typeof tempIFrameElement.sandbox === "object");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var supported = false;
|
||||||
|
try {
|
||||||
|
supported = checkSupport();
|
||||||
|
}catch(ex) {
|
||||||
|
supported = false;
|
||||||
|
}
|
||||||
|
console.log("CSP attribute support detected as " + cspAttrSupport);
|
||||||
|
if(!supported) {
|
||||||
|
console.error("Required IFrame safety features are not supported!");
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
document.getElementById("view_loading").style.display = "none";
|
||||||
|
document.getElementById("view_safety_error").style.display = "block";
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var websocketInstance = null;
|
||||||
|
var hasOpened = false;
|
||||||
|
var webviewOptions = null;
|
||||||
|
var webviewResetSerial = 0;
|
||||||
|
var hasErrored = false;
|
||||||
|
var hasRegisteredOnMsgHandler = false;
|
||||||
|
var currentMessageHandler = null;
|
||||||
|
var currentIFrame = null;
|
||||||
|
var currentMessageChannelName = null;
|
||||||
|
var elements = {};
|
||||||
|
var loadElements = function() {
|
||||||
|
var jsel = document.getElementsByClassName("__jsel");
|
||||||
|
for(var i = 0; i < jsel.length; ++i) {
|
||||||
|
var el = jsel[i];
|
||||||
|
if(el.id.length > 0) {
|
||||||
|
elements[el.id] = el;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
function loadEagtekIcon() {
|
||||||
|
var faviconSrc = document.getElementById("vigg").href;
|
||||||
|
var imgElements = document.getElementsByClassName("eagtek_icon");
|
||||||
|
for(var i = 0; i < imgElements.length; ++i) {
|
||||||
|
imgElements[i].src = faviconSrc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setupElementListeners() {
|
||||||
|
elements.button_allow.addEventListener("click", function() {
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
if(elements.chkbox_remember.checked) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:7,perm:"ALLOW"}));
|
||||||
|
}
|
||||||
|
beginShowingDirect();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
elements.button_block.addEventListener("click", function() {
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
if(elements.chkbox_remember.checked) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:7,perm:"BLOCK"}));
|
||||||
|
}
|
||||||
|
beginShowingContentBlocked();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
elements.button_re_evaluate.addEventListener("click", function() {
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:7,perm:"NOT_SET"}));
|
||||||
|
beginShowingEnableJavaScript();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
window.specialHack = function() {
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:7,perm:"NOT_SET"}));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var handleHandshake = function(pkt) {
|
||||||
|
webviewOptions = {};
|
||||||
|
webviewOptions.contentMode = pkt.contentMode || "BLOB_BASED";
|
||||||
|
webviewOptions.fallbackTitle = pkt.fallbackTitle || "Server Info";
|
||||||
|
document.title = webviewOptions.fallbackTitle + " - Eaglercraft Desktop Runtime";
|
||||||
|
webviewOptions.scriptEnabled = !!pkt.scriptEnabled;
|
||||||
|
webviewOptions.strictCSPEnable = !!pkt.strictCSPEnable || false;
|
||||||
|
webviewOptions.serverMessageAPIEnabled = !!pkt.serverMessageAPIEnabled;
|
||||||
|
webviewOptions.url = pkt.url;
|
||||||
|
webviewOptions.blob = pkt.blob;
|
||||||
|
webviewOptions.hasApprovedJS = pkt.hasApprovedJS || "NOT_SET";
|
||||||
|
if(webviewOptions.scriptEnabled) {
|
||||||
|
if(webviewOptions.hasApprovedJS === "NOT_SET") {
|
||||||
|
beginShowingEnableJavaScript();
|
||||||
|
}else if(webviewOptions.hasApprovedJS === "ALLOW") {
|
||||||
|
beginShowingDirect();
|
||||||
|
}else if(webviewOptions.hasApprovedJS === "BLOCK") {
|
||||||
|
beginShowingContentBlocked();
|
||||||
|
}else {
|
||||||
|
setErrored("Unknown JS permission state: " + webviewOptions.hasApprovedJS);
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
beginShowingDirect();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var handleServerError = function(pkt) {
|
||||||
|
console.error("Recieved error from server: " + pkt.msg);
|
||||||
|
setErrored(pkt.msg);
|
||||||
|
};
|
||||||
|
var handleServerWebViewStrMsg = function(pkt) {
|
||||||
|
var w;
|
||||||
|
if(currentMessageChannelName !== null && currentIFrame !== null && (w = currentIFrame.contentWindow) !== null) {
|
||||||
|
w.postMessage({ver:1,channel:currentMessageChannelName,type:"string",data:pkt.msg}, "*");
|
||||||
|
}else {
|
||||||
|
console.error("Server tried to send the WebView a message, but the message channel is not open!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var handleServerWebViewBinMsg = function(arr) {
|
||||||
|
var w;
|
||||||
|
if(currentMessageChannelName !== null && currentIFrame !== null && (w = currentIFrame.contentWindow) !== null) {
|
||||||
|
w.postMessage({ver:1,channel:currentMessageChannelName,type:"binary",data:arr}, "*");
|
||||||
|
}else {
|
||||||
|
console.error("Server tried to send the WebView a message, but the message channel is not open!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var hideAllViews = function() {
|
||||||
|
if(currentIFrame !== null) {
|
||||||
|
++webviewResetSerial;
|
||||||
|
if(currentIFrame.parentNode) currentIFrame.parentNode.removeChild(currentIFrame);
|
||||||
|
currentIFrame = null;
|
||||||
|
}
|
||||||
|
elements.view_loading.style.display = "none";
|
||||||
|
elements.view_iframe.style.display = "none";
|
||||||
|
elements.view_allow_javascript.style.display = "none";
|
||||||
|
elements.view_javascript_blocked.style.display = "none";
|
||||||
|
elements.view_safety_error.style.display = "none";
|
||||||
|
};
|
||||||
|
var setErrored = function(str) {
|
||||||
|
if(hasErrored) return;
|
||||||
|
hasErrored = true;
|
||||||
|
hideAllViews();
|
||||||
|
elements.loading_text.style.color = "#CC0000";
|
||||||
|
elements.loading_text.innerText = str;
|
||||||
|
elements.view_loading.style.display = "block";
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
websocketInstance.close();
|
||||||
|
websocketInstance = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var registerMessageHandler = function() {
|
||||||
|
if(!hasRegisteredOnMsgHandler) {
|
||||||
|
hasRegisteredOnMsgHandler = true;
|
||||||
|
window.addEventListener("message", function(evt) {
|
||||||
|
if(currentIFrame !== null && currentMessageHandler !== null && evt.source === currentIFrame.contentWindow) {
|
||||||
|
currentMessageHandler(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var beginShowingDirect = function() {
|
||||||
|
if(hasErrored) return;
|
||||||
|
hideAllViews();
|
||||||
|
if(!eaglercraftXOpts.forceWebViewSupport) {
|
||||||
|
try {
|
||||||
|
currentIFrame = document.createElement("iframe");
|
||||||
|
currentIFrame.allow = "";
|
||||||
|
if(currentIFrame.allow != "") throw "Failed to set allow to \"\"";
|
||||||
|
currentIFrame.referrerPolicy = "strict-origin";
|
||||||
|
var requiredSandboxTokens = [ "allow-downloads" ];
|
||||||
|
if(webviewOptions.scriptEnabled) {
|
||||||
|
requiredSandboxTokens.push("allow-scripts");
|
||||||
|
requiredSandboxTokens.push("allow-pointer-lock");
|
||||||
|
}
|
||||||
|
currentIFrame.sandbox = requiredSandboxTokens.join(" ");
|
||||||
|
for(var i = 0; i < requiredSandboxTokens.length; ++i) {
|
||||||
|
if(!currentIFrame.sandbox.contains(requiredSandboxTokens[i])) {
|
||||||
|
throw ("Failed to set sandbox attribute: " + requiredSandboxTokens[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var sbox = currentIFrame.sandbox;
|
||||||
|
for(var i = 0; i < sbox.length; ++i) {
|
||||||
|
if(!requiredSandboxTokens.includes(sbox.item(i))) {
|
||||||
|
throw ("Unknown sandbox attribute detected: " + sbox.item(i));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}catch(ex) {
|
||||||
|
if(typeof ex === "string") {
|
||||||
|
console.error("Caught safety error: " + ex);
|
||||||
|
beginShowingSafetyError();
|
||||||
|
}else {webviewOptions
|
||||||
|
console.error("Fatal error while creating iframe!");
|
||||||
|
console.error(ex);
|
||||||
|
setErrored("Fatal error while creating iframe!");
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
currentIFrame = document.createElement("iframe");
|
||||||
|
try {
|
||||||
|
currentIFrame.allow = "";
|
||||||
|
}catch(ex) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
currentIFrame.referrerPolicy = "strict-origin";
|
||||||
|
}catch(ex) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
var sandboxTokens = [ "allow-downloads", "allow-same-origin" ];
|
||||||
|
if(webviewOptions.scriptEnabled) {
|
||||||
|
sandboxTokens.push("allow-scripts");
|
||||||
|
sandboxTokens.push("allow-pointer-lock");
|
||||||
|
}
|
||||||
|
currentIFrame.sandbox = sandboxTokens.join(" ");
|
||||||
|
}catch(ex) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
currentIFrame.credentialless = true;
|
||||||
|
currentIFrame.loading = "lazy";
|
||||||
|
var cspWarn = false;
|
||||||
|
if(webviewOptions.contentMode === "BLOB_BASED") {
|
||||||
|
if(cspAttrSupport && eaglercraftXOpts.enableWebViewCSP) {
|
||||||
|
if(typeof currentIFrame.csp === "string") {
|
||||||
|
var csp = "default-src 'none';";
|
||||||
|
var protos = (webviewOptions.strictCSPEnable ? "" : " http: https:");
|
||||||
|
if(webviewOptions.scriptEnabled) {
|
||||||
|
csp += (" script-src 'unsafe-eval' 'unsafe-inline' data: blob:" + protos + ";");
|
||||||
|
csp += (" style-src 'unsafe-eval' 'unsafe-inline' data: blob:" + protos + ";");
|
||||||
|
csp += (" img-src data: blob:" + protos + ";");
|
||||||
|
csp += (" font-src data: blob:" + protos + ";");
|
||||||
|
csp += (" child-src data: blob:" + protos + ";");
|
||||||
|
csp += (" frame-src data: blob:;");
|
||||||
|
csp += (" media-src data: mediastream: blob:" + protos + ";");
|
||||||
|
csp += (" connect-src data: blob:" + protos + ";");
|
||||||
|
csp += (" worker-src data: blob:" + protos + ";");
|
||||||
|
}else {
|
||||||
|
csp += (" style-src data: 'unsafe-inline'" + protos + ";");
|
||||||
|
csp += (" img-src data:" + protos + ";");
|
||||||
|
csp += (" font-src data:" + protos + ";");
|
||||||
|
csp += (" media-src data:" + protos + ";");
|
||||||
|
}
|
||||||
|
currentIFrame.csp = csp;
|
||||||
|
}else {
|
||||||
|
console.error("This browser does not support CSP attribute on iframes! (try Chrome)");
|
||||||
|
cspWarn = true;
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
cspWarn = true;
|
||||||
|
}
|
||||||
|
if(cspWarn && webviewOptions.strictCSPEnable) {
|
||||||
|
console.error("Strict CSP was requested for this webview, but that feature is not available!");
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
cspWarn = true;
|
||||||
|
}
|
||||||
|
currentIFrame.style.border = "none";
|
||||||
|
currentIFrame.style.backgroundColor = "white";
|
||||||
|
currentIFrame.style.width = "100%";
|
||||||
|
currentIFrame.style.height = "100%";
|
||||||
|
elements.view_iframe.appendChild(currentIFrame);
|
||||||
|
elements.view_iframe.style.display = "block";
|
||||||
|
if(webviewOptions.contentMode === "BLOB_BASED") {
|
||||||
|
currentIFrame.srcdoc = webviewOptions.blob;
|
||||||
|
}else {
|
||||||
|
currentIFrame.src = webviewOptions.url;
|
||||||
|
}
|
||||||
|
currentIFrame.focus();
|
||||||
|
if(webviewOptions.scriptEnabled && webviewOptions.serverMessageAPIEnabled) {
|
||||||
|
var resetSer = webviewResetSerial;
|
||||||
|
var curIFrame = currentIFrame;
|
||||||
|
registerMessageHandler();
|
||||||
|
currentMessageHandler = function(evt) {
|
||||||
|
if(resetSer === webviewResetSerial && curIFrame === currentIFrame) {
|
||||||
|
handleMessageRawFromFrame(evt.data);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var handleMessageRawFromFrame = function(obj) {
|
||||||
|
if(hasErrored) return;
|
||||||
|
if((typeof obj === "object") && (obj.ver === 1) && ((typeof obj.channel === "string") && obj.channel.length > 0)) {
|
||||||
|
if(typeof obj.open === "boolean") {
|
||||||
|
sendMessageEnToServer(obj.open, obj.channel);
|
||||||
|
return;
|
||||||
|
}else if(typeof obj.data === "string") {
|
||||||
|
sendMessageToServerStr(obj.channel, obj.data);
|
||||||
|
return;
|
||||||
|
}else if(obj.data instanceof ArrayBuffer) {
|
||||||
|
sendMessageToServerBin(obj.channel, obj.data);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
console.error("WebView sent an invalid message!");
|
||||||
|
};
|
||||||
|
var sendMessageEnToServer = function(messageChannelOpen, channelName) {
|
||||||
|
if(channelName.length > 255) {
|
||||||
|
console.error("WebView tried to " + (messageChannelOpen ? "open" : "close") + " a channel, but channel name is too long, max is 255 characters!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(messageChannelOpen && currentMessageChannelName !== null) {
|
||||||
|
console.error("WebView tried to open channel, but a channel is already open!");
|
||||||
|
sendMessageEnToServer(false, currentMessageChannelName);
|
||||||
|
}
|
||||||
|
if(!messageChannelOpen && currentMessageChannelName !== null && currentMessageChannelName === channelName) {
|
||||||
|
console.error("WebView tried to close the wrong channel!");
|
||||||
|
}
|
||||||
|
if(!messageChannelOpen && currentMessageChannelName === null) {
|
||||||
|
console.error("WebView tried to close channel, but the channel is not open!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
if(messageChannelOpen) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:3,channel:channelName}));
|
||||||
|
console.log("WebView opened message channel to server: \"" + channelName + "\"");
|
||||||
|
currentMessageChannelName = channelName;
|
||||||
|
}else {
|
||||||
|
websocketInstance.send(JSON.stringify({$:4}));
|
||||||
|
console.log("WebView closed message channel to server: \"" + currentMessageChannelName + "\"");
|
||||||
|
currentMessageChannelName = null;
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
console.error("WebView tried to send a message, but no websocket is open!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var sendMessageToServerStr = function(channelName, msg) {
|
||||||
|
if(channelName.length > 255) {
|
||||||
|
console.error("WebView tried to send a message packet, but channel name is too long, max is 255 characters!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(channelName !== currentMessageChannelName) {
|
||||||
|
console.error("WebView tried to send a message packet, but the channel is not open!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
websocketInstance.send(JSON.stringify({$:5,msg:msg}));
|
||||||
|
}else {
|
||||||
|
console.error("WebView tried to send a message, but no callback for sending packets is set!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var sendMessageToServerBin = function(channelName, msg) {
|
||||||
|
if(channelName.length > 255) {
|
||||||
|
console.error("WebView tried to send a message packet, but channel name is too long, max is 255 characters!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(channelName !== currentMessageChannelName) {
|
||||||
|
console.error("WebView tried to send a message packet, but the channel is not open!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(websocketInstance !== null) {
|
||||||
|
websocketInstance.send(msg);
|
||||||
|
}else {
|
||||||
|
console.error("WebView tried to send a message, but no callback for sending packets is set!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var beginShowingEnableJavaScript = function() {
|
||||||
|
if(hasErrored) return;
|
||||||
|
hideAllViews();
|
||||||
|
if(webviewOptions.contentMode !== "BLOB_BASED") {
|
||||||
|
elements.strict_csp_value.innerText = "Impossible";
|
||||||
|
elements.strict_csp_value.style.color = "red";
|
||||||
|
}else if(!cspAttrSupport || !eaglercraftXOpts.enableWebViewCSP) {
|
||||||
|
elements.strict_csp_value.innerText = "Unsupported";
|
||||||
|
elements.strict_csp_value.style.color = "red";
|
||||||
|
}else if(webviewOptions.strictCSPEnable) {
|
||||||
|
elements.strict_csp_value.innerText = "Enabled";
|
||||||
|
elements.strict_csp_value.style.color = "green";
|
||||||
|
}else {
|
||||||
|
elements.strict_csp_value.innerText = "Disabled";
|
||||||
|
elements.strict_csp_value.style.color = "red";
|
||||||
|
}
|
||||||
|
if(webviewOptions.serverMessageAPIEnabled) {
|
||||||
|
elements.message_api_value.innerText = "Enabled";
|
||||||
|
elements.message_api_value.style.color = "red";
|
||||||
|
}else {
|
||||||
|
elements.message_api_value.innerText = "Disabled";
|
||||||
|
elements.message_api_value.style.color = "green";
|
||||||
|
}
|
||||||
|
elements.view_allow_javascript.style.display = "block";
|
||||||
|
};
|
||||||
|
var beginShowingContentBlocked = function() {
|
||||||
|
if(hasErrored) return;
|
||||||
|
hideAllViews();
|
||||||
|
elements.view_javascript_blocked.style.display = "block";
|
||||||
|
};
|
||||||
|
var beginShowingSafetyError = function() {
|
||||||
|
if(hasErrored) return;
|
||||||
|
hasErrored = true;
|
||||||
|
hideAllViews();
|
||||||
|
elements.view_safety_error.style.display = "block";
|
||||||
|
};
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
loadElements();
|
||||||
|
loadEagtekIcon();
|
||||||
|
setupElementListeners();
|
||||||
|
websocketInstance = new WebSocket(webSocketURI);
|
||||||
|
websocketInstance.binaryType = "arraybuffer";
|
||||||
|
websocketInstance.addEventListener("open", function(evt) {
|
||||||
|
console.log("Connection to server opened");
|
||||||
|
hasOpened = true;
|
||||||
|
websocketInstance.send(JSON.stringify({$:0,cspSupport:cspAttrSupport}));
|
||||||
|
});
|
||||||
|
websocketInstance.addEventListener("message", function(evt) {
|
||||||
|
try {
|
||||||
|
if(typeof evt.data === "string") {
|
||||||
|
var pkt = JSON.parse(evt.data);
|
||||||
|
if(typeof pkt.$ !== "number") {
|
||||||
|
throw "Packet type is invalid";
|
||||||
|
}
|
||||||
|
if(webviewOptions === null) {
|
||||||
|
if(pkt.$ === 1) {
|
||||||
|
handleHandshake(pkt);
|
||||||
|
}else if(pkt.$ === 2) {
|
||||||
|
handleServerError(pkt);
|
||||||
|
}else {
|
||||||
|
throw "Unknown packet type " + pkt.$ + " for state handshake!"
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
if(pkt.$ === 2) {
|
||||||
|
handleServerError(pkt);
|
||||||
|
}else if(pkt.$ === 6) {
|
||||||
|
handleServerWebViewStrMsg(pkt);
|
||||||
|
}else {
|
||||||
|
throw "Unknown packet type " + pkt.$ + " for state open!"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
handleServerWebViewBinMsg(evt.data);
|
||||||
|
}
|
||||||
|
}catch(ex) {
|
||||||
|
console.error("Caught exception processing message from server!");
|
||||||
|
console.error(ex);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
websocketInstance.addEventListener("close", function(evt) {
|
||||||
|
websocketInstance = null;
|
||||||
|
setErrored("Connection to EaglercraftX client lost!");
|
||||||
|
});
|
||||||
|
websocketInstance.addEventListener("error", function(evt) {
|
||||||
|
console.error("WebSocket error: " + evt);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body style="margin:0px;width:100%;height:100%;overflow:hidden;font-family:sans-serif;user-select:none;">
|
||||||
|
<div id="view_loading" style="width:100%;height:100%;display:block;" class="__jsel">
|
||||||
|
<div style="padding-top:13vh;">
|
||||||
|
<h2 style="text-align:center;" id="loading_text" class="__jsel">Please Wait...</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="view_iframe" style="width:100%;height:100%;display:none;" class="__jsel">
|
||||||
|
</div>
|
||||||
|
<div id="view_allow_javascript" style="width:100%;height:100%;display:none;" class="__jsel">
|
||||||
|
<div style="padding-top:13vh;">
|
||||||
|
<div style="margin:auto;max-width:450px;border:6px double black;text-align:center;padding:20px;">
|
||||||
|
<h2><img width="32" height="32" style="vertical-align:middle;" class="eagtek_icon"> Allow JavaScript</h2>
|
||||||
|
<p style="font-family:monospace;text-decoration:underline;word-wrap:break-word;" id="target_url"></p>
|
||||||
|
<h4 style="line-height:1.4em;">Strict CSP: <span id="strict_csp_value" class="__jsel"></span> | Message API: <span id="message_api_value" class="__jsel"></span></h4>
|
||||||
|
<p><input id="chkbox_remember" type="checkbox" class="__jsel" checked> Remember my choice</p>
|
||||||
|
<p><button style="font-size:1.5em;" id="button_allow" class="__jsel">Allow</button> <button style="font-size:1.5em;" id="button_block" class="__jsel">Block</button></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="view_javascript_blocked" style="width:100%;height:100%;display:none;" class="__jsel">
|
||||||
|
<div style="padding-top:13vh;">
|
||||||
|
<h1 style="text-align:center;"><img width="48" height="48" style="vertical-align:middle;" class="eagtek_icon"> Content Blocked</h1>
|
||||||
|
<h4 style="text-align:center;">You chose to block JavaScript execution for this embed</h4>
|
||||||
|
<p style="text-align:center;"><button style="font-size:1.0em;" id="button_re_evaluate" class="__jsel">Re-evaluate</button></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="view_safety_error" style="width:100%;height:100%;display:none;" class="__jsel">
|
||||||
|
<div style="padding-top:13vh;">
|
||||||
|
<h1 style="text-align:center;"><img width="48" height="48" style="vertical-align:middle;" class="eagtek_icon"> IFrame Safety Error</h1>
|
||||||
|
<h4 style="text-align:center;">The content cannot be displayed safely!</h4>
|
||||||
|
<h4 style="text-align:center;">Check console for more details</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,32 @@
|
||||||
|
Copyright 2018 The ANGLE Project Authors.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
|
||||||
|
Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
|
||||||
|
Ltd., nor the names of their contributors may be used to endorse
|
||||||
|
or promote products derived from this software without specific
|
||||||
|
prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
/.metadata/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,26 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||||
|
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||||
|
<listEntry value="/eclipseProject/src_lwjgl_java/net/lax1dude/eaglercraft/v1_8/internal/lwjgl/MainClass.java"/>
|
||||||
|
</listAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
|
<listEntry value="1"/>
|
||||||
|
</listAttribute>
|
||||||
|
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
|
||||||
|
<mapEntry key="LD_LIBRARY_PATH" value="${project_loc}/../"/>
|
||||||
|
</mapAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
|
||||||
|
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
|
||||||
|
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
|
||||||
|
</listAttribute>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="net.lax1dude.eaglercraft.v1_8.internal.lwjgl.MainClass"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value="eclipseProject"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="eclipseProject"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Djava.library.path=."/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${project_loc}/../"/>
|
||||||
|
</launchConfiguration>
|
Binary file not shown.
|
@ -0,0 +1,21 @@
|
||||||
|
Copyright (c) 2002-2006 Marcus Geelnard
|
||||||
|
Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
|
||||||
|
|
||||||
|
This software is provided 'as-is', without any express or implied
|
||||||
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
arising from the use of this software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose,
|
||||||
|
including commercial applications, and to alter it and redistribute it
|
||||||
|
freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented; you must not
|
||||||
|
claim that you wrote the original software. If you use this software
|
||||||
|
in a product, an acknowledgment in the product documentation would
|
||||||
|
be appreciated but is not required.
|
||||||
|
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not
|
||||||
|
be misrepresented as being the original software.
|
||||||
|
|
||||||
|
3. This notice may not be removed or altered from any source
|
||||||
|
distribution.
|
Binary file not shown.
After Width: | Height: | Size: 488 B |
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,27 @@
|
||||||
|
Unless otherwise specified, files in the jemalloc source distribution are
|
||||||
|
subject to the following license:
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 2002-2018 Jason Evans <jasone@canonware.com>.
|
||||||
|
All rights reserved.
|
||||||
|
Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
|
||||||
|
Copyright (C) 2009-2018 Facebook, Inc. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright notice(s),
|
||||||
|
this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice(s),
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
|
||||||
|
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
--------------------------------------------------------------------------------
|
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
** Copyright (c) 2013-2014 The Khronos Group Inc.
|
||||||
|
**
|
||||||
|
** Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
** copy of this software and/or associated documentation files (the
|
||||||
|
** "Materials"), to deal in the Materials without restriction, including
|
||||||
|
** without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
** distribute, sublicense, and/or sell copies of the Materials, and to
|
||||||
|
** permit persons to whom the Materials are furnished to do so, subject to
|
||||||
|
** the following conditions:
|
||||||
|
**
|
||||||
|
** The above copyright notice and this permission notice shall be included
|
||||||
|
** in all copies or substantial portions of the Materials.
|
||||||
|
**
|
||||||
|
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
||||||
|
*/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,21 @@
|
||||||
|
libffi - Copyright (c) 1996-2020 Anthony Green, Red Hat, Inc and others.
|
||||||
|
See source files for details.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
``Software''), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
Copyright 2020 Jens Axboe
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,481 @@
|
||||||
|
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1991 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
[This is the first released version of the library GPL. It is
|
||||||
|
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
Licenses are intended to guarantee your freedom to share and change
|
||||||
|
free software--to make sure the software is free for all its users.
|
||||||
|
|
||||||
|
This license, the Library General Public License, applies to some
|
||||||
|
specially designated Free Software Foundation software, and to any
|
||||||
|
other libraries whose authors decide to use it. You can use it for
|
||||||
|
your libraries, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if
|
||||||
|
you distribute copies of the library, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of the library, whether gratis
|
||||||
|
or for a fee, you must give the recipients all the rights that we gave
|
||||||
|
you. You must make sure that they, too, receive or can get the source
|
||||||
|
code. If you link a program with the library, you must provide
|
||||||
|
complete object files to the recipients so that they can relink them
|
||||||
|
with the library, after making changes to the library and recompiling
|
||||||
|
it. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
Our method of protecting your rights has two steps: (1) copyright
|
||||||
|
the library, and (2) offer you this license which gives you legal
|
||||||
|
permission to copy, distribute and/or modify the library.
|
||||||
|
|
||||||
|
Also, for each distributor's protection, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
library. If the library is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original
|
||||||
|
version, so that any problems introduced by others will not reflect on
|
||||||
|
the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that companies distributing free
|
||||||
|
software will individually obtain patent licenses, thus in effect
|
||||||
|
transforming the program into proprietary software. To prevent this,
|
||||||
|
we have made it clear that any patent must be licensed for everyone's
|
||||||
|
free use or not licensed at all.
|
||||||
|
|
||||||
|
Most GNU software, including some libraries, is covered by the ordinary
|
||||||
|
GNU General Public License, which was designed for utility programs. This
|
||||||
|
license, the GNU Library General Public License, applies to certain
|
||||||
|
designated libraries. This license is quite different from the ordinary
|
||||||
|
one; be sure to read it in full, and don't assume that anything in it is
|
||||||
|
the same as in the ordinary license.
|
||||||
|
|
||||||
|
The reason we have a separate public license for some libraries is that
|
||||||
|
they blur the distinction we usually make between modifying or adding to a
|
||||||
|
program and simply using it. Linking a program with a library, without
|
||||||
|
changing the library, is in some sense simply using the library, and is
|
||||||
|
analogous to running a utility program or application program. However, in
|
||||||
|
a textual and legal sense, the linked executable is a combined work, a
|
||||||
|
derivative of the original library, and the ordinary General Public License
|
||||||
|
treats it as such.
|
||||||
|
|
||||||
|
Because of this blurred distinction, using the ordinary General
|
||||||
|
Public License for libraries did not effectively promote software
|
||||||
|
sharing, because most developers did not use the libraries. We
|
||||||
|
concluded that weaker conditions might promote sharing better.
|
||||||
|
|
||||||
|
However, unrestricted linking of non-free programs would deprive the
|
||||||
|
users of those programs of all benefit from the free status of the
|
||||||
|
libraries themselves. This Library General Public License is intended to
|
||||||
|
permit developers of non-free programs to use free libraries, while
|
||||||
|
preserving your freedom as a user of such programs to change the free
|
||||||
|
libraries that are incorporated in them. (We have not seen how to achieve
|
||||||
|
this as regards changes in header files, but we have achieved it as regards
|
||||||
|
changes in the actual functions of the Library.) The hope is that this
|
||||||
|
will lead to faster development of free libraries.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow. Pay close attention to the difference between a
|
||||||
|
"work based on the library" and a "work that uses the library". The
|
||||||
|
former contains code derived from the library, while the latter only
|
||||||
|
works together with the library.
|
||||||
|
|
||||||
|
Note that it is possible for a library to be covered by the ordinary
|
||||||
|
General Public License rather than by this special one.
|
||||||
|
|
||||||
|
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License Agreement applies to any software library which
|
||||||
|
contains a notice placed by the copyright holder or other authorized
|
||||||
|
party saying it may be distributed under the terms of this Library
|
||||||
|
General Public License (also called "this License"). Each licensee is
|
||||||
|
addressed as "you".
|
||||||
|
|
||||||
|
A "library" means a collection of software functions and/or data
|
||||||
|
prepared so as to be conveniently linked with application programs
|
||||||
|
(which use some of those functions and data) to form executables.
|
||||||
|
|
||||||
|
The "Library", below, refers to any such software library or work
|
||||||
|
which has been distributed under these terms. A "work based on the
|
||||||
|
Library" means either the Library or any derivative work under
|
||||||
|
copyright law: that is to say, a work containing the Library or a
|
||||||
|
portion of it, either verbatim or with modifications and/or translated
|
||||||
|
straightforwardly into another language. (Hereinafter, translation is
|
||||||
|
included without limitation in the term "modification".)
|
||||||
|
|
||||||
|
"Source code" for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For a library, complete source code means
|
||||||
|
all the source code for all modules it contains, plus any associated
|
||||||
|
interface definition files, plus the scripts used to control compilation
|
||||||
|
and installation of the library.
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running a program using the Library is not restricted, and output from
|
||||||
|
such a program is covered only if its contents constitute a work based
|
||||||
|
on the Library (independent of the use of the Library in a tool for
|
||||||
|
writing it). Whether that is true depends on what the Library does
|
||||||
|
and what the program that uses the Library does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
|
complete source code as you receive it, in any medium, provided that
|
||||||
|
you conspicuously and appropriately publish on each copy an
|
||||||
|
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||||
|
all the notices that refer to this License and to the absence of any
|
||||||
|
warranty; and distribute a copy of this License along with the
|
||||||
|
Library.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy,
|
||||||
|
and you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Library or any portion
|
||||||
|
of it, thus forming a work based on the Library, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
|
b) You must cause the files modified to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
c) You must cause the whole of the work to be licensed at no
|
||||||
|
charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
d) If a facility in the modified Library refers to a function or a
|
||||||
|
table of data to be supplied by an application program that uses
|
||||||
|
the facility, other than as an argument passed when the facility
|
||||||
|
is invoked, then you must make a good faith effort to ensure that,
|
||||||
|
in the event an application does not supply such function or
|
||||||
|
table, the facility still operates, and performs whatever part of
|
||||||
|
its purpose remains meaningful.
|
||||||
|
|
||||||
|
(For example, a function in a library to compute square roots has
|
||||||
|
a purpose that is entirely well-defined independent of the
|
||||||
|
application. Therefore, Subsection 2d requires that any
|
||||||
|
application-supplied function or table used by this function must
|
||||||
|
be optional: if the application does not supply it, the square
|
||||||
|
root function must still compute square roots.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Library,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Library, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Library.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Library
|
||||||
|
with the Library (or with a work based on the Library) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||||
|
License instead of this License to a given copy of the Library. To do
|
||||||
|
this, you must alter all the notices that refer to this License, so
|
||||||
|
that they refer to the ordinary GNU General Public License, version 2,
|
||||||
|
instead of to this License. (If a newer version than version 2 of the
|
||||||
|
ordinary GNU General Public License has appeared, then you can specify
|
||||||
|
that version instead if you wish.) Do not make any other change in
|
||||||
|
these notices.
|
||||||
|
|
||||||
|
Once this change is made in a given copy, it is irreversible for
|
||||||
|
that copy, so the ordinary GNU General Public License applies to all
|
||||||
|
subsequent copies and derivative works made from that copy.
|
||||||
|
|
||||||
|
This option is useful when you wish to copy part of the code of
|
||||||
|
the Library into a program that is not a library.
|
||||||
|
|
||||||
|
4. You may copy and distribute the Library (or a portion or
|
||||||
|
derivative of it, under Section 2) in object code or executable form
|
||||||
|
under the terms of Sections 1 and 2 above provided that you accompany
|
||||||
|
it with the complete corresponding machine-readable source code, which
|
||||||
|
must be distributed under the terms of Sections 1 and 2 above on a
|
||||||
|
medium customarily used for software interchange.
|
||||||
|
|
||||||
|
If distribution of object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the
|
||||||
|
source code from the same place satisfies the requirement to
|
||||||
|
distribute the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
5. A program that contains no derivative of any portion of the
|
||||||
|
Library, but is designed to work with the Library by being compiled or
|
||||||
|
linked with it, is called a "work that uses the Library". Such a
|
||||||
|
work, in isolation, is not a derivative work of the Library, and
|
||||||
|
therefore falls outside the scope of this License.
|
||||||
|
|
||||||
|
However, linking a "work that uses the Library" with the Library
|
||||||
|
creates an executable that is a derivative of the Library (because it
|
||||||
|
contains portions of the Library), rather than a "work that uses the
|
||||||
|
library". The executable is therefore covered by this License.
|
||||||
|
Section 6 states terms for distribution of such executables.
|
||||||
|
|
||||||
|
When a "work that uses the Library" uses material from a header file
|
||||||
|
that is part of the Library, the object code for the work may be a
|
||||||
|
derivative work of the Library even though the source code is not.
|
||||||
|
Whether this is true is especially significant if the work can be
|
||||||
|
linked without the Library, or if the work is itself a library. The
|
||||||
|
threshold for this to be true is not precisely defined by law.
|
||||||
|
|
||||||
|
If such an object file uses only numerical parameters, data
|
||||||
|
structure layouts and accessors, and small macros and small inline
|
||||||
|
functions (ten lines or less in length), then the use of the object
|
||||||
|
file is unrestricted, regardless of whether it is legally a derivative
|
||||||
|
work. (Executables containing this object code plus portions of the
|
||||||
|
Library will still fall under Section 6.)
|
||||||
|
|
||||||
|
Otherwise, if the work is a derivative of the Library, you may
|
||||||
|
distribute the object code for the work under the terms of Section 6.
|
||||||
|
Any executables containing that work also fall under Section 6,
|
||||||
|
whether or not they are linked directly with the Library itself.
|
||||||
|
|
||||||
|
6. As an exception to the Sections above, you may also compile or
|
||||||
|
link a "work that uses the Library" with the Library to produce a
|
||||||
|
work containing portions of the Library, and distribute that work
|
||||||
|
under terms of your choice, provided that the terms permit
|
||||||
|
modification of the work for the customer's own use and reverse
|
||||||
|
engineering for debugging such modifications.
|
||||||
|
|
||||||
|
You must give prominent notice with each copy of the work that the
|
||||||
|
Library is used in it and that the Library and its use are covered by
|
||||||
|
this License. You must supply a copy of this License. If the work
|
||||||
|
during execution displays copyright notices, you must include the
|
||||||
|
copyright notice for the Library among them, as well as a reference
|
||||||
|
directing the user to the copy of this License. Also, you must do one
|
||||||
|
of these things:
|
||||||
|
|
||||||
|
a) Accompany the work with the complete corresponding
|
||||||
|
machine-readable source code for the Library including whatever
|
||||||
|
changes were used in the work (which must be distributed under
|
||||||
|
Sections 1 and 2 above); and, if the work is an executable linked
|
||||||
|
with the Library, with the complete machine-readable "work that
|
||||||
|
uses the Library", as object code and/or source code, so that the
|
||||||
|
user can modify the Library and then relink to produce a modified
|
||||||
|
executable containing the modified Library. (It is understood
|
||||||
|
that the user who changes the contents of definitions files in the
|
||||||
|
Library will not necessarily be able to recompile the application
|
||||||
|
to use the modified definitions.)
|
||||||
|
|
||||||
|
b) Accompany the work with a written offer, valid for at
|
||||||
|
least three years, to give the same user the materials
|
||||||
|
specified in Subsection 6a, above, for a charge no more
|
||||||
|
than the cost of performing this distribution.
|
||||||
|
|
||||||
|
c) If distribution of the work is made by offering access to copy
|
||||||
|
from a designated place, offer equivalent access to copy the above
|
||||||
|
specified materials from the same place.
|
||||||
|
|
||||||
|
d) Verify that the user has already received a copy of these
|
||||||
|
materials or that you have already sent this user a copy.
|
||||||
|
|
||||||
|
For an executable, the required form of the "work that uses the
|
||||||
|
Library" must include any data and utility programs needed for
|
||||||
|
reproducing the executable from it. However, as a special exception,
|
||||||
|
the source code distributed need not include anything that is normally
|
||||||
|
distributed (in either source or binary form) with the major
|
||||||
|
components (compiler, kernel, and so on) of the operating system on
|
||||||
|
which the executable runs, unless that component itself accompanies
|
||||||
|
the executable.
|
||||||
|
|
||||||
|
It may happen that this requirement contradicts the license
|
||||||
|
restrictions of other proprietary libraries that do not normally
|
||||||
|
accompany the operating system. Such a contradiction means you cannot
|
||||||
|
use both them and the Library together in an executable that you
|
||||||
|
distribute.
|
||||||
|
|
||||||
|
7. You may place library facilities that are a work based on the
|
||||||
|
Library side-by-side in a single library together with other library
|
||||||
|
facilities not covered by this License, and distribute such a combined
|
||||||
|
library, provided that the separate distribution of the work based on
|
||||||
|
the Library and of the other library facilities is otherwise
|
||||||
|
permitted, and provided that you do these two things:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work
|
||||||
|
based on the Library, uncombined with any other library
|
||||||
|
facilities. This must be distributed under the terms of the
|
||||||
|
Sections above.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library of the fact
|
||||||
|
that part of it is a work based on the Library, and explaining
|
||||||
|
where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
8. You may not copy, modify, sublicense, link with, or distribute
|
||||||
|
the Library except as expressly provided under this License. Any
|
||||||
|
attempt otherwise to copy, modify, sublicense, link with, or
|
||||||
|
distribute the Library is void, and will automatically terminate your
|
||||||
|
rights under this License. However, parties who have received copies,
|
||||||
|
or rights, from you under this License will not have their licenses
|
||||||
|
terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
9. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Library or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Library (or any work based on the
|
||||||
|
Library), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Library or works based on it.
|
||||||
|
|
||||||
|
10. Each time you redistribute the Library (or any work based on the
|
||||||
|
Library), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute, link with or modify the Library
|
||||||
|
subject to these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Library at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Library by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Library.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply,
|
||||||
|
and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
12. If the distribution and/or use of the Library is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Library under this License may add
|
||||||
|
an explicit geographical distribution limitation excluding those countries,
|
||||||
|
so that distribution is permitted only in or among countries not thus
|
||||||
|
excluded. In such case, this License incorporates the limitation as if
|
||||||
|
written in the body of this License.
|
||||||
|
|
||||||
|
13. The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the Library General Public License from time to time.
|
||||||
|
Such new versions will be similar in spirit to the present version,
|
||||||
|
but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Library does not specify a
|
||||||
|
license version number, you may choose any version ever published by
|
||||||
|
the Free Software Foundation.
|
||||||
|
|
||||||
|
14. If you wish to incorporate parts of the Library into other free
|
||||||
|
programs whose distribution conditions are incompatible with these,
|
||||||
|
write to the author to ask for permission. For software which is
|
||||||
|
copyrighted by the Free Software Foundation, write to the Free
|
||||||
|
Software Foundation; we sometimes make exceptions for this. Our
|
||||||
|
decision will be guided by the two goals of preserving the free status
|
||||||
|
of all derivatives of our free software and of promoting the sharing
|
||||||
|
and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
|
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Libraries
|
||||||
|
|
||||||
|
If you develop a new library, and you want it to be of the greatest
|
||||||
|
possible use to the public, we recommend making it free software that
|
||||||
|
everyone can redistribute and change. You can do so by permitting
|
||||||
|
redistribution under these terms (or, alternatively, under the terms of the
|
||||||
|
ordinary General Public License).
|
||||||
|
|
||||||
|
To apply these terms, attach the following notices to the library. It is
|
||||||
|
safest to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least the
|
||||||
|
"copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the library's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Library General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Library General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Library General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||||
|
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1990
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
That's all there is to it!
|
|
@ -0,0 +1 @@
|
||||||
|
u46
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,862 @@
|
||||||
|
|
||||||
|
EaglercraftX Developers
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
lax1dude:
|
||||||
|
|
||||||
|
- Creator of Eaglercraft
|
||||||
|
- Ported the Minecraft 1.8 src to TeaVM
|
||||||
|
- Wrote HW accelerated OpenGL 1.3 emulator
|
||||||
|
- Wrote the default shader pack
|
||||||
|
- Made the integrated PBR resource pack
|
||||||
|
- Added touch and mobile device support
|
||||||
|
- Wrote all desktop emulation code
|
||||||
|
- Wrote EaglercraftXBungee
|
||||||
|
- Wrote EaglercraftXVelocity
|
||||||
|
- Wrote WebRTC relay server
|
||||||
|
- Wrote voice chat server
|
||||||
|
- Wrote the patch and build system
|
||||||
|
|
||||||
|
ayunami2000:
|
||||||
|
|
||||||
|
- Many bug fixes
|
||||||
|
- WebRTC LAN worlds
|
||||||
|
- WebRTC voice chat
|
||||||
|
- Worked on touch support
|
||||||
|
- Made velocity plugin work
|
||||||
|
- Added resource packs
|
||||||
|
- Added screen recording
|
||||||
|
- Added seamless fullscreen
|
||||||
|
- Created the replit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Code used within EaglercraftX
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: TeaVM
|
||||||
|
Project Author: Alexey Andreev
|
||||||
|
Project URL: https://teavm.org/
|
||||||
|
|
||||||
|
Used For: Compiling Java to JS, JRE implementation
|
||||||
|
|
||||||
|
* Copyright 2014 Alexey Andreev.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: LWJGL 3
|
||||||
|
Project Author: Spasi
|
||||||
|
Project URL: https://www.lwjgl.org
|
||||||
|
|
||||||
|
Used For: OpenGL, OpenAL, and GLFW bindings in desktop debug runtime
|
||||||
|
|
||||||
|
* Copyright (c) 2012-present Lightweight Java Game Library
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* - Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* - Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* - Neither the name Lightweight Java Game Library nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: ANGLE
|
||||||
|
Project Author: Google
|
||||||
|
Project URL: https://angleproject.org/
|
||||||
|
|
||||||
|
Used For: OpenGL ES 3.0 emulation in desktop debug runtime
|
||||||
|
|
||||||
|
* Copyright 2018 The ANGLE Project Authors.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
* copyright notice, this list of conditions and the following
|
||||||
|
* disclaimer in the documentation and/or other materials provided
|
||||||
|
* with the distribution.
|
||||||
|
*
|
||||||
|
* Neither the name of TransGaming Inc., Google Inc., 3DLabs Inc.
|
||||||
|
* Ltd., nor the names of their contributors may be used to endorse
|
||||||
|
* or promote products derived from this software without specific
|
||||||
|
* prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: JOML
|
||||||
|
Project Author: httpdigest
|
||||||
|
Project URL: https://github.com/JOML-CI/JOML
|
||||||
|
|
||||||
|
Used For: Math library for some calculations used by the renderer
|
||||||
|
|
||||||
|
* The MIT License (MIT)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015-2023 JOML
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: NVIDIA FXAA
|
||||||
|
Project Author: Timothy Lottes, NVIDIA
|
||||||
|
Project URL: https://gist.github.com/kosua20/0c506b81b3812ac900048059d2383126
|
||||||
|
|
||||||
|
Used For: in-game hardware accelerated FXAA antialiasing (when enabled)
|
||||||
|
|
||||||
|
* ==============================================================================
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* NVIDIA FXAA 3.11 by TIMOTHY LOTTES
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* COPYRIGHT (C) 2010, 2011 NVIDIA CORPORATION. ALL RIGHTS RESERVED.
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
|
||||||
|
* *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
|
||||||
|
* OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA
|
||||||
|
* OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
|
||||||
|
* LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION,
|
||||||
|
* OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE
|
||||||
|
* THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
* DAMAGES.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: java-diff-utils
|
||||||
|
Project Author: Google, forked by wumpz
|
||||||
|
Project URL: https://java-diff-utils.github.io/java-diff-utils/
|
||||||
|
|
||||||
|
Used For: generating and applying patch files in build system
|
||||||
|
|
||||||
|
* Copyright 2009-2017 java-diff-utils.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Google Guava
|
||||||
|
Project Author: Google
|
||||||
|
Project URL: https://github.com/google/guava
|
||||||
|
|
||||||
|
Used For: It's a dependency for Minecraft 1.8
|
||||||
|
|
||||||
|
* Copyright (C) 2011 The Guava Authors
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: javax.annotation
|
||||||
|
Project Author: Oracle Inc.
|
||||||
|
Project URL: ??
|
||||||
|
|
||||||
|
Used For: Dependency for Google Guava
|
||||||
|
|
||||||
|
* Copyright (c) 2005-2018 Oracle and/or its affiliates. All rights reserved.
|
||||||
|
*
|
||||||
|
* The contents of this file are subject to the terms of either the GNU
|
||||||
|
* General Public License Version 2 only ("GPL") or the Common Development
|
||||||
|
* and Distribution License("CDDL") (collectively, the "License"). You
|
||||||
|
* may not use this file except in compliance with the License. You can
|
||||||
|
* obtain a copy of the License at
|
||||||
|
* https://oss.oracle.com/licenses/CDDL+GPL-1.1
|
||||||
|
* or LICENSE.txt. See the License for the specific
|
||||||
|
* language governing permissions and limitations under the License.
|
||||||
|
*
|
||||||
|
* When distributing the software, include this License Header Notice in each
|
||||||
|
* file and include the License file at LICENSE.txt.
|
||||||
|
*
|
||||||
|
* GPL Classpath Exception:
|
||||||
|
* Oracle designates this particular file as subject to the "Classpath"
|
||||||
|
* exception as provided by Oracle in the GPL Version 2 section of the License
|
||||||
|
* file that accompanied this code.
|
||||||
|
*
|
||||||
|
* Modifications:
|
||||||
|
* If applicable, add the following below the License Header, with the fields
|
||||||
|
* enclosed by brackets [] replaced by your own identifying information:
|
||||||
|
* "Portions Copyright [year] [name of copyright owner]"
|
||||||
|
*
|
||||||
|
* Contributor(s):
|
||||||
|
* If you wish your version of this file to be governed by only the CDDL or
|
||||||
|
* only the GPL Version 2, indicate your decision by adding "[Contributor]
|
||||||
|
* elects to include this software in this distribution under the [CDDL or GPL
|
||||||
|
* Version 2] license." If you don't indicate a single choice of license, a
|
||||||
|
* recipient has the option to distribute your version of this file under
|
||||||
|
* either the CDDL, the GPL Version 2 or to extend the choice of license to
|
||||||
|
* its licensees as provided above. However, if you add GPL Version 2 code
|
||||||
|
* and therefore, elected the GPL Version 2 license, then the option applies
|
||||||
|
* only if the new code is made subject to such option by the copyright
|
||||||
|
* holder.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Apache Commons Lang
|
||||||
|
Project Author: Apache Software Foundation
|
||||||
|
Project URL: https://commons.apache.org/proper/commons-lang/
|
||||||
|
|
||||||
|
Used For: It's a dependency for Minecraft 1.8
|
||||||
|
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership.
|
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
* (the "License"); you may not use this file except in compliance with
|
||||||
|
* the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Apache Commons IO
|
||||||
|
Project Author: Apache Software Foundation
|
||||||
|
Project URL: https://commons.apache.org/proper/commons-io/
|
||||||
|
|
||||||
|
Used For: simplifying file IO in build system
|
||||||
|
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership.
|
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
* (the "License"); you may not use this file except in compliance with
|
||||||
|
* the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Apache Commons CSV
|
||||||
|
Project Author: Apache Software Foundation
|
||||||
|
Project URL: https://commons.apache.org/proper/commons-csv/
|
||||||
|
|
||||||
|
Used For: loading mod coder pack config files in build system
|
||||||
|
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership.
|
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
* (the "License"); you may not use this file except in compliance with
|
||||||
|
* the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: JSON-java
|
||||||
|
Project Author: Sean Leary (stleary)
|
||||||
|
Project URL: https://github.com/stleary/JSON-java
|
||||||
|
|
||||||
|
Used For: JSON serialization and parsing in client and build system
|
||||||
|
|
||||||
|
* Public domain.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Eclipse IDE Java Formatter
|
||||||
|
Project Author: Eclipse Foundation
|
||||||
|
Project URL: https://www.eclipse.org/
|
||||||
|
|
||||||
|
Used For: Formatting source code in build system before making diffs
|
||||||
|
|
||||||
|
* License is here: https://www.eclipse.org/legal/epl-2.0/
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: ObjectWeb ASM
|
||||||
|
Project Author: OW2
|
||||||
|
Project URL: https://asm.ow2.io/
|
||||||
|
|
||||||
|
Used For: parsing method signatures in build system
|
||||||
|
|
||||||
|
* ASM: a very small and fast Java bytecode manipulation framework
|
||||||
|
* Copyright (c) 2000-2011 INRIA, France Telecom
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the copyright holders nor the names of its
|
||||||
|
* contributors may be used to endorse or promote products derived from
|
||||||
|
* this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
|
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Bouncy Castle Crypto
|
||||||
|
Project Author: The Legion of the Bouncy Castle
|
||||||
|
Project URL: https://www.bouncycastle.org/java.html
|
||||||
|
|
||||||
|
Used For: MD5, SHA-1, SHA-256, and AES implementations
|
||||||
|
|
||||||
|
* Copyright (c) 2000-2021 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||||
|
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||||
|
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||||
|
* portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||||
|
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
|
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
* DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Apache Harmony JRE
|
||||||
|
Project Author: Apache Software Foundation
|
||||||
|
Project URL: https://harmony.apache.org/
|
||||||
|
|
||||||
|
Used For: TeaVM compatible String.format implementation
|
||||||
|
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership.
|
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
* (the "License"); you may not use this file except in compliance with
|
||||||
|
* the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Apache Commons Codec
|
||||||
|
Project Author: Apache Software Foundation
|
||||||
|
Project URL: https://commons.apache.org/proper/commons-codec/
|
||||||
|
|
||||||
|
Used For: Base64 encoder/decoder implementation
|
||||||
|
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership.
|
||||||
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
* (the "License"); you may not use this file except in compliance with
|
||||||
|
* the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: JZlib
|
||||||
|
Project Author: ymnk, JCraft Inc.
|
||||||
|
Project URL: http://www.jcraft.com/jzlib/
|
||||||
|
|
||||||
|
Used For: Deflate and GZIP implementations in client
|
||||||
|
|
||||||
|
* Copyright (c) 2011 ymnk, JCraft,Inc. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in
|
||||||
|
* the documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* 3. The names of the authors may not be used to endorse or promote products
|
||||||
|
* derived from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
||||||
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
|
||||||
|
* INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||||
|
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Java-WebSocket
|
||||||
|
Project Author: Nathan Rajlich (TooTallNate)
|
||||||
|
Project URL: http://tootallnate.github.io/Java-WebSocket
|
||||||
|
|
||||||
|
Used For: WebSockets in desktop runtime
|
||||||
|
|
||||||
|
* Copyright (c) 2010-2020 Nathan Rajlich
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person
|
||||||
|
* obtaining a copy of this software and associated documentation
|
||||||
|
* files (the "Software"), to deal in the Software without
|
||||||
|
* restriction, including without limitation the rights to use,
|
||||||
|
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following
|
||||||
|
* conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||||
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||||
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: webrtc-java
|
||||||
|
Project Author: Alex Andres
|
||||||
|
Project URL: https://github.com/devopvoid/webrtc-java
|
||||||
|
|
||||||
|
Used For: WebRTC LAN worlds in desktop runtime
|
||||||
|
|
||||||
|
* Copyright 2019 Alex Andres
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Netty
|
||||||
|
Project Author: Netty Project
|
||||||
|
Project URL: https://netty.io/
|
||||||
|
|
||||||
|
Used For: 'ByteBuf' classes implementations for Minecraft 1.8's networking engine
|
||||||
|
|
||||||
|
* Copyright 2015 The Netty Project
|
||||||
|
*
|
||||||
|
* The Netty Project licenses this file to you under the Apache License, version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance with the License. You may obtain a
|
||||||
|
* copy of the License at:
|
||||||
|
*
|
||||||
|
* https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
||||||
|
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||||
|
* or implied. See the License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: BungeeCord
|
||||||
|
Project Author: md_5
|
||||||
|
Project URL: https://www.spigotmc.org/go/bungeecord/
|
||||||
|
|
||||||
|
Used For: parsing YAML config files in EaglercraftXVelocity
|
||||||
|
|
||||||
|
* Copyright (c) 2012, md_5. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
* list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer in the documentation
|
||||||
|
* and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* The name of the author may not be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* You may not use the software for commercial software hosting services without
|
||||||
|
* written permission from the author.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: 3D Sound System
|
||||||
|
Project Author: Paul Lamb
|
||||||
|
Project URL: http://www.paulscode.com/forum/index.php?topic=4.0
|
||||||
|
|
||||||
|
Used For: Audio in desktop runtime
|
||||||
|
|
||||||
|
* SoundSystem License:
|
||||||
|
*
|
||||||
|
* You are free to use this library for any purpose, commercial or
|
||||||
|
* otherwise. You may modify this library or source code, and distribute it any
|
||||||
|
* way you like, provided the following conditions are met:
|
||||||
|
*
|
||||||
|
* 1) You must abide by the conditions of the aforementioned LWJGL License.
|
||||||
|
*
|
||||||
|
* 2) You may not falsely claim to be the author of this library or any
|
||||||
|
* unmodified portion of it.
|
||||||
|
*
|
||||||
|
* 3) You may not copyright this library or a modified version of it and then
|
||||||
|
* sue me for copyright infringement.
|
||||||
|
*
|
||||||
|
* 4) If you modify the source code, you must clearly document the changes made
|
||||||
|
* before redistributing the modified source code, so other users know it is not
|
||||||
|
* the original code.
|
||||||
|
*
|
||||||
|
* 5) You are not required to give me credit for this library in any derived
|
||||||
|
* work, but if you do, you must also mention my website:
|
||||||
|
* http://www.paulscode.com
|
||||||
|
*
|
||||||
|
* 6) I the author will not be responsible for any damages (physical, financial,
|
||||||
|
* or otherwise) caused by the use if this library or any part of it.
|
||||||
|
*
|
||||||
|
* 7) I the author do not guarantee, warrant, or make any representations,
|
||||||
|
* either expressed or implied, regarding the use of this library or any part of
|
||||||
|
* it.
|
||||||
|
*
|
||||||
|
* Author: Paul Lamb
|
||||||
|
* http://www.paulscode.com
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: JOrbis
|
||||||
|
Project Author: ymnk, JCraft Inc.
|
||||||
|
Project URL: http://www.jcraft.com/jorbis/
|
||||||
|
|
||||||
|
Used For: Audio in desktop runtime and browsers that don't support OGG
|
||||||
|
|
||||||
|
* JOrbis
|
||||||
|
* Copyright (C) 2000 ymnk, JCraft,Inc.
|
||||||
|
*
|
||||||
|
* Written by: 2000 ymnk<ymnk@jcraft.com>
|
||||||
|
*
|
||||||
|
* Many thanks to
|
||||||
|
* Monty <monty@xiph.org> and
|
||||||
|
* The XIPHOPHORUS Company http://www.xiph.org/ .
|
||||||
|
* JOrbis has been based on their awesome works, Vorbis codec.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Library General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Library General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Library General Public
|
||||||
|
* License along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: NanoHTTPD
|
||||||
|
Project Author: NanoHTTPD
|
||||||
|
Project URL: http://nanohttpd.org/
|
||||||
|
|
||||||
|
Used For: HTTP server in the desktop runtime
|
||||||
|
|
||||||
|
* Copyright (c) 2012-2013 by Paul S. Hawke,
|
||||||
|
* 2001,2005-2013 by Jarno Elonen,
|
||||||
|
* 2010 by Konstantinos Togias All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
* list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer in the documentation
|
||||||
|
* and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* Neither the name of the NanoHttpd organization nor the names of its
|
||||||
|
* contributors may be used to endorse or promote products derived from this
|
||||||
|
* software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||||
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: sqlite-jdbc
|
||||||
|
Project Author: Taro L. Saito (xerial)
|
||||||
|
Project URL: https://github.com/xerial/sqlite-jdbc
|
||||||
|
|
||||||
|
Used For: Default skin cache and authentication JDBC driver in EaglerXBungee
|
||||||
|
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: fix-webm-duration
|
||||||
|
Project Author: Yury Sitnikov
|
||||||
|
Project URL: https://github.com/yusitnikov/fix-webm-duration
|
||||||
|
|
||||||
|
Used For: Post-processing screen recordings to add durations to the file headers
|
||||||
|
|
||||||
|
* The MIT license
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018 Yury Sitnikov
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: Emscripten
|
||||||
|
Project Author: Emscripten authors
|
||||||
|
Project URL: https://emscripten.org/
|
||||||
|
|
||||||
|
Used For: Compiling the WASM runtime's loader.wasm program
|
||||||
|
|
||||||
|
* Emscripten is available under 2 licenses, the MIT license and the
|
||||||
|
* University of Illinois/NCSA Open Source License.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: XZ Embedded
|
||||||
|
Project Author: Lasse Collin (Larhzu)
|
||||||
|
Project URL: https://tukaani.org/xz/embedded.html
|
||||||
|
|
||||||
|
Used For: Decompressing the WASM runtime
|
||||||
|
|
||||||
|
* Copyright (C) The XZ Embedded authors and contributors
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and/or distribute this
|
||||||
|
* software for any purpose with or without fee is hereby granted.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||||
|
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
Project Name: XZ for Java
|
||||||
|
Project Author: Lasse Collin (Larhzu)
|
||||||
|
Project URL: https://tukaani.org/xz/java.html
|
||||||
|
|
||||||
|
Used For: Compression in the MakeWASMClientBundle command
|
||||||
|
|
||||||
|
* Copyright (C) The XZ for Java authors and contributors
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and/or distribute this
|
||||||
|
* software for any purpose with or without fee is hereby granted.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||||
|
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
||||||
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,87 @@
|
||||||
|
<style type="text/css" style="display:none !important;">{% embed eval `boot_menu_style.css` %}</style>
|
||||||
|
<div class="_eaglercraftX_boot_menu {% global `root_class_gen` %}">
|
||||||
|
<div class="_eaglercraftX_boot_menu_inner">
|
||||||
|
<div class="_eaglercraftX_boot_menu_header">
|
||||||
|
<p class="_eaglercraftX_boot_menu_header_title">EaglercraftX 1.8 Boot Manager</p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_content">
|
||||||
|
<div class="_eaglercraftX_boot_menu_content_inner">
|
||||||
|
<div class="_eaglercraftX_boot_menu_content_view_selection" style="display:none;">
|
||||||
|
<div class="_eaglercraftX_boot_menu_content_selection"></div>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_content_view_editor" style="display:none;">
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf">
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_inner">
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item_wide" style="padding: 20px;">
|
||||||
|
<p>Profile Name: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_profile_name"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item_wide">
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_data_format">
|
||||||
|
<p>Data Format: <span class="_eaglercraftX_boot_menu_launch_conf_val_data_format">Standard Offline</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_launch_type">
|
||||||
|
<p>Launch Type:
|
||||||
|
<select class="_eaglercraftX_boot_menu_launch_conf_val_launch_type">
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="EAGLERX_SIGNED_V1">EaglercraftX Signed Client</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="EAGLERX_V1">EaglercraftX Standard Offline</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="EAGLER_1_5_V2">Eaglercraft 1.5 (post-22w34a)</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="EAGLER_1_5_V1">Eaglercraft 1.5 (pre-22w34a)</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="EAGLER_BETA_V1">Eaglercraft Beta 1.3</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="PEYTON_V1">PeytonPlayz585 Indev</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="PEYTON_V2">PeytonPlayz585 Alpha/Beta</option>
|
||||||
|
<option class="_eaglercraftX_boot_menu_launch_conf_val_launch_type_opt" value="STANDARD_OFFLINE_V1">Standard Offline</option>
|
||||||
|
</select>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_join_server" style="display:none;">
|
||||||
|
<p>Join Server: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_join_server"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_opts_name" style="display:none;">
|
||||||
|
<p>Opt Variable Name: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_opts_name"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_assetsURI" style="display:none;">
|
||||||
|
<p>Assets URI Opt: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_assetsURI"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_container" style="display:none;">
|
||||||
|
<p>Container ID Opt: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_container"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_main_func" style="display:none;">
|
||||||
|
<p>Main function: <input type="text" class="_eaglercraftX_boot_menu_launch_conf_val_main_func"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_launch_conf_item _eaglercraftX_boot_menu_launch_conf_clear_cookies">
|
||||||
|
<p>Clear Cookies Before Launch: <input type="checkbox" class="_eaglercraftX_boot_menu_launch_conf_val_clear_cookies"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<textarea class="_eaglercraftX_boot_menu_launch_opt_editor" spellcheck="false"></textarea>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup" style="display:none;">
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup_inner">
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup_view_confirm" style="display:none;">
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_confirm_title"></p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_confirm_opts"></p>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup_view_selection" style="display:none;">
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_selection_title"></p>
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup_selection"></div>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_popup_view_input" style="display:none;">
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_input_title"></p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_input_val_container"><input class="_eaglercraftX_boot_menu_popup_input_val" type="text"></p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_popup_input_opts"><span class="_eaglercraftX_boot_menu_popup_input_opt _eaglercraftX_boot_menu_popup_input_opt_cancel"> < Cancel > </span>   <span class="_eaglercraftX_boot_menu_popup_input_opt _eaglercraftX_boot_menu_popup_input_opt_done _eaglercraftX_boot_menu_popup_input_opt_selected"> < Done > </span></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="_eaglercraftX_boot_menu_footer">
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_boot_select" style="display:none;">Use the ↑ and ↓ keys to select which entry is highlighted.<br>Press enter to boot the selected client, `e' to edit eaglercraft opts before booting, or ESC to exit and boot normally.</p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_boot_select_count" style="display:none;">Use the ↑ and ↓ keys to select which entry is highlighted.<br>Press enter to boot the selected client, `e' to edit eaglercraft opts before booting.<br>The first option will be executed in <span class="_eaglercraftX_boot_menu_footer_text_boot_countdown">0</span> seconds. Press any key to cancel.</p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_menu_select" style="display:none;">Use the ↑ and ↓ keys to select which entry is highlighted.<br>Press enter to select, or ESC return to the previous screen.</p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_opts_editor" style="display:none;">Press CTRL+SHIFT to open editor menu.<br>Press CTRL+ENTER to boot, or ESC return to the previous menu.</p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_opts_editor_alt" style="display:none;">Press CTRL+SHIFT to open editor menu.<br>Press CTRL+ENTER to save, or ESC return to the previous menu.</p>
|
||||||
|
<p class="_eaglercraftX_boot_menu_footer_text _eaglercraftX_boot_menu_footer_text_boot_order" style="display:none;">Use the ↑ and ↓ keys to select which entry is highlighted.<br>Press CTRL+↑ and CTRL+↓ to adjust item order, or ESC to cancel.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,328 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: "{% global `root_class_gen` %}_font0";
|
||||||
|
src: url("data:font/woff;base64,{% embed base64 `web_cl_eagleiii_8x16.woff` %}") format("woff");
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} {
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
color: #CCCCCC;
|
||||||
|
background-color: #000000;
|
||||||
|
user-select: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-moz-selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-webkit-scrollbar-track, .{% global `root_class_gen` %} ::-webkit-scrollbar-track {
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-webkit-scrollbar-thumb, .{% global `root_class_gen` %} ::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-webkit-scrollbar-button, .{% global `root_class_gen` %} ::-webkit-scrollbar-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %}::-webkit-scrollbar-corner, .{% global `root_class_gen` %} ::-webkit-scrollbar-corner {
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_inner {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
min-height: 480px;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} p {
|
||||||
|
margin-block-start: 0px;
|
||||||
|
margin-block-end: 0px;
|
||||||
|
-webkit-margin-before:0px;
|
||||||
|
-webkit-margin-after:0px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_header {
|
||||||
|
flex: 0 1 auto;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_header_title {
|
||||||
|
text-align: center;
|
||||||
|
padding: 32px 0px 0px 0px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_inner {
|
||||||
|
position: absolute;
|
||||||
|
top: 32px;
|
||||||
|
left: 32px;
|
||||||
|
bottom: 32px;
|
||||||
|
right: 32px;
|
||||||
|
border: 2px solid white;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup {
|
||||||
|
position: absolute;
|
||||||
|
top: 128px;
|
||||||
|
left: 64px;
|
||||||
|
bottom: 64px;
|
||||||
|
right: 64px;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_inner {
|
||||||
|
width: 50%;
|
||||||
|
min-width: min(calc(100% - 20px), 400px);
|
||||||
|
max-width: 800px;
|
||||||
|
max-height: calc(100% - 20px);
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
border: 2px solid white;
|
||||||
|
background-color: #000000;
|
||||||
|
padding: 10px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_confirm_title {
|
||||||
|
text-align: center;
|
||||||
|
padding: 16px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_confirm_opts {
|
||||||
|
text-align: center;
|
||||||
|
padding: 16px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_confirm_opt {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_confirm_opt_selected {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_confirm_opt_disabled {
|
||||||
|
color: #888888;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_selection_title {
|
||||||
|
text-align: center;
|
||||||
|
padding: 16px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_selection {
|
||||||
|
width: calc(100% - 8px);
|
||||||
|
padding: 8px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_title {
|
||||||
|
text-align: center;
|
||||||
|
padding: 16px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_opts {
|
||||||
|
text-align: center;
|
||||||
|
padding: 16px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_opt {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_opt_selected {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_opt_disabled {
|
||||||
|
color: #888888;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_val_container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_val {
|
||||||
|
min-width: 15em;
|
||||||
|
width: calc(90% - 50px);
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
outline: none;
|
||||||
|
resize: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: #CCCCCC;
|
||||||
|
border: 2px solid white;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_val:disabled {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_val::-moz-selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_popup_input_val::selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_view_selection {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_selection {
|
||||||
|
width: calc(100% - 8px);
|
||||||
|
height: calc(100% - 16px);
|
||||||
|
padding: 8px 4px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_item {
|
||||||
|
width: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_item::before {
|
||||||
|
content: "\00a0";
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_item_selected {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_item_selected::before {
|
||||||
|
content: "*";
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_item_disabled {
|
||||||
|
color: #888888;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_content_view_editor {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
height: calc(25% - 20px);
|
||||||
|
padding: 10px;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item_wide {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item input[type=text] {
|
||||||
|
min-width: 15em;
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
outline: none;
|
||||||
|
resize: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: #CCCCCC;
|
||||||
|
border: 2px solid white;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item input[type=text]:disabled {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item input[type=checkbox] {
|
||||||
|
zoom: 2;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item select {
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
outline: none;
|
||||||
|
resize: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: #CCCCCC;
|
||||||
|
border: 2px solid white;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item option:checked {
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item option:disabled {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item input::-moz-selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_item input::selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_val_profile_name {
|
||||||
|
width: calc(100% - 10em);
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
outline: none;
|
||||||
|
resize: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: #CCCCCC;
|
||||||
|
border: 2px solid white;
|
||||||
|
padding: 2px 4px;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_val_profile_name::-moz-selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_val_profile_name::selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_val_profile_name:disabled {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_conf_val_data_format {
|
||||||
|
padding: 2px 4px;
|
||||||
|
border: 2px solid white;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_opt_editor {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
height: calc(75% - 22px);
|
||||||
|
width: calc(100% - 20px);
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
font: 24px "{% global `root_class_gen` %}_font0";
|
||||||
|
border: none;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
outline: none;
|
||||||
|
resize: none;
|
||||||
|
background-color: #000000;
|
||||||
|
color: #CCCCCC;
|
||||||
|
overflow: auto;
|
||||||
|
tab-size: 4;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_opt_editor:disabled {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_opt_editor::-moz-selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_launch_opt_editor::selection {
|
||||||
|
color: #000000;
|
||||||
|
background-color: #CCCCCC;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_footer {
|
||||||
|
flex: 0 1 auto;
|
||||||
|
}
|
||||||
|
.{% global `root_class_gen` %} ._eaglercraftX_boot_menu_footer_text {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0px 0px 32px 64px;
|
||||||
|
color: #CCCCCC;
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "EAGLERX_V1",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "EAGLERX_SIGNED_V1",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "EAGLER_1_5_V2",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "EAGLER_1_5_V1",
|
||||||
|
"join_server": "",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "EAGLER_BETA_V1",
|
||||||
|
"join_server": "",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "PEYTON_V2",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "PEYTON_V2",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "PEYTON_V1",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"client_launch_type": "STANDARD_OFFLINE_V1",
|
||||||
|
"client_launch_opts_var": "eaglercraftXOpts",
|
||||||
|
"client_launch_opts_assetsURI_var": "assetsURI",
|
||||||
|
"client_launch_opts_container_var": "container",
|
||||||
|
"client_launch_main_func": "main",
|
||||||
|
"clear_cookies_before_launch": false
|
||||||
|
}
|
|
@ -0,0 +1,192 @@
|
||||||
|
{
|
||||||
|
"defaults": {
|
||||||
|
"EAGLERX_SIGNED_V1": {
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8_signed.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8.txt"
|
||||||
|
},
|
||||||
|
"EAGLERX_V1": {
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8.txt"
|
||||||
|
},
|
||||||
|
"EAGLER_BETA_V1": {
|
||||||
|
"conf": "conf_template_eaglercraft_b1_3.json",
|
||||||
|
"opts": null
|
||||||
|
},
|
||||||
|
"EAGLER_1_5_V1": {
|
||||||
|
"conf": "conf_template_eaglercraft_1_5_legacy.json",
|
||||||
|
"opts": "opts_template_eaglercraft_1_5_legacy.txt"
|
||||||
|
},
|
||||||
|
"EAGLER_1_5_V2": {
|
||||||
|
"conf": "conf_template_eaglercraft_1_5.json",
|
||||||
|
"opts": "opts_template_eaglercraft_1_5.txt"
|
||||||
|
},
|
||||||
|
"PEYTON_V1": {
|
||||||
|
"conf": "conf_template_peytonplayz585_indev.json",
|
||||||
|
"opts": null
|
||||||
|
},
|
||||||
|
"PEYTON_V2": {
|
||||||
|
"conf": "conf_template_peytonplayz585_a1_2_6.json",
|
||||||
|
"opts": "opts_template_peytonplayz585_a1_2_6.txt"
|
||||||
|
},
|
||||||
|
"STANDARD_OFFLINE_V1": {
|
||||||
|
"conf": "conf_template_standard_offline.json",
|
||||||
|
"opts": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"templates": [
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8 Demo",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8_demo.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8 HTML5 Cursors",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8_html5Cursors.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8 Signed",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8_signed.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_SIGNED_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_SIGNED"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8 Signed Demo",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8_signed.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8_demo.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_SIGNED_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_SIGNED"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EaglercraftX 1.8 Signed HTML5 Cursors",
|
||||||
|
"conf": "conf_template_eaglercraftX_1_8_signed.json",
|
||||||
|
"opts": "opts_template_eaglercraftX_1_8_html5Cursors.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_SIGNED_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFTX_1_8_SIGNED"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Eaglercraft 1.5.2 (post-22w34a)",
|
||||||
|
"conf": "conf_template_eaglercraft_1_5.json",
|
||||||
|
"opts": "opts_template_eaglercraft_1_5.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_1_5_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFT_1_5_NEW_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Eaglercraft 1.5.2 Live Music (post-22w34a)",
|
||||||
|
"conf": "conf_template_eaglercraft_1_5.json",
|
||||||
|
"opts": "opts_template_eaglercraft_1_5_livestream.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_1_5_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFT_1_5_NEW_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Eaglercraft 1.5.2 (pre-22w34a)",
|
||||||
|
"conf": "conf_template_eaglercraft_1_5_legacy.json",
|
||||||
|
"opts": "opts_template_eaglercraft_1_5_legacy.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFT_1_5_OLD_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Eaglercraft Beta 1.3",
|
||||||
|
"conf": "conf_template_eaglercraft_b1_3.json",
|
||||||
|
"opts": null,
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EAGLERCRAFT_BETA_B1_3_OFFLINE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PeytonPlayz585 Beta 1.7.3",
|
||||||
|
"conf": "conf_template_peytonplayz585_b1_7_3.json",
|
||||||
|
"opts": "opts_template_peytonplayz585_b1_7_3.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"PEYTONPLAYZ585_ALPHA_BETA"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PeytonPlayz585 Alpha 1.2.6",
|
||||||
|
"conf": "conf_template_peytonplayz585_a1_2_6.json",
|
||||||
|
"opts": "opts_template_peytonplayz585_a1_2_6.txt",
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"PEYTONPLAYZ585_ALPHA_BETA"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PeytonPlayz585 Indev",
|
||||||
|
"conf": "conf_template_peytonplayz585_indev.json",
|
||||||
|
"opts": null,
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"PEYTONPLAYZ585_INDEV"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Standard Offline Download",
|
||||||
|
"conf": "conf_template_standard_offline.json",
|
||||||
|
"opts": null,
|
||||||
|
"allow": [
|
||||||
|
"EAGLER_STANDARD_OFFLINE"
|
||||||
|
],
|
||||||
|
"parseTypes": [
|
||||||
|
"EXPORTED_STANDARD_OFFLINE"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,86 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
This file is from ${date}, it was generated using EaglercraftX 1.8 boot manager
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<html style="width:100%;height:100%;background-color:black;">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
|
||||||
|
<meta name="description" content="${client_name}" />
|
||||||
|
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8" />
|
||||||
|
<title>${client_name}</title>
|
||||||
|
<meta property="og:locale" content="en-US" />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:title" content="${client_name}" />
|
||||||
|
<meta property="og:description" content="this file is not a website, whoever uploaded it to this URL is a dumbass" />
|
||||||
|
<style type="eaglercraftOfflineParseHint">{"type":"EAGLERCRAFTX_1_8_OFFLINE","launchConf":${launch_conf_json}}</style>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
var relayIdMax = ${relayId_max};
|
||||||
|
var relayId = relayIdMax > 1 ? Math.floor(Math.random() * relayIdMax) : 0;
|
||||||
|
|
||||||
|
// %%%%%%%%% launch options %%%%%%%%%%%%
|
||||||
|
|
||||||
|
window.eaglercraftXOpts = ${launch_opts};
|
||||||
|
|
||||||
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
if(typeof window !== "undefined") window.eaglercraftXClientScriptElement = document.currentScript;
|
||||||
|
|
||||||
|
${classes_js}
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
(function(){
|
||||||
|
window.eaglercraftXOpts.container = "game_frame";
|
||||||
|
window.eaglercraftXOpts.assetsURI = ${assets_epk};
|
||||||
|
|
||||||
|
var launchInterval = -1;
|
||||||
|
var launchCounter = 1;
|
||||||
|
var launchCountdownNumberElement = null;
|
||||||
|
var launchCountdownProgressElement = null;
|
||||||
|
var launchSkipCountdown = false;
|
||||||
|
|
||||||
|
var launchTick = function() {
|
||||||
|
launchCountdownNumberElement.innerText = "" + Math.floor(6.0 - launchCounter * 0.06);
|
||||||
|
launchCountdownProgressElement.style.width = "" + launchCounter + "%";
|
||||||
|
if(++launchCounter > 100 || launchSkipCountdown) {
|
||||||
|
clearInterval(launchInterval);
|
||||||
|
setTimeout(function() { document.body.removeChild(document.getElementById("launch_countdown_screen")); document.body.style.backgroundColor = "black"; main(); }, 50);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
launchCountdownNumberElement = document.getElementById("launchCountdownNumber");
|
||||||
|
launchCountdownProgressElement = document.getElementById("launchCountdownProgress");
|
||||||
|
launchInterval = setInterval(launchTick, 50);
|
||||||
|
document.getElementById("skipCountdown").addEventListener("click", function() {
|
||||||
|
launchSkipCountdown = true;
|
||||||
|
});
|
||||||
|
document.getElementById("bootMenu").addEventListener("click", function() {
|
||||||
|
launchSkipCountdown = true;
|
||||||
|
window.eaglercraftXOpts.showBootMenuOnLaunch = true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQjCUYG5gD2T38vLy/PwsDfL9/f3Dw8PT05M0b29vnKLhCKCBT4L4gvBLBIei4//4+Hh1dUVEQutUuLu7E83FxQUGnKLBWKfQaA3S+AREVxaEOD8/Pzk50XpzcyMDcH19zdZG3N3d3dzc3Nvb01aX5pQUpQGGQJxcQpfNysoKhUIdHR1o1tbWbInYAgxIPDMzMy8vLzc3FxqOdMoRqwJK8G8ALUYIhHMiSEhIwI6CyIb0qQzC4eGhsXCc1tZWnZIEKzdQJQSXgKxfX18RCM3Z5eWlcfVAxKOjo+Pj49PTU88lTOk2NjbMsePc3t6SAfcgFdszOyMuAdeBg0CQi2lhYUHOeOLDCisN8FzcPFZXV3t7ezHY3t5GQ+6it+2xMASsKhEEWKsmRLRBBUpPvpJ/TpFKFBwKYAiITmicsbYhdHfJAltqhUCVsCQhwslmeXmZxiBQT9c0Ar9E2O3v72sYSE0N1yQArkKy0kBMXLqlZqIZHR3t6empqqqSDcBdhXEJSJ/bUc3q6uq+vj629GB9fR1WsLW1NTs7u7S0RN2locMjIyOEm5ubQ7+4uJienk4/+vv77Y1hwhLBEKhwWHitdVFfX9/Y2Gg2HuLi4owUAysrK8yCG97rh0+ApP5Q2ZycHFlPTExUVFRIBvn5+WhKSkp2dnaMKhptbW2426GgQ/rwuAQCZ1hwFayLiork9hMFBQV1dXVmE0BLS4vqw3QFB8kn4IAxoGPkYpxi4FeDmpqas7Mz4pClAgqGwD48rjY2NmacYqC0tJQ1KSlJWyE5OZkpUKkBAxZVIntAoZh04+Q48fHxPNGBgYHExMT29naj9cBodnZ2mo3jlJWVMeW2OGQck4B1amqqoaGhqamJjx2lGxwcpL0mUgR8fJhsWqJtSkoKU2SbHHUDpkhPBujd8xuQG6PJRM/Pz09PT7O1NNnZ2Tw3fgZkXVhYKCUlUhBATP+hCVyKZGky17RV0g04laayslJ6hlVeFHB4eFhKaogGd0LxtmTgE+hbhKDnPjMzgw8E3qGL2tpaBWpubjYqj2BoaEj6rq4uNATRZ0ZwCbiL6gXEzINk5vCBQJ9rMD4+rkA8QNK036uDg4Py8vLu7m680KjIBNR3zBDoWQM1g98snyB+VSoRW8C/UwR81/SvhgNj9JOTkwwVERUdRBEI0BAdLRVERkhLS8vIyEDQlrsTPTU1lVFhKxARvZgUlFLbegCf4BvIsbi4mIg4E5EogIHhiKCMtU0WUFiVy06j5fAJIDdSBDQw+PegDfBRcbOPwH4F9LuFWIIQdQNKwWqzIE0aoFUaBsw+SQuFw0uNtC9A+F4i3QNrbg3IDn+SAsHh+wYiEpeyBEMLv/cAO6KzAijxxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" />
|
||||||
|
</head>
|
||||||
|
<body style="margin:0px;width:100%;height:100%;overflow:hidden;background-color:white;" id="game_frame">
|
||||||
|
<div style="margin:0px;width:100%;height:100%;font-family:sans-serif;display:flex;align-items:center;user-select:none;" id="launch_countdown_screen">
|
||||||
|
<div style="margin:auto;text-align:center;">
|
||||||
|
<h1>${client_name}</h1>
|
||||||
|
<h2>Game will launch in <span id="launchCountdownNumber">5</span>...</h2>
|
||||||
|
<div style="border:2px solid black;width:100%;height:15px;padding:1px;margin-bottom:20vh;"><div id="launchCountdownProgress" style="background-color:#555555;width:0%;height:100%;"></div>
|
||||||
|
<p style="margin-top:30px;"><button id="skipCountdown" autofocus>Skip Countdown</button> <button id="bootMenu">Enter Boot Menu</button></p></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,85 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
This file is from ${date}, it was generated using EaglercraftX 1.8 boot manager
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<html style="width:100%;height:100%;background-color:black;">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
|
||||||
|
<meta name="description" content="EaglercraftX 1.8" />
|
||||||
|
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8" />
|
||||||
|
<title>EaglercraftX 1.8</title>
|
||||||
|
<meta property="og:locale" content="en-US" />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:title" content="EaglercraftX 1.8" />
|
||||||
|
<meta property="og:description" content="this file is not a website, whoever uploaded it to this URL is a dumbass" />
|
||||||
|
<style type="eaglercraftOfflineParseHint">{"type":"EAGLERCRAFTX_1_8_FAT_OFFLINE","launchConf":${launch_conf_json}}</style>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
var relayIdMax = ${relayId_max};
|
||||||
|
var relayId = relayIdMax > 1 ? Math.floor(Math.random() * relayIdMax) : 0;
|
||||||
|
|
||||||
|
// %%%%%%%%% launch options %%%%%%%%%%%%
|
||||||
|
|
||||||
|
window.eaglercraftXOpts = ${launch_opts};
|
||||||
|
|
||||||
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
if(typeof window !== "undefined") window.eaglercraftXClientScriptElement = document.currentScript;
|
||||||
|
|
||||||
|
${classes_js}
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
(function(){
|
||||||
|
window.eaglercraftXOpts.container = "game_frame";
|
||||||
|
window.eaglercraftXOpts.assetsURI = ${assets_epk};
|
||||||
|
window.eaglercraftXOpts.showBootMenuOnLaunch = true;
|
||||||
|
|
||||||
|
var launchInterval = -1;
|
||||||
|
var launchCounter = 1;
|
||||||
|
var launchCountdownNumberElement = null;
|
||||||
|
var launchCountdownProgressElement = null;
|
||||||
|
var launchSkipCountdown = false;
|
||||||
|
|
||||||
|
var launchTick = function() {
|
||||||
|
launchCountdownNumberElement.innerText = "" + Math.floor(6.0 - launchCounter * 0.06);
|
||||||
|
launchCountdownProgressElement.style.width = "" + launchCounter + "%";
|
||||||
|
if(++launchCounter > 100 || launchSkipCountdown) {
|
||||||
|
clearInterval(launchInterval);
|
||||||
|
setTimeout(function() { document.body.removeChild(document.getElementById("launch_countdown_screen")); document.body.style.backgroundColor = "black"; main(); }, 50);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
launchCountdownNumberElement = document.getElementById("launchCountdownNumber");
|
||||||
|
launchCountdownProgressElement = document.getElementById("launchCountdownProgress");
|
||||||
|
launchInterval = setInterval(launchTick, 50);
|
||||||
|
document.getElementById("skipCountdown").addEventListener("click", function() {
|
||||||
|
launchSkipCountdown = true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAR/SURBVEhLtZXZK3ZRFMYPcqXc+gv413DHxVuGIpIhkciQWaRccCNjSCkligwXSOZ5nmfv9zvn2e8+58V753sudmuvvdZ61l5r7XOc8H+GS/D19aUNkPz5+aktQH5/f//4+LBKZKuRkpUtQjCUYG5gD2T38vLy/PwsDfL9/f3Dw8PT05M0b29vnKLhCKCBT4L4gvBLBIei4//4+Hh1dUVEQutUuLu7E83FxQUGnKLBWKfQaA3S+AREVxaEOD8/Pzk50XpzcyMDcH19zdZG3N3d3dzc3Nvb01aX5pQUpQGGQJxcQpfNysoKhUIdHR1o1tbWbInYAgxIPDMzMy8vLzc3FxqOdMoRqwJK8G8ALUYIhHMiSEhIwI6CyIb0qQzC4eGhsXCc1tZWnZIEKzdQJQSXgKxfX18RCM3Z5eWlcfVAxKOjo+Pj49PTU88lTOk2NjbMsePc3t6SAfcgFdszOyMuAdeBg0CQi2lhYUHOeOLDCisN8FzcPFZXV3t7ezHY3t5GQ+6it+2xMASsKhEEWKsmRLRBBUpPvpJ/TpFKFBwKYAiITmicsbYhdHfJAltqhUCVsCQhwslmeXmZxiBQT9c0Ar9E2O3v72sYSE0N1yQArkKy0kBMXLqlZqIZHR3t6empqqqSDcBdhXEJSJ/bUc3q6uq+vj629GB9fR1WsLW1NTs7u7S0RN2locMjIyOEm5ubQ7+4uJienk4/+vv77Y1hwhLBEKhwWHitdVFfX9/Y2Gg2HuLi4owUAysrK8yCG97rh0+ApP5Q2ZycHFlPTExUVFRIBvn5+WhKSkp2dnaMKhptbW2426GgQ/rwuAQCZ1hwFayLiork9hMFBQV1dXVmE0BLS4vqw3QFB8kn4IAxoGPkYpxi4FeDmpqas7Mz4pClAgqGwD48rjY2NmacYqC0tJQ1KSlJWyE5OZkpUKkBAxZVIntAoZh04+Q48fHxPNGBgYHExMT29naj9cBodnZ2mo3jlJWVMeW2OGQck4B1amqqoaGhqamJjx2lGxwcpL0mUgR8fJhsWqJtSkoKU2SbHHUDpkhPBujd8xuQG6PJRM/Pz09PT7O1NNnZ2Tw3fgZkXVhYKCUlUhBATP+hCVyKZGky17RV0g04laayslJ6hlVeFHB4eFhKaogGd0LxtmTgE+hbhKDnPjMzgw8E3qGL2tpaBWpubjYqj2BoaEj6rq4uNATRZ0ZwCbiL6gXEzINk5vCBQJ9rMD4+rkA8QNK036uDg4Py8vLu7m680KjIBNR3zBDoWQM1g98snyB+VSoRW8C/UwR81/SvhgNj9JOTkwwVERUdRBEI0BAdLRVERkhLS8vIyEDQlrsTPTU1lVFhKxARvZgUlFLbegCf4BvIsbi4mIg4E5EogIHhiKCMtU0WUFiVy06j5fAJIDdSBDQw+PegDfBRcbOPwH4F9LuFWIIQdQNKwWqzIE0aoFUaBsw+SQuFw0uNtC9A+F4i3QNrbg3IDn+SAsHh+wYiEpeyBEMLv/cAO6KzAijxxB+Y4wisBhssJUhjEbPJf4Nw+B+JXqLW3bw+wQAAAABJRU5ErkJggg==" />
|
||||||
|
${fat_offline_data}
|
||||||
|
</head>
|
||||||
|
<body style="margin:0px;width:100%;height:100%;overflow:hidden;background-color:white;" id="game_frame">
|
||||||
|
<div style="margin:0px;width:100%;height:100%;font-family:sans-serif;display:flex;align-items:center;user-select:none;" id="launch_countdown_screen">
|
||||||
|
<div style="margin:auto;text-align:center;">
|
||||||
|
<h1>EaglercraftX 1.8 "Fat Offline"</h1>
|
||||||
|
<h3>Contains: ${num_clients} Client(s)</h3>
|
||||||
|
<h2>Game will launch in <span id="launchCountdownNumber">5</span>...</h2>
|
||||||
|
<div style="border:2px solid black;width:100%;height:15px;padding:1px;margin-bottom:20vh;"><div id="launchCountdownProgress" style="background-color:#555555;width:0%;height:100%;"></div>
|
||||||
|
<p style="margin-top:30px;"><button id="skipCountdown" autofocus>Skip Countdown</button></p></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,78 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
This file is from ${date}, it was generated using EaglercraftX 1.8 boot manager
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<html style="width:100%;height:100%;">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>My Drive - Google Drive</title>
|
||||||
|
|
||||||
|
<style type="eaglercraftOfflineParseHint">{"type":"EAGLERCRAFT_1_5_NEW_OFFLINE","launchConf":${launch_conf_json}}</style>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
countdown();
|
||||||
|
setTimeout(function(){
|
||||||
|
document.getElementById("locally").remove();
|
||||||
|
const relayIdMax = ${relayId_max};
|
||||||
|
const relayId = relayIdMax > 1 ? Math.floor(Math.random() * relayIdMax) : 0;
|
||||||
|
window.eaglercraftOpts = ${launch_opts};
|
||||||
|
window.eaglercraftOpts.container = "game_frame";
|
||||||
|
window.eaglercraftOpts.assetsURI = getAssetsURI();
|
||||||
|
window.eaglercraftOpts.serverWorkerURI = createWorkerURI("sp_worker");
|
||||||
|
main();
|
||||||
|
}, 6000);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function getAssetsURI() {
|
||||||
|
return "data:application/octet-stream;base64,${assets_epk}";
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function createWorkerURI(el) {
|
||||||
|
var eee = document.getElementById(el);
|
||||||
|
var str = eee.innerHTML;
|
||||||
|
eee.remove();
|
||||||
|
str = "\"use strict\";var eaglercraftServerOpts;onmessage = function(o) { eaglercraftServerOpts = o.data; main(); };" + str;
|
||||||
|
return URL.createObjectURL(new Blob([str], {type:"text/javascript"}));
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGAUlEQVRYw7VXa0xTZxj+oKjJNjWZ10EtZqIQjBdsT2utlZYiMsfiZltUtpiYOZ0zceOmcZfsGLmoQ25hS1jmNJpBL1xEuWwZGduPjW0xcVniLn/YfmlrK6wDRulpz7v3O+1BCgUs4pc8+U5Ov6/P877v837nHEKiGzHEZpYQVhcXEfQ3uuaJjOCfP9pSG5E8GXIzmS+r0Rtk1bqcxCrti+NB76XVaA3EzM6fUxHmELmm7bXkjVde6pPV6WD1x/owyBDrEaTOAD9fTeqDLpJM98CciIBgTRVW0211Rx4k1WWOSiu0flnlDgGrEBsQpELnZz9hRuErAqNNMb8IW+Ex/SCvPzJPILebjm69eQAYm8m7+doeWHVRC0guIBGxDkEupsPfDSsBmokXumLB10TeFETUk3mPFbmq89VFCovJxdhNIG80BhirCVLqd4G0Yjtg9LC5UgvkIx1c/XQTJQevXRLgWwj47MSFJVg860yMRW81VW1tPwCKRqNPYTECxZaGV2B1VTqswUw8jZFrq7ZDv/UZ8Ddh+u0xCOKDL1FEM6maVRZE46ls5lSFNUiK4IW50Qg0C6mXdsPmCg2QCj10f54iRD9il1Bymn6ezhwVZCOpURtSFIDkHaob+yk5J0YvQoMg1YbA0RpVwGsnAvEEcNAhiOiISoCuB080HEqLKUfVti8iOcU2qylArr0MfzTIaPQoQjJJBGZCEOG3kxxBRA+Jm/moDQ2M/jdlSy4l808kZ1DUdswMseW2IHkLdCI5kkXIgh/aaFuS3x96expDisaTW4wFE403DtQLvBa7gjS/nogCEgMt4bWfAMGQWIqC6Q3JsrF0SrOZl2HbebDnHxpvPFAUFYciq8WtSFxNSShZBAG8v1kQ50EfLBNEsCQ2QvTyYNtZjPVC9JaI0QfoeYDlcctt5sVjaf2aLEYCd6j/AxGz0IVeaCb1dP2tiVkQXS+37NvC2M1ItJePZDwqiopjbMZjwsYeNk40Fgo4RkmmyIKQCWgl1LBbJnUFC8H0Y2TfTON8v7IVTYnPhImGFY2FIm7DjaD5JgmgHdEuZKgndDrGhrUdYzXmBnt+LzdF9ChgH2AJDMI+VjfWUlhT4ZprJQa4OYUA8WzoFMTkhrVlUm3tAoUlr49pysPzfn9A0YhCwoGpP4gi8q7T9S/Udi4w20CiY3viKAhed+I9+pvXvu46dD0HPhuWwhYLExCAVpztsX1Qm7RgrASMfdMhdZcWa7vNh4BwqHllkwYUNqUnpZssmfEZ9hNZgrX2+NsWga+V8AgIQwsashsNeZ0cGtuUVP49m1x9B9aW9/qSynshqfyHEHrpPf758z+C4vyduzvLfA0ZZcOthnJvU0bZf83jocd7e8oGW8k5+OJbtuHuaAGBB/lKfiA/FQby10NwToV/8tf74PRG8BSlsmMClr41ol9ZNAorTvT7V7zdDyJWIpaf6AfZOwO8vsQPu6oAsi5OjWyEAdfknBmCv3Yc5N1pa8HBaMCpUD0Eo/IPKdXgStDoxR4U2iGh2HFD+t4wxBfd4xKK7tEZpIhlhXdBxfZDZvkQry8d4jJKh6fF7pJ/uacucPxnhb3g2UHAma2D+1kKBAOuLIbz7t4Krl3MTeG9kdD2DwmIP+lKji908vGFDkDwCTgvL7gH6065wFA6BBlRIAuxoWwEfs1lYYCKyNSCy8Dw9w0MULiz5CnBd13xTfvILeFkii92VkjfH0UBTh8VsKLAAZozHjCUDUclILtkENaUj8KZ03/Cg3QJ3M/UUGIfl62mQiqE01AuH3caAggHydKTroXxRU6ntNgNSwscgQ3vuiETyfVRZoACSwGScxx8d+gSeDQk4M7SU3KnS6NZGPmpGMqCtNh1OOEDPyQUOUbSzw5yBqG2Q1FjZ8kgx5SNcG986OAcmeoRyE4D107t4cnRhzVxMBPPFjra1RfQ1ZUhh1fODntwL6kB6D51C4bUpH3G9wFRAF7E6EqHj2Ptr2A0l9HdswKa97IW/2P/Wc9xkRhm/HYcEzH3Ax79wxUzwELcXIFFwBP7an7M8T8H1bLLDGWzFAAAAABJRU5ErkJggg==" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
${classes_js}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/eaglerworker" id="sp_worker">
|
||||||
|
${classes_server_js}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function countdown() {
|
||||||
|
const c = document.getElementById("countdown");
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 4)"; }, 1000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 3)"; }, 2000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 2)"; }, 3000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 1)"; }, 4000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 0)"; }, 5000);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body style="margin:0px;width:100%;height:100%;font-family:sans-serif;overflow:hidden;" id="game_frame">
|
||||||
|
<div id="locally" style="text-align:center;">
|
||||||
|
<div style="height:5vh;"></div>
|
||||||
|
<h2>${client_name}</h2>
|
||||||
|
<p id="countdown" style="text-align:center;">(Game will launch in 5)</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,59 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
This file is from ${date}, it was generated using EaglercraftX 1.8 boot manager
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<html style="width:100%;height:100%;">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>${client_name}</title>
|
||||||
|
|
||||||
|
<style type="eaglercraftOfflineParseHint">{"type":"EAGLERCRAFT_1_5_OLD_OFFLINE","launchConf":${launch_conf_json}}</style>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.addEventListener("load", function() {
|
||||||
|
countdown();
|
||||||
|
setTimeout(function(){
|
||||||
|
document.getElementById("locally").remove();
|
||||||
|
window.minecraftOpts = [ "game_frame", getAssetsURI(), "${launch_opts}" ];
|
||||||
|
main();
|
||||||
|
}, 6000);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function getAssetsURI() {
|
||||||
|
return "data:application/octet-stream;base64,${assets_epk}";
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link type="image/x-icon" rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAICAQAAEABADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd3d3d3d3d3d3d3d3d3d3cHiIiIiIiIiIiIiIiIiIiHB4f/////////////////hweH/////////////////4cHh/////cAAHiI//////+HB4f///8REREAiIj/////hweH///3GNmREHAAAIiI/4cHh///8Y2ZmREHeqoIiI+HB4f///GNmZmRB3qqIIiIhweH///xjZmZkQd6qiIIiIcHh///8Y2ZmZEHqqoiD/+HB4f///cY2ZmRd6qqIg//hweH////EY2ZEXqqqiIP/4cHh/////cREXL6qqoiD/+HB4f////////y////Ig//hweH/////////yIiIoIP/4cHh//////////yIiIoD/+HB4f//////////yIiIn//hweH/////////////////4cHh/////////////////+HB4d3d3d3d3d3d3d3d3d3hweIiIiIiIiIiIiIiIiIiIcHhMwiRERERERERAAAAAAHB4TsokRERERERESICICIBweEETNEREREREREiAiAiAcHhJGzRERERERERERERERHB4iIiIiIiIiIiIiIiIiIhwd3d3d3d3d3d3d3d3d3d3cAAAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////w==" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
"use strict";
|
||||||
|
${classes_js}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function countdown() {
|
||||||
|
const c = document.getElementById("countdown");
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 4)"; }, 1000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 3)"; }, 2000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 2)"; }, 3000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 1)"; }, 4000);
|
||||||
|
setTimeout(function(){ c.innerText = "(Game will launch in 0)"; }, 5000);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body style="margin:0px;width:100%;height:100%;font-family:sans-serif;overflow:hidden;" id="game_frame">
|
||||||
|
<div id="locally" style="text-align:center;">
|
||||||
|
<div style="height:5vh;"></div>
|
||||||
|
<h2>${client_name}</h2>
|
||||||
|
<p id="countdown" style="text-align:center;">(Game will launch in 5)</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue