Get going
This commit is contained in:
parent
e65ed63b59
commit
6ee3b454e1
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.
|
@ -28,7 +28,7 @@ dependencies {
|
|||
distributions {
|
||||
main {
|
||||
contents {
|
||||
from file("$projectDir/lwjgl-rundir/resources/assets")
|
||||
from file("$projectDir/lwjgl-rundir/resources")
|
||||
into('/')
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -18,7 +18,7 @@
|
|||
|
||||
##############################################################################
|
||||
#
|
||||
# Project164 start up script for POSIX generated by Gradle.
|
||||
# eaglercraft start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
|
@ -27,7 +27,7 @@
|
|||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Project164
|
||||
# ksh eaglercraft
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
|
@ -48,7 +48,7 @@
|
|||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and PROJECT164_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# and EAGLERCRAFT_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,
|
||||
|
@ -85,7 +85,7 @@ done
|
|||
APP_BASE_NAME=${0##*/}
|
||||
APP_HOME=$( cd "${APP_HOME:-./}.." && pwd -P ) || exit
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and PROJECT164_OPTS to pass JVM options to this script.
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and EAGLERCRAFT_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Djava.library.path=lwjgl-rundir"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
|
@ -114,7 +114,7 @@ case "$( uname )" in #(
|
|||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/lib/Project164.jar:$APP_HOME/lib/commons-lang3-3.1.jar:$APP_HOME/lib/bcprov-jdk15on-1.47.jar:$APP_HOME/lib/codecjorbis-20101023.jar:$APP_HOME/lib/librarylwjglopenal-20100824.jar:$APP_HOME/lib/lwjgl_util-2.9.0.jar:$APP_HOME/lib/jopt-simple-4.5.jar:$APP_HOME/lib/libraryjavasound-20101123.jar:$APP_HOME/lib/codecwav-20101023.jar:$APP_HOME/lib/guava-14.0.jar:$APP_HOME/lib/soundsystem-20120107.jar:$APP_HOME/lib/lwjgl-platform-2.9.0-natives-linux.jar:$APP_HOME/lib/gson-2.2.2.jar:$APP_HOME/lib/argo-2.25_fixed.jar:$APP_HOME/lib/commons-io-2.4.jar:$APP_HOME/lib/lwjgl-2.9.0.jar
|
||||
CLASSPATH=$APP_HOME/lib/eaglercraft.jar:$APP_HOME/lib/librarylwjglopenal-20100824.jar:$APP_HOME/lib/commons-io-2.4.jar:$APP_HOME/lib/argo-2.25_fixed.jar:$APP_HOME/lib/lwjgl_util-2.9.0.jar:$APP_HOME/lib/libraryjavasound-20101123.jar:$APP_HOME/lib/codecwav-20101023.jar:$APP_HOME/lib/soundsystem-20120107.jar:$APP_HOME/lib/codecjorbis-20101023.jar:$APP_HOME/lib/gson-2.2.2.jar:$APP_HOME/lib/jopt-simple-4.5.jar:$APP_HOME/lib/lwjgl-2.9.0.jar:$APP_HOME/lib/guava-14.0.jar:$APP_HOME/lib/lwjgl-platform-2.9.0-natives-linux.jar:$APP_HOME/lib/commons-lang3-3.1.jar:$APP_HOME/lib/bcprov-jdk15on-1.47.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
|
@ -164,7 +164,7 @@ fi
|
|||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and PROJECT164_OPTS environment variables.
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and EAGLERCRAFT_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
|
@ -198,7 +198,7 @@ if "$cygwin" || "$msys" ; then
|
|||
fi
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $PROJECT164_OPTS can contain fragments of
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $EAGLERCRAFT_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.
|
||||
|
@ -234,7 +234,7 @@ fi
|
|||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $PROJECT164_OPTS" |
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $EAGLERCRAFT_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
|
@ -17,7 +17,7 @@
|
|||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Project164 startup script for Windows
|
||||
@rem eaglercraft startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
|
@ -33,7 +33,7 @@ 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 PROJECT164_OPTS to pass JVM options to this script.
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and EAGLERCRAFT_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Djava.library.path=lwjgl-rundir"
|
||||
|
||||
@rem Find java.exe
|
||||
|
@ -68,22 +68,22 @@ goto fail
|
|||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\lib\Project164.jar;%APP_HOME%\lib\commons-lang3-3.1.jar;%APP_HOME%\lib\bcprov-jdk15on-1.47.jar;%APP_HOME%\lib\codecjorbis-20101023.jar;%APP_HOME%\lib\librarylwjglopenal-20100824.jar;%APP_HOME%\lib\lwjgl_util-2.9.0.jar;%APP_HOME%\lib\jopt-simple-4.5.jar;%APP_HOME%\lib\libraryjavasound-20101123.jar;%APP_HOME%\lib\codecwav-20101023.jar;%APP_HOME%\lib\guava-14.0.jar;%APP_HOME%\lib\soundsystem-20120107.jar;%APP_HOME%\lib\lwjgl-platform-2.9.0-natives-linux.jar;%APP_HOME%\lib\gson-2.2.2.jar;%APP_HOME%\lib\argo-2.25_fixed.jar;%APP_HOME%\lib\commons-io-2.4.jar;%APP_HOME%\lib\lwjgl-2.9.0.jar
|
||||
set CLASSPATH=%APP_HOME%\lib\eaglercraft.jar;%APP_HOME%\lib\librarylwjglopenal-20100824.jar;%APP_HOME%\lib\commons-io-2.4.jar;%APP_HOME%\lib\argo-2.25_fixed.jar;%APP_HOME%\lib\lwjgl_util-2.9.0.jar;%APP_HOME%\lib\libraryjavasound-20101123.jar;%APP_HOME%\lib\codecwav-20101023.jar;%APP_HOME%\lib\soundsystem-20120107.jar;%APP_HOME%\lib\codecjorbis-20101023.jar;%APP_HOME%\lib\gson-2.2.2.jar;%APP_HOME%\lib\jopt-simple-4.5.jar;%APP_HOME%\lib\lwjgl-2.9.0.jar;%APP_HOME%\lib\guava-14.0.jar;%APP_HOME%\lib\lwjgl-platform-2.9.0-natives-linux.jar;%APP_HOME%\lib\commons-lang3-3.1.jar;%APP_HOME%\lib\bcprov-jdk15on-1.47.jar
|
||||
|
||||
|
||||
@rem Execute Project164
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %PROJECT164_OPTS% -classpath "%CLASSPATH%" net.minecraft.client.main.Main %*
|
||||
@rem Execute eaglercraft
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %EAGLERCRAFT_OPTS% -classpath "%CLASSPATH%" net.minecraft.client.main.Main %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable PROJECT164_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem Set variable EAGLERCRAFT_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%PROJECT164_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
if not ""=="%EAGLERCRAFT_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
Binary file not shown.
|
@ -1,56 +0,0 @@
|
|||
---- Minecraft Crash Report ----
|
||||
// There are four lights!
|
||||
|
||||
Time: 1/28/25, 12:40 PM
|
||||
Description: Initializing game
|
||||
|
||||
java.lang.ExceptionInInitializerError
|
||||
at net.minecraft.src.LanguageManager.onResourceManagerReload(LanguageManager.java:76)
|
||||
at net.minecraft.src.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:103)
|
||||
at net.minecraft.src.Minecraft.startGame(Minecraft.java:345)
|
||||
at net.minecraft.src.Minecraft.run(Minecraft.java:676)
|
||||
at net.minecraft.client.main.Main.main(Main.java:92)
|
||||
Caused by: java.lang.NullPointerException
|
||||
at java.base/java.io.Reader.<init>(Reader.java:168)
|
||||
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:112)
|
||||
at org.apache.commons.io.IOUtils.readLines(IOUtils.java:986)
|
||||
at net.minecraft.src.StringTranslate.<init>(StringTranslate.java:29)
|
||||
at net.minecraft.src.StringTranslate.<clinit>(StringTranslate.java:21)
|
||||
... 5 more
|
||||
|
||||
|
||||
A detailed walkthrough of the error, its code path and all known details is as follows:
|
||||
---------------------------------------------------------------------------------------
|
||||
|
||||
-- Head --
|
||||
Stacktrace:
|
||||
at net.minecraft.src.LanguageManager.onResourceManagerReload(LanguageManager.java:76)
|
||||
at net.minecraft.src.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:103)
|
||||
at net.minecraft.src.Minecraft.startGame(Minecraft.java:345)
|
||||
|
||||
-- Initialization --
|
||||
Details:
|
||||
Stacktrace:
|
||||
at net.minecraft.src.Minecraft.run(Minecraft.java:676)
|
||||
at net.minecraft.client.main.Main.main(Main.java:92)
|
||||
|
||||
-- System Details --
|
||||
Details:
|
||||
Minecraft Version: 1.6.4
|
||||
Operating System: Linux (amd64) version 6.8.0-52-generic
|
||||
Java Version: 17.0.13, Ubuntu
|
||||
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
|
||||
Memory: 243307560 bytes (232 MB) / 262144000 bytes (250 MB) up to 4108320768 bytes (3918 MB)
|
||||
JVM Flags: 0 total;
|
||||
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
|
||||
Suspicious classes:
|
||||
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
|
||||
Launched Version: 1.6.4
|
||||
LWJGL: 2.9.0
|
||||
OpenGL: Mesa Intel(R) HD Graphics 520 (SKL GT2) GL version 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.3, Intel
|
||||
Is Modded: Very likely; Jar signature invalidated
|
||||
Type: Client (map_client.txt)
|
||||
Resource Pack: Default
|
||||
Current Language: ~~ERROR~~ NullPointerException: Cannot invoke "net.minecraft.src.Language.toString()" because the return value of "net.minecraft.src.LanguageManager.getCurrentLanguage()" is null
|
||||
Profiler Position: N/A (disabled)
|
||||
Vec3 Pool Size: ~~ERROR~~ NullPointerException: Cannot invoke "net.minecraft.src.WorldClient.getWorldVec3Pool()" because "this.field_142056_a.theWorld" is null
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
java -Xmx4G -Xms4G -Djava.library.path=. -cp "eaglercraft.jar:lwjgl-2.9.0.jar:lwjgl-util-2.9.0.jar:soundsystem-20120107.jar:codecjorbis-20101023.jar:codecwav-20101023.jar:lwjgl-platform-2.9.0-natives-linux.jar:jopt-simple-4.5.jar:gson-2.2.2.jar:guava-14.0.jar:commons-lang3-3.1.jar:commons-io-2.4.jar:libraryjavasound-20101123.jar:librarylwjglopenal-20100824.jar:bcprov-jdk15on-1.47.jar:argo-2.25_fixed.jar" net.minecraft.client.main.Main
|
Binary file not shown.
|
@ -0,0 +1,55 @@
|
|||
music:1.0
|
||||
sound:1.0
|
||||
invertYMouse:false
|
||||
mouseSensitivity:0.5
|
||||
fov:0.0
|
||||
gamma:0.0
|
||||
viewDistance:0
|
||||
guiScale:0
|
||||
particles:0
|
||||
bobView:true
|
||||
anaglyph3d:false
|
||||
advancedOpengl:false
|
||||
fpsLimit:1
|
||||
difficulty:2
|
||||
fancyGraphics:true
|
||||
ao:2
|
||||
clouds:true
|
||||
skin:Default
|
||||
lastServer:
|
||||
lang:en_US
|
||||
chatVisibility:0
|
||||
chatColors:true
|
||||
chatLinks:true
|
||||
chatLinksPrompt:true
|
||||
chatOpacity:1.0
|
||||
serverTextures:true
|
||||
snooperEnabled:true
|
||||
fullscreen:false
|
||||
enableVsync:true
|
||||
hideServerAddress:false
|
||||
advancedItemTooltips:false
|
||||
pauseOnLostFocus:true
|
||||
showCape:true
|
||||
touchscreen:false
|
||||
overrideWidth:0
|
||||
overrideHeight:0
|
||||
heldItemTooltips:true
|
||||
chatHeightFocused:1.0
|
||||
chatHeightUnfocused:0.44366196
|
||||
chatScale:1.0
|
||||
chatWidth:1.0
|
||||
key_key.attack:-100
|
||||
key_key.use:-99
|
||||
key_key.forward:17
|
||||
key_key.left:30
|
||||
key_key.back:31
|
||||
key_key.right:32
|
||||
key_key.jump:57
|
||||
key_key.sneak:42
|
||||
key_key.drop:16
|
||||
key_key.inventory:18
|
||||
key_key.chat:20
|
||||
key_key.playerlist:15
|
||||
key_key.pickItem:-98
|
||||
key_key.command:53
|
|
@ -1,9 +0,0 @@
|
|||
2025-01-28 12:32:59 [CLIENT] [INFO] Setting user: Player5
|
||||
2025-01-28 12:32:59 [CLIENT] [INFO] (Session ID is null)
|
||||
2025-01-28 12:35:08 [CLIENT] [INFO] Setting user: Player719
|
||||
2025-01-28 12:35:08 [CLIENT] [INFO] (Session ID is null)
|
||||
2025-01-28 12:37:52 [CLIENT] [INFO] Setting user: DefaultClientTest
|
||||
2025-01-28 12:37:52 [CLIENT] [INFO] (Session ID is null)
|
||||
2025-01-28 12:40:11 [CLIENT] [INFO] Setting user: DefaultClientTest
|
||||
2025-01-28 12:40:11 [CLIENT] [INFO] (Session ID is null)
|
||||
2025-01-28 12:40:11 [CLIENT] [INFO] LWJGL Version: 2.9.0
|
|
@ -0,0 +1 @@
|
|||
rootProject.name = 'eaglercraft'
|
|
@ -73,7 +73,7 @@ public class LanguageManager implements ResourceManagerReloadListener
|
|||
}
|
||||
|
||||
currentLocale.loadLocaleDataFiles(par1ResourceManager, var2);
|
||||
StringTranslate.func_135063_a(currentLocale.field_135032_a);
|
||||
//StringTranslate.func_135063_a(currentLocale.field_135032_a);
|
||||
}
|
||||
|
||||
public boolean isCurrentLocaleUnicode()
|
||||
|
|
|
@ -189,7 +189,7 @@ public class Minecraft implements IPlayerUsage
|
|||
public Minecraft(Session par1Session, int par2, int par3, boolean par4, boolean par5, File par6File, File par7File, File par8File, Proxy par9Proxy, String par10Str)
|
||||
{
|
||||
theMinecraft = this;
|
||||
this.mcLogAgent = new LogAgent("Minecraft-Client", " [CLIENT]", (new File(par6File, "output-client.log")).getAbsolutePath());
|
||||
this.mcLogAgent = new LogAgent("Minecraft-Client", " [CLIENT]", null);
|
||||
this.mcDataDir = par6File;
|
||||
this.fileAssets = par7File;
|
||||
this.fileResourcepacks = par8File;
|
||||
|
@ -229,25 +229,10 @@ public class Minecraft implements IPlayerUsage
|
|||
*/
|
||||
public void displayCrashReport(CrashReport par1CrashReport)
|
||||
{
|
||||
File var2 = new File(getMinecraft().mcDataDir, "crash-reports");
|
||||
File var3 = new File(var2, "crash-" + (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + "-client.txt");
|
||||
System.out.println(par1CrashReport.getCompleteReport());
|
||||
|
||||
if (par1CrashReport.getFile() != null)
|
||||
{
|
||||
System.out.println("#@!@# Game crashed! Crash report saved to: #@!@# " + par1CrashReport.getFile());
|
||||
System.exit(-1);
|
||||
}
|
||||
else if (par1CrashReport.saveToFile(var3, this.getLogAgent()))
|
||||
{
|
||||
System.out.println("#@!@# Game crashed! Crash report saved to: #@!@# " + var3.getAbsolutePath());
|
||||
System.exit(-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
System.out.println("#@?@# Game crashed! Crash report could not be saved. #@?@#");
|
||||
System.exit(-2);
|
||||
}
|
||||
System.out.println("#@?@# Game crashed! Crash report could not be saved. #@?@#");
|
||||
System.exit(-2);
|
||||
}
|
||||
|
||||
public void setServer(String par1Str, int par2)
|
||||
|
@ -294,7 +279,7 @@ public class Minecraft implements IPlayerUsage
|
|||
Display.setTitle("Minecraft 1.6.4");
|
||||
this.getLogAgent().logInfo("LWJGL Version: " + Sys.getVersion());
|
||||
|
||||
if (Util.getOSType() != EnumOS.MACOS)
|
||||
/*if (Util.getOSType() != EnumOS.MACOS)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -304,7 +289,7 @@ public class Minecraft implements IPlayerUsage
|
|||
{
|
||||
var5.printStackTrace();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue