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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2001, 04:36 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: file/mod comparing

quote:
Lemmy, your first post and this one are only 5 1/2 hours apart

hehe, yeah i was a bit impatient, that's what happens if you don't have a life i guess
__________________
[Boo!]
Reply With Quote
  #2  
Old May 22nd, 2001, 04:04 AM

Dubious Dubious is offline
Corporal
 
Join Date: Feb 2001
Location: Lansing, MI, USA
Posts: 118
Thanks: 88
Thanked 30 Times in 20 Posts
Dubious is on a distinguished road
Default Re: file/mod comparing

Lemmy, if you really want to program something consider a program to allow the modders to produce a "difference" file with just their changes to the standard files. What we need is a program which would take that 'diff' file and allow the 'non-modder' player to merge the difference file with the existing file in the 'modpath' directory. This would allow several independent mods to be merged together.

While simple in theory, this is quite complex because many mods alter a number of files to different degrees and all the changes are needed for it to work together correctly the way the author intended. What's probably needed is a multi-pass approach to identify what (in general terms) gets modified and then whether the file or specific parameter has already been modified from that distributed with the game. Then an option to merge the changes wholesale or piecemeal. Whenever presented with a dilemma as to what to do, offer the user a choice.

Or you can take a look at some of the mod tools which are already in the modding archive and work on something which is missing. Zeno42 is the most active in this area as I recall.
__________________
All sources are dubious until their reliabilty has been repeatedly proven. Even then their information should be independently verified.
- The unwritten spooks handbook
Reply With Quote
  #3  
Old May 22nd, 2001, 10:54 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: file/mod comparing

i like that idea, but as you said it's is quite complex because you can't just merge two components.txt files, you have to merge all of the files, or at least all of the modded files. I will take a good look at the files and see if it is possible for me to program it in a acceptable time period (several weeks).
But before i start working it, i think i will first finish the comparing program.
__________________
[Boo!]
Reply With Quote
  #4  
Old May 23rd, 2001, 12:53 PM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: file/mod comparing

Dunno if this info will be helpful...

The generic file difference program I often use is called WinMerge. The souce/binary are available here:
http://winmerge.sourceforge.net/

Reply With Quote
  #5  
Old May 24th, 2001, 01:23 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: file/mod comparing

it seems like a good program, but it's not what i had in mind with my program.
Right now my program compares two component.txt files and lists all of the components that exist in the first file but not in the second file, at least not with the same values for mineral costs, tonnage space etc.
So it doesn't just compare the txt files, but the components itself.

This actually works now, but it only compares the "component part" of a component, so two AP beams which are exactly the same except for the damage, will still be seen equal, for now. There are still many features which i would like to add to it, but that will take time of course.
__________________
[Boo!]
Reply With Quote
  #6  
Old May 23rd, 2001, 08:00 PM

chewy027 chewy027 is offline
Second Lieutenant
 
Join Date: Mar 2001
Posts: 539
Thanks: 0
Thanked 0 Times in 0 Posts
chewy027 is on a distinguished road
Default Re: file/mod comparing

Lemmy i for one will use your program sp bring it on. Now i can easily combine new techs from all the different mods thanks
Reply With Quote
  #7  
Old May 25th, 2001, 11:45 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: file/mod comparing

i'll see if can post a beta Version of the program tonight, it pretty much works as i intended to, i only have to expand it so it also compares the weapons completely. That will be finished next week i think.

[This message has been edited by LemmyM (edited 25 May 2001).]
__________________
[Boo!]
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 11:10 AM.


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