Results 1 to 13 of 13

Thread: CTD after first screen, where should I look for the error?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Ellderon's Avatar
    Join Date
    Dec 2006
    Location
    Croatia
    Posts
    10

    Default CTD after first screen, where should I look for the error?

    Following the tutorial for making your own faction from nothing, I started making one.
    I decided to go for the mod folder approach, as it's generally a smarter thing to do. Now I've been modding games for 6 years or so (from space-empire sims, shooters, strategies and RPG's) so I really have no problem with learning how to mod MTW2 (alltough it's one of the more trickier games to mod)

    I made the faction (and banners, custom textures, units, UI stuff and practicly everything else that's not in the tutorial, but I placed it in a differrnt folder for I wanted to test just the bare faction with nothing extra - no banners, units, etc.) and started the mod.

    I get the hourglass loading, then the first screen with the charging knights and then a black screen as hte hourglass spins on and on but nothing happens and the HD is quiet. When I press something the game chrashes and I get a unspecified error in the log.

    the error has to be in one of the files but I didn't find anything. So I ask - which files are laoded immediately on game startup? - for it has to be one of those

  2. #2
    Member Member Ellderon's Avatar
    Join Date
    Dec 2006
    Location
    Croatia
    Posts
    10

    Default Re: CTD after first screen, where should I look for the error?

    Help PLS?

  3. #3

    Default Re: CTD after first screen, where should I look for the error?

    i got this type of error when with the attachements in the modeldb file ... but how you can hope to find what error its ? can be a typing error anywhere... something that is missing ... when you mod you have to make a little step and control immediately if everything is working , if you go too far is impossible to find the error ...

  4. #4
    Masticator of Oreos Member Foz's Avatar
    Join Date
    Dec 2006
    Posts
    968

    Default Re: CTD after first screen, where should I look for the error?

    As far as I know, everything you can mod in the game is loaded when you start up. Most of the text files (.txt or .xml) say explicitly that they load once and then are not referred to, and I think in general we can assume that game files are compiled by the game into whatever format it likes them in, then referred to at will from there. So... yeah. It could be in any given file you unpacked


    See my Sig+ below! (Don't see it? Get info here)

  5. #5

    Default Re: CTD after first screen, where should I look for the error?

    What you can do is to enable logging, and then check the logfile after it crashes - it should point you in the right direction.

    What you need to do is add a few lines to the .cfg file of the mod you're using (or medieval2.preference.cfg if you're running the 'basic' game)

    if you add:
    Code:
    [log]
    to = logs/system.log.txt
    level = * error
    Into the file in question, you should see a 'logs' folder show up, and a system log will dump into that folder when you run the game.

    Take a look at the log when it crashes and it should give you the error, generally with the offending file and line number where the code goes bad.

  6. #6
    Member Member Ellderon's Avatar
    Join Date
    Dec 2006
    Location
    Croatia
    Posts
    10

    Default Re: CTD after first screen, where should I look for the error?

    It gives me a "unspecified error", here:

    00:20:04.921 [system.rpt] [always] CPU: SSE2
    00:20:04.921 [system.rpt] [always] ==== system log start, build date: Dec 5 2006 version development ===
    00:20:05.046 [system.io] [always] mounted pack packs/data_0.pack
    00:20:05.125 [system.io] [always] mounted pack packs/data_1.pack
    00:20:05.203 [system.io] [always] mounted pack packs/data_2.pack
    00:20:05.281 [system.io] [always] mounted pack packs/data_3.pack
    00:20:05.375 [system.io] [always] mounted pack packs/data_4.pack
    00:20:05.375 [system.io] [always] mounted pack packs/localized.pack
    00:20:27.812 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.



    And I re-did everything from scratch too..Since I can't figure out what's wrong, I'm gonna upload a rar with my mod folder (just the basic files, no textures, banners, maps and stuff like that for they would make the file to big, but I did make everything). If anyone cares to take a look:

    http://www.hades-combine.com/web/hos.../MTW2mymod.rar

  7. #7
    Member Member Re Berengario I's Avatar
    Join Date
    Nov 2003
    Location
    Italy
    Posts
    336

    Default Re: CTD after first screen, where should I look for the error?

    First of all you should put these lines

    [log]
    level = * trace

    in your cfg file so you can see a bit better when the CTD problem is encountered in the log.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO