浏览代码

Updated for 0.89

Frank Zago 13 年之前
父节点
当前提交
534c9142ac
共有 1 个文件被更改,包括 18 次插入2 次删除
  1. 18 2
      build_data.sh

+ 18 - 2
build_data.sh

@@ -19,7 +19,8 @@
 #   data1.cab and data1.hdr from the original 1st CDROM
 #   data1.cab and data1.hdr from the original 1st CDROM
 #   Heroes3.snd from the original 2nd CDROM
 #   Heroes3.snd from the original 2nd CDROM
 #   the WoG release v3.58f: allinone_358f.zip
 #   the WoG release v3.58f: allinone_358f.zip
-#   the VCMI distribution: vcmi_088b.7z
+#   the VCMI distribution: vcmi_089.zip
+#   the menu graphic pack: vcmi32menu.zip
 
 
 # Usage: put this script and the 4 data files into the same directory
 # Usage: put this script and the 4 data files into the same directory
 # and run the script.
 # and run the script.
@@ -112,7 +113,8 @@ rm -rf temp
 mkdir temp
 mkdir temp
 cd temp
 cd temp
 
 
-7zr x ../vcmi_088b.7z
+#7zr x ../vcmi_088b.7z
+unzip ../vcmi_089.zip
 
 
 find . -name "*.dll" | xargs rm -f
 find . -name "*.dll" | xargs rm -f
 find . -name "*.DLL" | xargs rm -f
 find . -name "*.DLL" | xargs rm -f
@@ -127,7 +129,21 @@ rm -rf Games
 cp -a . $DESTDIR
 cp -a . $DESTDIR
 
 
 cd ..
 cd ..
+
+
+# Extract graphics package
+
 rm -rf temp
 rm -rf temp
+mkdir temp
+cd temp
+
+unzip ../vcmi32menu.zip
+
+# Tree is already clean. Move extracted files to their final destination
+
+cp -a . $DESTDIR
+
+cd ..
 
 
 
 
 # Done
 # Done