Results 1 to 9 of 9

Thread: Pack File Manager problem.Any help?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Pack File Manager problem.Any help?

    I am currently creating my overhaul mod of TWR2 by using the PFM.I've reached the point where I want to change some unit skins to my liking,including the addition of new shield patterns.Everything works fine until the moment that I have to save my new diffuse.dds in the variantmeshes file in PFM.

    The problem is that the diffuse.dds ignores the path that I instruct and goes randomly on the top of the mod (just under the title) and not in the variantmeshes,where it's supposed to go.The right path is variantmeshes/variantmodels/man/pattern/hellenic,so I right click on hellenic and then press add/file and then my diffuse.dds.If I press save it goes to the bottom of the mod under the variantmeshes file,not in it.So the mod cannot read the correct path obviously and my new patterns cannot appear in the game.Do you guys have any idea of how I can fix this?

  2. #2
    Kurisu Paifuaa's Avatar Biarchus
    Join Date
    Mar 2009
    Location
    Pennsylvania, US
    Posts
    621

    Default Re: Pack File Manager problem.Any help?

    Quote Originally Posted by perifanosEllinas View Post
    I am currently creating my overhaul mod of TWR2 by using the PFM.I've reached the point where I want to change some unit skins to my liking,including the addition of new shield patterns.Everything works fine until the moment that I have to save my new diffuse.dds in the variantmeshes file in PFM.

    The problem is that the diffuse.dds ignores the path that I instruct and goes randomly on the top of the mod (just under the title) and not in the variantmeshes,where it's supposed to go.The right path is variantmeshes/variantmodels/man/pattern/hellenic,so I right click on hellenic and then press add/file and then my diffuse.dds.If I press save it goes to the bottom of the mod under the variantmeshes file,not in it.So the mod cannot read the correct path obviously and my new patterns cannot appear in the game.Do you guys have any idea of how I can fix this?
    Check your path. The path I have is ..\variantmeshes\_variantmodels\man\patterns\hellenic . Maybe just a typo in your post... if not, that could be the problem... underscore in _variantmodels folder name and patterns should be plural.

  3. #3

    Default Re: Pack File Manager problem.Any help?

    Quote Originally Posted by Kurisu Paifuaa View Post
    Check your path. The path I have is ..\variantmeshes\_variantmodels\man\patterns\hellenic . Maybe just a typo in your post... if not, that could be the problem... underscore in _variantmodels folder name and patterns should be plural.
    I wish it was that simple mate,but unfortunately it's just typing mistake in the post.As I said in the first post

    I right click on hellenic and then press add/file and then my diffuse.dds
    I don't type the path myself.If I did,the first thing I would check would be the spelling.I know that it's a quite weird error.I've been searching for the solution for a while and I didn't find anyone even mentioning this.What really bothers me is that this error has stopped the progress of my mod,so I really need to find a solution as soon as possible.Thanks anyway.

  4. #4
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Pack File Manager problem.Any help?

    Is the file path you are importing from the same as where you want to to end up?

    In this case, <mod_folder>/variantmeshes/variantmodels/man/pattern/
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  5. #5

    Default Re: Pack File Manager problem.Any help?

    Quote Originally Posted by crzyrndm View Post
    Is the file path you are importing from the same as where you want to to end up? In this case, /variantmeshes/variantmodels/man/pattern/
    No,the file is imported from a folder on my desktop and it is imported into this path <mod_folder>/variantmeshes/variantmodels/man/patterns/hellenic.

  6. #6
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Pack File Manager problem.Any help?

    Put in a folder structure the same as its destination. I don't think it matter where you try and import it from in PFM
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  7. #7

    Default Re: Pack File Manager problem.Any help?

    Quote Originally Posted by crzyrndm View Post
    Put in a folder structure the same as its destination. I don't think it matter where you try and import it from in PFM
    I'm not sure if I understood correctly,but I created this path my_mod.pack/variantmeshes/_variantmodels/man/patterns/hellenic in the folder on my desktop and it didn't work.The diffuse.dds goes again randomly on the top of the mod

    I created those as new folders inside the folder.
    Last edited by perifanosEllinas; December 18, 2013 at 07:42 AM.

  8. #8
    Kurisu Paifuaa's Avatar Biarchus
    Join Date
    Mar 2009
    Location
    Pennsylvania, US
    Posts
    621

    Default Re: Pack File Manager problem.Any help?

    Odd... Add > File(s) should add a single file or files to the folder from which you issue the context menu command, regardless of the path in your working folder. Not sure what's up with that.

    I think crzyrndm is suggesting that you mirror the folder structure you want for the mod pack in your working folder (on desktop, or wherever), then use Add > Directory, instead of Add > File(s), to pack up the whole thing. That's one way that should avoid your issue and is probably good form, in general.

    You could also use Add > From Pack to select and import the files (or whole directories) you want to edit from the vanilla pack (e.g. models_rome2.pack). That will keep the original path and folder structure intact. Save the pack. You can then extract the whole thing to create a working folder with correct paths. After editing, you can use either Add Directory to pack up everything or Replace File (which is in the top File menu, not the context menu ) for individual files. Add File(s) should work as expected though, at least it does for me.

    One thing that is currently bugged with PFM is the ability to 'edit in place'. That's where you double click a file (or issue Open > Open External...) for editing. PFM then asks you if you want to overwrite the packed file with the edited copy. However, it only works once per PFM session as it gets stuck on the first instance of the temporary file copy. Drag and drop does work for individual files, but you have to use Replace File to get it back in.

    Hope that helps.

  9. #9

    Default Re: Pack File Manager problem.Any help?

    Quote Originally Posted by Kurisu Paifuaa View Post
    Odd... Add > File(s) should add a single file or files to the folder from which you issue the context menu command, regardless of the path in your working folder. Not sure what's up with that.

    I think crzyrndm is suggesting that you mirror the folder structure you want for the mod pack in your working folder (on desktop, or wherever), then use Add > Directory, instead of Add > File(s), to pack up the whole thing. That's one way that should avoid your issue and is probably good form, in general.

    You could also use Add > From Pack to select and import the files (or whole directories) you want to edit from the vanilla pack (e.g. models_rome2.pack). That will keep the original path and folder structure intact. Save the pack. You can then extract the whole thing to create a working folder with correct paths. After editing, you can use either Add Directory to pack up everything or Replace File (which is in the top File menu, not the context menu ) for individual files. Add File(s) should work as expected though, at least it does for me.

    One thing that is currently bugged with PFM is the ability to 'edit in place'. That's where you double click a file (or issue Open > Open External...) for editing. PFM then asks you if you want to overwrite the packed file with the edited copy. However, it only works once per PFM session as it gets stuck on the first instance of the temporary file copy. Drag and drop does work for individual files, but you have to use Replace File to get it back in.

    Hope that helps.
    Oh,thanks so much!!! I added directory instead of file(s) and it worked fine!!!I have my first units reskinned already!!! I'm so excited!!! Here,have some rep for the help

Posting Permissions

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