11/05/2012

Minecraft Portable

Here is a big project I made a while back.
Some tome ago I played around with some Minecraft portable programs, and many of them were not as Portable as they said. The program would save the Worlds on the Harddisk and not on the USB also need Java installed on the computer, then I found one that had Java on the USB and did not require Java installed on a computer. But it still saved the worlds you made on the HD. So I looked over the code and tweaked here and there, so now you can have Minecraft with you were ever you go. It runs Java from the USB and Minecraft plus it saves the Worlds onto the USB also.

Lets just drive into it shall we.

24/04/2012

WoW Cache Cleaner

I sometimes like to play a bit of World of Warcraft on private servers. If you are here to find a server you are out of luck, any ways I made this little program after I have read that some people had trouble connecting to the server. Many said "delete your caches folders" and people could connect after that. I also found out that some server provide a little launcher, that's cool and all but I wanted to make my own.
So here it is, it works with WoW 1.1.2.x and another one for 4.0.6.a.


Version 4
Version 3
Version 2
Version 1

To use them you need to extract them into your WoW's Root folder e.g. C:\Games\WoW\

I cant think of a name for the program so it is just called "Ting" it is Danish and means Thing.

23/04/2012

Diablo 2 Window Mode in a bat

Lets get this going.
So I was messing around with Diablo II and wanted to play in window mode. Pretty easy todo just add -w after " in the desktop shortcut, but no. Lets make a useless batch scrip for that. Oh yeah!

Start up Notepad or other favourite text editor.
The most easiest thing to do is, just to use this code here:
@echo off
START "D2" "Diablo II.exe" -w && ECHO Execute D2: OK 
exit
This will start diablo 2 in window mode. So thats pretty simple.
But what if we want to have some fun with it.

Lets just start by putting in a title, it will show on the top of the cmd window.
@echo off
TITLE Diablo 2 Window Mode
Now it has a title. Next we can check to see if the Diablo II.exe is were it is.
IF EXIST "Diablo II.exe"
This will check and see if the exe file is there, we need the "" if there is spaces. But it goes no were, so we need to add some more to the code. Lets try.
IF EXIST "Diablo II.exe" (START "D2" "Diablo II.exe" -w) ELSE (Exit)
Looks better, so If Diablo II.exe exist, Start Diablo II.exe, else exit the program.
It works kinda like the first code above, but with the feature to see if the exe file exist. The fist code will just exit and thats that.
Lets add a little more to the code, we want to know if the file does not exist and if starting D2 is a go.
IF EXIST "Diablo II.exe" (START "D2" "Diablo II.exe" -w && ECHO Execute D2: OK) ELSE (Exit)
The only thing we will change is after the START command we add && and an ECHO to display text, the && means it will run at the same time as START. Letting you know it runs.
What about if the file does not exist ? Easy, we do kinda the same thing. instead of ELSE (Exit) we do
ELSE (Echo Execute D2: Failed && Pause && Exit)
So the full line will look like.
IF EXIST "Diablo II.exe" (START "D2" "Diablo II.exe" -w && ECHO Execute D2: OK) ELSE (ECHO Execute D2: Failed && PAUSE && EXIT)
As a last thing we do a PAUSE. So the full code will look like
@echo off
TITLE Diablo 2 Window Mode
IF EXIST "Diablo II.exe" (START "D2" "Diablo II.exe" -w && ECHO Execute D2: OK) ELSE (ECHO Execute D2: Failed && PAUSE && EXIT)
PAUSE

Welcome

Welcome, on this blog you will find batch help and guides. There will also be complete script without any guide or description, just copy and paste to run them. Else you will find guides and it may help you out. You may see some spelling errors here and there, English is not my main language.
Sooooo please enjoy your stay and happy coding.