Valhalla Legends Archive

Programming => General Programming => Topic started by: RealityRipple on September 21, 2006, 07:33 PM

Title: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 07:33 PM
I'm making a No-CD crack for this game, but I don't have it. I need someone to tell me what the Class Name of the War2 window is (like SC's is "SWarClass", war3's is "Warcraft III", etc), and to test out the No-CD for me.
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 07:55 PM
Class Name: War2Class
Window: Warcraft II
Title: Re: Warcraft II BNE
Post by: UserLoser on September 21, 2006, 07:55 PM
Try using Spy++, it should have come somewhere in your Visual Studio installation
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 08:00 PM
Thanks |2k. UserLoser, i don't have the game, so I can't use spy++ on it.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 08:04 PM
One other thing. the WAR2.INI file. What section is "cdpath" under?
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 08:11 PM
There is no WAR2.ini file, here is the torrent if you want it: http://isohunt.com/download/11896785/Warcraft+2+BNE
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 08:13 PM
I can't download anything like that. I'm on dial up, downloading at an average of 2 kb/s . According to a file I found online somewhere:
QuoteLook in your Warcraft directory for a file called WAR2.INI.  If it exists
change the following line:

cdpath=X:

Where X: is the drive containing the CD data. Again, no ending backslash.

If WAR2.INI doesn't exist, don't worry about it.
Title: Re: Warcraft II BNE
Post by: Hero on September 21, 2006, 08:43 PM
Quote from: RealityRipple on September 21, 2006, 08:13 PM
I can't download anything like that. I'm on dial up, downloading at an average of 2 kb/s . According to a file I found online somewhere:
QuoteLook in your Warcraft directory for a file called WAR2.INI.  If it exists
change the following line:

cdpath=X:

Where X: is the drive containing the CD data. Again, no ending backslash.

If WAR2.INI doesn't exist, don't worry about it.
Then no worries =). I don't have one either.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 08:47 PM
Ok. Anyone wanna test it for me?
Title: Re: Warcraft II BNE
Post by: MyndFyre on September 21, 2006, 08:48 PM
Quote from: RealityRipple on September 21, 2006, 08:13 PM
I can't download anything like that. I'm on dial up, downloading at an average of 2 kb/s . According to a file I found online somewhere:
QuoteLook in your Warcraft directory for a file called WAR2.INI.  If it exists
change the following line:

cdpath=X:

Where X: is the drive containing the CD data. Again, no ending backslash.

If WAR2.INI doesn't exist, don't worry about it.
That stuff is stored in the registry.  WAR2.ini is from the DOS version.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 08:53 PM
Ah.. ok. Well, if anyone would be kind enough to test it out, here: http://realityripple.com/Uploads/nob.zip

I have no clue if it'll work, and it's not my fault if stuff gets messed up. You may want to copy your Storm.dll to another area just in case something goes wrong.
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 09:27 PM
doesn't work at all.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 09:31 PM
What happened when you ran it?
Title: Re: Warcraft II BNE
Post by: Joe[x86] on September 21, 2006, 09:40 PM
There was a WarCraft II DOS version, MyndFyre? I don't know much about W2: Tides of Darkness (rather than W2: BNE), but I suppose it was in DOS?
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 09:43 PM
http://members.chello.at/theodor.lauppert/games/warcraft2.htm
Title: Re: Warcraft II BNE
Post by: MyndFyre on September 21, 2006, 09:49 PM
Quote from: Joex86] link=topic=15763.msg158620#msg158620 date=1158892836]
There was a WarCraft II DOS version, MyndFyre? I don't know much about W2: Tides of Darkness (rather than W2: BNE), but I suppose it was in DOS?

Yup.  Tides of Darkness was the original, and Into the Dark Portal was the expansion.  AFAIK, both were available only on CD-ROM.

The original Warcraft game shipped on four 3.5" floppy diskettes and MIDI background music, or a CD-ROM with digital music tracks.
Title: Re: Warcraft II BNE
Post by: UserLoser on September 21, 2006, 09:53 PM
How are you supposed to make a no CD crack if you don't have the game to test it on?
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 10:00 PM
Quote from: UserLoser on September 21, 2006, 09:53 PM
How are you supposed to make a no CD crack if you don't have the game to test it on?
guess and have someone else check?

The basic idea behind all my No-CD cracks is the same.
1) Copy any required files from the cd (INSTALL.EXE for w2bn).
2) Create a cracked version of Storm.dll (find 66 81 F9 00 1F 74, change 74 to EB) and change registry keys to look in the right place.
3) Use the cracked version to load the game, then switch back to the normal version immediately so that it will work on BNet.
4) Clean up.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 10:07 PM
BTW, edited the no-cd to change the path to a direct location (it was "." before). Maybe it will work now? http://realityripple.com/Uploads/nob.zip
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 10:43 PM
There you go, now it works, good job.

lmao, you are keeping the storm.dll at the end of the file?
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 10:44 PM
Wootz! Yay for stabbing the dark blindly!

You tested connecting to bnet, too, right?
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 10:46 PM
yes i did
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 10:47 PM
Good. then it's time to put it on my site as a working file. Thanks guys (especially |2k)!
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 21, 2006, 10:49 PM
Quote from: RealityRipple on September 21, 2006, 10:47 PM
Good. then it's time to put it on my site as a working file. Thanks guys (especially |2k)!

it's L2K, Ruthless Killaz, R spelled L2.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 21, 2006, 10:52 PM
aww, but pipes are more fun. And ya, it has a cracked copy of storm in the Resource File at the end. It's a very simplistic design, no data/memory editing required, just file renaming.
Title: Re: Warcraft II BNE
Post by: Hero on September 22, 2006, 01:37 AM
I could never find a war2 cd crack, I'll have to install it again, thanks. =)
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 22, 2006, 01:42 AM
The final working version (along with d1, sc, and war3 No-CDs) can be found here: http://realityripple.com/software/other/
I like the new war2 icon i made :)
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 22, 2006, 09:23 AM
still it has to retrieve the file from the CD, so if you don't have the CD or it is scratched (which is really the only 2 reasons people want a no-CD crack) you're screwed either way. :P
Title: Re: Warcraft II BNE
Post by: vuther.de on September 22, 2006, 03:14 PM
I tried out your Starcraft and Warcraft III No-CD crack, it gave me a error when I ran it. I don't remember the error.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 22, 2006, 05:56 PM
I'd appreciate it if you tried again and told me what the error was... (The crack has to be in the game's directory, by the way). As for requiring the CD, ya... There's no way around that. Only Warcraft 3 can run without any extra files from the CD. Every other game stores something important on the cd. For d1 it's Diabdat.mpq, for SC and war2 it's INSTALL.EXE, and for D2 it's some MPQ's...
Title: Re: Warcraft II BNE
Post by: l2k-Shadow on September 22, 2006, 07:56 PM
Quote from: RealityRipple on September 22, 2006, 05:56 PM
I'd appreciate it if you tried again and told me what the error was... (The crack has to be in the game's directory, by the way). As for requiring the CD, ya... There's no way around that. Only Warcraft 3 can run without any extra files from the CD. Every other game stores something important on the cd. For d1 it's Diabdat.mpq, for SC and war2 it's INSTALL.EXE, and for D2 it's some MPQ's...
I know, just saying. :P
Title: Re: Warcraft II BNE
Post by: vuther.de on September 22, 2006, 09:22 PM
Quote from: RealityRipple on September 22, 2006, 05:56 PM
I'd appreciate it if you tried again and told me what the error was... (The crack has to be in the game's directory, by the way). As for requiring the CD, ya... There's no way around that. Only Warcraft 3 can run without any extra files from the CD. Every other game stores something important on the cd. For d1 it's Diabdat.mpq, for SC and war2 it's INSTALL.EXE, and for D2 it's some MPQ's...

Invalid call or Procedure when I hit the button for Frozen Throne.

And yes, it's in the directory.
Title: Re: Warcraft II BNE
Post by: vuther.de on September 22, 2006, 09:32 PM
Well, I didn't know it made files for it to work. It shouldn't bug out when I click on the game though for it to make the files.

Anyhow, it works for when I load it. But when I connect to Battle.net, it says "Unable to validate game version." Odd?
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 22, 2006, 09:54 PM
Ah... thanks. I left a few things out of the functions. You're gonna want to delete my no-cd and get a normal copy of war3.exe (Warcraft III hash files have it). Then go download version 1.0.5 when it's out.
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 22, 2006, 10:32 PM
OK, new version's up. Fixed a few glitches and added a barebone error handler. See if that works for ya :) .
Title: Re: Warcraft II BNE
Post by: vuther.de on September 22, 2006, 11:37 PM

QuoteError #5 in Launch TFT.
Invalid procedure call or arguement.

Then I get this one..
QuoteRename error! Please try again.
If you get this message multiple times, re-install WAR3.

Hm?
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 23, 2006, 12:05 AM
OK. Check your War3 Directory for the following files: war3.exe, war3.exe.CD, war3.exe.NOCD. Tell me which you have, and what the file size is if you have it.
Title: Re: Warcraft II BNE
Post by: vuther.de on September 23, 2006, 10:52 AM
It creates war3.exe.CD but it doesn't create war3.exe.NoCD.

The filesize's of the files after I do the crack are:

war3.exe: 394 KB
war3.exe.NoCD: 1,536 KB
Title: Re: Warcraft II BNE
Post by: RealityRipple on September 23, 2006, 12:19 PM
Turns out the Shell command in VB is shit. Changed to ShellExecute API and everything is perfect. Go figure.