Jump to content


Photo

A CaH mod that eliminates levels or l2mod


  • Please log in to reply
36 replies to this topic

#21 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 10:26 AM

I haven't read what Mr.Furious wrote yet, but from just skimming it it seems very clear-cut. Finally!

Ridder Geel, I do appreciate your efforts, Im serious, but you seriously need to work on your explanation skillz :good:

#22 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 10:52 AM

I'll try to make a clear guide for you. It might be a bit late, but I hope it'll help you.

1. First remove everything you tried, because it will probably mess it up. Then copy your ini.big backup back into the game directory.

2. Open up your original ini.big, select the commandbutton.ini and use "Edit > Extract File". It doesn't really matter where you extract it. When you're done, you can remove it.

3. In FinalBig, open up an empty big file. Now go to "Edit > Add File", and add the commandbutton.ini you just extracted. The name it asks for should be the exact name it had before you extracted it.

4. Save the .big file as _MyMod.big, inside the game directory.

5. Now go to the commandbutton.ini, and change the following lines:

CreateAHeroUIMinimumLevel				  = <level>
to:
CreateAHeroUIMinimumLevel				  = 1

6. Then change the following lines:
CreateAHeroUIPrerequisiteButtonName = <buttonname>
to:
CreateAHeroUIPrerequisiteButtonName = NONE

7. Again, save your .big file. You can open up BFME2 like you always do, and it should be working.



Edit: Just want to add something. After snooping around on the forum, I've noticed this program called "finalbig". I do not have it. This is why I couldn't do your steps at first.



Edit2: Downloading FinalBig was apparently the Holy Grail. Now, all of the sudden, everything falls into place! Im a bit peeved, you guys didn't mention I had to download that program :good:

I'll try the game soon.

Edit3: Okay. So what I did was this:

1. I did all the steps.

2. I have a _mymod.big inside the game dir ALONGSIDE the ini.big file.

3. I've deleted the entire seperate ini folder since it's just a copy of what's inside the ini.big file.

I started the game, it works to start. But when I create a hero, the same old effects play in.
Did I do something wrong? I followed everything in precise order.

Edited by petroglyph, 20 August 2009 - 11:30 AM.


#23 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 11:58 AM

I tried to replace, thinking "screw MP", the _mymod.big stuff with the original commandbutton.ini in the ini.big file. So I did, and then placed the _mymod.big file in my far-away back-up folder. Here's the message I got.

Posted Image

Edited by petroglyph, 20 August 2009 - 11:59 AM.


#24 MrFurious

MrFurious
  • Members
  • 87 posts
  • Location:The Netherlands
  • Projects:Memories Through Middle-Earth Coder

Posted 20 August 2009 - 12:02 PM

You probably accidentaly removed a "l" somewhere. Just go to your commandbutton.ini, and search for "descriptlabe " (with the space at the end). Now just add the "l" you removed.

#25 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 12:13 PM

No, you were right. There was an L missing. That's scary how 1337 you are :good:
Problem was that the FinalBig doesn't have the same search capabilites as Wordpad, so I had to export it to check again.

I'll try now.

Edited by petroglyph, 20 August 2009 - 12:15 PM.


#26 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 12:22 PM

Okay new problem. I can start the game etc. But once I get down to the power's section the game crashes. It's the game.dat now.

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="game.dat" FILTER="GRABMI_FILTER_PRIVACY">
	<MATCHING_FILE NAME="dbghelp.dll" SIZE="860160" CHECKSUM="0x95ACE2C3" BIN_FILE_VERSION="6.3.5.1" BIN_PRODUCT_VERSION="6.3.5.1" PRODUCT_VERSION="6.3.0005.1" FILE_DESCRIPTION="Windows Image Helper" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Debugging Tools for Windows(R)" FILE_VERSION="6.3.0005.1 (DbgBuild.030922-1449)" ORIGINAL_FILENAME="DBGHELP.DLL" INTERNAL_NAME="DBGHELP.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xDB697" LINKER_VERSION="0x50000" UPTO_BIN_FILE_VERSION="6.3.5.1" UPTO_BIN_PRODUCT_VERSION="6.3.5.1" LINK_DATE="10/23/2003 18:11:02" UPTO_LINK_DATE="10/23/2003 18:11:02" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="debugwindowlite.dll" SIZE="172032" CHECKSUM="0xCB05039D" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1, 0, 0, 1" FILE_DESCRIPTION="DebugWindow DLL" PRODUCT_NAME="DebugWindow Dynamic Link Library" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="DebugWindow.DLL" INTERNAL_NAME="DebugWindow" LEGAL_COPYRIGHT="Copyright (C) 2002" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="08/25/2004 03:53:26" UPTO_LINK_DATE="08/25/2004 03:53:26" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="eauninstall.exe" SIZE="344064" CHECKSUM="0xA9777EE6" BIN_FILE_VERSION="1.8.0.432" BIN_PRODUCT_VERSION="1.8.0.432" PRODUCT_VERSION="1.08.00.432" FILE_DESCRIPTION="Uninstall" COMPANY_NAME="Electronic Arts Inc." PRODUCT_NAME="EA Uninstall" FILE_VERSION="1.08.00.432" ORIGINAL_FILENAME="eauninstall7.exe" INTERNAL_NAME="eauninstall7.exe" LEGAL_COPYRIGHT="© 2004-2005 Electronic Arts Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.8.0.432" UPTO_BIN_PRODUCT_VERSION="1.8.0.432" LINK_DATE="12/21/2005 23:15:24" UPTO_LINK_DATE="12/21/2005 23:15:24" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="extra_uninst.exe" SIZE="102400" CHECKSUM="0x55C79C08" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="03/29/2006 00:37:44" UPTO_LINK_DATE="03/29/2006 00:37:44" />
	<MATCHING_FILE NAME="gdiplus.dll" SIZE="1645320" CHECKSUM="0x1DD44135" BIN_FILE_VERSION="5.1.3102.1360" BIN_PRODUCT_VERSION="5.1.3102.1360" PRODUCT_VERSION="5.1.3102.1360" FILE_DESCRIPTION="Microsoft GDI+" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.3102.1360 (xpsp2.040109-1800)" ORIGINAL_FILENAME="gdiplus" INTERNAL_NAME="gdiplus" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1A0D2E" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.3102.1360" UPTO_BIN_PRODUCT_VERSION="5.1.3102.1360" LINK_DATE="03/02/2004 17:38:12" UPTO_LINK_DATE="03/02/2004 17:38:12" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="lotrbfme2.exe" SIZE="495616" CHECKSUM="0x5AF71E5D" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="01/27/2006 05:53:52" UPTO_LINK_DATE="01/27/2006 05:53:52" />
	<MATCHING_FILE NAME="LotRIcon.exe" SIZE="53248" CHECKSUM="0x9BA4A9C5" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="12/18/2005 03:03:18" UPTO_LINK_DATE="12/18/2005 03:03:18" />
	<MATCHING_FILE NAME="mfc71.dll" SIZE="1060864" CHECKSUM="0x6E4CFDE2" BIN_FILE_VERSION="7.10.3077.0" BIN_PRODUCT_VERSION="7.10.3077.0" PRODUCT_VERSION="7.10.3077.0" FILE_DESCRIPTION="MFCDLL Shared Library - Retail Version" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio .NET" FILE_VERSION="7.10.3077.0" ORIGINAL_FILENAME="MFC71.DLL" INTERNAL_NAME="MFC71.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x10F108" LINKER_VERSION="0x70000" UPTO_BIN_FILE_VERSION="7.10.3077.0" UPTO_BIN_PRODUCT_VERSION="7.10.3077.0" LINK_DATE="03/19/2003 05:19:57" UPTO_LINK_DATE="03/19/2003 05:19:57" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="mss32.dll" SIZE="374272" CHECKSUM="0x6C7E9BC3" BIN_FILE_VERSION="6.6.7.0" BIN_PRODUCT_VERSION="6.6.7.0" PRODUCT_VERSION="6.6g" FILE_DESCRIPTION="Miles Sound System" COMPANY_NAME="RAD Game Tools, Inc." PRODUCT_NAME="Miles Sound System" FILE_VERSION="6.6g" LEGAL_COPYRIGHT="Copyright (C) 1991-2004, RAD Game Tools, Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x0" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="6.6.7.0" UPTO_BIN_PRODUCT_VERSION="6.6.7.0" LINK_DATE="12/11/2004 06:35:28" UPTO_LINK_DATE="12/11/2004 06:35:28" />
	<MATCHING_FILE NAME="msvcp71.dll" SIZE="499712" CHECKSUM="0x961BEC37" BIN_FILE_VERSION="7.10.3077.0" BIN_PRODUCT_VERSION="7.10.3077.0" PRODUCT_VERSION="7.10.3077.0" FILE_DESCRIPTION="Microsoft® C++ Runtime Library" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio .NET" FILE_VERSION="7.10.3077.0" ORIGINAL_FILENAME="MSVCP71.DLL" INTERNAL_NAME="MSVCP71.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8657E" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.10.3077.0" UPTO_BIN_PRODUCT_VERSION="7.10.3077.0" LINK_DATE="03/19/2003 04:14:51" UPTO_LINK_DATE="03/19/2003 04:14:51" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="msvcr71.dll" SIZE="348160" CHECKSUM="0x448A147E" BIN_FILE_VERSION="7.10.3052.4" BIN_PRODUCT_VERSION="7.10.3052.4" PRODUCT_VERSION="7.10.3052.4" FILE_DESCRIPTION="Microsoft® C Runtime Library" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio .NET" FILE_VERSION="7.10.3052.4" ORIGINAL_FILENAME="MSVCR71.DLL" INTERNAL_NAME="MSVCR71.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x5F1E9" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.10.3052.4" UPTO_BIN_PRODUCT_VERSION="7.10.3052.4" LINK_DATE="02/21/2003 12:42:20" UPTO_LINK_DATE="02/21/2003 12:42:20" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="p2xdll.dll" SIZE="519168" CHECKSUM="0xDD51908B" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="04/22/1999 23:53:17" UPTO_LINK_DATE="04/22/1999 23:53:17" />
	<MATCHING_FILE NAME="patchw32.dll" SIZE="202240" CHECKSUM="0x37CA8D1A" BIN_FILE_VERSION="7.0.0.0" BIN_PRODUCT_VERSION="7.0.0.0" PRODUCT_VERSION="7.00" FILE_DESCRIPTION="RTPatch Executable" COMPANY_NAME="Pocket Soft, Inc." PRODUCT_NAME="RTPatch" FILE_VERSION="7.00" INTERNAL_NAME="" LEGAL_COPYRIGHT="(C) Copyright Pocket Soft, Inc., 2002. All Rights Reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="7.0.0.0" UPTO_BIN_PRODUCT_VERSION="7.0.0.0" LINK_DATE="12/03/2002 20:01:03" UPTO_LINK_DATE="12/03/2002 20:01:03" />
	<MATCHING_FILE NAME="Worldbuilder.exe" SIZE="33771520" CHECKSUM="0xDA5A76D" BIN_FILE_VERSION="2.0.0.0" BIN_PRODUCT_VERSION="1.0.0.0" PRODUCT_VERSION="1.0" FILE_DESCRIPTION="The Battle for Middle-earth™ II World Builder" COMPANY_NAME="Electronic Arts Inc." PRODUCT_NAME="The Battle for Middle-earth™ II" FILE_VERSION="2.0.0.0" ORIGINAL_FILENAME="WorldBuilder.exe" INTERNAL_NAME="WorldBuilder" LEGAL_COPYRIGHT="Copyright © 2006" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.0.0.0" UPTO_BIN_PRODUCT_VERSION="1.0.0.0" LINK_DATE="01/28/2006 00:54:54" UPTO_LINK_DATE="01/28/2006 00:54:54" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="Support\EasyInfo.exe" SIZE="561152" CHECKSUM="0xBC263F5A" BIN_FILE_VERSION="2.0.2.5" BIN_PRODUCT_VERSION="2.0.2.5" PRODUCT_VERSION="2,0,2,5" FILE_DESCRIPTION="EasyInfo 2" COMPANY_NAME="Electronic Arts" PRODUCT_NAME="EasyInfo 2" FILE_VERSION="2,0,2,5" ORIGINAL_FILENAME="EasyInfo.exe" INTERNAL_NAME="EasyInfo.exe" LEGAL_COPYRIGHT="Copyright (c) 2004 Electronic Arts Inc.  All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="2.0.2.5" UPTO_BIN_PRODUCT_VERSION="2.0.2.5" LINK_DATE="07/19/2004 23:23:47" UPTO_LINK_DATE="07/19/2004 23:23:47" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="Support\EReg.exe" SIZE="618496" CHECKSUM="0x7D469126" BIN_FILE_VERSION="1.0.0.59" BIN_PRODUCT_VERSION="1.0.0.59" PRODUCT_VERSION="1, 0, 0, 59" FILE_DESCRIPTION="" COMPANY_NAME="Electronic Arts Inc." PRODUCT_NAME="EReg" FILE_VERSION="1, 0, 0, 59" ORIGINAL_FILENAME="EReg.exe" INTERNAL_NAME="EReg" LEGAL_COPYRIGHT="© 2004 Electronic Arts Inc. All Rights Reserved" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.59" UPTO_BIN_PRODUCT_VERSION="1.0.0.59" LINK_DATE="10/10/2003 09:08:02" UPTO_LINK_DATE="10/10/2003 09:08:02" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="Support\The Battle for Middle-earth II_code.exe" SIZE="323584" CHECKSUM="0xF1DC0882" BIN_FILE_VERSION="1.5.4.0" BIN_PRODUCT_VERSION="1.5.4.0" PRODUCT_VERSION="1.05.04.00" FILE_DESCRIPTION="CDKey" COMPANY_NAME="Electronic Arts Inc." PRODUCT_NAME="CDKey" FILE_VERSION="1.05.04.00" ORIGINAL_FILENAME="CDKey.exe" INTERNAL_NAME="CDKey.exe" LEGAL_COPYRIGHT="© Electronic Arts Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.5.4.0" UPTO_BIN_PRODUCT_VERSION="1.5.4.0" LINK_DATE="08/19/2005 17:48:32" UPTO_LINK_DATE="08/19/2005 17:48:32" VER_LANGUAGE="Engelska (USA) [0x409]" />
	<MATCHING_FILE NAME="Support\The Battle for Middle-earth II_uninst.exe" SIZE="73728" CHECKSUM="0x71FE2226" BIN_FILE_VERSION="1.5.4.0" BIN_PRODUCT_VERSION="1.5.4.0" PRODUCT_VERSION="1.05.04.00" FILE_DESCRIPTION="Uninstalls the CD key" COMPANY_NAME="Electronic Arts Inc." PRODUCT_NAME="Uninstall CDKey" FILE_VERSION="1.05.04.00" ORIGINAL_FILENAME="CDKey_Uninstaller.exe" INTERNAL_NAME="CDKey_Uninstaller" LEGAL_COPYRIGHT="© Electronic Arts Inc." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.5.4.0" UPTO_BIN_PRODUCT_VERSION="1.5.4.0" LINK_DATE="08/19/2005 16:15:59" UPTO_LINK_DATE="08/19/2005 16:15:59" VER_LANGUAGE="Engelska (USA) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
	<MATCHING_FILE NAME="kernel32.dll" SIZE="1003520" CHECKSUM="0xFAC35EF9" BIN_FILE_VERSION="5.1.2600.5781" BIN_PRODUCT_VERSION="5.1.2600.5781" PRODUCT_VERSION="5.1.2600.5781" FILE_DESCRIPTION="Klient-DLL för Windows NT BASE API" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Operativsystemet Microsoft® Windows®" FILE_VERSION="5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. Med ensamrätt." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x100B2B" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.5781" UPTO_BIN_PRODUCT_VERSION="5.1.2600.5781" LINK_DATE="03/21/2009 14:09:56" UPTO_LINK_DATE="03/21/2009 14:09:56" VER_LANGUAGE="Svenska [0x41d]" />
</EXE>
</DATABASE>


Dont know if you can read anything out of it. It's a bit unstructured. The technical report was more clearly written but I couldn't copy-paste it so I found the temporary file in which the report is written.

#27 MrFurious

MrFurious
  • Members
  • 87 posts
  • Location:The Netherlands
  • Projects:Memories Through Middle-Earth Coder

Posted 20 August 2009 - 12:40 PM

It's just what the error message says. But you might be right about my 1337'ness. :good:

Game.dat errors are harder, because they don't tell you what's wrong. You can try to delete the first half of your commandbutton.ini file (after saving it somewhere else) and then try again. If the error persists, it's in the second half of the file, otherwise it's in the first half. Then repeat this a few times with the code that contains the error. This way you can locate the error, if it's a single one. If it's not, I don't think I can help you right now.

#28 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 20 August 2009 - 07:07 PM

So if I remove everything in the commandbutton.ini file that isn't CaH-oriented, will the game work? If I just chop it off? I'll give it a try before I go to sleep. This will become my new marathon :blink: I will do it! Or, if I fail, there is a last-option. Could you do it for me? I could upload it, I've got a rar'd version of around 1,5 mb and already virusscanned on virustotal(0/41). There is a possibility, of course, that there could be some error I didn't see through like that L. So, if all else fails, turn to the pro :good:

#29 MrFurious

MrFurious
  • Members
  • 87 posts
  • Location:The Netherlands
  • Projects:Memories Through Middle-Earth Coder

Posted 20 August 2009 - 08:06 PM

That's not what I ment.

When it crashes before it starts up (like with the l missing), it tells you what's the error, in which file, in which block of code, in which line. WIth a game.dat error (like you have now), it doesn't tell anything like that. So you have to figure out where the error is. I assume it's in the commandbutton.ini, as that's the only file you edited. But it could be anywhere in that file.

Now you should open up that file. First save a copy of it somewhere else. You should select about the first half of it (it doesn't matter what it is, just be sure not to have a half commandbutton selected), and delete it. Now you save and open up the game. If the error is in the first half of the file, you deleted it, and the game will work fine with just some missing commandbuttons. If it's in the second half, you will get the same error as you had before.

Now you know very roughly where the error is. If it's in the first half (you don't get the same error), you should delete the second half, and copy the first half from your backup. Otherwise, you just use the same file without editing it.

You do exactly the same with the code you still have, as you did with the complete file. Repeat this till you have a single block of code. Now it's way easier to see what's the error. Fix it in your backup, and copy it back into your mod folder.

If the error persists, it's probably because you can't just change the minimum level and prerequisite of CAH powers.

Hope this will help you. I know it's a lot of work, but your only other option is to start all over again, being careful not to make the same errors. But then you don't know if it's just a mistake, or if the whole concept doesn't work.

#30 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 21 August 2009 - 05:40 AM

I moved everything that was above "GOOD SPELLS" section into an empty wordpad file. Now I had both a game.dat error and a normal error(before I only had a game.dat error once I was already in the game, looking at heroes and just clicking on the "powers" button on the hero.) And I couldn't even start the game.

Here's the error message:

Posted Image

It's important to know that I didn't get this error before I moved half of the (top) commandbutton.ini.

#31 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 21 August 2009 - 08:00 AM

This should not be too hard to do... Maybe i should do it for you if you are not planning on making any other actual changes? :lol:
Ridder Geel

#32 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 22 August 2009 - 07:08 AM

Hope this will help you. I know it's a lot of work, but your only other option is to start all over again, being careful not to make the same errors. But then you don't know if it's just a mistake, or if the whole concept doesn't work.



Wait, do you guys don't know if this works or not? Have anyone tried this before?

#33 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 22 August 2009 - 09:44 AM

No we have not... why would we? we dont make the CAH system unfair :shiftee2:
But if you really want, remember i could do it for you (in a matter of minutes) :p

Edited by Ridder Geel, 22 August 2009 - 09:46 AM.

Ridder Geel

#34 MrFurious

MrFurious
  • Members
  • 87 posts
  • Location:The Netherlands
  • Projects:Memories Through Middle-Earth Coder

Posted 22 August 2009 - 09:58 AM

No, I don't know for certain if it works, and I don't know anyone who tried this before. We don't know all the mysterious ways the game-engine handles stuff, so sometimes that stuff doesn't do what we want it to do. Then we have to create a workaround to make it do that. But that's modding: a lot of trail and error, till you finally get that stupid game to do something. Sometimes we're lucky, and it works fine the first time. Sometimes the code doesn't work as we think it's supposed to work.

What RG said seems the most logical way, but there might be some hard-coded restrictions, or something else. So we'll just have to try it, and play around with it till it works.

#35 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 22 August 2009 - 10:13 AM

Suggestion... remove the Level one fireball and such! :shiftee2: There may be a button limit ;) :p
this way you would keep only the strongest (highest level) spells! :p

Edited by Ridder Geel, 22 August 2009 - 10:15 AM.

Ridder Geel

#36 petroglyph

petroglyph
  • Members
  • 18 posts

Posted 24 August 2009 - 09:47 AM

No we have not... why would we? we dont make the CAH system unfair :mellow:
But if you really want, remember i could do it for you (in a matter of minutes) :crazed:


Yes, please. That would be great. I've given up on my skillz(not that I had any to begin with :blush:)

#37 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 24 August 2009 - 10:54 AM

Oh i forgot to ask... very important :mellow: Can you upload your Commandbutton.ini here, so im sure i have the same 'version' as you, otherwise this may cause problems :crazed:
Ridder Geel




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users