summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e139589)
raw | patch | inline | side by side (parent: e139589)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 11 Mar 2017 16:21:19 +0000 (19:21 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 11 Mar 2017 16:21:19 +0000 (19:21 +0300) |
.gitignore | patch | blob | history | |
BUGS | patch | blob | history | |
make.sh | patch | blob | history | |
res/META-INF/MANIFEST.MF | [deleted file] | patch | blob | history |
diff --git a/.gitignore b/.gitignore
index 86ac3376495a16b9c0ee54cbedd472966a18a3af..2e8e4a90c9e496ca70fda49df993bdebcdf59f9e 100644 (file)
--- a/.gitignore
+++ b/.gitignore
fs/
mp3CC
*.jar
+*.jad
*.class
*.bsf
+MANIFEST.MF
index 29fcd090109ea73aa04ff8e29665ef511e084a98..dfd550577e48ae6f01b7b9904d220b9c975fcb65 100644 (file)
--- a/BUGS
+++ b/BUGS
После удаления всех сохранений кнопки остаются на вид активными
Даже в четвёртой альфе грибы генерировались в пещерах! Нужно вернуть!
+ Текстурпаки вроде как не работают
++ Нужно автоматически генерировать манифест и jad
index db833cc2b81060f939cc87bb794fb32454e33df7..7236ef0b074f5e2e44345a66e592f07bb7a081dd 100755 (executable)
--- a/make.sh
+++ b/make.sh
#!/bin/sh
+NAM=CaveCraft
+VER=1.9.0
+VEN=DeaDSoftWare
+URL=https://deadsoftware.ru
+ICO=/title/icon.png
+
# MPC="/home/deaddoomer/work/mp3CC-linux/mpc/mp3CC"
# MPS="/home/deaddoomer/work/mp3CC-linux/mps/stubs"
# MPL="/home/deaddoomer/work/mp3CC-linux/mpl"
mp3cc "$I"
done
+mkdir -p $OBJ/META-INF
+cat > $OBJ/META-INF/MANIFEST.MF <<!
+Manifest-Version: 1.0
+MIDlet-1: $NAM, $ICO, FW
+MIDlet-Name: $NAM
+MIDlet-Vendor: $VEN
+MIDlet-Version: $VER
+MicroEdition-Configuration: CLDC-1.0
+MicroEdition-Profile: MIDP-2.0
+MIDlet-Icon: $ICO
+Created-By: $VEN
+!
+
echo "===> Package binary"
jar cfM bin.jar \
$(printJarClass $MPS) \
$(printJarClass $OBJ) \
$(printJarClass $LIB) \
+ -C $OBJ META-INF \
-C $RES .
+
+# http://www.oracle.com/technetwork/systems/index-156899.html
+
+cat > bin.jad <<!
+Manifest-Version: 1.0
+MIDlet-1: $NAM, $ICO, FW
+MIDlet-Name: $NAM
+MIDlet-Vendor: $VEN
+MIDlet-Jar-URL: $URL
+MIDlet-Jar-Size: $(stat -c %s bin.jar)
+MIDlet-Version: $VER
+MicroEdition-Configuration: CLDC-1.0
+MicroEdition-Profile: MIDP-2.0
+MIDlet-Icon: $ICO
+Created-By: $VEN
+!
diff --git a/res/META-INF/MANIFEST.MF b/res/META-INF/MANIFEST.MF
--- a/res/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0\r
-MIDlet-1: CaveCraft, /title/icon.png, FW\r
-MIDlet-Name: CaveCraft\r
-MIDlet-Vendor: DeaDSoftWare\r
-MIDlet-Version: 1.9.0\r
-MicroEdition-Configuration: CLDC-1.0\r
-MicroEdition-Profile: MIDP-2.0\r
-MIDlet-Icon: /title/icon.png\r
-Created-By: DeaDSoftWare\r