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 04-19-08, 01:00 PM   #1
Pascal
Samurai Navy
 
Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
Default Repack tga file in Gwx Dat ???

Strange thing, trying repack my own tga file inside Gwx Dat, impossible to refund the same value using Photoshop ?!

By example, Typ 2B_Hull = 2 464 Ko and mine, save in 24 bit compressed RLE = 2 635 bit

Where is the trap ?
__________________

My Mods
Pascal is offline   Reply With Quote
Old 04-19-08, 01:13 PM   #2
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Why are you saving with compressed RLE?

That's only for files with Alpha Channels.
__________________
danlisa is offline   Reply With Quote
Old 04-19-08, 03:06 PM   #3
Pascal
Samurai Navy
 
Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
Default

yes, you right, i dont know i write this, never use this method.
but with sh3 original dat, no problem: i repack all tga i wish in 24 or 32 bit
__________________

My Mods
Pascal is offline   Reply With Quote
Old 04-20-08, 02:47 PM   #4
Pascal
Samurai Navy
 
Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
Default

No one to give a suggestion to resolve my little problem ? I'm half surprised; all forum's users are gentlemen, but there are exceptions.
__________________

My Mods
Pascal is offline   Reply With Quote
Old 04-20-08, 03:15 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

PM me a link to your tga and I'll look into it.
  Reply With Quote
Old 04-20-08, 03:29 PM   #6
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Sorry Pascal, RL got in the way.

If your TGA is the same dimensions as the original i.e 1024x1024, then there is additional info, maybe an alpha channel, which is increasing the file size.

As with Privateer, PM me the TGA or PSD file and I'll take a look.
__________________
danlisa is offline   Reply With Quote
Old 04-20-08, 03:57 PM   #7
Pascal
Samurai Navy
 
Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
Default Very kindly

Merci beaucoup, it's very kind. It's not so important, but i'm disturb to not understand why i cant repack.


This is a link on my type II skin:

http://pagesperso-orange.fr/Ermitage...yp 2B_Hull.zip
__________________

My Mods
Pascal is offline   Reply With Quote
Old 04-20-08, 04:03 PM   #8
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Used version 2 of Pack3d and it imported with no problem.
  Reply With Quote
Old 04-20-08, 04:16 PM   #9
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Quote:
Originally Posted by privateer
Used version 2 of Pack3d and it imported with no problem.
Cool, at least it works.

@ Pascal

Did you create this yourself in Photoshop or similar?

The reason for the file size difference is that when it was created it had sections that went outside of the original 1024x1024 dimensions. You can't see them but they are there. When the file was saved as a TGA that extra information was still there, that's why the file is larger.

When finishing a PSD/TGA file which has overlapping areas, always choose (no layer selected) Select All > Crop. This will delete any/all info that overlaps the 1024x1024 dimensions.
__________________
danlisa is offline   Reply With Quote
Old 04-20-08, 04:19 PM   #10
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Huh,
:hmm:
I did not know that stuff.

Learned several new things today.
  Reply With Quote
Old 04-20-08, 06:37 PM   #11
Pascal
Samurai Navy
 
Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
Default

Quote:
Originally Posted by danlisa
Quote:
Originally Posted by privateer
Used version 2 of Pack3d and it imported with no problem.
Cool, at least it works.

@ Pascal

Did you create this yourself in Photoshop or similar?

The reason for the file size difference is that when it was created it had sections that went outside of the original 1024x1024 dimensions. You can't see them but they are there. When the file was saved as a TGA that extra information was still there, that's why the file is larger.

When finishing a PSD/TGA file which has overlapping areas, always choose (no layer selected) Select All > Crop. This will delete any/all info that overlaps the 1024x1024 dimensions.
But i never had problems before when i repack tga files inside original sh3 Dat. I have this problem only with Gwx Dat version. (used sh3 Unpacker)
That's why it's strange.
__________________

My Mods
Pascal 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 05:12 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.