Need list of mod directory names

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yarin

    #1

    Need list of mod directory names

    Hey everyone,
    I want my tool (BF2 Mesh Viewer, see sticky thread in this board) to display "pretty" mod names instead of directory names (for example, "Special Forces" instead of "xpack"). I know there is the Mod.desc file but it seems like this file can use localized strings and I don't want to load the .utxt files just to display pretty mod names as this would be pure overkill.

    Following the KISS paradigm (Keep It Simple, Stupid! ;-) ) I just want to hardcode some mod names into the tool. It would be nice if you could help me bring together a little list of mod names and their mod directory names.

    Current list (will try to update this list periodical in the next few days):

    bf2 = Battlefield 2
    dcon = Desert Conflict CTF
    naw = Nations At War
    surreal = Surreal
    TacticalWar = Tactical War
    xpack = Special Forces
    rc = Rising Conflicts
    CE_Legends = CE Legends
    PRMM = Project Reality Mini-Mod v0.1
    PRMM_02 = Project Reality Mini-Mod v0.2
    mercs = Mercenaries mod
    excentriker = excentriker unlocked weapons mod
    COOP_4.0 = codebasher's Co-Op 32 mod v4
    WCC = Codename WCC Co-Op mod
    aintent = Allied Intent
    21cw = 21st Century Warfare mod
    Battlegroup2 = Battlegroup 2

    Thanks!

    p.s.: If you don't know what I mean.. have a look at your \Program files\EA Games\Battlefield 2\mods\ directory. There are some directories, one for each mod installed. I want these directory names and their corresponding mod names.
  • grolsche

    #2
    Re: Need list of mod directory names

    Cant you just create your own string replacment to replace xpack with Special Forces, it shouldnt be that hard.

    Comment

    • Yarin

      #3
      Re: Need list of mod directory names

      I know and this is not the problem but I can't do it without knowing the mod directory names. There are more mods out there than Special Forces and I can't download them all. This is why I'm asking you to post the names of the mods you have installed (or written) and their corresponding mod names!

      Did you understand this now? I don't need someone to tell me how to this, I want to expand the list of mod directories in my first post!

      Comment

      • Smagma

        #4
        Re: Need list of mod directory names

        naw = Nations At War

        http://www.nations-at-war.com/downloads/images/naw-icon.zip

        Comment

        • grolsche

          #5
          Re: Need list of mod directory names

          Originally posted by Yarin
          Did you understand this now? I don't need someone to tell me how to this, I want to expand the list of mod directories in my first post!
          No need to take a bad attitude.

          Comment

          • Yarin

            #6
            Re: Need list of mod directory names

            Sorry, wasn't meant to be harshly. But if I read this again.. you're right, sounds a bit unkind. Sorry for that.

            p.s.:
            fyi, I'm doing more than just hardcoding a string replacement now. I use an ini file (because I already wrote a wrapper for it for the language and configuration files) now which looks like this:

            Code:
            ; Yarin's Battlefield 2 Mesh Viewer
            ;
            ; This file contains some information about well-known Battlefield 2
            ; mods. This data is just used for cosmetical issues, you can use mods
            ; even if they are not listed here.
            
            [Mods]
            ; Directory 		= Pretty name
            bf2			= Battlefield 2
            xpack			= Special Forces
            dcon			= Desert Conflict CTF
            naw			= Nations At War
            surreal		= Surreal
            
            [Icons]
            ; mod				= <directory><:><icon or exe>[<:><icon number in executable>]
            ;	<directory>		= 0 means App\Mods\foo.ico, 1 means EA Games\Battlefield 2\mods\mod\foo.ico
            ;	<icon or exe>	= relative path to icon or executable (with resources)
            bf2				= 1:..\..\BF2.exe:2
            xpack				= 1:bf2xpack.ico
            dcon				= 1:unins000.exe:1
            surreal			= 1:surreal.ico
            This way I can specify pretty mod names and icons (or executables containg icons) in the mod directory as well as delivered with my tool (if the mod comes without any icons or I want to use a custom one)

            Comment

            • imported_dadofsam

              #7
              Re: Need list of mod directory names

              rc= Rising Conflicts

              Comment

              • jdrou
                Member
                • Jul 2006
                • 1860

                #8
                Re: Need list of mod directory names

                PRMM = Project Reality Mini-Mod v0.1
                PRMM_02 = Project Reality Mini-Mod v0.2
                mercs = Mercenaries mod
                excentriker = excentriker unlocked weapons mod
                COOP_4.0 = codebasher's Co-Op 32 mod v4
                WCC = Codename WCC Co-Op mod
                aintent = Allied Intent

                Comment

                • [21CWDev]JD7

                  #9
                  Re: Need list of mod directory names

                  21cw = 21st Century Warfare mod

                  Comment

                  • [BG2]Panzaman

                    #10
                    Re: Need list of mod directory names

                    Battlegroup2

                    Comment

                    • Yarin

                      #11
                      Re: Need list of mod directory names

                      Originally posted by xxCaptainBlackxx
                      What about
                      Forgotten Hope 2
                      and
                      BF2: Apocalypse.

                      Or only mods that i have?
                      I need the mod directory names, too. Or better - a download link so I can link the mod icons into my app.

                      fyi here is a screenshot how it looks in the mesh viewer:


                      I know thats german but only because I haven't made an english language file right now. The completed release will be multi-language.

                      Comment

                      • zzDimaxx

                        #12
                        Re: Need list of mod directory names

                        I dont have any MODS all of them suck, and no one playing online :cry: i'm waiting for FH and Apocalipse2:p

                        Comment

                        • ctz

                          #13
                          Re: Need list of mod directory names

                          fh2 -> Forgotten Hope 2

                          ps: Hi Yarin, how's things? :)
                          edit: why don't you just parse mod.desc in each mods/ directory? it'd be easier

                          Comment

                          • Yarin

                            #14
                            Re: Need list of mod directory names

                            Originally posted by ctz
                            fh2 -> Forgotten Hope 2
                            Roger! Can you also tell where the mesh viewer can find the icon? (must be .ico or an icon resource in an exe file)

                            ps: Hi Yarin, how's things? :)
                            I'm fine, thanks :-)
                            edit: why don't you just parse mod.desc in each mods/ directory? it'd be easier
                            1) Because mod.desc can contain references to the language files (*.utxt) instead of the mod name.
                            2) Because mod.desc's <icon> field supports image files (dds, png, ...) (which aren't supported by winapi / gdi)

                            Writing code to support utxt, png, dds files and so on would be pure overkill. It's a lot easier to collect the most important mod names in an own file and fall back to the mod folder name (for example bf2 for Battlefield 2) if the mod is unknown.

                            Comment

                            • wolfi

                              #15
                              Re: Need list of mod directory names

                              usi - US Intervention
                              no icon available yet

                              Comment

                              Working...