Page 1 of 3
Russian Dolls
Posted: Fri Nov 28, 2008 7:30 pm
by lukas
WTF ^^
how did the others done this level? I wanted to create a script but my favourite programm said
that the file is not default-conform; So I did it complete manually and it takes very long
So I think that I haven't say too much
Posted: Fri Nov 28, 2008 11:36 pm
by soeschmid
Hi Lukas,
wow, i'd never have done this by hand...
I would have given up very early.
I used a batch-File in windows to run winrar in a loop.
The most difficult of this work was reading the manual of winrar for possible parameters
Posted: Sun Nov 30, 2008 3:33 am
by brazzy
I used a bash shell script, and it took several minutes - I didn't count iterations, but it must have been hundreds! I can't imagine doing that manually.
Posted: Sun Nov 30, 2008 9:41 am
by m!nus
I used a PHP script and it took less than a second. There are 999 iterations, not that much.
Posted: Tue Dec 02, 2008 1:52 pm
by lukas
I also tried per winrar, but winrar say to: "The file is not an archive or maybe corrupt"
and I dont take the first one, because he always say its corrupt, I take the fourth or so.
Batch File
Posted: Mon Dec 29, 2008 1:06 pm
by macdachs
Just used GZIP and a Batch-File
:start
gzip.exe -d doll.gz
ren doll doll.gz
goto start
Works fine for me under 5 minutes
Posted: Tue Jan 06, 2009 9:56 pm
by ImreNagy
easy:
open with 7z mark the [content] and fix the enter key with a pen. 2 minutes later you have the answer.
Posted: Tue Jan 06, 2009 11:49 pm
by Belriel
I also used PHP and then had the answer in an instant, most time I spent finding out the right PHP functions and how they work as the gzip library is not very well documented and some of the functions mentioned are not even present in the current release.
Posted: Thu Jan 08, 2009 9:37 pm
by m!nus
i used gzinflate() and always split off the first 10 bytes (header). how did you do it?
Posted: Fri Jan 09, 2009 8:52 am
by Belriel
I used gzdecode(), but since this function seems to be not yet part of PHP, I used the function I found in the user contributed notes.
Posted: Sun Feb 08, 2009 2:37 am
by yes-man
Used one bash line.
for ((i=1; i<20000; i++)) do gzip -d doll.gzip && move doll doll.gzip done
Posted: Sun Feb 08, 2009 9:37 pm
by aurora
i've written a file identifier for work a while back. so this was the first tool ich used with doll.bin -- than it was pretty easy: gunzip as long as the file identifier reported 'application/gzip' as filetype.
Posted: Mon Feb 09, 2009 10:10 am
by masgo
i used 7-zip for windows and kept the enter button pressed for ~one minute ...
Posted: Sun Mar 08, 2009 9:25 pm
by misterjack
mv doll.bin doll.gz && watch -n 0 "gunzip doll.gz && mv doll doll.gz"
At least: cat doll
Posted: Mon Mar 23, 2009 3:12 pm
by Chocoholic
aurora wrote:i've written a file identifier for work a while back. so this was the first tool ich used with doll.bin -- than it was pretty easy: gunzip as long as the file identifier reported 'application/gzip' as filetype.
That already exists, it's called "file" in unix. ;-)
I also used just one line of bash code. Long live coLinux! :-)
Code: Select all
while file doll.gz | grep gzip; do gunzip doll.gz; mv doll doll.gz; done