• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Having Problem getting POTC to Work

Lord Denby

Landlubber
Good Evening!

It has been a while since I last played POTC, but after watching the film again I decided to have another look at it!
However, after installing it on my new computer I found it didin't work. I decided to install all the latest builds to see if that would change this, but it did not.
I've done the error logging, and this is what it says -

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->RUNTIME ERROR - file: battle_interface\loginterface.c; line: 28
Cant create class: ActionIntrface
RUNTIME ERROR - file: battle_interface\loginterface.c; line: 52
function 'InitLogInterface' stack error
RUNTIME ERROR - file: Interface\BaseInterface.c; line: 19
function 'InitBaseInterfaces' stack error<!--QuoteEnd--></div><!--QuoteEEnd-->

Does this mean anything to anyone? And is there a way I can fix POTC so I can play it again? <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

Thanks in advance!

Chris
 
<!--quoteo(post=305409:date=Mar 8 2009, 06:11 PM:name=Lord Denby)--><div class='quotetop'>QUOTE (Lord Denby @ Mar 8 2009, 06:11 PM) <a href="index.php?act=findpost&pid=305409"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Good Evening!

It has been a while since I last played POTC, but after watching the film again I decided to have another look at it!
However, after installing it on my new computer I found it didin't work. I decided to install all the latest builds to see if that would change this, but it did not.
I've done the error logging, and this is what it says -

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->RUNTIME ERROR - file: battle_interface\loginterface.c; line: 28
Cant create class: ActionIntrface
RUNTIME ERROR - file: battle_interface\loginterface.c; line: 52
function 'InitLogInterface' stack error
RUNTIME ERROR - file: Interface\BaseInterface.c; line: 19
function 'InitBaseInterfaces' stack error<!--QuoteEnd--></div><!--QuoteEEnd-->

Does this mean anything to anyone? And is there a way I can fix POTC so I can play it again? <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

Thanks in advance!

Chris
<!--QuoteEnd--></div><!--QuoteEEnd-->

Sounds like a corrupt install to me, Uninstall then goto the Beth directory and delete the folder itself, then reinstall and make sure you restart when it says. Let me know if that worked.


BTW Could you tell me why in POTC whenever I port all of my rations and rum disappear? <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
Right well I reinstallled it and restarted it when it said, but it still isn't working - keeps saying the same thing!

I'm playing on Vista - would that be causing the problems?
 
Vista seems not to like the modpack installer writing to Program Files. Try to install the modpack elsewhere, then copy the files onto your game folder and run RunMe.bat afterwards.
 
<!--quoteo(post=305409:date=Mar 8 2009, 07:11 PM:name=Lord Denby)--><div class='quotetop'>QUOTE (Lord Denby @ Mar 8 2009, 07:11 PM) <a href="index.php?act=findpost&pid=305409"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Good Evening!
..However, after installing it on my new computer I found it didin't work. I decided to install all the latest builds to see if that would change this, but it did not.
..Chris<!--QuoteEnd--></div><!--QuoteEEnd-->

By this you mean that you could not get stock POTC to run properly?

If the stock game doesn't work, then none of the build versions will change this. The game still won't work.
 
If you don't mind me asking...do you have a legit copy of the game? If not I suggest you purchase one the one you may have acquired might be corrupt. BTW Vista has been known to mess up quite a lot of games, you can try Pieter said it seems when you install the mod it's missing certain files.
 
PotC can't be copied. i tried it. then again, the game works without CD when you have the mods.
 
You mean copying the CDs themselves? Never tried that. I could easily put the installed files on a disc though. I do that all the time with my various game versions to have a backup.

There are a couple of game CDs that apparently have a corrupted MODULES folder that can be fixed by installing Build 13, which includes the correct files. This is pretty rare though and in general what Petros says is correct. If the stock game doesn't work, the mods will virtually never be able to solve that. You might want to try to figure out why it's not working though. It's not Vista. You don't happen to have an Intel onboard GFX card, do you? The game virtually never works on those. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
Yes, neither the stock game or the game with the build mods on will work. And yes I do have a legit copy of the game, so it wouldn't be that.

I haven't a clue why it doesn't work!

My computer has an Intel Quad Core @ 2.40 GHz and a NVIDIA GeForce 9600 GS graphics card - could these just be too higher spec for the game?
 
Sounds like a corrupt CD to me <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Sorry man.
 
Lord Denby, what's in your compile.log file? That should give us a better indication of how far the game got.

Hook
 
Should not be the specs. You should be fine running it on that rig. I'd say there is something going on with install itself, have you tried installing into a different directory from stock? Have you got any unusual hardware or software settings?

And as hook pointed out, you would do well to enable logging and see what shows up in them.

Cap'n Drow
 
<a href="http://forum.piratesahoy.net//index.php?showtopic=9234" target="_blank">Enabling error logging</a> is never a bad idea.
Other reasons why the game might not work:
- You CDs are of the rare batch with a corrupted MODULEs folder - <a href="http://s31clan.com/privateftps/pietersmods/potc_downloads/modules.zip" target="_blank">solution</a>
- You run ffdshow for your videos - solution: add ENGINE.exe to your exception list
- You have Nero Burning ROM - solution: unknown, but you'd know if this was the case because you get some sort of "debugger" error message

^ Does anyone think we should add the above to a FAQ somewhere?
 
Righty, well I added POTC to the exceptions list, I tried it with the new modules file and installed it in a different place, but alas it still did not work. I don't have a Nero Burning ROM or play videos with ffdshow - so I still have no idea what the devils wrong! Maybe I just have a faulty disc?

I enabled error logging and this is what the files came up with.

Here is what the compile file says -
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Init encounters complete.
Init weathers complete. 10 weathers found.
PauseAllSounds
ResetSoundScheme<!--QuoteEnd--></div><!--QuoteEEnd-->

This is what the system file says -
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Scanning modules\
Loading modules...
Loaded 0
Reset...
Initializing CORE...
Creating atoms space: 128
done
initializing complete
Initializing DirectX 8
ERROR: Techniques: Find duplicate technique name: bladeitem
Techniques: 9 shaders compiled.
Techniques: 181 techniques compiled.
Techniques: compiled by 199417788 ticks.<!--QuoteEnd--></div><!--QuoteEEnd-->

Its different to what it said before, but still doesn't mean anything to me. Any ideas?
Oh and by the way, cheers for the help so far!
 
There is no indication in there about the problem; it all looks normal. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
This doesn't look right:

ERROR: Techniques: Find duplicate technique name: bladeitem

Besides that one line, my system.log is similar, with the next line being "BeginScene".

Do the logo videos appear? Disney, Bethesda and Akella?

It's interesting that only 10 weathers were found. Probably normal for a stock game.

Do a search on your MODULES\Techniques folder for the string bladeitem and see how many files have it. If there's more than one file then one of them is wrong. The bladeitems.sha file can be opened with notepad if you want to look at it. The easiest way is to open an empty notepad and just drag the file to it.

Hook
 
I think I get that message as well. Back in the early days when Build 12.1 was released, the blades lying around in 3D, such as the one in the stock game tutorial, were virtually invisible; I think that's when a bladeitem module file was added to make them visible again. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
When it crashes the videos don't appear, the screen goes black and for a split second you see the loading thing - then it just returns to the desktop.

I found 2 bladeitem files in my modules/techniques folder - is this normal then?

This is what they both say:

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->block blenditemlit()
{
technique t0
{
pass p0
{
CullMode = CCW;
AlphaTestEnable = false;
AlphaBlendEnable = true;
SrcBlend = srcalpha;
DestBlend = one;
ColorArg1[0] = diffuse;
ColorArg2[0] = texture;
ColorOp[0] = modulate;
AlphaArg1[0] = tfactor;
AlphaOp[0] = SelectArg1;
ColorOp[1] = disable;
AlphaOp[1] = disable;
//CullMode = ccw;

Render.Draw

Restore.States

}
}
}

block blenditem()
{
technique t0
{
pass p0
{
CullMode = CW;
AlphaTestEnable = false;
AlphaBlendEnable = true;
SrcBlend = srcalpha;
DestBlend = invsrcalpha;
//ColorArg1[0] = texture;
//ColorOp[0] = SelectArg1;
AlphaArg1[0] = tfactor;
AlphaOp[0] = SelectArg1;
ColorOp[1] = disable;
AlphaOp[1] = disable;
//CullMode = none;

Render.Draw

Restore.States

}
}
}<!--QuoteEnd--></div><!--QuoteEEnd-->

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->/*block bladeitem()
{
technique t0
{
pass p0
{
//t: 0.1 s: 1077952576, e: 2105376
Lighting = true; // was none for blade
CullMode = CW;
//ZWriteEnable = false;
AlphaTestEnable = false;
AlphaBlendEnable = true;
SrcBlend = srcalpha;
DestBlend = one; // items DestBlend = invsrcalpha;
ColorArg1[0] = diffuse;
ColorArg2[0] = texture;
ColorOp[0] = modulate;
AlphaArg1[0] = diffuse;
AlphaOp[0] = SelectArg1;
ColorOp[1] = disable;
AlphaOp[1] = disable;
//CullMode = none;

Render.Draw

Restore.States

}
}
}*/
block bladeitem()
{
technique t0
{
pass p0
{
ZWriteEnable = false;
AlphaTestEnable = false;
AlphaBlendEnable = true;
SrcBlend = srcalpha;
DestBlend = one;
ColorArg1[0] = diffuse;
ColorArg2[0] = texture;
ColorOp[0] = modulate;
AlphaArg1[0] = diffuse;
AlphaOp[0] = SelectArg1;
ColorOp[1] = disable;
AlphaOp[1] = disable;
CullMode = none;

Render.Draw

Restore.States

}
}
}<!--QuoteEnd--></div><!--QuoteEEnd-->

Any ideas?
I really appreciate this help!
 
One of them is commented out with /* and */ tokens. Looks like those don't work in these files.

Make a copy of the file where it appears, then delete everything from the /* to the */ including the two lines:

/*block bladeitem()
}*/

I don't know if this will help, but it probably won't hurt and you can't get the error again.

Hook
 
Back
Top