Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luciusDXL committed Sep 22, 2023
2 parents 8180633 + b9b11f1 commit c837447
Show file tree
Hide file tree
Showing 19 changed files with 741 additions and 119 deletions.
14 changes: 13 additions & 1 deletion TheForceEngine/Captions/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ For example,
This corresponds to General Moc's third line of dialog during the cutscene before
Talay. Because this is for a cutscene, the file name (m01moc03) has no extension.
The number at the end indicates that the subtitle should display for 1.5 seconds.
When the duration value is not included, the caption duration is automatically
calculated from the length of the caption (in bytes).

ransto01.voc "Trooper: There he is, stop him!"

Expand All @@ -36,4 +38,14 @@ frequently and are obnoxious if captioned.
Lines that begin with // or # are ignored

//this is a comment
# this is also a comment
# this is also a comment

UTF-8 Unicode is supported, but make sure that you select a font which supports the
necessary character set. If a unicode character is missing from the selected font,
the missing character will be replaced by a rectangle or question mark.

Because automatic caption durations are calculated by measuring the length of the
caption in bytes, and UTF-8 characters may be more than 1 byte long, the automatic
duration may be too long when the caption consists primarily of multi-byte Unicode
characters. You can avoid this issue by including the duration value in the caption
file.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
example_cutscene "This is an example cutscene caption."

//ENEMIES
ranofc02.voc "Officer: Stop where you are!"
ranofc04.voc "Officer: You're not authorized in this area."
Expand All @@ -15,13 +17,9 @@ icmdo-1.voc "Commando: He's over here! Stop that man!" //unused?
ioffic-1.voc "Officer: Halt! Hold it right there."
m16moc01.voc "General Mohc: It's been a long time since I've challenged a man to battle. I'm glad my opponent is so worthy."


//SFX
boba-1.voc "[Fett laughs]"
boba-3.voc "[Fett yells]"
boba-4.voc "[Fett screams]"
beep-10.voc "[MINE BEEPING]"
fall.voc "[Kyle screams]"
door.voc "[Door hisses]"
door.voc "[Door hisses]"
door-04.voc "[Door clanking]"
door1-1.voc "[Door hisses]"
//door1-2.voc "[Door mechanism whirring]" //too frequent
Expand All @@ -32,24 +30,41 @@ door2-1.voc "[Door clanking]"
door3-1.voc "[Door clanking]"
//door3-2.voc "[Door mechanism whirring]" //too frequent
//door3-3.voc "[Door thuds]"
ex-lrg1.voc "[Explosion]"
ex-med1.voc "[Big Explosion]"
ex-tiny.voc "[Bang]"
swim-in.voc "[Splash]"
gamor-3.voc "[Porcine grunting]"
reeyee1.voc "[Alien yelling]"
reeyee-1.voc "[Alien yelling]"
probe-1.voc "[Staccato droid speech]"
//probalm.voc "[Circuits overloading]"
bossk-1.voc "[Alien hissing]"
choke.voc "[Kyle gasps and grunts]" 5
kell-1.voc "[Kell dragon roaring]"
kell-2.voc "[Aggressive growling]"
boba-1.voc "[Fett laughs]" //Boba Fett taunt
//boba-3.voc "[Fett yells]" //Boba Fett pain (nearly inaudible)
boba-4.voc "[Fett screams]" //Boba Fett death
gamor-1.voc "[Porcine scream]" //Gamorrean death
gamor-3.voc "[Porcine grunting]" //Gamorrean alert
reeyee1.voc "[Alien yelling]" //Gran alert
reeyee-1.voc "[Alien yelling]" //Gran alert (duplicate)
reeyee3.voc "[Alien death yell]" //Gran death
reeyee-3.voc "[Alien death yell]" //Gran death (duplicate)
probe-1.voc "[Staccato droid speech]" //Probe alert
probalm.voc "[Circuits overloading]" //Probe death
bossk-1.voc "[Reptilian hissing]" //Trandoshan alert
bosskdie.voc "[Reptilian hiss-scream]" //Trandoshan death
kell-1.voc "[Kell dragon roaring]" //Kell dragon
kell-2.voc "[Aggressive growling]" //Kell dragon
kell-7.voc "[Kell dragon screaming]" //Kell dragon death
intalert.voc "[Warbling droid repulsorlift]" //Interrogator droid alert
weld-die.voc "[Welder grinds to a halt]" //Welder death
st-die-1.voc "[Death yell]" //Trooper/officer death
phase1a.voc "[Menacing electronic buzz]" //Phase 1 alert
phase1c.voc "[Mechanical death rattle]" //Phase 1 death
phase2c.voc "[Synthesized yell, collapsing metal]" //Phase 3 death
phase3a.voc "[Clanking, Mohc laughs]" //Phase 3 taunt
phase3c.voc "[Mohc screams]" //Phase 3 death
ex-lrg1.voc "[Explosion]"
ex-med1.voc "[Big Explosion]"
ex-tiny.voc "[Bang]"
swim-in.voc "[Splash]"
beep-10.voc "[MINE BEEPING]"
fall.voc "[Kyle screams]"
choke.voc "[Kyle gasps and grunts]" 5
landing1.voc "[Thrusters firing]"
locked-1.voc "[Locked]"
ex-small.voc "[Explosion]"
creatur1.voc "[Menacing rumble, water sloshing]"
intalert.voc "[Warbling droid repulsorlift]"

//----- MISSION VOICEOVER --------------------------------------
//M01 (Secret Base)
Expand Down Expand Up @@ -92,11 +107,15 @@ m09jana1.voc "Jan: Those must be smuggler routes to the Arc Hammer. I think it's
m10jan01.voc "Jan: Thanks, I thought I was done for."
m10kyl03.voc "Kyle: No time for hugs. Let's get out of here."
//M11 (Imperial City)
m11kyl01.voc "Kyle: Jan, I've cracked the central lock. I'm in."
m11jan01.voc "Jan: Good job Kyle, but you're not done yet."
m11kyl02.voc "Kyle: Navacard inserted and decoding."
m11jan02.voc "Jan: Beautiful Kyle. Now get that data tape and high-tail your mercenary hide back to the landing pad. I can't stay out here too long before Imperial security takes notice." 8
m11kyl03.voc "Kyle: Data tapes in hand, I'm on my way out."
m11jan03.voc "Jan: Kyle, something strange is going down over here. Get back here - I mean it!"
m11jan04.voc "Jan: Oh no! Kyle, you better look out, I just saw... [loud static]"
m11jan05.voc "Jan: Kyle, where are you? I'm back at the landing pad."
m11kyl04.voc "Kyle: Where were you, Jan?"
m11jan06.voc "Jan: I had TIE Fighters all over me. I had to properly dispose of them."
m11jana6.voc "Jan: I had TIE Fighters all over me. I had to properly dispose of them." //alt. take
//M12 (Fuel Station)
Expand All @@ -118,11 +137,11 @@ m16kyl06.voc "Kyle: For freedom."
//----- CUTSCENES -----------------------------------------------
//Before M02 (Talay)
m01nar01 "Kyle delivers the plans to the Rebel Alliance. Soon afterwards, the Death Star is destroyed. But even as the Alliance celebrates this victory, another sinister plot is set in motion that will become an even greater concern for the Rebellion." 13.5
m01vdr01 "The Emperor has approved your test demonstration, General Mohc."
m01moc0a "Thank you Lord Vader. What I unveil today will mark a new era for the Empire."
m01moc01 "Thank you Lord Vader. What I unveil today will mark a new era for the Empire." //duplicate
m01moc0b "We will be able to decimate the Rebels just as we did the Jedi Knights. At last, the Emperor's war will be filled only with the glory and beauty of decisive victory."
m01vdr02 "A noble cause, General. I hope the demonstration lives up to your claims. Proceed."
m01vdr01 "The Emperor has approved your test demonstration, General Mohc." 4
m01moc0a "Thank you Lord Vader. What I unveil today will mark a new era for the Empire." 5.1
m01moc01 "Thank you Lord Vader. What I unveil today will mark a new era for the Empire." 5.1 //duplicate
m01moc0b "We will be able to decimate the Rebels just as we did the Jedi Knights. At last, the Emperor's war will be filled only with the glory and beauty of decisive victory." 11
m01vdr02 "A noble cause, General. I hope the demonstration lives up to your claims. Proceed." 6
m01moc02 "With pleasure."
m01moc03 "Dark Trooper: release."
intcom3 "[Indistinct PA chatter]"
Expand All @@ -133,7 +152,7 @@ beep-3 "[Loud beep]"
dt-door2 "[Mechanical noises]"
dt-lower "[Equipment whirring]"
dtlaunch "[Engine blast]"
dive1 "[Howling engines]"
dive1 "[Howling engines]"
m01vdr03 "Very impressive, General. The Emperor will be most pleased. Continue with your project."
m01moc04 "Certainly, Lord Vader."
m01mma01 "Thank you commander, for responding at such short notice. The Empire has been keeping us on the run since the destruction of the Death Star."
Expand All @@ -157,13 +176,13 @@ m05moc02 "I understand the threat, Lord Vader. Katarn was once an impressive Imp
guncock "[Blaster cocking]"

//Before M10 (Jabba's Ship)
ray "[Beam pulsing]" 2.9
ray "[Beam pulsing]" 2.9
hyp-in-8 "[Engines whining]" 3
shiplock "[Clang]"
snort "[Gamorreans grunting]"
snort "[Gamorreans grunting]"
m10kyl01 "Jabba? What have you done with Jan? If any harm comes to her, I'll personally shove my blaster down your slimy throat."
m10kyl02 "I wish you were here too, Jabba. There's nothing like roast Kell dragon."
pigpush "[Gamorrean grunts]"
pigpush "[Gamorrean grunts]"

//M16 (unused?)
m16moc02 "You are an excellent adversary, commander. The warrior's flame burns in your soul. It is a shame that we are not allies."
Expand All @@ -179,7 +198,7 @@ m16vdr01 "This is an unfortunate setback. The Force is strong with Katarn..." 4.
m12imp01 "Smuggler ship, your flight path is clear. Begin your docking procedure." 4.5
xw-nf-1 "[Engines roaring]"
ex-grom1 "[Distant booming]" 4
tube1 "[Mechanisms whirring]"
tube1 "[Mechanisms whirring]"

//FOR TESTING
//jump-1.voc "[Jump]"
Expand Down
11 changes: 11 additions & 0 deletions TheForceEngine/Documentation/markdown/TheForceEngineManual.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ Open the built-in editors. Note that the editors are currently disabled due to l

**Exit**
Exit the application.

## Accessibility Settings
The Accessibility Settings menu includes customization settings for closed captions/subtitles. You can separately enable or disable voice subtitles (e.g. "You there, stop where you are!") and captions (e.g. "[Mechanical death rattle]") for gameplay and cutscenes.
### Custom captions and fonts
It is possible to add custom caption files and fonts, for example to support subtitles in other languages.

**Custom caption files**
Custom caption files can be added to the `Captions` directory in your TFE install directory (e.g. **`C:\TheForceEngine\Captions`**) or in the TFE documents directory (e.g. **`C:\Users\UserName\Documents\TheForceEngine\Captions`** on Windows). The **`Captions`** directory in the TFE install directory includes a **`README.txt`** file with notes about the caption format. UTF-8 Unicode is supported, but make sure that you select a font which supports the necessary character set.

**Custom fonts**
Custom fonts in TrueType (.ttf) format can be added to the **`Fonts`** directory in your TFE install directory (e.g. **`C:\TheForceEngine\Fonts`**) or in the TFE documents directory (e.g. **`C:\Users\UserName\Documents\TheForceEngine\Fonts`** on Windows). Unicode character sets are supported.
Binary file added TheForceEngine/Fonts/NotoSans-Regular.ttf
Binary file not shown.
93 changes: 93 additions & 0 deletions TheForceEngine/Fonts/OFL (Noto Sans).txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2015-2021 Google LLC. All Rights Reserved.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading

0 comments on commit c837447

Please sign in to comment.