Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Is it possible to replace(overwrite) a uboat with another?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Ducimus



Joined: 26 May 2005
Posts: 831

PostPosted: Mon Jan 16, 2006 7:04 pm    Post subject: Is it possible to replace(overwrite) a uboat with another? Reply with quote

So we have:

IIA
IID

VIIB
VIIC

IXB
IXC
IXD


Doesnt it bother anyone else that say, the VIIC/41, or IXC/40 (or even the VIIC/42) all share an existing model, and therefore are not modled properly?

Of all the above boats i would venture a guess and say the IID, and IXD are the least used.

Do you think it would be possible to drop in/rename/overwrite modified IX or VII files inplace of say the IID or IXD?

( Im guessing in theory you could rename files, drop them in place, adjust the cfg file to use the apporpirate interior, and make the necessary adjustments in the basic.cfg file.)
Back to top
View user's profile Send private message
Ducimus



Joined: 26 May 2005
Posts: 831

PostPosted: Mon Jan 16, 2006 7:24 pm    Post subject: Reply with quote

Hmmm i just remembered that varients of a subtype are all defined under one header. So to "replace" an one, youd have to replace them all because of the compartment declarations in the basic.cfg.

So doing that (file replacement), youd have to use the type II. Im pretty sure its not possible to add a whole new sub version file (IE a new type 7 with its own directory) otherwise someone would have done it by now.
Back to top
View user's profile Send private message
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Tue Jan 17, 2006 3:25 am    Post subject: Re: Is it possible to replace(overwrite) a uboat with anothe Reply with quote

Ducimus wrote:
So we have:

IIA
IID

VIIB
VIIC

IXB
IXC
IXD


Doesnt it bother anyone else that say, the VIIC/41, or IXC/40 (or even the VIIC/42) all share an existing model, and therefore are not modled properly?

Of all the above boats i would venture a guess and say the IID, and IXD are the least used.

Do you think it would be possible to drop in/rename/overwrite modified IX or VII files inplace of say the IID or IXD?

( Im guessing in theory you could rename files, drop them in place, adjust the cfg file to use the apporpirate interior, and make the necessary adjustments in the basic.cfg file.)

SH3Cmdr addresses this by allowing different sets of files to be copied into the game based on the selected sub. For example, if you are in a VIIC/41, a set of VIIC/41 specfic files can be copied into the game to effectively replace the stock VIIC files. This concept extends to any of the boats and variations and to every boat-related file. Thus, you can create a whole set of, say, IXC/40 specific files using the stock IX filenames, and these files will be used if you happen to be in a IXC/40.

Keeping the original file names but with "corrected" values means no stuffing around with core files at all.

This has been possible since April last year.
Back to top
View user's profile Send private message Visit poster's website
Ducimus



Joined: 26 May 2005
Posts: 831

PostPosted: Tue Jan 17, 2006 3:39 am    Post subject: Reply with quote

Yeah i realize you can do that with SH3 commander, but i was looking for a more firm fix beyond file management. In my neverending quest for the perfect SH3, id like to be able to set it up where no more file manipulation of any kind is required. Hence my desire for a "firm" setting. Don't get me wrong, SH3 commander allows you to do alot, easily, and is very robust, i just have this unusual fixation for static game files since my intrests tend to jump around alot.


Obviously adding a new player sub wont work, otherwise someone would have done it before.

As for overwriting, i got close.. or perhaps am close, it depends.

What i think ive discovered is that you can only use a NSS_Uboat*.dat file once. You can use any file multiple times, but the dat file just once. Ironiclly this is the file that contains the acutal model.

For example, By placing the VIIC files into the IID directory, and renaming the files accordingly, when you go to the musem, the IID will load as the VIIC, but the instant you select the VIIC proper, the game crashs.

Another example ive replaced the IIA, and IID files with the VIIC. The game will load the IIA, but crashes on IID and VIIC.

Reason? I guess it reads it in sequential order,first similar dat file it finds it uses, but doesnt know what to do with the other 2 since it already loaded it once before.

Im guessing the trick is now, is to somehow make each dat file unique. Its obviously not looking at the name of the file, but its contents. Theres probably some data handle within the file. Find that, give it the value of the handle of the sub your trying to replace and ill bet it would work. Thats my guess anyway.
Back to top
View user's profile Send private message
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Tue Jan 17, 2006 3:55 am    Post subject: Reply with quote

Personally, I don't think overwriting existing subs justifies the "static file" argument, especially when SH3Cmdr provides a *very* easy way to achieve what you want, and without the stress of any core file changes, in addition to providing maximum flexibility by allowing files specific to *any* sub type to be used at *any* time. No need to bump any boats out to achieve it. Indeed, I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.

Conversely, as your "intrests tend to jump around alot", why would you not want the maximum flexibility of keeping all your boats, just in case your mood takes you there?

But, each to their own. Good luck! Thumbs Up
Back to top
View user's profile Send private message Visit poster's website
Ducimus



Joined: 26 May 2005
Posts: 831

PostPosted: Tue Jan 17, 2006 4:27 am    Post subject: Reply with quote

JScones wrote:
I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.


How can that be when the you have 3 VII varients that use the same files?

Thats my beef with this game. It irritates me to no end. Here you have 3 subs.

VIIC/41
VIIC/42
IXC/40

Half assed done by just basic.cfg file entries. The icing on the cake is here ubi spent all this time modeling two varients of the type II, a sub, that ill wager isnt used anywhere near as much as the other subs. I cant understand why ubi spent so much time on the type II, and then went and cut corners on the type 7. At least they did the interior of the sub right, which is more then i can say for the type 9's interior with its blinking lights and broken fuel guage. I wish i could fix taht too Sad
Back to top
View user's profile Send private message
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Tue Jan 17, 2006 4:38 am    Post subject: Reply with quote

JScones wrote:
I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.

Is that true? How did you find out?
Back to top
View user's profile Send private message
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Tue Jan 17, 2006 4:40 am    Post subject: Reply with quote

I agree, odd design choice when key values differ so much. :hmm:

Anyway, SH3Cmdr handles this very easy.

SH3Cmdr has a folder for each sub type and variant. Under, say, the VIIC folder are files with the stock VIIC file names containing VIIC specific values. Under the VIIC/41 folder are files with the stock VIIC file names containing VIIC/41 specific values. And under the VIIC/42 folder are files with the stock VIIC file names containing VIIC/42 specific values.

When you select a career in the SH3Cmdr interface, it grabs the sub type and variant you are in and simply copies the appropriate files into the game. If you're in a VIIC/41, those files are copied in over the stock 7c files. In an IXC/40? Simple, SH3Cmdr replaces the stock SH3 9c files with IXC/40 specific files. When you're finished, the original files are returned to the game.

*I do note that curenetly SH3Cmdr only adjusts the VIIC/41 crush depth, however, the above is certainly possible.*

Re the IX blinking lights, I noticed when I was going through the core config files last week that it was missing a key that all other subs had. I don't know what the impact of this is, but perhaps if added it may make a difference to something? Can't recall now the key name.
Back to top
View user's profile Send private message Visit poster's website
JScones



Joined: 21 Apr 2005
Posts: 1129
Location: Australia

PostPosted: Tue Jan 17, 2006 4:41 am    Post subject: Reply with quote

Marhkimov wrote:
JScones wrote:
I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.

Is that true? How did you find out?

Huh? I wrote the programme!
Back to top
View user's profile Send private message Visit poster's website
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Tue Jan 17, 2006 5:00 am    Post subject: Reply with quote

JScones wrote:
Marhkimov wrote:
JScones wrote:
I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.

Is that true? How did you find out?

Huh? I wrote the programme!

Oh, whoops...

I thought you guys were referring to SH3, not SH3Cmdr. Sorry.
Back to top
View user's profile Send private message
Col7777



Joined: 01 Jun 2003
Posts: 1480
Location: Manchester UK

PostPosted: Tue Jan 17, 2006 5:30 am    Post subject: Reply with quote

This aroused my interest, can by using the SH3Commander get Serg's NSS-classUS sub to be human controlled, I did try but without success, but I didn't try using the Commander?
I did try by swapping files around like above but I too got ctd's.
Back to top
View user's profile Send private message Send e-mail
Ducimus



Joined: 26 May 2005
Posts: 831

PostPosted: Tue Jan 17, 2006 11:33 am    Post subject: Reply with quote

Marhkimov wrote:
JScones wrote:
Marhkimov wrote:
JScones wrote:
I'm sure a lot of users don't even know that the crush depth is currently adjusted automatically if they are in a VIIC/41.

Is that true? How did you find out?

Huh? I wrote the programme!

Oh, whoops...

I thought you guys were referring to SH3, not SH3Cmdr. Sorry.


It was late for me, i wasn't sure which he was referring to.

Anyway at this point i give up. Foiled once again by a dat file that i don't know what to do with!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group