SCI Narration Demo: Difference between revisions

From Sierra Wiki
Jump to navigationJump to search
m 1 revision imported
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div align="center" style="font-size: 22pt">SCI Narration Demo</div><br />
<div align="center" style="font-size: 22pt"></div><br />


{{FanSCIReleaseInfobox
{{FanSCIReleaseInfobox
| ReleaseName = SCI Narration Demo
| ReleaseName = SCI Narration Demo
| Image = [[Image:TemplateGameSS.png|190px]]<br />
| Image = [[Image:TemplateGameSS.png|190px]]<br />
''SCI Narration Demo<br />''Title Screen
''SCI Narration Demo Title Screen''
| MusicalTheme = <!-- [[File:.ogg]] -- ><!-- <br />&nbsp;
| MusicalTheme = <!-- [[File:.ogg]] -- ><!-- <br />&nbsp;
''InsertTitleHere''<br />&nbsp; -->
''InsertTitleHere''<br />&nbsp; -->
| ReleaseDate = {{2012}}-08-05<ref>https://sciprogramming.com/community/index.php?topic=616.0</ref>
| ReleaseVersion =
| ReleaseDate = Aug, {{2012}}
| ProjectStatus = {{CompletedFanSCI}}
| ProjectStatus = {{CompletedFanSCI}}
| ReleaseVersion = UnknownVer
| Developer = {{JeremiahNellis}}
| Developer = {{JeremiahNellis}}
| Publisher = {{JeremiahNellis}}
| Publisher = {{JeremiahNellis}}
| Designer = {{JeremiahNellis}}
| Designer = {{JeremiahNellis}}
| Source = {{NoSource}}<!-- {{Source}}Included in download -->
| Source = {{Source}}
| Category = {{FanSCITechApp}}
| Category = {{FanDemo}}
| Type = {{FanSCIDemoTechApp}}
| Type =  
| Genre = {{ProofOfConcept}}
| Genre = {{TechDemo}}
| Theme = {{Script/Logic}}, {{Sound}}
| Theme =  
| Engine = {{SCI0}}
| Engine = {{SCI0}}
| Platform = {{DOS}}
| Platform = {{DOS}}
Line 24: Line 24:
}}
}}


<br />
==<br /> Description ==
==<br /> Description ==


<blockquote>
<blockquote>
[[Jeremiah Nellis]]'s '''''SCI Narration Demo''''' is a [[SCI0]] {{Proof Of ConceptCategory}}.
'''''SCI Narration''''' adds a narrator to SCI games. Leverages the Google Translate API.  
</blockquote>


{{ReleasePageStub}}
==<br /> Screenshots ==
</blockquote>
<!--
==<br />Screenshots ==


{| align="center" width="80%"
{| align="center" width="80%"
| align="center"|[[Image:SCINarrationDemoSS1.png|320px]]
| align="center"|
| align="center"|[[Image:SCINarrationDemoSS2.png|320px]]
| align="center"|
|}-->
|}


==<br /> Synopsis ==
==<br /> About ==


<blockquote>
<blockquote>
N/A
&nbsp;
</blockquote>
</blockquote>


==<br /> About ==
==<br /> Download ==
 
<div class="Quote">
{{Quote|Attrib = {{JeremiahNellisQ}}<ref>https://sciprogramming.com/community/index.php?topic=616.0</ref>
}}
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:
* [[Image:ZIP.png|ZIP File]] [[scidl:FanGames/SCI_Narration_Demo.zip|SCI Narration Demo]]<span class="DLInfo"> (ZIP file) [485 KB]</span>
 
<pre>  (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)
  )
    )</pre>
 
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.
</div>
 
==<br /> Where to Get It ==
 
<blockquote>
* [[Image:ZIP.png|ZIP File]] [[File:SCI_Narration_Demo.zip|SCI Narration Demo]]<span class="DLInfo"> (ZIP file) [485 KB]</span>
</blockquote>


==<br /> References ==
==<br /> Walkthroughs/Hints ==


<references />
* &nbsp;


==<br /> Related Links ==
==<br /> Related Links ==


* [[Fan Release List|Fan Release List]]
* [[:Category:Fan Releases|Fan Releases]]
* [[:Category:Fan Releases|Fan Releases]]
* [[w:Special:Search/|:Category:Fan Releases|Fan Releases on Wikipedia]]
* [[Fan SCI Release List]]


&nbsp;
&nbsp;


[[Category:Fan Releases]]
[[Category:sciAudio Releases]]
[[Category:Fan SCI Releases]]

Latest revision as of 22:37, 15 February 2025


SCI Narration Demo
File:TemplateGameSS.png

SCI Narration Demo Title Screen

Release Date: Aug, 2012
Project Status: Completed
Latest Version:
Developer(s): Jeremiah Nellis
Publisher: Jeremiah Nellis
Designer(s): Jeremiah Nellis
Source Available: 
Category: Demo
Type:
Genre: Tech Demo
Theme(s):
Engine: SCI0
Platform: MS-DOS
Localization: English
Website: sciprogramming.com



Description

SCI Narration adds a narrator to SCI games. Leverages the Google Translate API.


Screenshots


About

 


Download


Walkthroughs/Hints

  •  


Related Links