Skip to content

Commit 784a776

Browse files
author
eaglercraft
committed
add files
0 parents  commit 784a776

File tree

7,211 files changed

+811080
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,211 files changed

+811080
-0
lines changed

.gitignore.tmp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.gradle
2+
.settings
3+
.classpath
4+
.project
5+
build
6+
bin
7+
proxyServer/bin
8+
proxyServer/rundir
9+
desktopRuntime/_eagstorage*
10+
desktopRuntime/eclipseProject/bin*
11+
desktopRuntime/hs_err_*
12+
desktopRuntime/crash-reports/*
13+
desktopRuntime/options.txt
14+
desktopRuntime/_eagstorage*
15+
desktopRuntime/filesystem/*
16+
desktopRuntime/downloads/*

CompileEPK.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
title epkcompiler
3+
echo compiling, please wait...
4+
java -jar "desktopRuntime/CompileEPK.jar" "desktopRuntime/resources" "javascript/assets.epk"
5+
echo finished compiling epk
6+
pause

CompileEPK.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
java -jar "desktopRuntime/CompileEPK.jar" "desktopRuntime/resources" "javascript/assets.epk"

MakeOfflineDownload.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
title MakeOfflineDownload
3+
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"
4+
pause

MakeOfflineDownload.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
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"

MakeSignedClient.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
title MakeSignedClient
3+
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"
4+
pause

MakeSignedClient.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
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"

build.gradle

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
plugins {
2+
id 'java'
3+
id 'eclipse'
4+
id 'org.teavm' version '0.9.2'
5+
}
6+
7+
sourceSets {
8+
main {
9+
java {
10+
srcDir 'src/main/java'
11+
srcDir 'src/teavm/java'
12+
}
13+
}
14+
}
15+
16+
repositories {
17+
mavenCentral()
18+
}
19+
20+
dependencies {
21+
teavm(teavm.libs.jso)
22+
teavm(teavm.libs.jsoApis)
23+
}
24+
25+
teavm.js {
26+
obfuscated = true
27+
sourceMap = true
28+
targetFileName = "../classes.js"
29+
// optimization = OptimizationLevel.ADVANCED
30+
outOfProcess = false
31+
fastGlobalAnalysis = false
32+
processMemory = 512
33+
entryPointName = 'main'
34+
mainClass = 'net.lax1dude.eaglercraft.v1_8.internal.teavm.MainClass'
35+
outputDir = file("javascript")
36+
properties = null
37+
sourceMap = true
38+
debugInformation = false
39+
}

desktopRuntime/CompileEPK.jar

77.8 KB
Binary file not shown.
170 KB
Binary file not shown.

0 commit comments

Comments
 (0)