Here you go, 4D. Ask and you shall receive:
Link
It is still pretty rough, but you can see where I'm going with this.
| |
|
#151
by Citizen 4D - 5/21/2003 1:47:35 AM
I'm impressed HF-O! That was what... Overnight service? 
Looks good.. I wonder though the relationship between some of the keys/aliases. If a new racial identity is created and you create some keys for them, will GalCiv use them? or will I have to rename the existing racial ID's and use the keys associated with the original race?
Being able to edit the english.str effectively will be awesome! I'm looking forward to seeing this in a beta sometime.
Thanks Again HF-O.
| |
|
I'm pretty sure that most of this stuff is hard coded. I'd imagine that all the Table Aliases and Keys are- these entries *must* be something the GalCiv engine will recognize. The Values are editable though.
| |
|
Here's the English.str screen in it's final finished form:
Link
I'll be working on Improvements over the Memorial Day holiday.
Seems so quiet in the Mods forum lately. Anyone working on anything?
| |
|
|
|
Lot's of interesting reading there. I'll definitely pick J Bytheway's brain for engineering issues when the time comes to build a mod-swapper.
| |
|
Playing a last unmodded game before spending a month in Japan. No modding for/from me 'til I'm back.
End transmission.
| |
|
Have fun! Check in when you get back, I might have a surprise for you.
| |
|
#158
by Citizen Littleboy - 5/24/2003 1:02:36 PM
| Seems so quiet in the Mods forum lately. Anyone working on anything? |
|
I'm working on a Mod Swapping Tool, but it's still far from being usable.
Screenshot here: Link
| |
|
Wow! That looks like great. I like the way you worked the graphics into the interface.
What language did you write it in?
I'm not that familiar with modswapping tools, so pardon me if this is a dumb question, but is it normal to list "one-off" mods in the mod-swapper? I guess I'd thought that a mod-swapper would only be useful for "total conversion" mods, where a bunch of files are changed. I didn't realize people might use it to keep track of the single files they downloaded here or there. Interesting.
| |
|
#160
by Citizen Littleboy - 5/24/2003 7:44:09 PM
| What language did you write it in? |
|
It's written in C#, so you need the .NET Framework to run it.
It might not be the best choice for that kind of tool as it's a rather big download, but I began to work on that project to teach myself C#.
I know you can interact with program or dlls writing in VB6 or other languages via COM Interop, but I don't know how to do it yet. I will have to look into it.
I'm not that familiar with modswapping tools, so pardon me if this is a dumb question, but is it normal to list "one-off" mods in the mod-swapper? I guess I'd thought that a mod-swapper would only be useful for "total conversion" mods, where a bunch of files are changed. I didn't realize people might use it to keep track of the single files they downloaded here or there. Interesting. |
|
Well, as there are a lot of different little "mods" in the library I built it that way 
One advantage is that you can do both "total conversion" and "single event/ship/etc" with this approach.
It will have to take into account 'priority'. The first mod in the installed mod list should take precedence over the following (that part is not in the UI yet).
Another problem will be consistency: how to revert back to the original state ? What if the user update the game via SDC with mods installed ?
I can see two solutions:
- On our side: copy the mods file into a temp dir (that the only thing it does now), backup any file that are going to be replaced, build a list of file being added. Then copy the contents of the temp directory into galciv root dir and start the game from the program. When the game terminates, delete all the added files and copy back the original ones from the backup.
- On Stardock side: Have galciv look into a mod directory when run with a special command line switch and load the files from it. Look into the original directories if a file is not in the mod directory.
I think that's how quake III is working (the files are compressed into .pak files though). You can update the data files just by adding a .pak file with the new files.
Of course, I like the second solution better
I will have to talk to Cari to know what can be done.
Any other ideas ?
A word on the way the program works:
Each Mod has it's own directory under %Galciv%/Mods. There should be a "mod.xml" file at the root of %Galciv%/Mods/%ModName% containing mod info(name, version, author, description, compatibility, library, category, email, site). I plan to add multi-language support.
You can also have two optional images: "big.png" and "small.png". Those are the pictures displayed in the listbox and info panel.
Under the mod directories, you place your files in directories that replicate the Galciv's root directory structure.
I have to write a design document next week, to organize my ideas a bit and allow people to comment on them.
| |
|
@Littleboy: Wow, you bring up a lot of good points. I'll respond tomorrow when my brain is not fried from programming 10 hours straight.
I finished Improvements tonight. That's the last of the base files. I'm going to take it easy for a bit before figuring out what to work on next.
Here's a screenie for the Improvements screen, alas there's no pretty picture to display:
Link
| |
|
Sorry for the delay in getting back to you.
| It might not be the best choice for that kind of tool as it's a rather big download, but I began to work on that project to teach myself C#. |
|
That's funny, because if I were to do a ModSwapper, I'd do it in VB.NET- because I need to get up to speed on .NET. In order to justify the time I'd put into it, I'd need something back, i.e. gaining experience in the language.
| One advantage is that you can do both "total conversion" and "single event/ship/etc" with this approach. |
|
*nods*, that's a very good point.
| It will have to take into account 'priority'. The first mod in the installed mod list should take precedence over the following (that part is not in the UI yet). |
|
So a hierarchy then, with a higher ranked mod 'trumping' a lower ranked mod if they both want to install the same file. Again, a sound decision.
| I can see two solutions: ... Any other ideas ? |
|
No, not really. A lot of games use the concept of an 'override' directory- if the file is in \override use it, if not use the normal path. This would, as you mention, make things a lot cleaner for a ModSwapping program, this way we wouldn't be screwing around moving things in and out of \Data. I can't speak to Stardock's development plans, so I'd plan on using your Plan A. So now the program needs to be able to manage some sort of list that details what gets moved around. It's not ideal, obviously.
| Each Mod has it's own directory under %Galciv%/Mods. There should be a "mod.xml" file at the root of %Galciv%/Mods/%ModName% containing mod info(name, version, author, description, compatibility, library, category, email, site). I plan to add multi-language support. |
|
*nods*, yes this occurred to me as well. Part of the challenge here is who makes this xml file? The downloader or the modder?
| I have to write a design document next week, to organize my ideas a bit and allow people to comment on them. |
|
Please do, I'd certainly like to read it over. If you are going to put the ModSwapper together, I can concentrate on other things.
[Message Edited]
[Message Edited]
| |
|
Posted a new public version for the GCW on the home page tonight:
Link
This one has everything but the Improvements and English.str editing screens (those are still in beta). It also has a whole slew of little tweaks and improvements for the other editing screens.
So if you wanted to add some new Anomalies, Political Parties, Invasion Tactics, or Ships, grab this version today!
As always, if you have a suggestion or if you find a bug, post here and let me know, thanks!
[Message Edited]
| |
|
I'm now getting this error report every time I try and edit a tech.
20030529154819412,0,0,"0-",5/29/2003 3:47:41 PM,"*******************************************************
THE FOLLOWING ERROR WAS CAUGHT:
Application: GalCivWriter.exe
Error Source: GalCivWriter
Error Number: 91
Error Description: Object variable or With block variable not set
Date and Time: 5/29/2003 3:47:41 PM
User:
User Message: Attempted to load the techs up... for some reason now, we're crashing. 
Call Stack:
frmTechs_Form_Load
frmTechs_InitForm
modParsing_LoadTargetFiles
modParsing_ParseOutImpFile
*******************************************************",GalCivWriter.exe,GalCivWriter,91,"Object variable or With block variable not set","frmTechs_Form_Load*frmTechs_InitForm*modParsing_LoadTargetFiles*modParsing_ParseOutImpFile","Attempted to load the techs up... for some reason now, we're crashing. "
It WAS working yesterday but not now. Not sure what's going on but. it's odd none the less. Note, it crashes both when trying to read achivements.imp AND gcimps.imp.
| |
|
Forgot to mention, this is with the latest galciv 1.04 updated a few minutes ago. Yesterday was also 1.04.
| |
|
Hi Jeff, what version of the GCW are you running?
| |
|
Grr! Don't bother posting your version, I've found the problem.
How on earth it slipped by my testing is beyond me, I must have slapped it in and then never went into Techs again. It's an easy enough fix.
I'll post an updated 1.2.0 in a little bit on the home page (call it 1.2.0A), and I'll e-mail the betas about a new 1.2.2 as well.
Thanks for the head's up!
| |
|
OK, I've posted 1.2.0A on the home page for the public users.
For the betas, you'll soon receive an e-mail with a download link for 1.2.2.
Thanks for letting me know about this bug, and I'm sorry for the inconvenience.
| |
|
NOT a problem at all HawaiiFive-O. We ALL make mistakes like that... (Yes, fellow programmer )
| |
|
|
|
#171
by Citizen Trelane - 6/2/2003 9:34:24 PM
When will you make the improvements editing screen available?
| |
|
It'll be posted sometime this week/weekend. I'm working on the new version now.
| |
|
#173
by Citizen 4D - 6/4/2003 5:41:31 AM
New Version?? Of Improvements or a Multiple Window Based version of the GalCiv Writer with tabbed interface? 
Keep em Coming HF-O!
| |
|
I second that keep them coming HF-O! Looking forward too whatever it is your working on. I keep checking my website and here to make sure I do not miss a beat.
| |
|
|
|
|