[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
TresCom Forums • View topic - Editing captions

TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Sat Sep 21, 2019 2:04 pm

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Editing captions
PostPosted: Sun Apr 21, 2019 10:45 pm 
Offline
Brachiosaurus
Brachiosaurus
User avatar

Joined: Sat Mar 07, 2009 2:56 pm
Posts: 109
Location: Czech republic
Is there any comprehensive tutorial how to edit/change captions (subtitles) in Trespasser? I know how to edit hints and the tutorial via the CE patch, but what about those in TPA files?

_________________
"To defeat an enemy, you must know them. Not simply their battle tactics, but their history, philosophy, art." - Grand Admiral Thrawn


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Sun Apr 21, 2019 11:37 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)
A program could be written to do that, but at the moment there isn't one. I think TSord's
Trespasser Sound Editor might have had something like that in mind, but I never could get
that program to load, let alone run.

I imagine either I or machf could do it, but I won't have any free time until next weekend;
I wouldn't know how much free time machf might have. What is your intent anyways? Use
a different language?


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Sun Apr 21, 2019 11:47 pm 
Offline
Brachiosaurus
Brachiosaurus
User avatar

Joined: Sat Mar 07, 2009 2:56 pm
Posts: 109
Location: Czech republic
Yeah, I would like to translate it into my native language. But there's no need to hurry. I was just wondering if it's even possible to do.

_________________
"To defeat an enemy, you must know them. Not simply their battle tactics, but their history, philosophy, art." - Grand Admiral Thrawn


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Mon Apr 22, 2019 6:06 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 11510
Location: Lima, Peru
The simplest solution is extracting everything to .CAU files, editing the captions for those .CAU files, and assembling back the .TPA files. We'd need a way to keep track of the original sound IDs, though...

_________________
Visit - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated and documents
Sound name listings for the , , , , , , , and TPA files


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Tue Apr 23, 2019 11:32 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Wed Apr 24, 2019 1:35 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 11510
Location: Lima, Peru
The ideal way is to make an .eel file but using the sound hashes instead of the sound names, that way it doesn't matter if we don't know the name used for a sound in the .TPA file. And I had asked Lee some time ago if he could make it so that EffectsEditor could process such modified .eel files... maybe listing the sound hash between triangular brackets (< and >) to differentiate it from sound names.

Also, keep in mind that, when you extract the sounds from a .tpa file to .cau files, the name that ought to be used should be a reference to the sound sample number, not the sound ID (name) number (since the same sound sample can be referenced by multiple sound IDs), and the .eel file should be generated at the same time...

_________________
Visit - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated and documents
Sound name listings for the , , , , , , , and TPA files


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Wed Apr 24, 2019 4:51 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11740
Location: Portland, OR
I thought TPA Reader could already do this?

_________________
Image
Image / / /


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Thu Apr 25, 2019 11:39 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Fri Apr 26, 2019 1:50 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 11510
Location: Lima, Peru

_________________
Visit - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated and documents
Sound name listings for the , , , , , , , and TPA files


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Fri Apr 26, 2019 10:52 am 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)
Yeah, but duplicate ids don't exist inside the stream tpa, so that really isn't a concern in as far as that
tpa. In as far as the effects.tpa pointing to the same samples, the only difference would be that you'd
have a few additional caus being added in the rebuild. The tpa would simply have a few duplicate sounds
that have different sample names attached to them. The end result would be that both the number of
entries and number of samples would match, just like the stream or menu tpa. It really isn't a problem
at all.


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Fri Apr 26, 2019 4:44 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 11510
Location: Lima, Peru
It may not be a problem quite, but it's wasted space... and keep in mind that aside from the "standard" voiceovers in the Stream.tpa file, there are other ones in Effects.tpa which have captions too...

_________________
Visit - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated and documents
Sound name listings for the , , , , , , , and TPA files


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Fri Apr 26, 2019 7:19 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)
Yeah, but the wasted space would be rather small, machf. Just a few kilobytes. Considering the size of
the tpas, it's rather miniscule.

I already have a working prototype, It's just not ready for primetime yet -


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Fri Apr 26, 2019 11:15 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 11510
Location: Lima, Peru
I'll eventually work on a program that dumps the contents of a .TPA file as a set of .CAU files and an .EEL file, anyway. I've had the idea for a long time, now after having handled that TPA udpater it's going to be easier since I can reuse parts of the code. And for the rest I can convert the code of my old QuickBASIC .CAU extractors... and instead of dumping the contents of the TPA file to a .CSV file, now I'll be dumping it to an .EEL file which is also text. Fairly easy.

_________________
Visit - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated and documents
Sound name listings for the , , , , , , , and TPA files


Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Sat Apr 27, 2019 12:26 am 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 5388
Location: That country nobody likes (you know the one)


Attachments:
File comment: Caption_Editor _v1
Caption_Editor.zip [381.28 KiB]
Downloaded 82 times
Top
 Profile  
 
 Post subject: Re: Editing captions
PostPosted: Sat Apr 27, 2019 8:20 am 
Offline
Brachiosaurus
Brachiosaurus
User avatar

Joined: Sat Mar 07, 2009 2:56 pm
Posts: 109
Location: Czech republic
Thank you, Rebel. I'll try it and let you know.

_________________
"To defeat an enemy, you must know them. Not simply their battle tactics, but their history, philosophy, art." - Grand Admiral Thrawn


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group