Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ghostlady on Wed 05/06/2024 04:56:00

Title: Viewing The Script
Post by: Ghostlady on Wed 05/06/2024 04:56:00
Is there a way to dump the whole game script into a word doc or notepad?  I seem to recall being able to do that in an older version.  If not, is there a way to dump off all the "Say" parts for creating speech?
Title: Re: Viewing The Script
Post by: Khris on Wed 05/06/2024 07:25:44
There's the "Create voice acting script" option from File menu. Or you can create a translation source.
How to answer this is unclear because you haven't told us what your actual goal is.

https://xyproblem.info/
Title: Re: Viewing The Script
Post by: Ghostlady on Thu 06/06/2024 03:54:53
The game dump is great to have so you can search it for anything.  What room an object is in, where global inits are being used etc.  The second reason I wanted it was to create a voice acting script to give to the voiceover people. I did the "Create voice acting script" but it created an empty file. I need all the lines from the SaySpecial*'s.
Title: Re: Viewing The Script
Post by: Snarky on Thu 06/06/2024 06:50:06
If you use the Speech Center plugin (https://www.adventuregamestudio.co.uk/forums/modules-plugins-tools/editor-plugin-speech-center-version-2-2-0/), you can specify other speech functions to export in the voice acting script.

Quote from: Ghostlady on Thu 06/06/2024 03:54:53The game dump is great to have so you can search it for anything.  What room an object is in, where global inits are being used etc.

The built-in search in the IDE should support that (though it has sometimes been a bit glitchy). It should be unnecessary to export the game to a single text file just to run a search (which you then have to map back to the editable files).
Title: Re: Viewing The Script
Post by: Khris on Thu 06/06/2024 12:30:39
You can also create a copy of Game.agf and rename it to Game.xml. Open that with a suitable editor and you can search the entire game structure with a simple text search.
Title: Re: Viewing The Script
Post by: Ghostlady on Sun 09/06/2024 17:42:49
Quote from: Khris on Thu 06/06/2024 12:30:39You can also create a copy of Game.agf and rename it to Game.xml. Open that with a suitable editor and you can search the entire game structure with a simple text search.

Perfect! Thank you.