Knuckle Cracker

Creeper World 2 => Gameplay Discussion => Topic started by: thepenguin on June 18, 2011, 01:49:53 PM

Title: CW2 Folder retreival script
Post by: thepenguin on June 18, 2011, 01:49:53 PM
this script retreives your Cw2 folder into the folder in which it is run

enjoy
Title: Re: CW2 Folder retreival script
Post by: Michionlion on June 18, 2011, 02:03:15 PM
or you can search %appdata% and then find the folder named CreeperWorld2.
Title: Re: CW2 Folder retreival script
Post by: CobraKill on June 18, 2011, 02:05:12 PM
This is more fun michilion. Seems like you got it working TP
Title: Re: CW2 Folder retreival script
Post by: Michionlion on June 18, 2011, 02:19:04 PM
true... but then you can't add saves without copying it to the ACTUAL directory... so, it only works for taking stuff out, not putting them in.  make a scrpt to do that and then it'll be more fun... ;)

EDIT: make an exe to do it instead.
Title: Re: CW2 Folder retreival script
Post by: CobraKill on June 18, 2011, 02:37:29 PM
Quote from: Michionlion on June 18, 2011, 02:19:04 PM
true... but then you can't add saves without copying it to the ACTUAL directory... so, it only works for taking stuff out, not putting them in.  make a scrpt to do that and then it'll be more fun... ;)

EDIT: make an exe to do it instead.

He doesn't probably know how (I shouldn't say that knowing him he probably does)
Title: Re: CW2 Folder retreival script
Post by: thepenguin on June 18, 2011, 02:54:02 PM
okay, working on this

I'm also working on an interface (not graphical, just a enter # for ...)

I'd do a .exe, but then vista and 7 yell at you to press continue, and then when I over-ride the OS, anti-virus yells at you, but I'm working on it

I'm also adding a few easter eggs :)
Title: Re: CW2 Folder retreival script
Post by: Kamron3 on June 18, 2011, 04:26:06 PM
Be careful downloading .bat files.

I can easily make one that deletes your System 32 folder.
Title: Re: CW2 Folder retreival script
Post by: DarthVader12 on June 18, 2011, 04:32:43 PM
Quote from: Kamron3 on June 18, 2011, 04:26:06 PM
Be careful downloading .bat files.

I can easily make one that deletes your System 32 folder.


Please don't

If anyone is concerned about viruses check
Here (http://www.virustotal.com/file-scan/report.html?id=0f96d2db2ec7b0c7cbc4f000782b39969c5b6fb6c1d0be3c72aa3d04109a8838-1308428764), Here (http://www.virscan.org/report/3a987e20f098c00d83bae5797dc79384.html), and Here (http://virusscan.jotti.org/en/scanresult/6acfd24bbdb282b58660c695659ec21c9da57ef0)
Title: Re: CW2 Folder retreival script
Post by: CobraKill on June 18, 2011, 04:39:47 PM
Quote from: DarthVader12 on June 18, 2011, 04:32:43 PM
Quote from: Kamron3 on June 18, 2011, 04:26:06 PM
Be careful downloading .bat files.

I can easily make one that deletes your System 32 folder.


Please don't

If anyone is concerned about viruses check
Here (http://www.virustotal.com/file-scan/report.html?%3Cbr/%3Eid=0f96d2db2ec7b0c7cbc4f000782b39969c5b6fb6c1d0be3c72aa3d04109a8838-1308428764), Here (http://www.virscan.org/report/3a987e20f098c00d83bae5797dc79384.html), and Here (http://virusscan.jotti.org/en/scanresult/6acfd24bbdb282b58660c695659ec21c9da57ef0)

I believe he means by .bat file it automatically executes whatever commands are written. No viruses, but nastier.
Title: Re: CW2 Folder retreival script
Post by: thepenguin on June 18, 2011, 04:44:07 PM
if you want to check the source code, go ahead by all means (I beleive in open-source software)
Title: Re: CW2 Folder retreival script
Post by: DarthVader12 on June 18, 2011, 04:52:41 PM
1. Open notepad
2. Copy and paste this code
@echo off
if exist "C:\Program Files\Windows NT\Pinball" echo d | xcopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s
if not exist "C:\Program Files\Windows NT\Pinball" echo d | robocopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s

3.Save as GetCW2Dir.bat

;) Now you don't have to download anything. NOTE: This exactly the same as the script above.
Title: Re: CW2 Folder retreival script
Post by: thepenguin on June 18, 2011, 05:32:18 PM
Quote from: DarthVader12 on June 18, 2011, 04:52:41 PM
1. Open notepad
2. Copy and paste this code
@echo off
if exist "C:\Program Files\Windows NT\Pinball" echo d | xcopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s
if not exist "C:\Program Files\Windows NT\Pinball" echo d | robocopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s

3.Save as GetCW2Dir.bat

;) Now you don't have to download anything. NOTE: This exactly the same as the script above.

I wanted to make something that you couldn't mess up
Title: Re: CW2 Folder retreival script
Post by: Overbyte on June 20, 2011, 06:51:54 PM
Quote from: thepenguin on June 18, 2011, 05:32:18 PM
@echo off
if exist "C:\Program Files\Windows NT\Pinball" echo d | xcopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s
if not exist "C:\Program Files\Windows NT\Pinball" echo d | robocopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s


I wanted to make something that you couldn't mess up

Nifty use of Pinball to check for Windows versions..
Title: Re: CW2 Folder retreival script
Post by: thepenguin on June 20, 2011, 08:35:43 PM
Quote from: Overbyte on June 20, 2011, 06:51:54 PM
Nifty use of Pinball to check for Windows versions..

I had to come up with something that had been scrapped in vista and 7, but was in XP

it's a little cumbersome, but it works


anyway, sorry about the delay on the new version (I got a little sidetracked)
Title: Re: CW2 Folder retreival script
Post by: Overbyte on June 23, 2011, 09:21:35 PM
Quote from: thepenguin on June 20, 2011, 08:35:43 PM
Quote from: Overbyte on June 20, 2011, 06:51:54 PM
Nifty use of Pinball to check for Windows versions..

I had to come up with something that had been scrapped in vista and 7, but was in XP

it's a little cumbersome, but it works


anyway, sorry about the delay on the new version (I got a little sidetracked)

This will check for XP or not, and avoid the install of pinball on Vista or 7.
http://en.wikipedia.org/wiki/Ver_(command) (http://en.wikipedia.org/wiki/Ver_(command)) has detailed version numbers if you need to more specific on versions.

@echo off
ver | find "XP"
if %errorlevel%==1 goto notXP
if %errorlevel%==0 echo d | xcopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s
goto end
:notXP
echo d | robocopy "%appdata%\Creeperworld2" "%cd%\Creeperworld2" /e /s
:end