Where is Betty? :)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

StarCrack
Posts: 214
Joined: Thu, 3. Apr 08, 05:27
x3tc

Post by StarCrack » Sat, 23. Apr 11, 02:34

OT : Hastings and Gore in Vancouver?
if yes good to know

User avatar
imperium3
Posts: 1253
Joined: Fri, 5. Jun 09, 18:55
x3tc

Post by imperium3 » Sat, 23. Apr 11, 12:47

Litcube wrote:Also, Betty can be found on the corner of Hastings and Gore week nights between 2:00 a.m. and 4:00 a.m. after the bars close. Reasonable rates. She doesn't do everything, but she's good at what she does.
That sounds more like Betty's "Incoming Massage"...

I'll get my coat :P
ImageImage

User avatar
Chobittsu
Posts: 1545
Joined: Wed, 14. Apr 10, 21:12
x4

Post by Chobittsu » Sat, 23. Apr 11, 20:22

Woo! Now my computer can talk in English to me!!!
Image

Szymciu
Posts: 52
Joined: Tue, 30. Aug 05, 19:31
x3tc

Post by Szymciu » Sun, 24. Apr 11, 19:57

Killjaeden wrote:rename it to .wav and open it with a media player ;)

beware: 300mb
media player told me that its wma file and that was pretty right :D
(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

Leytra
Posts: 3
Joined: Sat, 15. Feb 20, 06:09
x3ap

Can't find that.

Post by Leytra » Sat, 14. Mar 20, 06:56

I am about to necro this thread beyond all sense and I have no regrets.
So here goes: I'm trying to find this 0044.pck file, and all I can find is 00044.pck instead. Opening said file in x3 editor instead gets me all the IDs of the audio files as they exist in 0001-L044 but they do not give me any form of timestamps, the only information given is page id and the sound id. However for what I'm doing, (adding a new sound to play as a name for a ship betty can't say,) I need to find the timestamps, so that I can add a new one onto the file, and then it's timestamp.
Litcube wrote:
Sat, 23. Apr 11, 01:56
imperium3 wrote:Sorry for necroing this thread, but it seemed the best place to ask so anyone in future will also see the answer to this.

I am looking to get hold of Betty's "Incoming message". I've found the text page and ID in the main 0001-L044 text file - it's p13 ID 1333. But where do I proceed from here? I cannot find any 00144.xml in the gamefiles - there is the .dat, sure, but that's the actual sound file and doesn't work when the file extension is changed to XML. And finding that small fragment in a 12hr file is futile.

So does anyone know where this 00144.xml is that Cycrow refers to?

It's 0044.pck. There's an xml file in there that contain a big ass list of markers. Find the page you're looking for, then the ID. That particular element will contain two values. The first is the marker in milliseconds, and the second is the length of the sound.

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21758
Joined: Sun, 2. Apr 06, 16:38
x4

Re: Where is Betty? :)

Post by X2-Illuminatus » Sat, 14. Mar 20, 10:16

00044.pck is the correct file. (Easy enough to add or miss a leading '0'.) Try unpacking the file using the X3 Editor 2, and open the unpacked 00044.xml file with an xml or text editor. Then you see the page and text ids of the voiced words as well as their starting time in the corresponding 00144.dat and length (both in milliseconds).
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend and Nopileos as Kindle e-books! (NOW also available: X3: Yoshiko!)

Leytra
Posts: 3
Joined: Sat, 15. Feb 20, 06:09
x3ap

Re: Where is Betty? :)

Post by Leytra » Sat, 14. Mar 20, 10:58

X2-Illuminatus wrote:
Sat, 14. Mar 20, 10:16
00044.pck is the correct file. (Easy enough to add or miss a leading '0'.) Try unpacking the file using the X3 Editor 2, and open the unpacked 00044.xml file with an xml or text editor. Then you see the page and text ids of the voiced words as well as their starting time in the corresponding 00144.dat and length (both in milliseconds).
Okay so I was able to open that file now but the timestamps don't seem to correspond. I'm using premiere pro to try and slide directly to the timestamp by typing it in and it's not corresponding to what the sound ID should be.
For example, using the line this thread was originally searching for, "incoming message." it's id is 1333. On the XML file, 1333 is listed as so:

Code: Select all

    <t id="1333" s="31180880" l="1336"/>
That S number does not correspond to a millisecond time stamp for the sound.

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21758
Joined: Sun, 2. Apr 06, 16:38
x4

Re: Where is Betty? :)

Post by X2-Illuminatus » Sat, 14. Mar 20, 11:14

We're talking about X3TC and its main voice recording file 00144.dat, right? Not the additional 00244.dat of X3AP. It works fine for me with that text and time stamp. Since I currently do not have a proper audio editor installed, I just shortly tested this with VLC media player and the correct voice recording is played at 08:39:41 (hh:mm:ss; no ms support here).
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend and Nopileos as Kindle e-books! (NOW also available: X3: Yoshiko!)

Leytra
Posts: 3
Joined: Sat, 15. Feb 20, 06:09
x3ap

Re: Where is Betty? :)

Post by Leytra » Sat, 14. Mar 20, 22:53

X2-Illuminatus wrote:
Sat, 14. Mar 20, 11:14
We're talking about X3TC and its main voice recording file 00144.dat, right? Not the additional 00244.dat of X3AP. It works fine for me with that text and time stamp. Since I currently do not have a proper audio editor installed, I just shortly tested this with VLC media player and the correct voice recording is played at 08:39:41 (hh:mm:ss; no ms support here).
Yep I'm using the 00144.dat file.
My endgoal is to figure out how to use these timestamps to give betty a line for the word "tartan" but I just need to figure out the timestamps first.
It doesn't seem to correlate in any way is the issue. How do you read the 31180880 as a timestamp then? Because that's clearly what I'm messing up

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 21758
Joined: Sun, 2. Apr 06, 16:38
x4

Re: Where is Betty? :)

Post by X2-Illuminatus » Sat, 14. Mar 20, 23:45

Milliseconds divided by 1000 gives you seconds. Seconds divided by 60 gives you minutes. Minutes divided by 60 gives you hours:
31180880 ms / 1000 = 31180,88 s
31180,88 s / 60 = 519,6813333333333‬ min
519,6813333333333 min‬ / 60 = ‭‬8,661355555555556 h

Keeping the integral part and multiplying the rest by the divisor again gives you the time format I posted above:
(8,661355555555556 hours - 8) hours * 60 = 39,68133333333333 minutes
(39,68133333333333 - 39) minutes * 60 = 40,88 seconds
(40,88 - 40) seconds * 1000 = 880 milliseconds
880 milliseconds

Thus, as I wrote above, 31180880 correlates to 08:39:41 (hh:mm:ss, rounded to seconds), or actually 08:39:40,88 (hh:mm:ss,ff; if your audio editor supports the display of milliseconds).
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend and Nopileos as Kindle e-books! (NOW also available: X3: Yoshiko!)

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”