1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

engine.ini ... syntax error

Discussion in 'Storm Coding' started by Jan Marten, Mar 9, 2016.

  1. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    I found a syntax error in the engine.ini

    Affected
    All games in the series, Sea Dog II, Caribbean Tales, City of Abandoned Ships, To Each His Own
    If he eliminates, the games run better.

    open them the engine.ini
    seek
    program_directory = program
    put them behind
    program_directory = program\
    Save and finish

    That could be the cause of the error in tool / Light Tool the change of files.
    The same error is when Sailor tool. effects unknown
     
    DavyJack, Thagarr and Pieter Boelen like this.
  2. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,563
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    So it does not affect the actual game itself, but does affect the tools?
     
  3. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    Pieter, Pieter what I need to hear :shock

    they look in the directory and engine.ini

    In computer science, a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language.

    For compiled languages syntax errors occur strictly at compile-time. A program will not compile until all syntax errors are corrected. For interpreted languages, however, not all syntax errors can be reliably detected until run-time, and it is not necessarily simple to differentiate a syntax error from a semantic error; many don't try at all.
     
  4. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,563
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Because you refer to the "Light Tool" and "Sailor Tool", I assumed the problem affects those specific tools and not the games themselves.
    After all, if the line that points to the "PROGRAM" folder is wrong, then how can the game run at all? :confused:
     
  5. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    This is a programming error
    but simply with far-reaching consequences
    With simple words ... the connection between source code (.dll files) and the folder progam

    ... It can be exchanged only limited data ...if any

    Episode ... crashes the game, all games
     
  6. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    Has anyone tried this yet?
     
  7. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    After all, if the line that points to the "PROGRAM" folder is wrong, then how can the game run at all?

    A very good question. I think, that has to do with the memory error.

    @ Hylie
    Yes, since crashes CoAS no more under Windows 10
     
  8. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    Well, I just played for a few hours with no crashes but still got the long bad memory list in the system.log.
     
  9. DavyJack

    DavyJack Pirate Queen Storm Modder

    Joined:
    Jun 9, 2013
    Messages:
    1,362
    Gender:
    Female
    Occupation:
    USN
    Does this affect PotC? If it does, can someone upload the latest and modified ENGINE.ini for PotC?
     
  10. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    @DavyJack
    Why so complicated.
    the open with text editor the engine.ini .... put Backslash ... Save and finish :yes

    And I'm testing it now with the TOOL and Light Tool
     
    DavyJack likes this.
  11. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    It is simple. This is my POTC engine.ini. You will be wanting to change the resolution for your laptop tho.

    TOOL still works for me. What is Light Tool? Do I need it?
     

    Attached Files:

    DavyJack likes this.
  12. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    Further testing. I went to Havana and got low frame rates on the waterfront. Then went to Port Royale, which is the same waterfront, and got good frame rates. I remember getting the occasional random CTD on the Havana waterfront.

    Then went to La Tortue where I get constant numerous CTDs and got no CTDs at all!!!!!
     
    Thagarr likes this.
  13. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    What the hell is CDT.
    I'm playing the original POTC with Win 10 and runs well.
     
  14. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,563
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Havana in PotC has extra BuildingSet characters. I imagine when the location is loaded the first time, Levelling would cause some reduced framerates for a while.
    But after you've been in Havana port a while, it should go to the same levels as in Port Royale.

    Crash To Desktop (CTD)
     
  15. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    Ok I understand.
    that comes to my ... spanish ago

    I at PotC a repair of all paths taken. Now running the original.:modding
    I just wanted to what test.
    However, windows 10 has reinstalled something.
     
  16. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    Yes Crash To Desktop. So far it seems to be more stable. At la Tortue the difference is dramatic.

    No, the frame rate stays low. Specifically when facing the sea. When facing land it comes up to normal levels.
     
  17. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    They play the Mod. I only the original in German.
    Tortuga is not a problem here. Just got here
    The question is ... Why


    I do not know the version
     
  18. Jan Marten

    Jan Marten de ZeeRoovers Group Storm Modder

    Joined:
    Sep 27, 2008
    Messages:
    438
    Gender:
    Male
    I note, the original PotC in German works under Windows 10.
    The cause why there unstable or not running are syntax and path error .
     
  19. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,563
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Hmm... odd. :confused:

    Anyway, if this seems to help and definitely doesn't break anything, I'll add it to my game too.
    Then when next I make a huge new archive, I'll include this change. Hopefully it helps for other people too!
    Thanks @Jan Marten. :cheers
     
  20. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,748
    Gender:
    Male
    In the Mod Tortuga has been completely changed and has been very bad for me until today.
     
    Pieter Boelen likes this.

Share This Page