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 07-26-05, 02:35 PM   #1
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

The mod has been updated with additional flags of Belgium, Denmark, Ireland, and Panama. Flags for very small vessels are still missing in the game and will be added in future versions of the mod.

Download is available on my site.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 07-26-05, 02:41 PM   #2
Shadow9216
Frogman
 
Join Date: Jun 2005
Posts: 296
Downloads: 91
Uploads: 0
Default

Cool! Thanks Serg.

I'm going to edit my DefSide.cfg to add these in, anyone want a copy? It's pretty easy to do yourself, but if you want to save yourself some extra work...
Shadow9216 is offline   Reply With Quote
Old 07-26-05, 02:50 PM   #3
Egan
Admiral
 
Join Date: Sep 2001
Posts: 2,020
Downloads: 15
Uploads: 0
Default

Quote:
Originally Posted by sergbuto
The mod has been updated with additional flags of Belgium, Denmark, Ireland, and Panama. Flags for very small vessels are still missing in the game and will be added in future versions of the mod.

Download is available on my site.
Excellent to know! Thanks!
Egan is offline   Reply With Quote
Old 11-26-05, 11:45 AM   #4
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

According to a number of requests I have added more flags in the new version (3.0) of the mod. The full list now looks like this

-Turkey and Bulgaria (Black Sea)
-Denmark and Finland (North Europe)
-Belgium, Czechia, Estonia, Hungary, Ireland, Latvia, Lithuania, and Slovakia (Europe)
-Portugal and Spain (Eastern Atlantic)
-Albania, Croatia, RSI/Republica Sociale Italiana and Yugoslavia (Med)
-Colombia, Mexico, and Panama (Carribean)
-Argentina (South Atlantic)

as well as a Red Cross flag.

Download is on my site.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 11-26-05, 03:47 PM   #5
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Great work as usual Sergei!

Thanks for RSI and Red Cross!

Rubini.
Rubini is offline   Reply With Quote
Old 11-27-05, 04:45 PM   #6
Scire
Gunner
 
Join Date: Apr 2005
Location: La Spezia Italy
Posts: 93
Downloads: 3
Uploads: 0
Default

Lots of thanks Sergei!
__________________
"Six Italians, dressed in rather unusual diving suits and equipped with materials of laughably little cost, have swung the military balance of power in the Mediterranean in favour of the Axis".

Sir Winston Churchill, on the sinking of HMS Valiant and HMS Queen Elizabeth by Italian Combat Divers



Scire is offline   Reply With Quote
Old 11-30-05, 01:44 PM   #7
Fercyful
Medic
 
Join Date: Apr 2005
Location: Argentina
Posts: 165
Downloads: 97
Uploads: 0
Default

Like to see Argentina (my country) inside the game!

thanks Sergei!
__________________
Fercyful is offline   Reply With Quote
Old 03-19-06, 04:36 AM   #8
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Any chance for the addition of duplicate entries for America, Sweden, and other nations that appear in convoys, but need to always be 'at War' with Germany? The flags need not change, but rather a new entry for each needs to exist called something like AmericaWar, SwedenWar, ect.

If I could determine the record boundaries I'd try making a copy of one with a different name, but it was mentioned the name has to be the same length as an existing entry. I suppose the length of each entry is included in the file? (i.e. they're not fixed length, but variable with a header or foot indicating total length?)

:hmm:
__________________
X1 = Thieves

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

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-19-06, 07:01 AM   #9
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

Format of DAT files has been described by lurbz. Make a search for his nick. If you still have a problem, you can always replace one of barely used country names with a new name of the same length using a hex-editor, say Czechia for USAtWar, and then change the texture of the corresponding flag.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 03-19-06, 04:19 PM   #10
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by sergbuto
Format of DAT files has been described by lurbz. Make a search for his nick. If you still have a problem, you can always replace one of barely used country names with a new name of the same length using a hex-editor, say Czechia for USAtWar, and then change the texture of the corresponding flag.
I hadn't thought of that, but it's a good idea. I hadn't considered that the name for the atWar country is probably completely arbitrary, as long as there's a matching Roster.

I found a copy of lurbz's DAT file spec from last Fall which I have saved in a text file now.

__________________
X1 = Thieves

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

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-19-06, 04:44 PM   #11
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by jasonb885
I found a copy of lurbz's DAT file spec from last Fall which I have saved in a text file now.
Can you please send me a copy?, I couldn' find it anywhere.

ref@datafull.com

Thanks, Ref
__________________
ref is offline   Reply With Quote
Old 03-19-06, 06:30 PM   #12
kenijaru
Weps
 
Join Date: Jan 2006
Location: Buenos Aires, Argentina
Posts: 369
Downloads: 0
Uploads: 0
Default

if thats the mod i downloaded a few days ago the argentinian flag's sun is missing.... it should look like this:
http://www.portalargentino.net/simbolos/bandarge.png

anyway, its good to have Argentina added to such a good game
and the intention is what counts also, i wouldnt be able to do it myself so, as we say in argentina: "es lo que hay" :/\k:
__________________
Quote:
Originally Posted by Thomen
They 'guesstimated' more often than not..
kenijaru is offline   Reply With Quote
Old 03-19-06, 07:01 PM   #13
Happy Times
Ocean Warrior
 
Join Date: Jun 2005
Location: Finland
Posts: 2,950
Downloads: 10
Uploads: 0
Default

Whats the story behind the sun? Ive always wondered. :hmm:
__________________
Happy Times is offline   Reply With Quote
Old 03-19-06, 07:28 PM   #14
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by ref
Quote:
Originally Posted by jasonb885
I found a copy of lurbz's DAT file spec from last Fall which I have saved in a text file now.
Can you please send me a copy?, I couldn' find it anywhere.

ref@datafull.com

Thanks, Ref
Quote:
Originally Posted by lurbz
SH III DAT FILE FORMAT

Skip the first 20 bytes they seem to be always the same.
Next 4 bytes are a long with the header string lenght.
Next is the author name and the "using Kashmir" stuff, total lenght as read above.

Next, file is made of "chunks". All chunks are like this:
ChunkType 4 bytes
Chunk Subtype/Version 4 bytes
chunk_size long (4 bytes)
Data (chunk_size bytes)


Chunk types and internal structure of each one:

type 0: EMPTY chunk
it's just 12 "00" bytes, so type, subtype and size are 0

type 1: 3D chunk
after the Chunk type, subtype/ver and size, format of the data part is like follows:
chunk_id: 8 bytes //this is used to reference this part inside the file. References usually found inside NODE (type 4) chunks
???????: 1 byte //don't know about this one
nverts: 4 byte long //number of vertices
vertex data: nverts * 3 floats// these are vertices, 3 floats per vertex
ntri: 4 byte long //number of triangles;
triangle data: there are ntri triangles and their texture mapping, each one is as follows
vertex1: unsigned 2-byte int
vertex2: unsigned 2-byte int
vertex3: unsigned 2-byte int
texture coord1: unsigned 2-byte int
texture coord2: unsigned 2-byte int
texture coord3: unsigned 2-byte int
????????????: one byte
ntxcoords: 4 byte long //number of texture coordinates
texture coords data: ntxcoords * 2 floats // texture coordinates are 2D

some objects end here, but some have "TMAP" and a bunch of floats after this, dunno what is that yet so I skip it

type 2: TEXTURE REFERENCE?
after the Chunk type, subtype/ver and size, format of the data part is like follows:
chunk_id: 8 bytes //this is used to reference this part inside the file. References usually found inside NODE (type 4) chunks
then a bunch of bytes that I haven't figured yet, usually ending with a texture filename.

type 3: TGA FILE
these are the TGA files, just packed after the type, subtype and chunk size.

type 4: NODE (these tell us how parts are related to each other, in a tree-like hierarchy)
after the Chunk type, subtype/ver and size, format of the data part is like follows:
chunk_id: 8 bytes //this is used to reference this node inside the file. References usually found inside NODE (type 4) chunks
parent_id: 8 bytes //reference to the "parent" node. root nodes have 00 00 00 00 00 00 00 00 as parent
3dpart_id: 8 bytes //reference to the 3d part managed by this node, 00 00 00 00 00 00 00 00 if this is a "dummy" node with no visible 3d part
????????: 1 byte, seems to be always 00.
????????: 1 byte, seems to be related to the number of different type 2 nodes referenced from this one.
x offset: 4 bytes float //x offset from parent node
y offset: 4 bytes float //y offset from parent node
z offset: 4 bytes float //z offset from parent node

then comes the type 2 chunk references and some stuff I don't yet understand

type 6: DATA?
these are children of type 10 chunks, they seem to hold effects, commands, interactions, etc...
first 8 bytes are the reference to the type 10 parent. rest is strings and numerical values.

type 8: LABEL
these are used to label other nodes
format is:
8 byte parent chunk reference
string with label

type 10: DATA?
these seem to group type 6 chunks and attach them to type 4 nodes
first 8 bytes: id of this chunk
second 8 bytes: id of parent node
then comes some data, usually strings and numbers.

type 102: SCALE?
these come usually near the end of the files, they are a bunch of floats, probably some global scaling, have to test it

type 1001: INDEX
this one seems to be an index, there are chunk ID's and the corresponding file postition, might have to update this if some chunk has its size altered, but some tries suggest this doesnñr affect loading.



There are more chunk types, haven't had time to check them
__________________
X1 = Thieves

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

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Old 03-20-06, 12:53 AM   #15
jasonb885
Samurai Navy
 
Join Date: Mar 2002
Posts: 580
Downloads: 0
Uploads: 0
Default

/me wonders if the ChessMaster 10 DAT extract actually correctly reimports stuff for copying one flag to another existing country's flag TGA.

:hmm:

My install is hosed, so I need to reinstall. I'm CTD even with all the mods I thought I had installed removed when visiting the museum...
__________________
X1 = Thieves

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

Improved Convoys mod!
jasonb885 is offline   Reply With Quote
Reply

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 Off

Forum Jump


All times are GMT -5. The time now is 09:36 AM.


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