[Scummvm-cvs-logs] SF.net SVN: scummvm: [23801] scummvm/trunk/engines/cine

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Aug 28 21:13:59 CEST 2006


Revision: 23801
Author:   eriktorbjorn
Date:     2006-08-28 12:13:54 -0700 (Mon, 28 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23801&view=rev

Log Message:
-----------
Removed the copy protection bypass for Future Wars. We should only bypass the
copy protection if we know there were versions sold that either didn't have the
protection, or failed to include the information needed to get past it.

Besides, this particular bypassing doesn't work. The game appears to start
just fine, but the transporter early in the game is rendered non-functional.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/module.mk
    scummvm/trunk/engines/cine/prc.cpp

Removed Paths:
-------------
    scummvm/trunk/engines/cine/auto00.cpp
    scummvm/trunk/engines/cine/auto00.h
Deleted: scummvm/trunk/engines/cine/auto00.cpp
===================================================================
--- scummvm/trunk/engines/cine/auto00.cpp	2006-08-28 18:43:35 UTC (rev 23800)
+++ scummvm/trunk/engines/cine/auto00.cpp	2006-08-28 19:13:54 UTC (rev 23801)
@@ -1,48 +0,0 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2006 The ScummVM project
- *
- * cinE Engine is (C) 2004-2005 by CinE Team
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#include "common/stdafx.h"
-#include "common/scummsys.h"
-
-#include "cine/auto00.h"
-
-
-namespace Cine {
-
-const byte AUT000[] = {
-	0x00, 0x32, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x6b, 0x6c, 0x01, 0x40, 0x50, 0x41, 0x52, 0x54,
-	0x30, 0x31, 0x00, 0x42, 0x00, 0x49, 0x4e, 0x54, 0x52, 0x4f, 0x2e, 0x50, 0x52, 0x43, 0x00, 0x42,
-	0x02, 0x49, 0x4e, 0x54, 0x52, 0x4f, 0x2e, 0x4f, 0x42, 0x4a, 0x00, 0x3d, 0x4c, 0x4f, 0x47, 0x4f,
-	0x2e, 0x50, 0x49, 0x31, 0x00, 0x46, 0x50, 0x6e, 0x44, 0x55, 0x47, 0x47, 0x45, 0x52, 0x2e, 0x44,
-	0x41, 0x54, 0x00, 0x3d, 0x43, 0x49, 0x4e, 0x45, 0x4d, 0x41, 0x2e, 0x50, 0x49, 0x31, 0x00, 0x47,
-	0x46, 0x6f, 0x43, 0x51, 0x00, 0x1e, 0x1e, 0x43, 0x51, 0x00,
-};
-
-} // End of namespace Cine

Deleted: scummvm/trunk/engines/cine/auto00.h
===================================================================
--- scummvm/trunk/engines/cine/auto00.h	2006-08-28 18:43:35 UTC (rev 23800)
+++ scummvm/trunk/engines/cine/auto00.h	2006-08-28 19:13:54 UTC (rev 23801)
@@ -1,36 +0,0 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2006 The ScummVM project
- *
- * cinE Engine is (C) 2004-2005 by CinE Team
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#ifndef CINE_AUTO00_H_
-#define CINE_AUTO00_H_
-
-namespace Cine {
-
-extern const byte AUT000[];
-
-#define AUT000_size sizeof(AUT000);
-
-} // End of namespace Cine
-
-#endif

Modified: scummvm/trunk/engines/cine/module.mk
===================================================================
--- scummvm/trunk/engines/cine/module.mk	2006-08-28 18:43:35 UTC (rev 23800)
+++ scummvm/trunk/engines/cine/module.mk	2006-08-28 19:13:54 UTC (rev 23801)
@@ -2,7 +2,6 @@
 
 MODULE_OBJS = \
 	anim.o \
-	auto00.o \
 	bg.o \
 	bg_list.o \
 	cine.o \

Modified: scummvm/trunk/engines/cine/prc.cpp
===================================================================
--- scummvm/trunk/engines/cine/prc.cpp	2006-08-28 18:43:35 UTC (rev 23800)
+++ scummvm/trunk/engines/cine/prc.cpp	2006-08-28 19:13:54 UTC (rev 23801)
@@ -26,7 +26,6 @@
 #include "common/endian.h"
 
 #include "cine/cine.h"
-#include "cine/auto00.h"
 #include "cine/various.h"
 
 #include "common/config-manager.h"
@@ -78,15 +77,12 @@
 	}
 
 	checkDataDisk(-1);
-	if ((gameType == Cine::GID_FW) && (!strcmp(pPrcName, "AUTO00.PRC"))) {
-		if (!ConfMan.getBool("copy_protection"))
-			scriptPtr = AUT000;
-		else
-			scriptPtr = readFile(pPrcName);
+	if ((gameType == Cine::GID_FW) && (!strcmp(pPrcName, BOOT_PRC_NAME))) {
+		scriptPtr = readFile(pPrcName);
 	} else {
 		scriptPtr = readBundleFile(findFileInBundle(pPrcName));
-		assert(scriptPtr);
 	}
+	assert(scriptPtr);
 
 	setMouseCursor(MOUSE_CURSOR_DISK);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list