LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-10-2005, 03:55 PM   #1
princesstingting
LQ Newbie
 
Registered: Dec 2005
Location: Toronto
Posts: 2

Rep: Reputation: 0
Warcraft III: NoCD


hey guys:
i have warcraft 3 and made a backup copy of it, but it doesnt work and i cant play since someone took my cd. i heard there is such a thing as "no-cd cracks". can someone fill me in and possibly help me to get the game running? im a beginner in games so would u please explain things as simpliest as u can =D thankx.
 
Old 12-10-2005, 08:58 PM   #2
princesstingting
LQ Newbie
 
Registered: Dec 2005
Location: Toronto
Posts: 2

Original Poster
Rep: Reputation: 0
the game runs now, except that it doenst seem to connect to bnet. still trying out to find out the problem. anyone knows possibily why its not connecting?
 
Old 12-11-2005, 10:34 AM   #3
mammlouk
Member
 
Registered: May 2005
Location: Colorado
Distribution: Suse 10.0 OSS RC1
Posts: 100

Rep: Reputation: 15
When connecting to Battle.Net It checks for an original unpatched war3.exe, so the patched exe keeps it from allowing you to connect. Here is info on how to get around it from the Wine AppDB located here (http://appdb.winehq.org/appview.php?versionId=1177)

Code:
When using a hacked exe, there is a special scenario where you may make a bash script that will fool the remote exe check enabling online play. Here is what I have used. This would be, for example, in the game folder called, "set_links"


cat > set_links << EOF
cd ~/c/War3 
rm War3.exe 
ln -s War3_original.exe War3.exe 
sleep 6 
rm War3.exe 
ln -s War3_nocd.exe War3.exe
EOF
chmod +x set_links

I open the game to the main menu where you can connect to battle.net. Before connecting, I switch to a console, like tty1 "ctrl-alt-f1", run the command, and immediately switch back "alt-f7" to connect within 6 seconds. It sets the link to the original exe so when the game check its size, it sees it as it should, then changes it back. If it doesn't pass the exe check within 6 seconds (from realm lag or something) it will fail. 

I got this idea from someone who said for Diablo 2, to copy the original exe over the no cd when connecting to battle.net. This, unfortunately, can crash the game, because the physical code locations change due to differences between the nocd and original exe's. I brainstormed the idea to use symbolic links, with the idea that wine would keep the nocd and original exe's physical code seperate if they actually have different -- and still valid -- inodes. The game will only see the game as the simply as the original game file "war3.exe", because not only does it not know about symbolic links, wine will work with them both ways. 

You might be able to make a script to set the symbolic link to the nocd exe, run the game, sleep about 20 seconds, then set the symbolic link to the original exe after the game is running, and leave it like that. I'm not sure how safe it is though. Whatever the method you choose, it is up to you, as the idea of using symlinks is enough, you may choose the best way.
Hope that helps you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Warcraft III: TFT NoCD MrMuchkin Linux - Games 20 03-01-2005 07:05 AM
Warcraft III FT Landus Mikain Linux - Games 1 02-28-2005 08:27 AM
Warcraft III Cd? davidfes Linux - Newbie 2 07-15-2004 08:31 PM
warcraft III help neuroticnumbnut Linux - Games 10 03-12-2004 02:29 PM
Warcraft III hanleychan Linux - Newbie 13 10-23-2003 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration