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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-10-17, 06:06 AM   #106
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default






Good news is things are progressing

Bad news is due to inexperience I made a fundamental mistake right at the very begining, which means doing everything again from scratch.
mkiii is offline   Reply With Quote
Old 11-11-17, 01:07 PM   #107
OldCoder
Soundman
 
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
Default

Must be gutting to have to start again if necessary, but just as some encouragement the screenshots look incredible!
OldCoder is offline   Reply With Quote
Old 11-12-17, 09:28 AM   #108
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default




ok needed a break from bones and meshes, and Brest!
so I renamed all my 7c41 files to IXB, did roster names flotillas etc, and loaded it with mod enabler.

problem 1....still no conning tower on the sub, even tried putting it in the objects folder and linking to that....still no joy

problem 2 ...why is it screwing up my ui, on the face of it there is nothing in there that should do this, it must be a script thing,

on a positive note, it did not crash the engine, so not a complete disaster

disable the mod, all is back to normal.
on a stock game just get the no conning tower thing.
mkiii is offline   Reply With Quote
Old 11-12-17, 03:29 PM   #109
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

This must be a minor mistake in some file , I'm sure of it...
At the beginning of submarine upcge file you'll find few lines which defines stock and other available conning towers. Did you see them?
I can't copy paste parts of code. sorry, posting from phone...
vdr1981 is offline   Reply With Quote
Old 11-12-17, 04:09 PM   #110
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by vdr1981 View Post
This must be a minor mistake in some file , I'm sure of it...
At the beginning of submarine upcge file you'll find few lines which defines stock and other available conning towers. Did you see them?
I can't copy paste parts of code. sorry, posting from phone...
yes vecko seen those, Ihave altered everything that seems to need altering.

as a 7c41 the ct loads fine as you have already seen,
but as a ix using the same files no ct, I get the hull in the bunker and a messed up ui instead.

no time for it now, shower and bed, up at 5am for the start of nother glorious work week
mkiii is offline   Reply With Quote
Old 11-13-17, 02:43 PM   #111
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

@ Vecko

[UnitPart 1]
ID= VIIC41Tower1
Type= VIIC41ConningTower ;Can only placed on unit parts slot of this type
NameDisplayable= VIIC41c1-Conning-Name
Info=VIIC41c1-Conning-Info
Notes=VIIC41c1-Conning-Notes
UnitPartInterval=NULL, NULL
ExternalLinkName3D= Conning_7c41_01,data\Submarine\NSS_Uboat7c41\Subma rine Parts\Conning_7C41_01
HullTextureNameOverride=NULL
HullLightmapTextureNameOverride=NULL
HullNormalmapTextureNameOverride= NULL
MenuSilhouetteTextureNameOverride= data\Textures\TNormal\tex\7C.dds
ImageIndex=2
TrackingID=103

each sub has its own numbered unitspart file 7c41 is unitparts3VIIC41

I made a new file called unitparts6IXB (next number in sequence after last sub in list)

my changes for IXB

[UnitPart 1]
ID= IXBTower1
Type= IXBConningTower ;Can only placed on unit parts slot of this type
NameDisplayable= IXB-Conning-Name
Info=
Notes=
UnitPartInterval=NULL, NULL
ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01
HullTextureNameOverride=NULL
HullLightmapTextureNameOverride=NULL
HullNormalmapTextureNameOverride= NULL
MenuSilhouetteTextureNameOverride= NULL
ImageIndex=2
TrackingID=103............I ALSO TRIED WITH THE LAST 2 ENTRIES DELETED, MADE NO DIFFERENCE

I loaded SH5 and if it CTD, I just went and looked through all the files again for any I had missed, until it loaded. FYI....even 1 wrong/missed entry in a single file would cause CTD

going to run file access monitor when sh5 loads, see if it throws any light on the situation,

Last edited by mkiii; 11-13-17 at 02:56 PM.
mkiii is offline   Reply With Quote
Old 11-13-17, 07:07 PM   #112
qiaoyech
Watch
 
Join Date: Nov 2006
Posts: 30
Downloads: 102
Uploads: 1
Default

Don't remember much but [UnitPart 1] sounds like trouble. I seem to recall the IDs have to be unique.

Edit: nvm this is inside a different file.

ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01

You sure this node is correct? Has to exist in dat/zon i think.
qiaoyech is offline   Reply With Quote
Old 11-14-17, 02:17 AM   #113
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

Mkii, I'm afraid I wont be able to Involve actively for next 10 days or so because I'll use only my phone for internet access. After that I'll ask you to upload the files so we can start digging together...
vdr1981 is offline   Reply With Quote
Old 11-14-17, 02:31 AM   #114
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

Quote:
Originally Posted by qiaoyech View Post
Don't remember much but [UnitPart 1] sounds like trouble. I seem to recall the IDs have to be unique.

Edit: nvm this is inside a different file.

ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01

You sure this node is correct? Has to exist in dat/zon i think.
I don't think that Objects IDs are the problem here because we are dealing with playable sub which can be rendered only once all the time. It is more likely that the problem is somewhere in between upc/upcge and 3d object files, bones designations ect...
vdr1981 is offline   Reply With Quote
Old 11-14-17, 11:32 AM   #115
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by qiaoyech View Post
Don't remember much but [UnitPart 1] sounds like trouble. I seem to recall the IDs have to be unique.

Edit: nvm this is inside a different file.

ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01

You sure this node is correct? Has to exist in dat/zon i think.

the node is Z01. its defined in another file, that is just the file link, actually moved z01 around in the mesh to position the tower on the new hull better, don`t think thats an issue.
mkiii is offline   Reply With Quote
Old 11-14-17, 11:39 AM   #116
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by vdr1981 View Post
Mkii, I'm afraid I wont be able to Involve actively for next 10 days or so because I'll use only my phone for internet access. After that I'll ask you to upload the files so we can start digging together...
no problem, still lots of other stuff to do vecko, lol I ran process monitor whilst loading sh5, got 14,434.200 file access events, about 12 million are sh5. it produced a 4.4 gb log file, got as far as the roster files last night, nothing is missing, all sub files loaded successfully, going to look for the conning tower entries later.

also need to figure out how to debug script files, because the default hud py file is reading something in the IX files, that is making it load what looks like the sh4 interface and freezing all the other parts on screen.
mkiii is offline   Reply With Quote
Old 11-14-17, 12:59 PM   #117
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

well I knew there was a lot of sh4 stuff left in all the folders, but going through the file listings sh5.exe is actually looking for data/library/ sh4 guns and radars. (it can`t find it coz its not there, but its still in the code to look for it)
mkiii is offline   Reply With Quote
Old 11-14-17, 01:03 PM   #118
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,911
Downloads: 444
Uploads: 2


Default

There's liable to be leftovers from SH3 in there also, if it's anything like SH4...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-14-17, 08:49 PM   #119
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,425
Downloads: 131
Uploads: 0


Default

Python files can be viewed with a text editor.
Note pad or whatever you prefer. I use SweetScape 010 myself.
I scanned all the files in SH5 with 010 and can find no calls to the data/library/sh4 stuff you mention.

Granted it could be coded so a hex scan does not see it but it's easy to test.
Just put the called file in place and do a few edits to test it.
Jeff-Groves is offline   Reply With Quote
Old 11-15-17, 12:28 PM   #120
mkiii
Soundman
 
Join Date: Sep 2007
Posts: 149
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by Jeff-Groves View Post
Python files can be viewed with a text editor.
Note pad or whatever you prefer. I use SweetScape 010 myself.
I scanned all the files in SH5 with 010 and can find no calls to the data/library/sh4 stuff you mention.

Granted it could be coded so a hex scan does not see it but it's easy to test.
Just put the called file in place and do a few edits to test it.

its reading everything in the data folder Jeff, if it needs it or not, probably gets flushed further along in the code.
mkiii 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 07:30 PM.


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