Skip to content

Commit

Permalink
* fetcher-stdio added
Browse files Browse the repository at this point in the history
  • Loading branch information
ivucica committed Oct 27, 2008
1 parent 8943fd5 commit c61af4f
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/fetcher-stdio/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Distributing


1) copy fetcher.bat to root of distribution
2) copy svnroot/lib/fetcher-stdio/* to root/lib/ in distribution
3) tell users to doubleclick fetcher.bat


That should work even for unix users.
(Once lib/ is filled with unix symlinks or wrapper scripts ...)
37 changes: 37 additions & 0 deletions tools/fetcher-stdio/fetcher.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/sh
@echo off
set PATH=%PATH%;lib\
echo "This will download data files from Tibia 8.31"
echo "_______________________"
echo "If you use windows and you got this file using svn you"
echo "need to get:"
echo " tar.exe, gzip.exe and wget.exe"
echo "These are accessible from our svn:"
echo " ..../svnroot/yatc/lib/fetcher-stdio/"
echo "Put them into lib/ in current folder"
echo "______________________"
echo "Now press space to continue."
pause
read

lib/wget http://download.tibia.com/tibia831.tgz -c
lib/gzip -d tibia831.tgz
lib/tar -xf tibia831.tar Tibia/Tibia.spr Tibia/Tibia.dat Tibia/Tibia.pic

wget http://download.tibia.com/tibia831.tgz -c
gzip -d tibia831.tgz
tar -xf tibia831.tar Tibia/Tibia.spr Tibia/Tibia.dat Tibia/Tibia.pic

move Tibia/Tibia.spr Tibia.spr
move Tibia/Tibia.dat Tibia.dat
move Tibia/Tibia.pic Tibia.pic


mv Tibia/Tibia.spr Tibia.spr
mv Tibia/Tibia.dat Tibia.dat
mv Tibia/Tibia.pic Tibia.pic

rmdir Tibia

pause
read
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions tools/fetcher/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This is supposed to be program for fetching data files from the only available source - cipsoft's servers.
That way we don't distribute them and responsibility for its use is up to you, yet we make it simpler for you to use those files.

File renamed without changes.
File renamed without changes.

0 comments on commit c61af4f

Please sign in to comment.