.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old July 23rd, 2004, 06:17 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Modding question

Does all mods always have a modinfo.txt?
If I'm making a program that uses mods, do I have to have a backup system for naming mods, ie grabbing the path name instead of the name from the modinfo.txt file.
All my mods have a modinfo.txt but I don't know if it's a universal truth.
Reply With Quote
  #2  
Old July 23rd, 2004, 06:51 AM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: Modding question

99% of them have this file. I saw only 2 mods without modinfo.txt: Deathstalker mount mod (which is single file) and Graumod.
Reply With Quote
  #3  
Old July 23rd, 2004, 07:11 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: Modding question

Quote:
Originally posted by aiken:
99% of them have this file. I saw only 2 mods without modinfo.txt: Deathstalker mount mod (which is single file) and Graumod.
Thanks, a reserve plan is needed then.
Reply With Quote
  #4  
Old July 26th, 2004, 06:00 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Modding question

Such a file is generated automatically by the Mod Launcher for any mod that does not have a modinfo.txt already. It would probably be best to design your program to mimic the modinfo.txt functionality of the Mod Launcher exactly. No point in creating multiple files in there...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old July 26th, 2004, 06:28 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: Modding question

I was just thinking of using the Last bit of the pathname as name if I don't find the Modinfo.txt, but it would perhaps be easier to make one and insert that name. Will do that, thanks for the tip.
I've incorporated your idea about plug-ins aswell, not that it removes any functions, but it's easier to add new ones Not what you where after I guess

The proggie owes a lot of it's look to the Launcher already so why not.
(Not colors and such but the listbox with games is similar, the companion is a bit more boring windows standard type program now).

EDIT:
I can add one when the user adds a mod manually, but the autofunctions searches for the modinfo.txt when it looks for mods.
I see that the modlauncher makes modinfo.txt files for every subdirectory in the mods directory, i wondered before why some of those directories had those files when they obviously wasn't mods
So autosearch will just search for modinfo.txt as it will search the entire path under the game directory and not just the mods directory, but it will be possible to add other mods manually and then a modinfo.txt will be manufactured by the program.

[ July 26, 2004, 18:21: Message edited by: Ruatha ]
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:42 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.