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 |

Extracting TGA files from .dat files (tool inside)
Goto page Previous  1, 2
 
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
Jace11



Joined: 16 Mar 2005
Posts: 1091

PostPosted: Tue Mar 29, 2005 1:15 am    Post subject: Reply with quote

i am very interested but I can't get hold of your tool, I sent you a pm with my email address, could you send it to me please?

Cheers

Or, anyone got a mirror, its only tiny file but my ISP proxy stops me getting files from rapidshare....

It is so annoying..
Back to top
View user's profile Send private message
etchasketch



Joined: 22 Mar 2005
Posts: 76

PostPosted: Thu Mar 31, 2005 3:06 pm    Post subject: Reply with quote

Ok, i've realised a problem with the regular expression. Its not extracting the correct filename all the time. This is due to the difficulty in excluding an arbitary sequence in a regular expression.

If you want better results, then please use
Code:
extract.exe -r \x00(\w+?\.tga)\W{1,15}?(\x00\x00\x02\x00\x00\x00\x00.....(..)(..)([\x08\x10\x18\x20]).*?TRUEVISION-XFILE.\x00) <filename>



However, I'm still not able to extract all the tga files, but at least the filenames seem to be correct.
Back to top
View user's profile Send private message
Malakovski



Joined: 25 Mar 2005
Posts: 27
Location: SC, US

PostPosted: Thu Mar 31, 2005 6:02 pm    Post subject: Reply with quote

I can't access the file either. Any chance of a mirror somewhere?
Back to top
View user's profile Send private message
etchasketch



Joined: 22 Mar 2005
Posts: 76

PostPosted: Fri Apr 01, 2005 2:32 pm    Post subject: Reply with quote

New version available (0.2).

If someone could mirror it, that would be great.
Back to top
View user's profile Send private message
filboid42



Joined: 14 Mar 2001
Posts: 71
Location: Maine USA

PostPosted: Fri Apr 01, 2005 10:02 pm    Post subject: Reply with quote

Etch wanted to thank you for the discovery of the hidden TGA files and the code.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ZanRod



Joined: 28 Mar 2005
Posts: 25
Location: Rotterdam

PostPosted: Mon Apr 11, 2005 5:10 pm    Post subject: Reply with quote

does anyone now if there is already a tool to inject the .tga files back into the .dat file

thx
Back to top
View user's profile Send private message
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
Page 2 of 2

 
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