Results 1 to 4 of 4

Thread: PFM - RTW2 Main_units Table Error

  1. #1
    Miles
    Join Date
    Jun 2005
    Location
    England
    Posts
    330

    Default PFM - RTW2 Main_units Table Error

    Hi, hoping someone here can help me.

    I've been using the PFM for years now and have come across an error I cannot solve, I suspect perhaps an update to RTW2 has caused this.
    I have tried this with multiple versions of PFM (5.0, 4.1.2, 3.2.1) that it previously worked on.

    I am able to access an existing mod and view the files, but if I try and create a new one, those exact same files are causing the following error message:

    Failed to open main_units: system.nullReferenceException:object
    reference not set to an instance of an object.
    att DBTablecontrol.DBeditorTableControl.CreateTable(DBfile table)
    at
    DBTableControl.DBEditorControl.Set_CurrentPackedFile(PackedFile
    value)
    at
    PackFileManager.PackFileManagerForm.OpenPackedFile(PackedFileEdit
    or editor, PackedFile PackedFile)

    Help Please!

    Edit: Just realised this is in the wrong forum...sorry!

  2. #2
    Frunk's Avatar Form Follows Function
    Moderator Emeritus

    Join Date
    Jun 2009
    Location
    Gold Coast
    Posts
    6,493

    Default Re: PFM - RTW2 Main_units Table Error

    Edit: Just realised this is in the wrong forum...sorry!
    No problem!

    Thread moved from Total War: Warhammer I & II Mod Workshop > Tools, Tutorials and Resources.
    FrunkSpace | Mod Announcements | Colonies & Empires

    Under the patronage of Iskar of the House of Siblesz. I am the proud patron of:

    atthias | PaulH | Athos187

  3. #3
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,876

    Default Re: PFM - RTW2 Main_units Table Error

    Quote Originally Posted by apw2 View Post
    I suspect perhaps an update to RTW2 has caused this.
    Are you asking about Warhammer modding, or Total War Rome 2 modding?

    The only things I can suggest to avoid this error are to make sure you don't have any of the Total War games/Assembly Kits or other PFM windows running.
    You might also want to try updating to the latest PFM schema (I can never remember where they're stored)



  4. #4
    Miles
    Join Date
    Jun 2005
    Location
    England
    Posts
    330

    Default Re: PFM - RTW2 Main_units Table Error

    Ah that has sorted it, thank you! Never had to update the Schema before so I've learnt something new today!

Posting Permissions

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