The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How Infinity games recognize its CDs, My research in this matter
drake127
post Jun 4 2005, 09:03 PM
Post #1


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




First I have to say what games we are talking about: Baldur's Gate series, Icewind Dale series and Planescape Torment.

These games contain no CD protection within the meaning of reducing possibility of illegal copying of CDs. CDs can (in technical meaning) be copied without problem.

But when game starts it requires inserted CD. I am not sure if it should be protection or game only tries to check if there is CD in drive because possible loading files from this CD.

Game checks presence of CD in moment so it cannot check all CD content but only its part - only concrete files. And I found them. Game does not check content of these files but only their presence at least in case of BG series and PST. In Icewind Dale series content of these files is ASCII number of that CD and size of this file is 1 byte so I did not concern about it).
  • Baldur's Gate: /CD1/MOVIES/MOVIES.BIF
  • Baldur's Gate: Tales of the Sword Coast: /CD6/MOVIES/MOVIECD6.BIF
  • Baldur's Gate II: Shadows of Amn: /CD2/DATA/MOVHD0.BIF
  • Baldur's Gate II: Throne of Bhaal: /CD5/DATA/AREA000B.BIF
  • Icewind Dale: /CD2/DATA/IWDCD.2
  • Icewind Dale: Heart of Winter: /CD3/DATA/IWDCD.3
  • Icewind Dale II: /CD2/DATA/IWD2CD.2
  • Planescape Torment (4 CD): /CD2/GENMOVA.BIF
  • Planescape Torment (2 CD): /CD2/TORMENT.CD
If you decide to use this research, you will have to have full install of the game.

Legal note:
Creating CD with these files (better: with these filenames) is very easy and CD can be very small (no larger than 3.5" floppy) but in some countries it may be illegal because it bypasses CD protection (but as I said above, I am not sure if it is CD protection). So be aware of this - it can be illegal!

This post has been edited by drake127: Nov 20 2005, 11:58 AM
Go to the top of the page
 
Quote Post
Avenger_teambg
post Jul 23 2005, 06:49 PM
Post #2





Forum Member
Posts: 78
Joined: 13-July 05




Hmm, a universal CD with all of these files would save me a lot of CD swapping!
Btw, at least IWD2 uses some kind of copy protection.

This post has been edited by Avenger_teambg: Jul 23 2005, 06:50 PM


--------------------
See GemRB !
Go to the top of the page
 
Quote Post
Vlad
post Aug 15 2005, 02:01 PM
Post #3



Group Icon

Mod Developer
Posts: 1399
Joined: 19-April 05




The CD protection is inside BGMAIN.EXE. You may use NoCD.exe crack program to patch your BGMAIN.EXE if you wish. This crack is available all over the web and I can share it with you. The same is about other IE games.

This post has been edited by Vlad: Aug 15 2005, 02:02 PM
Go to the top of the page
 
Quote Post
drake127
post Aug 18 2005, 12:26 PM
Post #4


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




QUOTE(Avenger_teambg @ Jul 23 2005, 08:49 PM)
Hmm, a universal CD with all of these files would save me a lot of CD swapping!
Btw, at least IWD2 uses some kind of copy protection.

I have both Czech and European version of IWD II and there is no copy protection. Maybe US version is different?

About NoCD crack - I does not prefer this way because it may cause some bugs, incompatibility and instability.
Go to the top of the page
 
Quote Post
Vlasák
post Aug 22 2005, 09:52 AM
Post #5


Mathematical poet


Retired team member
Posts: 159
Joined: 9-July 04
From: Prague, Czech Republic




QUOTE(drake127 @ Aug 18 2005, 02:26 PM)
I have both Czech and European version of IWD II and there is no copy protection. Maybe US version is different?

First version released in Czech is protected. Later version ("platinovka", as you know wink.gif ) doesn't have the protection (it should be exe from v.201 UK).


--------------------
Baldur's Gate II add-on CZ - TC from Dalelands
http://addoncz.gamestar.cz

English forums are opened!
Go to the top of the page
 
Quote Post
drake127
post Nov 20 2005, 11:58 AM
Post #6


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




I added file for 2 CD version of PST.

This post has been edited by drake127: Nov 20 2005, 11:59 AM
Go to the top of the page
 
Quote Post
Vlad
post Nov 20 2005, 12:09 PM
Post #7



Group Icon

Mod Developer
Posts: 1399
Joined: 19-April 05




QUOTE
About NoCD crack - I does not prefer this way because it may cause some bugs, incompatibility and instability.


Well, it patches several bytes inside BGMAIN.EXE related only to this issue, and I really fail to see how this patch *may cause some bugs, incompatibility and instability.*

This post has been edited by Vlad: Nov 20 2005, 12:10 PM
Go to the top of the page
 
Quote Post
drake127
post Nov 20 2005, 01:06 PM
Post #8


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




QUOTE(Vlad @ Nov 20 2005, 02:09 PM)
Well, it patches several bytes inside BGMAIN.EXE related only to this issue, and I really fail to see how this patch *may cause some bugs, incompatibility and instability.*

In these cases maybe not but I thought it more generally.
Go to the top of the page
 
Quote Post
ronin69hof
post Nov 20 2005, 01:52 PM
Post #9





Forum Member
Posts: 65
Joined: 15-July 05




QUOTE(Vlad @ Nov 20 2005, 12:09 PM)
QUOTE
About NoCD crack - I does not prefer this way because it may cause some bugs, incompatibility and instability.


Well, it patches several bytes inside BGMAIN.EXE related only to this issue, and I really fail to see how this patch *may cause some bugs, incompatibility and instability.*

I agree with Vlad, I have used the no-cd patch for years and have never had any bugs, incompatibility or instability.

ronin
Go to the top of the page
 
Quote Post
Avenger_teambg
post Nov 22 2005, 11:08 AM
Post #10





Forum Member
Posts: 78
Joined: 13-July 05




Well, i don't mind xp patching or such, but i don't trust a no-cd patch which comes without source.
Do you know which bytes on which offset to replace?
(just binary compare an unpatched exe to a patched one)


--------------------
See GemRB !
Go to the top of the page
 
Quote Post
Vlad
post Nov 23 2005, 09:24 AM
Post #11



Group Icon

Mod Developer
Posts: 1399
Joined: 19-April 05




QUOTE
Do you know which bytes on which offset to replace?


No, I don't know and I don't want to argue or even try to persuade someone to use this patch. From my experience and from the experience of many other gamers who have used this patch for years with different mods combinations and at different PCs with different OSs and configurations, it works like it should, no glithches, no problems. I cannot imagine now how whould I do without this patch. But you may always find better solution if you find.
Go to the top of the page
 
Quote Post
drake127
post Nov 23 2005, 10:06 AM
Post #12


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




Vlad, are we talking concretely (BG, ...) or generally, 'cause I may list many games where some versions of crack did not work properly - Warcraft III, Age of Empires II, OFP:Resistance etc. Yes, it can be (and it is) dependent on machine and my machine was many times that bad one.

Have you heard that in every exe is located (I think crc32) checksum of exe? When you patch some offset this checksum won't be longer valid and some systems do not survive it. On the other hand in many exes this checksum is set to 0x00000000 so it is disabled (?).

As I said before I prefer images as a safer solution even if it is more unhandy than working crack.

This post has been edited by drake127: Nov 23 2005, 10:06 AM
Go to the top of the page
 
Quote Post
Lord Fausto
post Dec 27 2005, 05:11 PM
Post #13





Forum Member
Posts: 12
Joined: 24-December 05




MMM i dont understand so much xD

but... my problem is... i have the bg tosc tongue.gif... its all functional... =)...
but when i put a english ---> spanish patch... the game wants cd6 in the drive :<... (i didnt have it:p)... but if i put in baldurs.ini the cd6: c:\blablabla
The game still searching for it in E drive :S...


any sol :<?
Go to the top of the page
 
Quote Post
drake127
post Dec 27 2005, 06:19 PM
Post #14


self-employed modder


Contributor
Posts: 41
Joined: 8-May 05
From: Jihlava, Czech Republic




QUOTE(Lord Fausto @ Dec 27 2005, 07:11 PM)
(...)
but if i put in baldurs.ini the cd6: c:\blablabla
The game still searching for it in E drive :S...


any sol :<?

It won't help you. You still have to have CD6 in your drive. But if you have virtual drive (Daemon Tools) you can use iso image with some files and game will think you have CD6 in your drive.

For BG:TotSC you need this file present: /CD1/MOVIES/MOVIES.BIF

This post has been edited by drake127: Dec 27 2005, 06:19 PM
Go to the top of the page
 
Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 19th May 2024 - 12:52 AM