Results 1 to 30 of 72

Thread: Tutorial: Adding a new faction symbol

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by Lusted
    Just got everything ingame and it worked like a charm, though it looks like the 2 .sd files might need to be in the main ui folder and not a mod switch ui folder. Hopefully this will be fixed with the fix of file paths in 1.2.
    A mod folder works fine for me. I made the screen with a mod-folder version.
    It might be that you need a version of these files in the normal data folder, too, though - you could try copying the vanilla files into it and then try it with a mod folder. That's pretty much my setup (I have the unpacked files in the vanilla data folder)

  2. #2
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: Tutorial: Adding a new faction symbol

    Yeah it appears you do need a version of these files in the vanilla folder as well as the mod folder, just in the mod folder doesn't work.

  3. #3
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Tutorial: Adding a new faction symbol

    Whenever I try to convert the file, I get this error:

    "struct.error: unpack requires a string argument of length 1"

    any ideas?

    LC
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by Lord Condormanius
    Whenever I try to convert the file, I get this error:

    "struct.error: unpack requires a string argument of length 1"

    any ideas?

    LC
    Please quote the full program output (including the Reading ... and Writing ... statements), otherwise I can't really look into it. Sounds like a file ended preliminary.

    @Lusted: Ok, I'll put it into the tutorial.
    Last edited by alpaca; 03-16-2007 at 15:21.

  5. #5
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by alpaca
    Please quote the full program output (including the Reading ... and Writing ... statements), otherwise I can't really look into it. Sounds like a file ended preliminary.
    Ok... here is the full output

    Code:
    Reading strategy_sd_desc.txt
    Reading modpage_strat.txt
    Traceback <most recent call last>:
      File "C:\Documents and  Settings\Administrator\Desktop\.sd_Converter\sd_converter_1_0.py", line 752, in <module>
        sdf.compile<sdtopaths[sdf]>
      File "C:\Documents and  Settings\Administrator\Desktop\.sd_Converter\sd_converter_1_0.py", line 685, in compile
        if not page.isComplete<> or not ent.isComplete <>:
      File "C:\Documents and  Settings\Administrator\Desktop\.sd_Converter\sd_converter_1_0.py", line 216, in isComplete
        self.readMouseoverTGA<self.file>
      File "C:\Documents and  Settings\Administrator\Desktop\.sd_Converter\sd_converter_1_0.py", line 203, in readMouseoverTGA
        a = readByte<f>
    File "C:\Documents and  Settings\Administrator\Desktop\.sd_Converter\sd_converter_1_0.py", line 13, in readByte
        return struct.unpack<'B', fhandle.read<1>>[0]
    File "C\Python25\lib\struct.py", line 87, in unpack
        return o.unpack<s>
    struct.error: unpack requires a string argument of length 1
    Any help would be great!

    LC
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

  6. #6
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by Lord Condormanius
    Ok... here is the full output

    Any help would be great!

    LC
    Hmm strange, could you upload your modpage.tga and modpage_strat.txt somewhere (or attach them here) so that I can try to reproduce this?

  7. #7
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Tutorial: Adding a new faction symbol

    Quote Originally Posted by alpaca
    Hmm strange, could you upload your modpage.tga and modpage_strat.txt somewhere (or attach them here) so that I can try to reproduce this?
    I posted them at the original thread at TW Center http://www.twcenter.net/forums/showp...12&postcount=3.

    For some reason, they won't let me post attachments at the Guild.

    LC
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

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