SCI Narration Demo: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
| ReleaseDate = Aug, {{2012}} | | ReleaseDate = Aug, {{2012}} | ||
| ProjectStatus = {{CompletedFanSCI}} | | ProjectStatus = {{CompletedFanSCI}} | ||
| Developer = {{ | | Developer = {{NADev}} | ||
| Publisher = {{ | | Publisher = {{NAPub}} | ||
| Designer = {{JeremiahNellis}} | | Designer = {{JeremiahNellis}} | ||
| Source = {{Source}} | | Source = {{Source}} | ||
Line 24: | Line 24: | ||
}} | }} | ||
<br /> | |||
==<br /> Description == | ==<br /> Description == | ||
Line 36: | Line 37: | ||
| align="center"| | | align="center"| | ||
|} | |} | ||
==<br /> Synopsis == | |||
<blockquote> | |||
N/A | |||
</blockquote> | |||
==<br /> About == | ==<br /> About == | ||
Line 61: | Line 68: | ||
</div> | </div> | ||
==<br /> | ==<br /> Where to Get It == | ||
* [[Image:ZIP.png|ZIP File]] [[scidl:FanGames/SCI_Narration_Demo.zip|SCI Narration Demo]]<span class="DLInfo"> (ZIP file) [485 KB]</span> | * [[Image:ZIP.png|ZIP File]] [[scidl:FanGames/SCI_Narration_Demo.zip|SCI Narration Demo]]<span class="DLInfo"> (ZIP file) [485 KB]</span> | ||
Line 68: | Line 75: | ||
* | * | ||
==<br /> References == | |||
<references /> | |||
==<br /> Related Links == | ==<br /> Related Links == |
Revision as of 14:19, 15 April 2025
![]() SCI Narration Demo Title Screen | |
Release Date: | Aug, 2012 |
---|---|
Project Status: | Completed |
Latest Version: | |
Developer(s): | N/A |
Publisher: | N/A |
Designer(s): | Jeremiah Nellis |
Source Available: | |
Category: | Demo |
Type: | |
Genre: | Tech Demo |
Theme(s): | |
Engine: | SCI0 |
Platform: | MS-DOS |
Localization: | English |
Website: | sciprogramming.com/fangames (SCI) |
Description
SCI Narration adds a narrator to SCI games. Leverages the Google Translate API.
Screenshots
Synopsis
N/A
About
application which will read all the printed text displayed within a game. It calls the Google Translate API in real-time while a game is playing and speaks the displayed text to you.
It's a fun little project that I hacked together this weekend. It utilizes the ability for an SCI game to write to a file. It runs externally to the game, monitoring a file that I've modified the Controls.sc script to write all the print statements to. The application picks up the changes, ships them off to the api, saves the results to an MP3 and plays them.
Here's the script modification:
(if( <> STRINGS_EQUAL StrCmp("Enter Input:" @msgBuf)) (if( <> NULL (= hFile FOpen("print.txt" fCREATE)) ) FPuts(hFile @msgBuf) FClose(hFile) Wait(30) //wait a bit, so we can sync the text with the voice (sort of) ) )
I've uploaded a modified template game demonstrating the app. The executables: SCI_Narrate.exe and madplay.exe (madplay is needed to play the MP3s). If you want to incorporate a 'narrator' into your game, just copy the exe's into your game dir & modify or replace your Controls.sc.
I've included the C# source code for those interested.
Where to Get It
SCI Narration Demo (ZIP file) [485 KB]
Walkthroughs/Hints
References
Related Links