Where is Betty? :)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Can't find that.
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.
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:56imperium3 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.
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24961
- Joined: Sun, 2. Apr 06, 16:38
Re: Where is Betty? :)
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).
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
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, Nopileos, X3: Yoshiko as Kindle e-books!
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, Nopileos, X3: Yoshiko as Kindle e-books!
Re: Where is Betty? :)
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.X2-Illuminatus wrote: ↑Sat, 14. Mar 20, 09:1600044.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).
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"/>
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24961
- Joined: Sun, 2. Apr 06, 16:38
Re: Where is Betty? :)
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).
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
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, Nopileos, X3: Yoshiko as Kindle e-books!
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, Nopileos, X3: Yoshiko as Kindle e-books!
Re: Where is Betty? :)
Yep I'm using the 00144.dat file.X2-Illuminatus wrote: ↑Sat, 14. Mar 20, 10:14We'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).
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
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24961
- Joined: Sun, 2. Apr 06, 16:38
Re: Where is Betty? :)
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).
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).
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
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, Nopileos, X3: Yoshiko as Kindle e-books!
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, Nopileos, X3: Yoshiko as Kindle e-books!