.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 June 5th, 2001, 11:52 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

just a little update...

layout :
i have added the radio controls so right now there is one column in which the differences are shown.

menubar :
i've added a menubar, with the following menu's, view and compare, in voew you can only check "view differences only", and in compare you can choose to compare all cmoponents, only weapons, or only non-weapons.

yet to come :
i still have to save the Last used settings, so that if you restart you don't have to set everything again.


things i'm thinking about adding :

save the differences :
the posibility to save the difference in a txt file.

value specific comparing :
not just weapons or non-weapons, but maybe also just the mineral cost, or the reload rate of a weapon. it will take some work to add this, so unless it's really needed, i probably won't do it.


things i won't add :

tooltips...long technical story
highlighting, another technical story.

let me if you have any other options that should be added.



------------------
Q: When he went, had you gone and had she, if she wanted to and were able, for the time being excluding all the restraints on her not to go, gone also, would he have brought you, meaning you and she, with him to the station?

A: Objection. That question should be taken out and shot.
__________________
[Boo!]
Reply With Quote
  #2  
Old June 15th, 2001, 02:08 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

done!

it's posted here

i didn't add any if the "things i'm thinking about adding" stuff, not enough time for it anymore

the features are:
saves most recently used settings
choose what you want to compare :
everything
nonweapons
weapons

choose what you want to see:
differences only
everything

select up to two(!) files to be compared.

and let me know whar you think of it


[This message has been edited by LemmyM (edited 15 June 2001).]
__________________
[Boo!]
Reply With Quote
  #3  
Old June 16th, 2001, 02:56 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

Unfortunately it hangs consistently at "Tractor Beam II" while loading the default "components.txt" from either v1.35 or v1.30. My modified file from the TDM modpack in the "modpath" directory loads fine. 256MB of RAM so I doubt it's a free memory issue. I didn't find any extraneous blank lines around that component. Any suggestions?

It saved the settings, and reloaded them correctly except for the file which hung. That entry came up with the default directory where I installed your program.

The screen layout works fine for me, and the options look sufficient. Looking forward to getting it to load.
__________________
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
  #4  
Old June 17th, 2001, 12:40 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

oh, i forgot to mention this...
If you open component.txt and search for Tractor beam II, and look at the line that says
"Weapon Display := .. "
there are two of them, and there should be only one.
I already send an e-mail to Aaron about this and it is fixed in the next patch, so the program should work fine then, for now you'll just have to delete the extra line from your component.txt file.

------------------
Q: When he went, had you gone and had she, if she wanted to and were able, for the time being excluding all the restraints on her not to go, gone also, would he have brought you, meaning you and she, with him to the station?

A: Objection. That question should be taken out and shot.
__________________
[Boo!]
Reply With Quote
  #5  
Old June 18th, 2001, 05:45 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

Argh! I should have remembered you mentioning that. Fixed it in my ModPath files but not the originals. Everything works fine now.

In there any possibility of somehow otherwise marking the difference lines in the two files since highlighting isn't possible? Inserting a marker at the beginning of the line display for instance? How about a "save differences" option, based upon the current comparison view of course? Though I can see that getting tricky as you might want to only have SOME of the differences in one comparison view and some from the other. But we have to remember that is the object of the exercise. Would it be possible to allow selection of the component from the current side by side comparison view to be saved? A checkbox would probably do, but you would need to track them in order to write them all out on command. But you should be able to put all the selections from either compared file into the same "diff" file, since that is what they will want to be using. I wouldn't advise writing a selection out immediately as people often change their mind after seeing how they balance against other items.

Good progress.


[This message has been edited by Dubious (edited 18 June 2001).]
__________________
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
  #6  
Old June 18th, 2001, 10:57 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

quote:
In there any possibility of somehow otherwise marking the difference lines in the two files since highlighting isn't possible? Inserting a marker at the beginning of the line display for instance?


It should be possible to insert a marker at the start of a line, i'll try and see how it works.

quote:
How about a "save differences" option, based upon the current comparison view of course? Though I can see that getting tricky as you might want to only have SOME of the differences in one comparison view and some from the other.


It's possible. If this is what you mean:
Two files are selected, and only the weapons have been compared, file 1 has been compared to file 2, now if you choose to save the difference, all of the components from the list are saved, just like in a component.txt file. ?

quote:
Would it be possible to allow selection of the component from the current side by side comparison view to be saved? A checkbox would probably do, but you would need to track them in order to write them all out on command. But you should be able to put all the selections from either compared file into the same "diff" file, since that is what they will want to be using. I wouldn't advise writing a selection out immediately as people often change their mind after seeing how they balance against other items.


It would be possible, it would also take sme time to program it.
But why would you want such a file?
You couldn't use it in a game because of the different tech requirements in a mod, this problem has been mentioned before.

------------------
Q: When he went, had you gone and had she, if she wanted to and were able, for the time being excluding all the restraints on her not to go, gone also, would he have brought you, meaning you and she, with him to the station?

A: Objection. That question should be taken out and shot.

[This message has been edited by LemmyM (edited 18 June 2001).]
__________________
[Boo!]
Reply With Quote
  #7  
Old June 18th, 2001, 06:43 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: file/mod comparing

quote:
Would it be possible to allow selection of the component from the current side by side comparison view to be saved?
Until something like this can be coded, could you work around it by saving a screenshot of the program?

------------------
Cap'n Q

The most merciful thing in the world, I think, is the inability of the
human mind to correlate all of its contents. We live on a placid
island of ignorance in the midst of black seas of infinity, and it was
not meant that we should go far. -- HP Lovecraft, "The Call of Cthulhu"
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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:17 PM.


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