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 |

Real U-Boat 1.3 repack for SH3v1.2 RuB users *Update 5/30*
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
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
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 2:33 am    Post subject: Reply with quote

Okay, I broke the FBAC levels slideout somehow. I verified my menu_1024_768.ini is identical to that of RuB1.22. I verified my DialsFdb.tga is identical to that of RuB1.22. These files match on a binary level. They're identical.

What else could effect whether the FBAC slideout works?

All my gauges are stuck at 50% on the FBAC slideout, but the one from the CE works fine.

I'd suspect one of the other cfg files are suspect? I reverted to the Dials.cfg from SH3 v1.2, and not the RuB1.22 version. Perhaps that is it.

Okay, running a diff against the stock SH3 v1.2 and RuB1.22 versions of Dials.cfg (I removed it because we switched back to the 260m depth gauge, so I thought the SH3 v1.2 one was okay...) I come up with 4 missing dials, which I assume must be the cause of my problem. The minus (-) are things removed if you use the stock SH3 v1.2 file. The plus (+) stuff is what SH3 v1.2 uses in place of the RuB1.22 values. You'll see the four gauge definitions missing.

Part of the source of my confusion is I get the impression this didn't make it into RuB1.30 by a day or two, and as a result RuB1.30 did not ship with the modified Dials.cfg necessary. (This is the kind of fun stuff that happens when you try to back port features and maintain compatibility...)

I'll have to fix this tomorrow / later.

Code:

 [DIALS]
-DialsNo=48
+DialsNo=44


 [Dial0]
@@ -293,7 +293,7 @@
 Dial=0x3F1C0001
 CrtVal=0x3F1C0002
 NewVal=0x3F1C0003
-DialVal=-106,106
+DialVal=-100,100
 RealVal=35,-35; degrees
 Circular=Yes

@@ -331,7 +331,7 @@
 CrtVal=0x3F1F0002
 NewVal=0x3F1F0003
 DialVal=-145,145
-RealVal=0,400; meters
+RealVal=0,260; meters
 Circular=Yes


@@ -548,47 +548,3 @@
 DialVal=-90,90
 RealVal=0,1; normalized
 Circular=Yes
-
-
-[Dial44]
-Name=Fuel level
-Type=34; DIAL_FUEL
-Dial=0x0
-CrtVal=0x3F420004
-NewVal=0x0
-DialVal=135,17
-RealVal=0,1; normalized
-Circular=No
-
-
-[Dial45]
-Name=Battery level
-Type=36; DIAL_BATTERIES
-Dial=0x0
-CrtVal=0x3F420003
-NewVal=0x0
-DialVal=-75,75
-RealVal=0,1; normalized
-Circular=Yes
-
-
-[Dial46]
-Name=Compr air level
-Type=35; DIAL_COMPR_AIR
-Dial=0x0
-CrtVal=0x3F420002
-NewVal=0x0
-DialVal=-150,150
-RealVal=0,200; Kg/cm2
-Circular=Yes
-
-
-[Dial47]
-Name=CO2 level
-Type=39; DIAL_CO2
-Dial=0x0
-CrtVal=0x3F420001
-NewVal=0x0
-DialVal=-90,90
-RealVal=0,1; normalized
-Circular=Yes
\ No newline at end of file
Back to top
View user's profile Send private message
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Fri May 27, 2005 2:56 am    Post subject: Reply with quote

jasonb885 wrote:
Okay, I broke the FBAC levels slideout somehow. I verified my menu_1024_768.ini is identical to that of RuB1.22. I verified my DialsFdb.tga is identical to that of RuB1.22. These files match on a binary level. They're identical.

What else could effect whether the FBAC slideout works?


There's another Dials tga file that you need from RUb 1.22. It's called Dials1b.tga. I think this might be the problem. If not, I'm not sure.
Back to top
View user's profile Send private message Visit poster's website
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 10:38 am    Post subject: Reply with quote

Beery wrote:
jasonb885 wrote:
Okay, I broke the FBAC levels slideout somehow. I verified my menu_1024_768.ini is identical to that of RuB1.22. I verified my DialsFdb.tga is identical to that of RuB1.22. These files match on a binary level. They're identical.

What else could effect whether the FBAC slideout works?


There's another Dials tga file that you need from RUb 1.22. It's called Dials1b.tga. I think this might be the problem. If not, I'm not sure.


Yes. I verified it was identical to the one I have.

It's actually the Dials.cfg that is causing me problems, as the diff output above shows. The four dial definitions for the slideout did not exist in the stock game.

The people that figured out how to turn on the FBAC are really ingenious. It looks like they actually had to create the relevant entries in Dials.cfg for the non-functional stuff in menu_1024_768.ini. That shows some serious thoughtfulness and determination.
Back to top
View user's profile Send private message
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Fri May 27, 2005 10:58 am    Post subject: Reply with quote

jasonb885 wrote:
The people that figured out how to turn on the FBAC are really ingenious. It looks like they actually had to create the relevant entries in Dials.cfg for the non-functional stuff in menu_1024_768.ini. That shows some serious thoughtfulness and determination.


That's TimeTraveller for you. He's a genius. You might want to talk to him about this issue - he can probably put you right. All I did was put his figures into the file, so it's not burned into my brain in the same way it probably is in his.
Back to top
View user's profile Send private message Visit poster's website
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 11:30 am    Post subject: Reply with quote

I'm looking into reintroducing the escort spawn fix for the v1.3 RND layer. After reading the posts I understand why things were broken and what Nico did to resolve them. I've only had time to review the first few convoys. So far, the destroyer classes have been changed to earlier war destroyers, even in 1939, so that they actually spawn. (i.e. a HunterI replaced a Clemson, 19390201 spawn date v. 19391201 which would never appear.)

Was anything special included in the Campaign_RND.mis that RuB1.30 has? I'd like to include those changes, if possible, in addition to refixing the escort spawn issue for v1.2 users of SH3 v1.3's RND layer. (For that matter, did UBI Soft include anything worthwhile in the v1.3 RND layer that SH3 v1.2 users would miss?)

Thanks.
Back to top
View user's profile Send private message
Lanzfeld



Joined: 10 Jan 2002
Posts: 1256
Location: Reston, VA

PostPosted: Fri May 27, 2005 12:20 pm    Post subject: Reply with quote

just to keep it straight....

The RUB 1.22B30 does NOT include the escort spawn fix?
Back to top
View user's profile Send private message
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 12:25 pm    Post subject: Reply with quote

Lanzfeld wrote:
just to keep it straight....

The RUB 1.22B30 does NOT include the escort spawn fix?


RuB1.22b30 currently has RuB1.22's RND layer, so it does have the fix. One of the first releases I did, because the 7z compression files were used, was to mistakenly include the RND layer from RuB1.30. That is no longer the case, so everything should be fine.

I am still trying to determine what to do about migrating to the RND layer in SH3 v1.3. It's possible, but it's not necessary if there's nothing worth that much effort to obtain in the SH3 v1.3 RND. (i.e. I have to do the spawn fix myself on it.)
Back to top
View user's profile Send private message
Lanzfeld



Joined: 10 Jan 2002
Posts: 1256
Location: Reston, VA

PostPosted: Fri May 27, 2005 2:46 pm    Post subject: Reply with quote

Any chance for a normal zipped version???

Or is it too big?
Back to top
View user's profile Send private message
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 3:17 pm    Post subject: Reply with quote

I guess it's time to decode the Roster. I can post process this and use it for a proper RND fix, I think.

Gosh, that was fun. Don't try this at home.

Code:

for e in $(find /mnt/games/sh3/data/Roster/*/Sea -type f -name '*.cfg')
do
if egrep -qi '^UnitType=(4|3|0)' $e
then
echo "$e" | perl -n -e 'm!/[^/]*/(\w+)/\w+/[\w&]+\.cfg! ; print "$1\n"'
echo $(basename $e .cfg)
cat $e | awk '{ if((NR>=3 && NR<=5) || NR==7) { print; } }'
echo
fi
done 1> /tmp/roster.out


Code:

American
DDClemson
ClassName=DDClemson
UnitType=4
AppearanceDate=19180101
DisplayName=US DD Clemson
...


Edit: Entries removed since the information isn't particularly useful to anyone but me.


Last edited by jasonb885 on Fri May 27, 2005 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 3:18 pm    Post subject: Reply with quote

Lanzfeld wrote:
Any chance for a normal zipped version???

Or is it too big?


It's about 44.5MB I think. It's pretty big. Since 7z is GNU LGPL and completely free, I see no reason not to encourage its adoption.
Back to top
View user's profile Send private message
Lanzfeld



Joined: 10 Jan 2002
Posts: 1256
Location: Reston, VA

PostPosted: Fri May 27, 2005 7:15 pm    Post subject: Reply with quote

Okay...last question Laughing

We copy the "data" file like in RUB 1.22 and we also copy the "SH3sim.act" file into the Sh-3 root directory?

Many thanks as I can't wait to try this out! Thumbs Up
Back to top
View user's profile Send private message
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 7:24 pm    Post subject: Reply with quote

Lanzfeld wrote:
Okay...last question Laughing

We copy the "data" file like in RUB 1.22 and we also copy the "SH3sim.act" file into the Sh-3 root directory?

Many thanks as I can't wait to try this out! Thumbs Up


Yes, you can. It's easier to use JoneSoft Mod Enabler, though.

I still need to include the fix for the slideout gauges. I know what's wrong, I just have to test the fix.
Back to top
View user's profile Send private message
Lanzfeld



Joined: 10 Jan 2002
Posts: 1256
Location: Reston, VA

PostPosted: Fri May 27, 2005 8:36 pm    Post subject: Reply with quote

I have just started a career with the latest build.

The range in my Type IIA seems longer then I remembered. Has this been changed? :hmm:
Back to top
View user's profile Send private message
jasonb885



Joined: 27 Mar 2002
Posts: 1749

PostPosted: Fri May 27, 2005 8:58 pm    Post subject: Reply with quote

Lanzfeld wrote:
I have just started a career with the latest build.

The range in my Type IIA seems longer then I remembered. Has this been changed? :hmm:


Yes, the Type IIA now has the range of the IIB, which Beery said was more realistic. I'm glad to see I actually managed to get at least one file in the correct location.

Thumbs Up
Back to top
View user's profile Send private message
Beery



Joined: 09 Nov 2004
Posts: 2817
Location: Boston, MA, USA

PostPosted: Fri May 27, 2005 10:05 pm    Post subject: Reply with quote

Lanzfeld wrote:
I have just started a career with the latest build.

The range in my Type IIA seems longer then I remembered. Has this been changed? :hmm:


1st Flotilla used only Type IIBs at the start of the war. Now for some strange reason it seems it's impossible to change the name of the Type IIA to 'Type IIB', but at least we can make the boat behave more like a IIB so that it can get to all the 2nd Flotilla hunting grounds.
Back to top
View user's profile Send private message Visit poster's website
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
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 5 of 6

 
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