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

Reply
 
Thread Tools Display Modes
Old 01-01-09, 09:38 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

open 1 file,
then select open from the files menu and open whatever you want.

If you want to compare the original file to the one you plan to edit,
you need 2 copies.
  Reply With Quote
Old 01-01-09, 09:47 PM   #2
Wolfehunter
Crusty Capt.
 
Join Date: Sep 2007
Posts: 2,752
Downloads: 40
Uploads: 25
Default

Thanks yes I dragged and dropped the dat file onto the original one and it opened a new window.

I'm comparing the two files now...

I'm trying to see which will be transferred if possible...

What does File offset mean?

Also I've exported obj from one dat file and imported it to another. I've save it as and obj and loaded it as and obj and it worked. I see the mapping now is identical. Have I done it right? chunk size and data size don't match is that a bad thing?
__________________

Last edited by Wolfehunter; 01-01-09 at 10:14 PM.
Wolfehunter is offline   Reply With Quote
Old 01-01-09, 10:46 PM   #3
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Yikes, unfortunately a conditional compiler statement (which excludes animation code as this is still being tested) causes this problem. I have it placed incorrectly, but it's an honest mistake that I didn't spot until after looking at it twice. I have not noticed it myself because the conditional code is enabled for me so the problem did not occur here... :/

I will issue a new release tomorrow that will fix this. Until then, don't use S3D to modify files with mesh animations, or get the previous version: [edit] Link removed, updated version posted...

I apologize for any inconvenience. I will be happy to fix any corrupted files.


Wolfehunter, don't worry too much about chunk and data size, but if you really want to know the data size should always be 12 less than chunk size.

Last edited by skwasjer; 01-02-09 at 08:22 AM.
skwasjer is offline   Reply With Quote
Old 01-01-09, 11:16 PM   #4
Wolfehunter
Crusty Capt.
 
Join Date: Sep 2007
Posts: 2,752
Downloads: 40
Uploads: 25
Default

Okiedokie chief.
__________________
Wolfehunter is offline   Reply With Quote
Old 01-02-09, 12:26 AM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I always keep backups of all files so it's no trouble here.

I just stumbled across this problem today and when I
came here to post it for you I saw the other CTD report.

Hope it saved you some time and trouble.
  Reply With Quote
Old 01-02-09, 05:09 AM   #6
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 632
Uploads: 0
Default

Happy new year, skwas!
SquareSteelBar is offline   Reply With Quote
Old 01-02-09, 08:09 AM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Update posted:

http://sh4.skwas.net/changelog.aspx

[edit] privateer, thanks for the tip. I had done pretty much the same thing last night after CapnScurvy's report. I opened flags.dat and there I saw 8 bytes were dropped by S3D on that controller. It just took me a couple of scans over the code to see the problem, because it got a little messy over the past weeks...

Last edited by skwasjer; 01-02-09 at 08:18 AM.
skwasjer 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 11:39 PM.


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.