| View previous topic :: View next topic |
| Author |
Message |
Duke of Earl
Joined: 01 Feb 2003 Posts: 667 Location: 20 Meter von einer Wasserbombe
|
Posted: Fri Jul 30, 2004 2:08 am Post subject: SOS: Torpedo Station Mod Janus Error |
|
|
Well, using Photoshop 2.0.. I opened and resized the 800x600 Res Torpedo Station Mod files to 1024x768 Res.. 32 bit color.. RLE compression...
The resized mod files are '16HTorpStat.tga' and '16HTorpStat2.tga'.. supposedly, these are just background graphic files for the Torpedo Station... as shown by the related 1024/TorpStat.dsf file... and I am not aware of any special layers to these .tga files..
So, I then relabeled these resized mod files as '1024TorpStat.tga' and '1024TorpStat2.tga' and pasted them back into the Sim/Art/Interface folder (after making backup copies of the originals first)...
But, when I run the game and select the Torpdeo Station, I get this Janus Error:
Tue Jan 29 11:46:00 2002
Error -1 [imageType != 2 && imageType != 3]
DirectX code: "Unrecognized error: 0xffffffff"
\Projects\Ultimation\Janus2\Windows\Sources\BD3DImg.cpp
Line 957
Of course, when I replace the Stock 1024TorpStat.tga and 1024TorpStat2.tga files back into the Sim/Art/Interface folder.. the Janus error vanishes and the game will function..
As far as I can tell, there is no difference between the Mod 1024TorpStat files and the Stock 1024TorpStat files.. they are both 1024x768 res.. 32 bit color..
Can anyone tell me what this Janus error means?... what am I doing wrong here?.. any advice would be appreciated... |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Fri Jul 30, 2004 4:49 am Post subject: Re: SOS: Torpedo Station Mod Janus Error |
|
|
| Duke of Earl wrote: | | As far as I can tell, there is no difference between the Mod 1024TorpStat files and the Stock 1024TorpStat files.. they are both 1024x768 res.. 32 bit color.. |
It needs to be 24 bit. |
|
| Back to top |
|
 |
Hitman
Joined: 14 Sep 2002 Posts: 3059 Location: Spain
|
Posted: Fri Jul 30, 2004 6:04 am Post subject: |
|
|
Check the size and compare the original and yours. Itīs possibly different due to the use of different color depth
If itīs different, then it will crash. If you are unsure about how to create the new screen, take the original one and copy and paste the resized one over it, then save. Photoshop will tell you that due to the formatīs limitations it will be limited to one image, but thatīs OK. \ |
|
| Back to top |
|
 |
Duke of Earl
Joined: 01 Feb 2003 Posts: 667 Location: 20 Meter von einer Wasserbombe
|
Posted: Fri Jul 30, 2004 10:46 am Post subject: Re: SOS: Torpedo Station Mod Janus Error |
|
|
| sergbuto wrote: | | Duke of Earl wrote: | | As far as I can tell, there is no difference between the Mod 1024TorpStat files and the Stock 1024TorpStat files.. they are both 1024x768 res.. 32 bit color.. |
It needs to be 24 bit. |
Thanks for the help Serg..
I changed the resized TorpStat mod files to 24 bit... with RLE compression... and tried them out.. got the same Janus error...
I took the stock TorpStat files and backed them up as 32 bit files.. then I repasted them into the Sim/Art/Interface folder.. and they work great...
Any other suggestions.. I'm sorta stumped.. this should not be happening.. :nope:
BELAY MY LAST!.. I tried the 24 bit save procedure over again... with no RLE compression applied... and this time it worked!...
The resized 16H mod file size has to be exactly 2.25 MB for an exact match with the stock 1024 file...
Ok, now the Torpedo Station looks much, much better.. and no more Janus errors... for the time being..
I might play around with Photoshop a little bit more to see if I can improve the image just a bit..
If anyone wants a copy of the TorpStat mod that works with 1024 Res.. just let me know and I'll email it to you..
Last edited by Duke of Earl on Fri Jul 30, 2004 12:04 pm; edited 2 times in total |
|
| Back to top |
|
 |
Duke of Earl
Joined: 01 Feb 2003 Posts: 667 Location: 20 Meter von einer Wasserbombe
|
Posted: Fri Jul 30, 2004 10:51 am Post subject: |
|
|
| Hitman wrote: | Check the size and compare the original and yours. Itīs possibly different due to the use of different color depth
If itīs different, then it will crash. If you are unsure about how to create the new screen, take the original one and copy and paste the resized one over it, then save. Photoshop will tell you that due to the formatīs limitations it will be limited to one image, but thatīs OK. \ |
Thanks for the help Hitman.... so, how can I copy & paste like that in Photoshop?... I don't see any commands to do exactly what you are describing..
How can I check the size exactly?.. in Photoshop, I can't find anything to use to compare the 'Properties' of 2 different graphics..
As far as I can tell, 1024x768 res is like 14.2222 inches x 10.6667 inches in size.. and both the TorpStat mod and TorpStat stock files are the same size..
Different color depth?.. does that mean layers?... how can I change the color depth?...
When I resized the TorpStat mod file, I saved it in RGB color.. and Photoshop also uses HSB color too.. does that make any difference?
I do see that there is a Color Variations command that can be used to adjust the color.. maybe I should try that?
Sorry for all the noob questions.. this is the first time that I have fooled around with a modded graphic image.. didn't think it would be this hard just to resize...
ALL STOP!... I finally managed to get the resized TorpStat mod file to work.. [see post above].... but, any additional Photoshop help would be greatly appreciated... |
|
| Back to top |
|
 |
|
|
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
|