Valhalla Legends Forums Archive | General Programming | Re: Warcraft II BNE

AuthorMessageTime
RealityRipple
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.
September 22, 2006, 12:33 AM
l2k-Shadow
Class Name: War2Class
Window: Warcraft II
September 22, 2006, 12:55 AM
UserLoser
Try using Spy++, it should have come somewhere in your Visual Studio installation
September 22, 2006, 12:55 AM
RealityRipple
Thanks |2k. UserLoser, i don't have the game, so I can't use spy++ on it.
September 22, 2006, 1:00 AM
RealityRipple
One other thing. the WAR2.INI file. What section is "cdpath" under?
September 22, 2006, 1:04 AM
l2k-Shadow
There is no WAR2.ini file, here is the torrent if you want it: http://isohunt.com/download/11896785/Warcraft+2+BNE
September 22, 2006, 1:11 AM
RealityRipple
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:
[quote]Look 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.[/quote]
September 22, 2006, 1:13 AM
HeRo
[quote author=RealityRipple link=topic=15763.msg158601#msg158601 date=1158887630]
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:
[quote]Look 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.[/quote]
[/quote]
Then no worries =). I don't have one either.
September 22, 2006, 1:43 AM
RealityRipple
Ok. Anyone wanna test it for me?
September 22, 2006, 1:47 AM
Myndfyr
[quote author=RealityRipple link=topic=15763.msg158601#msg158601 date=1158887630]
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:
[quote]Look 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.[/quote]
[/quote]
That stuff is stored in the registry.  WAR2.ini is from the DOS version.
September 22, 2006, 1:48 AM
RealityRipple
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.
September 22, 2006, 1:53 AM
l2k-Shadow
doesn't work at all.
September 22, 2006, 2:27 AM
RealityRipple
What happened when you ran it?
September 22, 2006, 2:31 AM
JoeTheOdd
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?
September 22, 2006, 2:40 AM
RealityRipple
http://members.chello.at/theodor.lauppert/games/warcraft2.htm
September 22, 2006, 2:43 AM
Myndfyr
[quote author=Joe[x86] 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?
[/quote]

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.
September 22, 2006, 2:49 AM
UserLoser
How are you supposed to make a no CD crack if you don't have the game to test it on?
September 22, 2006, 2:53 AM
RealityRipple
[quote author=UserLoser link=topic=15763.msg158623#msg158623 date=1158893587]
How are you supposed to make a no CD crack if you don't have the game to test it on?
[/quote]
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.
September 22, 2006, 3:00 AM
RealityRipple
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
September 22, 2006, 3:07 AM
l2k-Shadow
There you go, now it works, good job.

lmao, you are keeping the storm.dll at the end of the file?
September 22, 2006, 3:43 AM
RealityRipple
Wootz! Yay for stabbing the dark blindly!

You tested connecting to bnet, too, right?
September 22, 2006, 3:44 AM
l2k-Shadow
yes i did
September 22, 2006, 3:46 AM
RealityRipple
Good. then it's time to put it on my site as a working file. Thanks guys (especially |2k)!
September 22, 2006, 3:47 AM
l2k-Shadow
[quote author=RealityRipple link=topic=15763.msg158631#msg158631 date=1158896876]
Good. then it's time to put it on my site as a working file. Thanks guys (especially |2k)!
[/quote]

it's L2K, Ruthless Killaz, R spelled L2.
September 22, 2006, 3:49 AM
RealityRipple
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.
September 22, 2006, 3:52 AM
HeRo
I could never find a war2 cd crack, I'll have to install it again, thanks. =)
September 22, 2006, 6:37 AM
RealityRipple
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 :)
September 22, 2006, 6:42 AM
l2k-Shadow
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
September 22, 2006, 2:23 PM
inner.
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.
September 22, 2006, 8:14 PM
RealityRipple
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...
September 22, 2006, 10:56 PM
l2k-Shadow
[quote author=RealityRipple link=topic=15763.msg158715#msg158715 date=1158965803]
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...
[/quote]
I know, just saying. :P
September 23, 2006, 12:56 AM
inner.
[quote author=RealityRipple link=topic=15763.msg158715#msg158715 date=1158965803]
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...
[/quote]

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

And yes, it's in the directory.
September 23, 2006, 2:22 AM
inner.
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?
September 23, 2006, 2:32 AM
RealityRipple
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.
September 23, 2006, 2:54 AM
RealityRipple
OK, new version's up. Fixed a few glitches and added a barebone error handler. See if that works for ya :) .
September 23, 2006, 3:32 AM
inner.

[quote]Error #5 in Launch TFT.
Invalid procedure call or arguement.[/quote]

Then I get this one..
[quote]Rename error! Please try again.
If you get this message multiple times, re-install WAR3.[/quote]

Hm?
September 23, 2006, 4:37 AM
RealityRipple
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.
September 23, 2006, 5:05 AM
inner.
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
September 23, 2006, 3:52 PM
RealityRipple
Turns out the Shell command in VB is shit. Changed to ShellExecute API and everything is perfect. Go figure.
September 23, 2006, 5:19 PM

Search