Results 1 to 6 of 6

Thread: export_units.txt character limit?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default export_units.txt character limit?

    Is there a limit to how many characters may exist in export_units.txt?

    I have this weird problem where if I have X characters everything loads fine, but if I add just one more the game crashes.

    Now the weird thing thing is that my descriptions aren't even that wordy, and quite a few units don't have them yet...


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: export_units.txt character limit?

    If there is I certainly dont know about it.

  3. #3
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: export_units.txt character limit?

    Can you conceive of a single possible reason why the game would crash after entering one more character? Agh....


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: export_units.txt character limit?

    Another limit reached? Any idea how many characters? I believe if you load it in MSWord, the character count is given on the bottom.










  5. #5
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: export_units.txt character limit?

    Quote Originally Posted by gigantus View Post
    Another limit reached? Any idea how many characters? I believe if you load it in MSWord, the character count is given on the bottom.
    Notepad++ also has this function, it's called "nb char" and shows at the bottom of a document. For reference:

    EB (1.0?): 956k

    BC (1.0?): 618k

    Third Age (1.1?): 360k

    RTR (6.0?): 300k

    DLV (6.1?): 278k

    Vanilla M2: ~200k

    * Version numbers are guesses, those are just a few mods I had lying around on my comp for code reference, so prob not the latest version on most

    So I suppose if that one character puts you over, say, a million, it's possible though extremely unlikely. If it isn't a number of some significance either in terms of being rounded off or in programming, then it's unlikely(possibly the game can only convert files under X size to .strings.bin is the only thing I can think of). But I wouldn't know what would be causing it. EB's EDB is 3,322,382 characters, probably the biggest file you'd find, but remember in Rome they don't seem to have strings.bin files, well that or I just never ran the mod. BC's EDB is 819k chars which results in a 1,826 kb .strings.bin file, DLV's EDB is 973k chars. So the largest pre-strings file I've found on M2 in my mods is 973k chars.
    Last edited by Augustus Lucifer; September 09, 2009 at 04:51 AM.

  6. #6
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: export_units.txt character limit?

    Quote Originally Posted by gigantus View Post
    Another limit reached? Any idea how many characters? I believe if you load it in MSWord, the character count is given on the bottom.
    It is almost certainly not reached, because like I said half my units don't even have descriptions yet, and those which are there are short and to the point. EB's were these long rambling descriptions, and they had it for each unit. So it's something wrong somewhere else. My harddrive is at various times failing, and adding broken fragments in middles of my files without my knowing it, so that errors are added and things stop working for no apparent reason, sigh...


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •