2024-02-11 00:34:59 -06:00
|
|
|
# Eaglerforge v1
|
2024-02-10 00:51:14 -06:00
|
|
|
|
2024-02-11 00:34:59 -06:00
|
|
|
### Play Minecraft 1.8 in your browser, supports singleplayer and multiplayer with a javascript modding api
|
2024-02-10 00:51:14 -06:00
|
|
|
|
2024-02-11 10:53:50 -06:00
|
|
|
![EaglercraftX 1.8 Screenshot Main Menu](https://github.com/eaglerforge/EaglerForge/assets/95340057/ba3efdd9-550c-496c-84f3-f3c329afbf8a)
|
2024-02-12 03:55:37 -06:00
|
|
|
|
2024-02-11 10:53:50 -06:00
|
|
|
|
|
|
|
### eaglerforge mods menu screenshot
|
2024-02-18 00:13:25 -06:00
|
|
|
![305109047-1985db59-ed58-4c6c-84cf-51c3ff996fa9](https://github.com/eaglerforge/EaglerForge/assets/95340057/72d73c72-a8ad-429b-b00a-c3e5d9ab0739)
|
|
|
|
|
2024-02-11 10:53:50 -06:00
|
|
|
|
2024-02-10 00:51:14 -06:00
|
|
|
|
|
|
|
### 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**
|
2024-02-15 23:40:47 -06:00
|
|
|
- **Patch files to mod the Minecraft 1.8 source code to make it browser-compatible**
|
2024-02-10 00:51:14 -06:00
|
|
|
- **Browser-modified portions of Minecraft 1.8's open-source dependencies**
|
2024-02-15 23:40:47 -06:00
|
|
|
- **Plugins for Minecraft servers to allow the Eagler client to connect to them**
|
|
|
|
- **a javascript modding API**
|
2024-02-10 00:51:14 -06:00
|
|
|
|
|
|
|
### This repository does NOT contain:
|
|
|
|
|
|
|
|
- **Any portion of the decompiled Minecraft 1.8 source code or resources**
|
2024-02-15 23:40:47 -06:00
|
|
|
- **Any portion of Mod Coder Pack and its config files**
|
2024-02-10 00:51:14 -06:00
|
|
|
- **Data that can be used alone to reconstruct portions of the game's source code**
|
|
|
|
- **Software configured by default to allow users to play without owning a copy of Minecraft**
|
|
|
|
|
|
|
|
## Getting Started:
|
|
|
|
|
|
|
|
### To compile the latest version of the client, on Windows:
|
|
|
|
|
|
|
|
1. Make sure you have at least Java 11 installed and added to your PATH
|
|
|
|
2. Download (clone) this repository to your computer
|
2024-02-15 23:40:47 -06:00
|
|
|
3. Double click `CompileLatestClient.bat`, a GUI resembling a classic Windows installer should open
|
2024-02-10 00:51:14 -06:00
|
|
|
4. Follow the steps shown to you in the new window to finish compiling
|
|
|
|
|
|
|
|
### To compile the latest version of the client, on Linux/macOS:
|
|
|
|
|
|
|
|
1. Make sure you have at least Java 11 installed
|
|
|
|
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
|
2024-02-15 23:40:47 -06:00
|
|
|
5. Type `./CompileLatestClient.sh` and hit enter, a GUI resembling a classic Windows installer should open
|
2024-02-10 00:51:14 -06:00
|
|
|
6. Follow the steps shown to you in the new window to finish compiling
|
|
|
|
|
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
2024-02-15 23:40:47 -06:00
|
|
|
The default eaglercraftXOpts values are this:
|
2024-02-10 00:51:14 -06:00
|
|
|
|
|
|
|
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
|
|
|
|
- `worldsDB:` the name of the IndexedDB database to store worlds in
|
2024-02-15 23:40:47 -06:00
|
|
|
- `demoMode:` whether to launch the game in Java edition demo mode
|
2024-02-10 00:51:14 -06:00
|
|
|
- `servers:` a list of default servers to display on the Multiplayer screen
|
|
|
|
- `relays:` the default list of shared world relays to use for invites
|
2024-02-15 23:40:47 -06:00
|
|
|
- `checkShaderGLErrors:` enables more verbose OpenGL error logging for the shaders
|
2024-02-10 00:51:14 -06:00
|
|
|
- `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
|
2024-02-15 23:40:47 -06:00
|
|
|
- `enableSignatureBadge:` shows a badge on the title screen indicating if the digital signature is valid
|
2024-02-10 00:51:14 -06:00
|
|
|
- `checkRelaysForUpdates:` proprietary feature used in offline downloads
|
2024-02-18 00:17:58 -06:00
|
|
|
- `mods` a list of mods you want to load into the game when it launches
|