Difference between revisions of "SCI Narration Demo"

From SCI Wiki
Jump to navigationJump to search
(Created page with "{{FanGameInfobox | GameName = | image = 190px | ProjectStatus = {{Completed}} {{Demo}} {{InDevelopment}} % complete | ReleaseDate = | Developer = | ...")
 
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FanGameInfobox
+
<div align="center" style="font-size: 22pt">SCI Narration Demo</div><br />
| GameName =  
+
 
| image = [[Image:NoPicture.png|190px]]
+
{{FanSCIReleaseInfobox
| ProjectStatus = {{Completed}} {{Demo}} {{InDevelopment}} % complete
+
| ReleaseName = SCI Narration Demo
| ReleaseDate =  
+
| Image = [[Image:TemplateGameSS.png|190px]]<br />
| Developer =  
+
''SCI Narration Demo<br />''Title Screen
| Designer =  
+
| MusicalTheme = <!-- [[File:.ogg]] -- ><!-- <br />&nbsp;
| Source = {{Source}}
+
''InsertTitleHere''<br />&nbsp; -->
| ProgrammingLanguage = [[SCI]]
+
| ReleaseDate = {{2012}}-08-05<ref>https://sciprogramming.com/community/index.php?topic=616.0</ref>
| Genre = [[w:Adventure Game|Adventure]]
+
| ProjectStatus = {{CompletedFanSCI}}
| Engine = [[SCI]]
+
| ReleaseVersion = UnknownVer
 +
| Developer = {{JeremiahNellis}}
 +
| Publisher = {{JeremiahNellis}}
 +
| Designer = {{JeremiahNellis}}
 +
| Source = {{NoSource}}<!-- {{Source}}Included in download -->
 +
| Category = {{FanSCITechApp}}
 +
| Type = {{FanSCIDemoTechApp}}
 +
| Genre = {{ProofOfConcept}}
 +
| Theme = {{Script/Logic}}, {{Sound}}
 +
| Engine = {{SCI0}}
 +
| Platform = {{DOS}}
 
| Localization = {{English}}
 
| Localization = {{English}}
| Website =  
+
| Website = {{SCIPSCIURL}}
 
}}
 
}}
  
== Description ==
+
<br />
 +
==<br /> Description ==
 +
 
 +
<blockquote>
 +
[[Jeremiah Nellis]]'s '''''SCI Narration Demo''''' is a  [[SCI0]] {{Proof Of ConceptCategory}}.
 +
 
 +
{{ReleasePageStub}}
 +
</blockquote>
 +
<!--
 +
==<br />Screenshots ==
 +
 
 +
{| align="center" width="80%"
 +
| align="center"|[[Image:SCINarrationDemoSS1.png|320px]]
 +
| align="center"|[[Image:SCINarrationDemoSS2.png|320px]]
 +
|}-->
 +
 
 +
==<br /> Synopsis ==
 +
 
 +
<blockquote>
 +
N/A
 +
</blockquote>
 +
 
 +
==<br /> About ==
  
'''''GameName''''' is
+
<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.
  
&nbsp;
+
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.
== Screenshots ==
+
 
 +
Here's the script modification:
  
{| align="center" width="70%"
+
<pre>  (if( <> STRINGS_EQUAL StrCmp("Enter Input:" @msgBuf))
| align="center"|[[Image:SS1.png|320px]]
+
  (if( <> NULL (= hFile FOpen("print.txt" fCREATE)) )
| align="center"|[[Image:SS2.png|320px]]
+
  FPuts(hFile @msgBuf)
|}
+
  FClose(hFile)
 +
  Wait(30)  //wait a bit, so we can sync the text with the voice (sort of)
 +
  )
 +
    )</pre>
  
&nbsp;
+
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.
== Story ==
 
  
&nbsp;
+
I've included the C# source code for those interested.
== About ==
+
</div>
  
&nbsp;
+
==<br /> Where to Get It ==
== Download ==
 
  
* [[Image:ZIP.GIF|ZIP File]] [[SCIF:FanGames/GameName.zip|GameName]]<span class="DLInfo"> (ZIP file) [ KB]</span>
+
<blockquote>
 +
* [[Image:ZIP.png|ZIP File]] [[File:SCI_Narration_Demo.zip|SCI Narration Demo]]<span class="DLInfo"> (ZIP file) [485 KB]</span>
 +
</blockquote>
  
&nbsp;
+
==<br /> References ==
== Walkthroughs/Hints ==
 
  
* [[Image:ZIP.GIF|ZIP File]] [[SCIF:FanGames/GameNameWalkthrough.zip|GameName Walkthrough]]<span class="DLInfo"> (ZIP file) [ KB]</span>
+
<references />
  
&nbsp;
+
==<br /> Related Links ==
== Related Links ==
 
  
* [[Fan Made Game List|Fan Made Game List]]
+
* [[:Category:Fan Releases|Fan Releases]]
* [[GameName Series|GameName Series]]
+
* [[w:Special:Search/|:Category:Fan Releases|Fan Releases on Wikipedia]]
 +
* [[Fan SCI Release List]]
  
 
&nbsp;
 
&nbsp;
  
<!-- [[Category:Category]] -->
+
[[Category:Fan Releases]]
 +
[[Category:Fan SCI Releases]]

Latest revision as of 20:57, 19 June 2024

SCI Narration Demo


SCI Narration Demo
TemplateGameSS.png

SCI Narration Demo
Title Screen

Release Date: 2012-08-05[1]
Project Status: Completed
Latest Version: UnknownVer
Developer(s): Jeremiah Nellis
Publisher: Jeremiah Nellis
Designer(s): Jeremiah Nellis
Source Available:  No
Category: Tech App
Type: Demo
Genre: Proof of Concept
Theme(s): Script/Logic, Sound
Engine: SCI0
Platform: MS-DOS
Localization: English
Website: sciprogramming.com




Description

Jeremiah Nellis's SCI Narration Demo is a SCI0 proof of concept demo.

Release.png   This article is a Release Page release stub page.
You can help the Sierra Wiki by expanding it.


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


References


Related Links