From: sparky4 Date: Wed, 16 Mar 2016 07:13:53 +0000 (-0500) Subject: a cute image added X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=f634ec0b04d9641e564ffdf1777a746294678fd7;p=16.git a cute image added --- diff --git a/awoo.sh b/awoo.sh index 27ad1558..1f82d931 100755 --- a/awoo.sh +++ b/awoo.sh @@ -1,9 +1,9 @@ #!/bin/bash . ./wbuild.sh -if [ -f "*.exe" ] - then +#if [ -f "*.exe" ] +# then +#fi wmake -h www -fi wmake -h clean if [ -z "$*" ]; then pee="wwww" diff --git a/data/cute.pcx b/data/cute.pcx new file mode 100755 index 00000000..d295218f Binary files /dev/null and b/data/cute.pcx differ diff --git a/data/cute.png b/data/cute.png new file mode 100755 index 00000000..3fac06ef Binary files /dev/null and b/data/cute.png differ diff --git a/dld.sh b/dld.sh new file mode 100755 index 00000000..0af760d7 --- /dev/null +++ b/dld.sh @@ -0,0 +1 @@ +cd src/lib/doslib diff --git a/makefile b/makefile index 46fa4168..935fbefd 100755 --- a/makefile +++ b/makefile @@ -431,14 +431,17 @@ comp: .symbolic @upx -9 $(EXEC) comq: .symbolic - @upx -9 $(UPXQ) $(EXEC) + @upx -9 $(UPXQ) $(EXEC) www: .symbolic # @rm /var/www/$(EXEC) - @cp ./$(EXEC) /var/www/ - @./z.sh $(EXEC) $(EXEC) - @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/ - @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/ + @cp ./$(EXEC) /var/www/ + @./z.sh $(EXEC) $(EXEC) + @scp -r -P 26 *.exe 4ch.mooo.com:/var/www/16/ + @scp -r -P 26 /var/www/*.exe.zip.* 4ch.mooo.com:/var/www/16/ + +getwww: .symbolic + @x4get.bat $(EXEC) #git submodule add uplibs: .symbolic diff --git a/src/bakapi.c b/src/bakapi.c index 5f3579f6..9f471fdc 100755 --- a/src/bakapi.c +++ b/src/bakapi.c @@ -85,9 +85,9 @@ main(int argc, char *argvar[]) //modexLeave(); // user imput switch fprintf(stderr, "xx=%d yy=%d\n", bakapee.xx, bakapee.yy); -// printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.\n", getch()); // prompt the user - printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.\n"); // prompt the user - clrstdin(); + printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.\n", getch()); // prompt the user +// printf("Enter 1, 2, 3, 4, or 6 to run a screensaver, or enter 0 to quit.\n"); // prompt the user +// clrstdin(); scanf("%d", &key); //if(key==3){xx=yy=0;} // crazy screen saver wwww if(key==0){ d=0; }else{ diff --git a/x4get.bat b/x4get.bat index d4499689..74103ffa 100755 --- a/x4get.bat +++ b/x4get.bat @@ -1 +1,34 @@ -htget http://4ch.mooo.com/16/%1.exe.zip.%2 > %3 +@echo off +del %* +setlocal +rem for %@eval[%#+1] in (%*) do ( +rem for %# in (1,1,%*) do ( +:loop + set /a o=0 +:oooo + set /a q=%@EVAL[%@LEN[%1] - 4] + set w=%@INSTR[0,%q,%1] + iff NOT "%w" == "" then + set /a o=%o+1 + set y=%w.z%o +rem echo y=%y + htget http://4ch.mooo.com/16/%1.zip.00%o > %y +rem pause + type %y >> %w.zip + iff "%@FILESIZE[%y,b]" == "65536" then +rem echo o=%o + goto oooo + endiff + iff NOT "%#" == "0" then + shift /1 + unzip %w.zip + del %w.z* + goto loop + endiff + endiff +rem echo y="%y" +rem echo q=%q +rem echo o=%o +rem echo w=%w +rem echo %%1=%1 +endlocal diff --git a/z.bat b/z.bat index 67275e8e..97ed52b7 100755 --- a/z.bat +++ b/z.bat @@ -1,3 +1,14 @@ @echo off +set file="%1" +set maxbytesize=65536 + +FOR /F "usebackq" %%A IN ('%file%') DO set size=%%~zA + +if %size% LSS %maxbytesize% ( + echo.File is ^< %maxbytesize% bytes +) ELSE ( + echo.File is ^>= %maxbytesize% bytes +) + for /f %%A in ('dir ^| find "*.z?*"') do set cnt=%%A echo File count = %cnt%