Archive eagler-binary-tools (tool, 1.8.8 / 1.5.2, clean)
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"slug": "eagler-binary-tools",
|
||||||
|
"name": "Eagler Binary Tools",
|
||||||
|
"category": "tool",
|
||||||
|
"mc_version": "1.8.8 / 1.5.2",
|
||||||
|
"author": "lax1dude",
|
||||||
|
"license": "unknown",
|
||||||
|
"upstream_ref": "main",
|
||||||
|
"sha256": "fed31522fbfd59b90383b428f8a3fa9167692327c3743bb90eb3bab482611ea8",
|
||||||
|
"size": 1377078,
|
||||||
|
"storage": {
|
||||||
|
"git_path": null,
|
||||||
|
"fs_url": null
|
||||||
|
},
|
||||||
|
"play": null,
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/lax1dude/eagler-binary-tools",
|
||||||
|
"retrieved_at": "2026-11-28T03:10:30Z",
|
||||||
|
"type": "upstream",
|
||||||
|
"notes": "Official binary tools repository by lax1dude on GitHub"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vetting": {
|
||||||
|
"verdict": "clean",
|
||||||
|
"tools": [
|
||||||
|
"vet-static.mjs",
|
||||||
|
"virustotal-hash"
|
||||||
|
],
|
||||||
|
"date": "2026-11-28",
|
||||||
|
"notes": "Static scan: 0 flagged patterns across 247 files; VirusTotal hash lookup: 0 detections.",
|
||||||
|
"reviewer": "vet-static (automated)"
|
||||||
|
},
|
||||||
|
"large_files_omitted_from_git": []
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# Eagler Binary Tools
|
||||||
|
|
||||||
|
Official binary utilities by lax1dude for compiling, decompiling, and manipulating custom Eaglercraft binary file formats, including EPK archives (epkcompiler, epkdecompiler, legacy-epkcompiler), EBP textures, 3D model conversions (obj2mdl), and BMP generation.
|
||||||
|
|
||||||
|
- **Archive page:** https://archive.eaglercraft.tech/entries/eagler-binary-tools.html
|
||||||
|
- **MC Version:** 1.8.8 / 1.5.2
|
||||||
|
- **Author:** lax1dude
|
||||||
|
- **License:** unknown
|
||||||
|
- **SHA-256:** `fed31522fbfd59b90383b428f8a3fa9167692327c3743bb90eb3bab482611ea8`
|
||||||
|
- **Vetting:** clean (2026-11-28)
|
||||||
@@ -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,9 @@
|
|||||||
|
.classpath
|
||||||
|
.project
|
||||||
|
bin
|
||||||
|
|
||||||
|
.idea
|
||||||
|
samples/obj2mdl-fnaw/output
|
||||||
|
samples/obj2mdl-fnaw/tests
|
||||||
|
build
|
||||||
|
.gradle
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
Copyright (c) 2022-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.
|
||||||
@@ -0,0 +1,168 @@
|
|||||||
|
# Eagler Binary Tools
|
||||||
|
|
||||||
|
### Open source tools for working with the various binary file formats invented for Eaglercraft (EPK, EBP, MDL, etc.)
|
||||||
|
|
||||||
|
### Previously unreleased source files for generating some official assets are included in this repository
|
||||||
|
|
||||||
|
**(Including the original FNAW skins in OBJ format)**
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This is meant to be used from the command line. The minimum required Java version is 8 and it is recommended to add it to your PATH before continuing. Functions in this JAR file can also easily be called from other Java programs in order to program automation more easily.
|
||||||
|
|
||||||
|
Download [EaglerBinaryTools.jar](https://github.com/lax1dude/eagler-binary-tools/raw/main/EaglerBinaryTools.jar) into a folder and run it by typing `java -jar EaglerBinaryTools.jar` into command prompt in that folder. Here is the default help message:
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: java -jar EaglerBinaryTools.jar <epkcompiler|legacy-epkcompiler|
|
||||||
|
epkdecompiler|obj2mdl-1.5|obj2mdl-1.8|ebp-encode|ebp-decode|
|
||||||
|
skybox-gen|light-mesh-gen|eagler-bmp-gen> [args...]
|
||||||
|
- 'epkcompiler': Compile an EPK file from a folder
|
||||||
|
- 'legacy-epkcompiler': Compile an EPK file in legacy format
|
||||||
|
- 'epkdecompiler': Decompile an EPK file into a folder
|
||||||
|
- 'obj2mdl-1.5': Compile FNAW skin MDL file for 1.5
|
||||||
|
- 'obj2mdl-1.8': Compile FNAW skin MDL file for 1.8
|
||||||
|
- 'ebp-encode': Encode EBP file from PNG
|
||||||
|
- 'ebp-decode': Decode EBP file to PNG
|
||||||
|
- 'skybox-gen': Generate skybox.dat from OBJ for shader packs
|
||||||
|
- 'light-mesh-gen': Generate light_point_mesh.dat from OBJ for shader packs
|
||||||
|
- 'eagler-bmp-gen': Generate moon and lens flare BMP textures from PNG
|
||||||
|
for shader packs
|
||||||
|
```
|
||||||
|
|
||||||
|
## 'epkcompiler': Compile an EPK file from a folder
|
||||||
|
|
||||||
|
This is the same EPKCompiler included in Eaglercraft 1.5 and EaglercraftX 1.8 except modified to be more verbose and not require JZLib to work.
|
||||||
|
|
||||||
|
The default compression type is `gzip` and the default file-type is `epk/resources`, eagler 1.5 worlds use compression `none` file-type `epk/world152` and eagler 1.8 worlds use compression `none` file-type `epk/world188`. This 'epkcompiler' prompt does not support Eaglercraft Beta 1.3, use 'legacy-epkcompiler' instead for that version.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: epkcompiler <input directory> <output file> [gzip|zlib|none] [file-type]
|
||||||
|
```
|
||||||
|
|
||||||
|
## 'legacy-epkcompiler': Compile an EPK file in legacy format
|
||||||
|
|
||||||
|
This is the EPKCompiler used in Eaglercraft Beta 1.3 and older versions of Eaglercraft 1.5
|
||||||
|
|
||||||
|
Setting the compression type and headers is not part of the legacy format, the Eaglercraft Beta 1.3 client will load any EPK generated via this command regardless of its contents.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: legacy-epkcompiler <input directory> <output file>
|
||||||
|
```
|
||||||
|
|
||||||
|
## 'epkdecompiler': Decompile an EPK file into a folder
|
||||||
|
|
||||||
|
Up to this point you've probably been using ayunWebEPK whenever you need to decompile an EPK file, Eagler Binary Tools now includes the EPK reader class from the Eaglercraft 1.5 client and allows you to decompile an EPK file in your command prompt. Both modern and legacy EPK files are supported, the file type is detected automatically.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: epkdecompiler <input epk> <output folder>
|
||||||
|
```
|
||||||
|
|
||||||
|
## 'obj2mdl-1.5', 'obj2mdl-1.8': Compile FNAW skin MDL file
|
||||||
|
|
||||||
|
If you would like to make resource packs to replace the FNAW skins with your own 3D models you can use the 'obj2mdl' prompt to generate Eaglercraft MDL files from Wavefront OBJ files. Most of the models are broken up into multiple parts in order to make simple animations easier to program.
|
||||||
|
|
||||||
|
**The original FNAW skins are located in the "samples/obj2mdl-fnaw" folder on OBJ format**
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: obj2mdl-1.8 <input file> <output file> <texture mode>
|
||||||
|
Input file format is Wavefront OBJ file exported from your 3D modeling program
|
||||||
|
Texture mode can be 'true' or 'false' to enable/disable exporting texture UV coordinates
|
||||||
|
```
|
||||||
|
|
||||||
|
Due to some limitations, there are two different versions of this format for Eaglercraft 1.5 and EaglercraftX 1.8
|
||||||
|
|
||||||
|
If "texture mode" is `true`, the vertex position, normals, and UV coordinates will be exported with the mesh, use this for the body and arm parts of each model.
|
||||||
|
|
||||||
|
If "texture mode" is `false`, only the vertex position and normals will be exported, use this for the eye parts of each model.
|
||||||
|
|
||||||
|
The input mesh can only contain triangles, if you use Blender you can apply the "Triangulate" modifier to your mesh to tessellate all polygons with more than 3 sides into triangles. I believe there is also a checkbox in modern versions of Blender where you can do this automatically whenever you export the OBJ file.
|
||||||
|
|
||||||
|
There are limits on the number of unique vertices a model can have, and large models can take up lots of VRAM, so make sure you reduce the poly count of your models as much as possible first. Blender has a "Decimate" modifier for reducing poly count automatically by merging a certain percentage of the neighboring faces together.
|
||||||
|
|
||||||
|
Yes, you can use the Eaglercraft FNAW models to in your fan game. Please give credit to lax1dude though if possible.
|
||||||
|
|
||||||
|
## 'ebp-encode': Encode EBP file from PNG
|
||||||
|
|
||||||
|
Eagler Bitwise Packed is a lossless indexed raster image format designed for compressing textures with a limited number of colors, the format allows for less than 8 bits per pixel to be used to store textures which leads to massive savings when the texture is using indexed color and has only has a few unique colors. The encoded files are then compressed a second time by distributing them inside a compressed EPK file or a ZIP file. The format is meant to be used in EaglercraftX 1.8 for storing the default PBR material resource pack, so there is no alpha channel, just RGB.
|
||||||
|
|
||||||
|
**The default PBR material textures are located in the "samples/ebp-encode" folder in PNG format**
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: ebp-encode [--labPBR] <input file> <output file>");
|
||||||
|
ebp-encode [--labPBR] -r <directory> [output directory]");
|
||||||
|
```
|
||||||
|
|
||||||
|
In the EaglercraftX 1.8 client, the EBP files for the default PBR resource pack are located in the "assets/eagler/glsl/deferred/assets_pbr" folder in the EPK.
|
||||||
|
|
||||||
|
**EBP compression will often be ineffective unless you manually use image editing software to posterize the texture to between 2 and 7 colors. The fewer colors the better.**
|
||||||
|
|
||||||
|
Do not make resource packs to replace these files because they will just be ignored, if you would like to make a PBR material resource pack for Eaglercraft you must use PNG files in the labPBR format and place them in "assets/minecraft/textures" instead. THE INCLUDED PNG FILES IN THIS REPOSITORY ARE NOT IN LabPBR FORMAT AND WILL NOT WORK FOR A RESOURCE PACK!
|
||||||
|
|
||||||
|
If you are trying to compile PNG material texture files in labPBR format to EBP you can pass the `--labPBR` flag as the first argument to convert from labPBR to Eagler's internal format automatically. **Use this if you're compiling a vanilla labPBR resource pack to EBP**
|
||||||
|
|
||||||
|
To obtain the default material texture pack in labPBR format, use `ebp-decode` on a copy of EaglercraftX 1.8's assets_pbr folder with the `--labPBR` option. This will allow you to correctly make a resource pack with the default PBR resource pack textures.
|
||||||
|
|
||||||
|
## 'ebp-decode': Decode EBP file to PNG
|
||||||
|
|
||||||
|
This works the same as 'ebp-encode' except it can be used to convert EBP files back to PNG files for debug/exploration.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: ebp-decode [--labPBR] <input file> <output file>
|
||||||
|
ebp-decode [--labPBR] -r <directory> [output directory]
|
||||||
|
```
|
||||||
|
|
||||||
|
If you use the `--labPBR` option, the EBP files will automatically be converted to PNG files in labPBR format that can be used to make a resource pack for EaglercraftX 1.8 or the vanilla Optifine.
|
||||||
|
|
||||||
|
## 'skybox-gen': Generate skybox.dat from OBJ for shader packs
|
||||||
|
|
||||||
|
EaglercraftX 1.8 clients include a file called "skybox.dat" in the deferred shaders folder. This file contains the special mesh used for the skybox used whenever shaders are enabled, along with a special lookup texture that is used when caching atmospheric scattering data. It's not as much of a "skybox" as it is a "skydome" in order to use per-vertex shading to interpolate between cached atmospheric scattering values.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: skybox-gen <top OBJ> <bottom OBJ> <output file>
|
||||||
|
Input file format is Wavefront OBJ file exported from your 3D modeling program
|
||||||
|
The top and bottom shapes should combine to form one seamless dome/sphere when
|
||||||
|
both are rendered in the same position. Make sure to flip the normals!
|
||||||
|
```
|
||||||
|
|
||||||
|
**The default skybox top and bottom are located in "samples/skybox-gen" in OBJ format**
|
||||||
|
|
||||||
|
To generate your own skybox, you must break the mesh into a top and bottom half, and flip the normals so they are facing inward instead of outward. The mesh can only contain triangles, same deal as the FNAW models.
|
||||||
|
|
||||||
|
Make sure the origin point of the mesh (0, 0, 0) is in the center where the player is meant to view the inside of the skybox from.
|
||||||
|
|
||||||
|
## 'light-mesh-gen': Generate light_point_mesh.dat from OBJ for shader packs
|
||||||
|
|
||||||
|
One of the tricks EaglercraftX 1.8 uses to speed up dynamic lighting in shaders is to draw a spherical mesh on the screen using a matrix that rescales it to only cover the pixels affected by the current dynamic light being rendered, and then only calculate lighting on those pixels. The mesh used for this trick is stored in a file called "light_point_mesh.dat".
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: light-mesh-gen <obj file> <output file> [mesh name]
|
||||||
|
Input file format is Wavefront OBJ file exported from your 3D modeling program
|
||||||
|
The only mesh name currently used by eagler is "light_point_mesh"
|
||||||
|
```
|
||||||
|
|
||||||
|
**The file used to generate "light_point_mesh.dat" is located in "samples/light-mesh-gen" in OBJ format**
|
||||||
|
|
||||||
|
The mesh can only contain triangles and the maximum number of unique vertices is limited.
|
||||||
|
|
||||||
|
## 'eagler-bmp-gen': Generate moon and lens flare BMP textures from PNG for shader packs
|
||||||
|
|
||||||
|
The files generated by this prompt are usually much larger than the input PNG file and are meant to be distributed inside a compressed EPK file or ZIP file. EPK, PNG, and ZIP files are all based on the same compression so it makes a lot of sense to not redundantly compress this file's contents multiple times if its gonna be distributed in a compressed archive anyway.
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: eagler-bmp-gen <--red|--rgba> <input file> <output file>
|
||||||
|
The texture's width and height must be a power of 2!
|
||||||
|
```
|
||||||
|
|
||||||
|
**The files required to generate lens_streaks.bmp, lens_ghosts.bmp, and eagler_moon.bmp are located in "samples/eagler-bmp-gen" in PNG format**
|
||||||
|
|
||||||
|
For lens_streaks.bmp and lens_ghosts.bmp, run the command with `--red` to generate grayscale Eagler BMP textures from the red channel of the PNG files.
|
||||||
|
|
||||||
|
For eagler_moon.bmp, run the command with `--rgba` to generate RGBA Eagler BMP files from the PNG files.
|
||||||
|
|
||||||
|
Mipmap levels will be generated automatically and embedded in the Eagler BMP file.
|
||||||
|
|
||||||
|
## Compiling and Contributing
|
||||||
|
|
||||||
|
The code in the `src/main/java` folder is written in plain Java. There are no dependencies besides what is already included by default in the JRE & JUnit for tests. Minimum required Java version is 8, just run `gradlew build`.
|
||||||
|
|
||||||
|
**For a PR:** Tabs, not spaces, and format the code like the Eclipse auto format tool on factory settings.
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
}
|
||||||
|
|
||||||
|
group = 'net.lax1dude.eaglercraft.bintools'
|
||||||
|
version = ''
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
main {
|
||||||
|
java {
|
||||||
|
srcDir 'src/main/java'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
|
||||||
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.2'
|
||||||
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
javadoc.options.encoding = 'UTF-8'
|
||||||
|
javadoc.options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
|
||||||
|
manifest {
|
||||||
|
attributes(
|
||||||
|
'Main-Class': 'net.lax1dude.eaglercraft.bintools.EaglerBinaryTools'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
@echo off
|
||||||
|
title Generate_MDLs
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles0.obj samples/obj2mdl-fnaw/output/charles0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles1.obj samples/obj2mdl-fnaw/output/charles1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles2_eyes.obj samples/obj2mdl-fnaw/output/charles2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude0.obj samples/obj2mdl-fnaw/output/laxativedude0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude1.obj samples/obj2mdl-fnaw/output/laxativedude1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude2.obj samples/obj2mdl-fnaw/output/laxativedude2.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude3_eyes.obj samples/obj2mdl-fnaw/output/laxativedude3.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms0.obj samples/obj2mdl-fnaw/output/longarms0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms1.obj samples/obj2mdl-fnaw/output/longarms1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms2_eyes.obj samples/obj2mdl-fnaw/output/longarms2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber0.obj samples/obj2mdl-fnaw/output/weirdclimber0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber1.obj samples/obj2mdl-fnaw/output/weirdclimber1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber2_eyes.obj samples/obj2mdl-fnaw/output/weirdclimber2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/winston0.obj samples/obj2mdl-fnaw/output/winston0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/winston1_eyes.obj samples/obj2mdl-fnaw/output/winston1.mdl false
|
||||||
|
pause
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles0.obj samples/obj2mdl-fnaw/output/charles0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles1.obj samples/obj2mdl-fnaw/output/charles1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/charles2_eyes.obj samples/obj2mdl-fnaw/output/charles2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude0.obj samples/obj2mdl-fnaw/output/laxativedude0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude1.obj samples/obj2mdl-fnaw/output/laxativedude1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude2.obj samples/obj2mdl-fnaw/output/laxativedude2.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/laxativedude3_eyes.obj samples/obj2mdl-fnaw/output/laxativedude3.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms0.obj samples/obj2mdl-fnaw/output/longarms0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms1.obj samples/obj2mdl-fnaw/output/longarms1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/longarms2_eyes.obj samples/obj2mdl-fnaw/output/longarms2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber0.obj samples/obj2mdl-fnaw/output/weirdclimber0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber1.obj samples/obj2mdl-fnaw/output/weirdclimber1.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/weirdclimber2_eyes.obj samples/obj2mdl-fnaw/output/weirdclimber2.mdl false
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/winston0.obj samples/obj2mdl-fnaw/output/winston0.mdl true
|
||||||
|
java -jar EaglerBinaryTools.jar obj2mdl1.8 samples/obj2mdl-fnaw/winston1_eyes.obj samples/obj2mdl-fnaw/output/winston1.mdl false
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#Thu Jun 20 10:14:47 CDT 2024
|
||||||
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
||||||
@@ -0,0 +1,234 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright © 2015-2021 the original 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
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Gradle start up script for POSIX generated by Gradle.
|
||||||
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
|
# Resolve links: $0 may be a link
|
||||||
|
app_path=$0
|
||||||
|
|
||||||
|
# Need this for daisy-chained symlinks.
|
||||||
|
while
|
||||||
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
|
[ -h "$app_path" ]
|
||||||
|
do
|
||||||
|
ls=$( ls -ld "$app_path" )
|
||||||
|
link=${ls#*' -> '}
|
||||||
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=${0##*/}
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
|
MAX_FD=maximum
|
||||||
|
|
||||||
|
warn () {
|
||||||
|
echo "$*"
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
die () {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
# OS specific support (must be 'true' or 'false').
|
||||||
|
cygwin=false
|
||||||
|
msys=false
|
||||||
|
darwin=false
|
||||||
|
nonstop=false
|
||||||
|
case "$( uname )" in #(
|
||||||
|
CYGWIN* ) cygwin=true ;; #(
|
||||||
|
Darwin* ) darwin=true ;; #(
|
||||||
|
MSYS* | MINGW* ) msys=true ;; #(
|
||||||
|
NONSTOP* ) nonstop=true ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
|
||||||
|
# Determine the Java command to use to start the JVM.
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||||
|
else
|
||||||
|
JAVACMD=$JAVA_HOME/bin/java
|
||||||
|
fi
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD=java
|
||||||
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase the maximum file descriptors if we can.
|
||||||
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
|
case $MAX_FD in #(
|
||||||
|
max*)
|
||||||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
|
warn "Could not query maximum file descriptor limit"
|
||||||
|
esac
|
||||||
|
case $MAX_FD in #(
|
||||||
|
'' | soft) :;; #(
|
||||||
|
*)
|
||||||
|
ulimit -n "$MAX_FD" ||
|
||||||
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
|
# * args from the command line
|
||||||
|
# * the main class name
|
||||||
|
# * -classpath
|
||||||
|
# * -D...appname settings
|
||||||
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command;
|
||||||
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
# double quotes to make sure that they get re-expanded; and
|
||||||
|
# * put everything else in single quotes, so that it's not re-expanded.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-classpath "$CLASSPATH" \
|
||||||
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
|
exec "$JAVACMD" "$@"
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
@rem
|
||||||
|
@rem Copyright 2015 the original author or authors.
|
||||||
|
@rem
|
||||||
|
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@rem you may not use this file except in compliance with the License.
|
||||||
|
@rem You may obtain a copy of the License at
|
||||||
|
@rem
|
||||||
|
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
@rem
|
||||||
|
@rem Unless required by applicable law or agreed to in writing, software
|
||||||
|
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
@rem See the License for the specific language governing permissions and
|
||||||
|
@rem limitations under the License.
|
||||||
|
@rem
|
||||||
|
|
||||||
|
@if "%DEBUG%" == "" @echo off
|
||||||
|
@rem ##########################################################################
|
||||||
|
@rem
|
||||||
|
@rem Gradle startup script for Windows
|
||||||
|
@rem
|
||||||
|
@rem ##########################################################################
|
||||||
|
|
||||||
|
@rem Set local scope for the variables with windows NT shell
|
||||||
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
|
set DIRNAME=%~dp0
|
||||||
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
|
set APP_BASE_NAME=%~n0
|
||||||
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||||
|
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||||
|
|
||||||
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||||
|
|
||||||
|
@rem Find java.exe
|
||||||
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
|
set JAVA_EXE=java.exe
|
||||||
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
|
if "%ERRORLEVEL%" == "0" goto execute
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
echo.
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
echo location of your Java installation.
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:findJavaFromJavaHome
|
||||||
|
set JAVA_HOME=%JAVA_HOME:"=%
|
||||||
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||||
|
|
||||||
|
if exist "%JAVA_EXE%" goto execute
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||||
|
echo.
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
echo location of your Java installation.
|
||||||
|
|
||||||
|
goto fail
|
||||||
|
|
||||||
|
:execute
|
||||||
|
@rem Setup the command line
|
||||||
|
|
||||||
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||||
|
|
||||||
|
|
||||||
|
@rem Execute Gradle
|
||||||
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||||
|
|
||||||
|
:end
|
||||||
|
@rem End local scope for the variables with windows NT shell
|
||||||
|
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||||
|
|
||||||
|
:fail
|
||||||
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||||
|
rem the _cmd.exe /c_ return code!
|
||||||
|
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||||
|
exit /b 1
|
||||||
|
|
||||||
|
:mainEnd
|
||||||
|
if "%OS%"=="Windows_NT" endlocal
|
||||||
|
|
||||||
|
:omega
|
||||||
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,7 @@
|
|||||||
|
DO NOT USE THESE IN YOUR EAGLERCRAFT RESOURCE PACK, THEY WILL NOT RENDER CORRECTLY!
|
||||||
|
|
||||||
|
EAGLERCRAFT EXPECTS PNGs IN RESOURCE PACKS TO BE IN LabPBR FORMAT!
|
||||||
|
|
||||||
|
These are meant to be encoded to EBP and placed in the "assets/eagler/glsl/deferred/assets_pbr" directory of assets.epk
|
||||||
|
|
||||||
|
Only for client development!
|
||||||
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 146 B |
|
After Width: | Height: | Size: 198 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 196 B |
|
After Width: | Height: | Size: 105 B |
|
After Width: | Height: | Size: 94 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 253 B |
|
After Width: | Height: | Size: 287 B |
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 109 B |
|
After Width: | Height: | Size: 141 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 233 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 253 B |
|
After Width: | Height: | Size: 247 B |
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 97 B |
|
After Width: | Height: | Size: 94 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 95 B |
|
After Width: | Height: | Size: 99 B |
|
After Width: | Height: | Size: 94 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 97 B |
|
After Width: | Height: | Size: 110 B |
|
After Width: | Height: | Size: 97 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 97 B |
|
After Width: | Height: | Size: 192 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 220 B |
|
After Width: | Height: | Size: 246 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 263 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 248 B |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 150 B |
|
After Width: | Height: | Size: 241 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 198 B |
|
After Width: | Height: | Size: 201 B |
|
After Width: | Height: | Size: 202 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 121 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 142 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 260 B |
|
After Width: | Height: | Size: 272 B |
|
After Width: | Height: | Size: 135 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 230 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 235 B |