diff --git a/.gitignore b/.gitignore index c795b05..d85b69c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -build \ No newline at end of file +build +ideas.txt \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index b0b6614..eb04c1a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "java.project.referencedLibraries": [ - "lib/**/*.jar", + "vendor/**/*.jar", + "library/tinygzip/tinylinegzip.jar" ], "java.project.sourcePaths": [ "src" diff --git a/build.sh b/build.sh deleted file mode 100644 index c2e6823..0000000 --- a/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -set -e # Exit immediately if any command fails - -MAIN_CLASS="dothack/DotHack.java" -PROJECT_NAME="dh" -SOURCE_PATH="src" -PATH_LIBRARIES="lib" -PATH_PROGUARD="/home/sillysagiri/Documents/dothack/proguard.jar" -CLASS_VERSION="1.4" - -### - -rm -rf "build" -mkdir -p "build/class" - -### - -CLASSPATH=$(find "$PATH_LIBRARIES" -type f | tr '\n' ':' | sed 's/:$//') - -# compile class -javac -source $CLASS_VERSION -target $CLASS_VERSION -cp $CLASSPATH -encoding "utf-8" -d "build/class" -sourcepath $SOURCE_PATH -Xlint:-options -g "${SOURCE_PATH}/${MAIN_CLASS}" - -# pack .jar -jar cvfm "build/${PROJECT_NAME}_not_preverified.jar" "${SOURCE_PATH}/META-INF/MANIFEST.MF" -C "build/class" . -C "assets" . - -# preverify -java -jar $PATH_PROGUARD -microedition -injars "build/${PROJECT_NAME}_not_preverified.jar" -outjars "build/${PROJECT_NAME}.jar" -libraryjars $CLASSPATH -dontshrink -dontoptimize -dontobfuscate -target $CLASS_VERSION - -# release build -java -jar $PATH_PROGUARD -microedition -injars "build/${PROJECT_NAME}_not_preverified.jar" -outjars "build/${PROJECT_NAME}_release.jar" -libraryjars $CLASSPATH -target $CLASS_VERSION -keep "class * extends javax.microedition.midlet.MIDlet" -repackageclasses "" \ No newline at end of file diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..18a8237 --- /dev/null +++ b/build.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/config.properties b/config.properties new file mode 100644 index 0000000..a7b3d31 --- /dev/null +++ b/config.properties @@ -0,0 +1,87 @@ +## sdk & tools +antenna.path=/home/sillysagiri/Documents/antenna/antenna-bin-1.2.1-beta.jar +wtk.home=/home/sillysagiri/Documents/wtk/ +wtk.proguard.home=/home/sillysagiri/Documents/proguard-7.6.0/ + +# ======================================================== # + +## project +project.name=dothack-allscreen +project.vendor=sillysagiri +project.manifest=MANIFEST.MF +project.version=1.0.0 + +## midlet + +midlet.name=dothack +midlet.class=dothack.DotHack + +## Specify library here (separated by `;` ) +midlet.lib=library/tinygzip/tinylinegzip.jar + +## Preprocessor +symbols= + + +# ======================================================== # + +## WTK Properties + +## Specifies the version of CLDC to use. +wtk.cldc.version=1.1 + +## Specifies the version of MIDP to use. +wtk.midp.version=2.0 + +## Enables or disables the Multimedia API (MMAPI). +wtk.mmapi.enabled=true + +## Enables or disables the Wireless Messaging API (WMA) 1.0 (JSR-120). +# wtk.wma.enabled true + +## Enables or disables the Wireless Messaging API (WMA) 2.0 (JSR-205). +# wtk.wma2.enabled=true + +## Enables or disables the J2ME Web Services API (J2MEWS). +# wtk.j2mews.enabled=true + +## Enables or disables the J2ME Bluetooth API (JSR-82). +# wtk.bluetooth.enabled=true + +## Enables or disables the J2ME 3D API (JSR-184). +# wtk.java3d.enabled=true + +## Enables or disables the J2ME optional PDA packages (JSR-75). +# wtk.optionalpda.enabled=true + +## Enables or disables the J2ME location services API (JSR-179). +# wtk.locationservices.enabled=true + +## Enables or disables the J2ME content handler API (JSR-211). +# wtk.contenthandler.enabled=true + +## Enables or disables the J2ME Security and Trust Services API (JSR-177). +# wtk.satsa.enabled=true + +## Enables or disables the J2ME Mobile Internationalization API (JSR-238). +# wtk.miapi.enabled=true + +## Enables or disables the J2ME Advanced Multimedia Supplements API (JSR-234). +# wtk.ams.enabled=true + +## Enables or disables the J2ME Payment API (JSR-229). +# wtk.papi.enabled=true + +## Enables or disables the J2ME Scalable 2D Vector Graphics API (JSR-226). +# wtk.s2dvgapi.enabled=true + +## Enables or disables the J2ME Session Initiation Protocol API (JSR-180). +# wtk.sipapi.enabled=true + +## Enables all additional libraries (except for CLDC and MIDP) defined for your toolkit. +# wtk.all.enabled=true + +## Sets a totally custom BOOTCLASSPATH. Use this property if the set of APIs you need is not covered by the above properties (for example because you are using the system libraries provided another vendor or you have some important additional libraries). +# wtk.midpapi=Varies + +# ======================================================== # diff --git a/lib/cldcapi11.jar b/lib/cldcapi11.jar deleted file mode 100644 index 9b50d19..0000000 Binary files a/lib/cldcapi11.jar and /dev/null differ diff --git a/lib/jsr75.jar b/lib/jsr75.jar deleted file mode 100644 index 4ced7fb..0000000 Binary files a/lib/jsr75.jar and /dev/null differ diff --git a/lib/midpapi20.jar b/lib/midpapi20.jar deleted file mode 100644 index 946788b..0000000 Binary files a/lib/midpapi20.jar and /dev/null differ diff --git a/lib/mmapi.jar b/lib/mmapi.jar deleted file mode 100644 index e2639c8..0000000 Binary files a/lib/mmapi.jar and /dev/null differ diff --git a/library/tinygzip/TINYLINE_LICENSE.TXT b/library/tinygzip/TINYLINE_LICENSE.TXT new file mode 100644 index 0000000..ad50eb8 --- /dev/null +++ b/library/tinygzip/TINYLINE_LICENSE.TXT @@ -0,0 +1,178 @@ + + + +Wayback Machine + + + + + + + + + + + +
The Wayback Machine - https://web.archive.org/web/20130928025608/http://www.tinyline.com/utils/tinylinegzip/TINYLINE_LICENSE.TXT
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/library/tinygzip/tinylinegzip.jar b/library/tinygzip/tinylinegzip.jar new file mode 100644 index 0000000..40cfcd1 Binary files /dev/null and b/library/tinygzip/tinylinegzip.jar differ diff --git a/src/META-INF/MANIFEST.MF b/src/META-INF/MANIFEST.MF deleted file mode 100644 index eb0be2a..0000000 --- a/src/META-INF/MANIFEST.MF +++ /dev/null @@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -MIDlet-1: 닷핵,/logo/menet.png,dothack.DotHack -MIDlet-Vendor: MeNet21 -MIDlet-Info-URL: http://java.sun.com/j2me -MIDlet-Name: 닷핵 -MIDlet-Description: MeNet21 -MIDlet-Version: 1.2 -MicroEdition-Configuration: CLDC-1.1 -MicroEdition-Profile: MIDP-2.0 -Sagiri-Note: music converted to pcm and removed LG MMAPI dependency -Sagiri-URL: https://sillysagiri.moe -