SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-12-06, 05:58 PM   #1
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by jasonb885
Kind of wish I posted my code for doing that, now, as maybe someone would've actually benefited from it. But then, it was in Perl, so I doubt too many people would care.

Maybe I'll get around to it anyway...
Yeah. I also sometimes think about releasing some parts, but it only makes sense if someone explicitly asks for it.

I think what's needed would be a high level, open-source API for reading and writing to Silent Hunter III files, like menu_1024_768. It could make merging mods a breeze, or allow writing installers for complicated mods, like 6-dials mod.

I once thought about starting an initiative, but I don't think I have the time.
__________________

GlobalExplorer is offline   Reply With Quote
Old 03-13-06, 10:34 AM   #2
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
I think what's needed would be a high level, open-source API for reading and writing to Silent Hunter III files, like menu_1024_768. It could make merging mods a breeze, or allow writing installers for complicated mods, like 6-dials mod.

I once thought about starting an initiative, but I don't think I have the time.
Sign me in , I think it's not possible for one person to make it, but with the combined efforts of all the modders it would be more than possible, perhaps starting a wiki, where anyone that figures some part of the sim can publish his findings :hmm:
The hard part wil be putting away personal pride and varoius jelousy issues

Ref
__________________
ref is offline   Reply With Quote
Old 03-15-06, 09:35 PM   #3
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

GE

Is it possible to make this work on "single missions" ????

Leigh
lurker_hlb3 is offline   Reply With Quote
Old 03-15-06, 11:28 PM   #4
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
Quote:
Originally Posted by jasonb885
Kind of wish I posted my code for doing that, now, as maybe someone would've actually benefited from it. But then, it was in Perl, so I doubt too many people would care.

Maybe I'll get around to it anyway...
Yeah. I also sometimes think about releasing some parts, but it only makes sense if someone explicitly asks for it.

I think what's needed would be a high level, open-source API for reading and writing to Silent Hunter III files, like menu_1024_768. It could make merging mods a breeze, or allow writing installers for complicated mods, like 6-dials mod.

I once thought about starting an initiative, but I don't think I have the time.
The deal for me is I'm not familiar with any Windows-based programming languages or Java and I've not used .NET or Mono under Linux, the latter getting your compatibility for commandline stuff although I don't believe GUI stuff.

I suppose I could publish a spec, though, which details the fields and how they're interpreted. That would be useful in and of itself, actually.

__________________
X1 = Thieves

Starforce officially promotes piracy of unprotected game, Galactic Civilizations II! eh?

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-17-06, 08:56 AM   #5
Sgian Dubh
Officer
 
Join Date: Sep 2002
Posts: 245
Downloads: 0
Uploads: 0
Default

Is this compatible with RUB+Harbortraffic+SHIIcommander?
Sgian Dubh is offline   Reply With Quote
Old 03-17-06, 09:30 AM   #6
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
I think what's needed would be a high level, open-source API for reading and writing to Silent Hunter III files, like menu_1024_768. It could make merging mods a breeze, or allow writing installers for complicated mods, like 6-dials mod.

I once thought about starting an initiative, but I don't think I have the time.
Actually, SH3Cmdr already contains the code to do this, it's just been implemented for a different purpose (you can currently build a whole Basic.cfg file from the ground up with whatever bits and pieces you like). Wouldn't take much to extend it. It's actually been on my mind since SH3Cmdr R2.0...I've just never had the time to pursue it as a specific task because there are so many different ways to do it...from the basic (simply compare two versions of a file and ask the user to confirm a merge of each difference) to the complex (maintain a back end database with the values stored for common mods and let the user simply "pick" the mod components they want).

I prefer the latter approach as the file "build" process would be transparent to the user as the database would manage conflicts and content etc, but maintaining and keeping the database up-to-date would be a dog.

You know, what would be perfect, is to maintain all the individual mod files on one central server. The player would, from time to time, simply run a client/web front end which would present them with a list of all stored mods. They'd simply click whatever they wanted (like online shopping really) and submit. The front end would interact with the back end server database, gather or build the individual files required (based on stored rules/procedures), and download them to the user's machine, in, of course, JSGME ready format.

Of course, by the time this was completed, we'd be playing SH5...
JScones is offline   Reply With Quote
Old 03-17-06, 09:52 AM   #7
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Another, perhaps more realistic alternative, is for modders to "build" the database themselves when they're compiling their mod. The end result NOT being a whole swag of different config files like is the case now, but just ONE file containing ONLY the values that their mod changes (a simple interface could facilitate the building of this file). As a simple example, think of SH3Cmdr's "Medals and renown.cfg" file.

When the user d/ls the mod, they run a builder/merge tool that "expands" these values back into the game's config files. The builder/merge tool would keep track of what the user has installed/uninstalled previously and would report any conflicts, or perhaps handle conflicts gracefully based on rules set by the modder (kinda like JSGME but more specific).

Anyway, I'm just thinking on the fly here...it's 2am...sleepy-bye time.
JScones is offline   Reply With Quote
Old 03-17-06, 03:50 PM   #8
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by Sgian Dubh
Is this compatible with RUB+Harbortraffic+SHIIcommander?
It is compatible with RUB 1.45, HT 1.47, IUB until 1.02, all of the "german" modpacks I know of, and generally everything until last month. The new modpacks I have not tried, but probably work. Please read the first message of this thread if you want more information. I am not running any tests anymore myself, so you are invited to post first results.

Quote:
Originally Posted by lurker_hlb3
GE
Is it possible to make this work on "single missions" ????
Leigh
I don't know, it might be possible, but I am not working on it. So far I don't have interest in single missions, but thanks for this suggestion.
__________________

GlobalExplorer is offline   Reply With Quote
Old 03-17-06, 04:18 PM   #9
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by JScones
Anyway, I'm just thinking on the fly here...it's 2am...sleepy-bye time.
My eyes started to bleed after the first paragraph ..

At least I understand that you are talking about a tool that inserts mod data into ShIII file structures, intelligently resolving conflicts and merging stuff as far as possible. That would make a lot of people happy, especially if you released it as a dll that others can link to.

I think this also might be more realistic than the community / opensource approach, from my experience. Reason is there are too many languages around, Sh3Gen is C#, Sh3Cmdr is Delphi, ref does C++ (I think), I also remember having seen Python, Pearl, VB6 and so on. In fact the only major languages I haven't heard of in a ShIII project is Java and VB.NET,

So far I see no one who would organize such a great project. I could contribute with some good classes for a number of filetypes, but I make use of an extensive classlibrary thats in C#, so no way I am going to port it to another language.

Moreover, much more than I dislike releasing tools is releasing code, because you usually end up with answering a lot of beginners questions, while the pros don't need your code anyway.

But as I said, if someone would start an opensource project, I would try to contribute, and help. Also don't forget that ShIV will be there one day, and we might be better prepared next time.

Quote:
Originally Posted by ref
The hard part wil be putting away personal pride and varoius jelousy issues
Ref
It's generally good to see that there are a lot of experienced programmers around here, and I have not experienced any of these issues among them.
__________________

GlobalExplorer is offline   Reply With Quote
Old 03-17-06, 05:04 PM   #10
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by JScones
...

You know, what would be perfect, is to maintain all the individual mod files on one central server. The player would, from time to time, simply run a client/web front end which would present them with a list of all stored mods. They'd simply click whatever they wanted (like online shopping really) and submit. The front end would interact with the back end server database, gather or build the individual files required (based on stored rules/procedures), and download them to the user's machine, in, of course, JSGME ready format.

Of course, by the time this was completed, we'd be playing SH5...
Better yet, a Subversion repository that all SH3 mod developers regularly commit to, complete with changelogs and all kinds of other fun things.

__________________
X1 = Thieves

Starforce officially promotes piracy of unprotected game, Galactic Civilizations II! eh?

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-17-06, 05:06 PM   #11
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by JScones
...

Anyway, I'm just thinking on the fly here...it's 2am...sleepy-bye time.
It's actually an excellent idea and something I had thought about at one point.

Kind of like an intelligent `diff` utility for configuration file management.
__________________
X1 = Thieves

Starforce officially promotes piracy of unprotected game, Galactic Civilizations II! eh?

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-17-06, 05:13 PM   #12
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
...
Moreover, much more than I dislike releasing tools is releasing code, because you usually end up with answering a lot of beginners questions, while the pros don't need your code anyway.
I prefer to release early, and often. I find I get plenty of useful bug reports and once in a while, even a patch.

But it depends on the tool's target audience, of course.

In either case, I don't think user feedback due to source release should be considered a negative.

I'd also contest that those familiar with programming don't appreciate access to work that's already done. I'd much rather contribute to an existing project than to do it all from scratch. It might even be the difference between doing something cool and not bothering at all. Sometimes you just need someone to lay the foundation.

Of course, as you said, with SH3 everyone's picked a language most favored and each tool is written in a different language.

I used Perl because I'm a Linux/UNIX professional by trade, and Perl is the most effective tool for processing stuff like plain text configuration files of large sizes, like the Campaign_RND.mis file. The only reason I hadn't released my code is it's not documented and thus nearly useless to anyone else, not to mention that few, if any Perl programmers, are actually lurking around here.

Anyway...
__________________
X1 = Thieves

Starforce officially promotes piracy of unprotected game, Galactic Civilizations II! eh?

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-17-06, 05:35 PM   #13
GlobalExplorer
Admiral
 
Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
Default

Quote:
Originally Posted by jasonb885
In either case, I don't think user feedback due to source release should be considered a negative.
You sound like you might have the patience that's needed to organize such an effort, which unfortunately I have not.

Quote:
Originally Posted by jasonb885
It's actually an excellent idea and something I had thought about at one point.

Kind of like an intelligent `diff` utility for configuration file management.
Yes if Jaesons mod-enabler would work like a CVS for mods, that would be cool.

Quote:
Originally Posted by jasonb885
I'd also contest that those familiar with programming don't appreciate access to work that's already done. I'd much rather contribute to an existing project than to do it all from scratch. It might even be the difference between doing something cool and not bothering at all. Sometimes you just need someone to lay the foundation.
I am absolutely in favour of open source, and I see the advantages. But I also know the problems .. But as said before, if someone would lay a foundation, a lot of people would contribute, and generally these projects get better over time.

Moreover we could have these connections and infrastructures in place when SHIV arrives, which would be another plus. SHIII modding has become a bit chaotic recently and many people are confused. We don't want to let this become another Morrowind, do we?
__________________

GlobalExplorer is offline   Reply With Quote
Old 03-17-06, 11:56 PM   #14
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
...
I am absolutely in favour of open source, and I see the advantages. But I also know the problems .. But as said before, if someone would lay a foundation, a lot of people would contribute, and generally these projects get better over time.

Moreover we could have these connections and infrastructures in place when SHIV arrives, which would be another plus. SHIII modding has become a bit chaotic recently and many people are confused. We don't want to let this become another Morrowind, do we?
What happened with Morrowind? (Seriously, never played.)
__________________
X1 = Thieves

Starforce officially promotes piracy of unprotected game, Galactic Civilizations II! eh?

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-18-06, 12:43 AM   #15
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by GlobalExplorer
Quote:
Originally Posted by ref
The hard part wil be putting away personal pride and varoius jelousy issues
Ref
It's generally good to see that there are a lot of experienced programmers around here, and I have not experienced any of these issues among them.
Yeah. I agree. I don't know where ref is coming from with that one. I can't think of any programmer that I've interacted with here that's demonstrated any of those traits. Indeed, from my experience we've all tried to work together however we can with our individual projects.
JScones is offline   Reply With Quote
Reply


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 Off

Forum Jump


All times are GMT -5. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.