]> 4ch.mooo.com Git - 16.git/commitdiff
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
authorsparky4 <sparky4@cock.li>
Mon, 13 Mar 2017 19:52:13 +0000 (14:52 -0500)
committersparky4 <sparky4@cock.li>
Mon, 13 Mar 2017 19:52:13 +0000 (14:52 -0500)
btget.bat
l4get.bat
makefile
src/util/z.sh
x4get.bat

index cb4466c7def9646ef2c722a9a3719fa0546bd390..ed1d6b238daf62da76841e1d7504503a5a402bd5 100755 (executable)
--- a/btget.bat
+++ b/btget.bat
@@ -25,18 +25,18 @@ rem  echo y=%y
                set z=%o\r
        ) endif\r
 \r
-       htget http://%url/%1.zi.%z > %y\r
+       htget http://%url/%1.zip.%z > %y\r
 rem    pause\r
        iff NOT "%@FILESIZE[%y,b]" == "0" then\r
-               type %y >> %w.zi\r
+               type %y >> %w.zip\r
                iff "%@FILESIZE[%y,b]" == "65536" then\r
 rem                            echo o=%o\r
                        goto oooo\r
                endiff\r
                iff NOT "%#" == "0" then\r
                        shift /1\r
-                       iff exist %w.zi then\r
-                               unzi %w.zi\r
+                       iff exist %w.zip then\r
+                               unzip %w.zip\r
                                del %w.z*\r
                        endiff\r
                        goto loop\r
index e53268547355a273e07b53855ffbf5e4629dd35c..786178107f5a407a384aea7a0351f84fe60e9f27 100755 (executable)
--- a/l4get.bat
+++ b/l4get.bat
@@ -25,18 +25,18 @@ rem  echo y=%y
                set z=%o\r
        ) endif\r
 \r
-       htget http://%url/%1.zi.%z > %y\r
+       htget http://%url/%1.zip.%z > %y\r
 rem    pause\r
        iff NOT "%@FILESIZE[%y,b]" == "0" then\r
-               type %y >> %w.zi\r
+               type %y >> %w.zip\r
                iff "%@FILESIZE[%y,b]" == "65536" then\r
 rem                            echo o=%o\r
                        goto oooo\r
                endiff\r
                iff NOT "%#" == "0" then\r
                        shift /1\r
-                       iff exist %w.zi then\r
-                               unzi %w.zi\r
+                       iff exist %w.zip then\r
+                               unzip %w.zip\r
                                del %w.z*\r
                        endiff\r
                        goto loop\r
index 591a4445ca25af7feb8fcfa87e61a757a25fc85c..01a489b81dd6d69b6fb8d61b58e346495371ce5c 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -40,6 +40,7 @@ DELLOGFILE=1
 to_os_path=\=/
 REMOVECOMMAND=rm -f
 COPYCOMMAND=cp -f
+MOVECOMMAND=mv
 DIRSEP=/
 OBJ=obj
 DUMP=cat
@@ -49,6 +50,7 @@ DOSLIBMAKEALL=./buildall.sh build all
 to_os_path=/=\
 REMOVECOMMAND=del
 COPYCOMMAND=copy /y
+MOVECOMMAND=move
 DIRSEP=\
 OBJ=obj
 DUMP=type
@@ -427,9 +429,12 @@ comq: .symbolic
 www: .symbolic
        @for %f in (/var/www/$(EXEC)) do @if exist /var/www/%f $(REMOVECOMMAND) /var/www/%f
        @$(REMOVECOMMAND) /var/www/*.exe.zi*
+       @$(REMOVECOMMAND) /var/www/*.zip.zi*
        @for %f in ($(EXEC)) do @if exist %f @$(COPYCOMMAND) %f /var/www/
        @./src/util/z.sh $(EXEC) $(EXEC)
-       @./src/util/z.sh data data
+       @7z a -r data.zip data
+       @./src/util/z.sh data.zip data
+       @$(REMOVECOMMAND) data.zip
        @wmake -h wwwext
 
 wwwext: .symbolic
@@ -441,18 +446,18 @@ wwwext1: .symbolic
        #4ch.mooo.com
        @scp -r -P $(HOSTPORT) *.exe $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
        @scp -r -P $(HOSTPORT) *get.bat $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
-       @scp -r -P $(HOSTPORT) /var/www/*.exe.zi.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
+       @scp -r -P $(HOSTPORT) /var/www/*.exe.zip.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
        #@scp -r -P $(HOSTPORT) $(DATADIR)spri.zip $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
-       @scp -r -P $(HOSTPORT) /var/www/data.zi.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
+       @scp -r -P $(HOSTPORT) /var/www/data.zip.* $(HOSTUSER)@$(HOSTADDR):$(HOSTDIR)/16/
 
 
 wwwext2: .symbolic
        #beta.latech.edu
        @scp -r -P $(HOST2PORT) *.exe $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
        @scp -r -P $(HOST2PORT) *get.bat $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
-       @scp -r -P $(HOST2PORT) /var/www/*.exe.zi.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
+       @scp -r -P $(HOST2PORT) /var/www/*.exe.zip.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
        #@scp -r -P $(HOST2PORT) $(DATADIR)spri.zip $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
-       @scp -r -P $(HOST2PORT) /var/www/data.zi.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
+       @scp -r -P $(HOST2PORT) /var/www/data.zip.* $(HOST2USER)@$(HOST2ADDR):$(HOST2DIR)/16/
 
 getwww: .symbolic
        *x4get.bat $(EXEC)
index 3c823ad05c64ed248017d4a83bc8dc12c41cf923..7561110a0d402e435a46469112590cae444c0c3d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 while [ -n "$1" ]
 do
-       7z a -v64k -r /var/www/"$1".zi "$1"
-       echo 7z a -v64k -r /var/www/"$1".zi "$1"
+       7z a -v64k -r /var/www/"$1".zip "$1"
+       echo 7z a -v64k -r /var/www/"$1".zip "$1"
        shift
 done
index 2637951be17fbbbba3fa9aaaad38ef62f4c6d38f..b89cc65798f3d27476babb742026ff3f49189d2d 100755 (executable)
--- a/x4get.bat
+++ b/x4get.bat
@@ -25,18 +25,18 @@ rem  echo y=%y
                set z=%o\r
        ) endif\r
 \r
-       htget http://%url/%1.zi.%z > %y\r
+       htget http://%url/%1.zip.%z > %y\r
 rem    pause\r
        iff NOT "%@FILESIZE[%y,b]" == "0" then\r
-               type %y >> %w.zi\r
+               type %y >> %w.zip\r
                iff "%@FILESIZE[%y,b]" == "65536" then\r
 rem                            echo o=%o\r
                        goto oooo\r
                endiff\r
                iff NOT "%#" == "0" then\r
                        shift /1\r
-                       iff exist %w.zi then\r
-                               unzi %w.zi\r
+                       iff exist %w.zip then\r
+                               unzip %w.zip\r
                                del %w.z*\r
                        endiff\r
                        goto loop\r