mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 16:36:07 +00:00
26 lines
974 B
Batchfile
26 lines
974 B
Batchfile
@echo off
|
|
rem This is a comment, it starts with "rem".
|
|
|
|
rem Uncomment following and set it to higher value if you want more memory:
|
|
rem You need 64 bit OS and 64 bit java to set it to higher values
|
|
rem set FFDEC_MEMORY=1024m
|
|
|
|
rem Uncomment following when you encounter StackOverFlowErrors.
|
|
rem If the app then terminates with OutOfMemory you can experiment with lower value.
|
|
rem set FFDEC_STACK_SIZE=32m
|
|
|
|
rem Uncomment following when you want to disable checks for hardware acceleration compatibility.
|
|
rem set J2D_D3D_NO_HWCHECK=true
|
|
|
|
rem Hide VLC error output
|
|
set VLC_VERBOSE=-1
|
|
|
|
if "%FFDEC_MEMORY%"=="" set FFDEC_MEMORY=1024m
|
|
|
|
set STACK_SIZE_PARAM=
|
|
set MEMORY_PARAM=
|
|
if not "%FFDEC_STACK_SIZE%"=="" set STACK_SIZE_PARAM="-Xss%FFDEC_STACK_SIZE%"
|
|
if not "%FFDEC_MEMORY%"=="" set MEMORY_PARAM="-Xmx%FFDEC_MEMORY%"
|
|
|
|
java %MEMORY_PARAM% %STACK_SIZE_PARAM% -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djava.util.Arrays.useLegacyMergeSort=true -jar "%~dp0\ffdec.jar" %*
|