Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Ronald>rem @echo off
- C:\Users\Ronald>setlocal
- C:\Users\Ronald>set XMLs_src=.\mod\store\XMLs
- C:\Users\Ronald>set XMLs_dest=.\mod\0.1.2\map\data
- C:\Users\Ronald>set maps_src=.\mod\store\models
- C:\Users\Ronald>set maps_dest=.\mod\0.1.2\sky\stuff
- C:\Users\Ronald>rmdir /q /s ".\mod\0.1.2\map\data" 2>NUL
- C:\Users\Ronald>rmdir /q /s ".\mod\0.1.2\sky\stuff" 2>NUL
- C:\Users\Ronald>mkdir ".\mod\0.1.2\map\data"
- C:\Users\Ronald>mkdir ".\mod\0.1.2\sky\stuff"
- C:\Users\Ronald>for /L %X in (1 1 15) do (
- call :rnd rn
- call :xml
- call :map
- )
- C:\Users\Ronald>(
- call :rnd rn
- call :xml
- call :map
- )
- C:\Users\Ronald>set numfiles=0
- C:\Users\Ronald>for / %I in (.\mod\store\models\*) do set /a numfiles+=1 1>NUL
- C:\Users\Ronald>set /a rn=30092 * 0 / 32768 + 1 1>NUL
- C:\Users\Ronald>goto :EOF
- C:\Users\Ronald>set c=0
- C:\Users\Ronald>for %I in (.\mod\store\XMLs) do (
- set /a c+=1 1>NUL
- if 0 == move "%I" ".\mod\0.1.2\map\data"
- )
- C:\Users\Ronald>(
- set /a c+=1 1>NUL
- if 0 == move ".\mod\store\XMLs" ".\mod\0.1.2\map\data"
- )
- C:\Users\Ronald>goto :EOF
- C:\Users\Ronald>set c=0
- C:\Users\Ronald> if 0== (
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement