Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Snarky

#1021
The Rumpus Room / Re: What's on TV?
Fri 09/02/2018 21:16:50
Correct!

It's a good series: funny and quite sweet, with a neat flashback structure. Since nobody seems to have heard of it: A chronic romantic is diagnosed with chlamydia, and has to contact all his past sexual partners to tell them to get tested. As he awkwardly reconnects with his exes, the show looks back at each relationship, gradually filling in the history that has brought him and his friends to where they are today. Sort of similar to (500) Days of Summer or How I Met Your Mother in concept, but done in a much more low-key and British way.

It takes a couple of episodes to quite find its feet (these screens are from ep. 3, the first really good one), but I would definitely recommend it, and I'm surprised it didn't ring any bells around here.

"Scrotal Recall" was just a terrible title, though. Completely misrepresented the tone of the show. Lovesick still works as a pun and fits much better.
#1022
The Rumpus Room / Re: What's on TV?
Fri 09/02/2018 18:17:08
;-D

... but:

Quote from: Snarky on Tue 23/01/2018 20:45:06I want the original title.
#1023
The Rumpus Room / Re: What's on TV?
Fri 09/02/2018 15:31:42
Really, no one has seen this?



Time for some last-ditch hints, I suppose:

-It's a Netflix show now, originally it ran on Channel 4
-It's a rom-com/sitcom set in Glasgow (though I don't think any of the main cast do the accent)
-You might recognize several members of the cast in the last few screens from Misfits

And if that's not enough...

Spoiler
The poster in the screenshot above this one is a major clue.
[close]
#1024
The Rumpus Room / Re: What's on TV?
Sat 03/02/2018 08:06:48
Hmm, did not expect this to be so difficult, given that the last screenshot shows all the main characters clearly.

I had to edit out the actual title of the show in this shot, which is something of a clue in itself:

#1025
The Rumpus Room / Re: What's on TV?
Mon 29/01/2018 18:42:59
Quote from: Danvzare on Mon 29/01/2018 14:40:40
Well it did get one British season (of four episodes) before being cancelled and redone as an American series for two seasons.
So it seemed like a good fit.

Fair enough, though those were really just two separate adaptation attempts (I wasn't even aware of the British one) rather than the same series being revived.

QuoteSkins?

Nope, but again getting closer.

#1026
The Rumpus Room / Re: What's on TV?
Mon 29/01/2018 13:39:32
Quote from: Mandle on Sun 28/01/2018 22:31:43
The Benny Hill Show!
Quote from: Stupot on Mon 29/01/2018 01:13:36
Brookside?
:-\
Quote from: Danvzare on Mon 29/01/2018 11:33:58
Dirk Gently?
No, but apart from that being an American series, it's a little closer, I guess.

New screen when I'm by a computer...
#1027
The Rumpus Room / Re: What's on TV?
Sun 28/01/2018 20:32:06
Quote from: Danvzare on Fri 26/01/2018 12:52:38
Hollyoaks?
Quote from: Frodo on Sun 28/01/2018 18:04:00
Coronation Street?

Not sure what's making you think it's a soap opera. No, you're on the wrong track.

Another hint: It was canceled after one season/series, but then someone else bought the rights, retitled it (very much for the better!), and made it enough of a success that it was revived and is now up to Season 3.
#1028
The Rumpus Room / Re: What's on TV?
Sun 28/01/2018 14:51:54
Nobody watching this? Hint 1: It's British. Hint 2: You may have seen the actress playing the main female role in a certain superhero show.

#1029
The Rumpus Room / Re: What's on TV?
Fri 26/01/2018 13:04:38
(wrong)

#1030
The Rumpus Room / Re: What's on TV?
Tue 23/01/2018 20:45:06
I had the film version in the movie quiz a while back. It's a wonderful book.



For this one, I want the original title.
#1031
The Rumpus Room / Re: What's on TV?
Tue 23/01/2018 17:01:56
It's the Japanese adaptation of Ronja, isn't it?
#1032
The Rumpus Room / Re: What's on TV?
Sat 20/01/2018 06:31:46
The Magicians?
#1033
Quote from: Dave Gilbert on Sun 14/01/2018 22:31:06
Hey! Finally playing around with this. I'm really digging it so far, but is there way to tell the module to NOT use a talking view for background speech? I use portrait view for all my characters and the module keeps changing the character sprite to the portrait. Thanks in advance! :)

edit: Aha! Nevermind. Figured it out.

Presumably you passed false for the animate parameter? I think that should do the trick.

QuoteI do have another question. Is there a way to set the position of the background bubble? There is an option to set the position of the standard bubble, but not the background one.

No, not at the moment. I'm not happy with the bubble positioning logic overall (I particularly want to ensure that the tail is always positioned to point to the character, even when the bubble butts up against the side of the screen), and it's one part I really want to redo.

However, unless this is urgent I'll put it on pause for a bit to focus on the Awards Ceremony.
#1034
I wrote a little script to help people who use Rhubarb to do lip-syncing.

Rhubarb does the lip-sync tracking automatically by analyzing the audio, but you can also supply the actual text of the dialog to help guide it, improving the results. Using something like this batch file, you can then create the lip-sync tracking for the entire game automatically:

Code: Bash
for %%F in (clips/*.wav) do (
    rhubarb.exe clips/%%~nxF -d guide/%%~nF.txt > sync/%%~nF.tsv
)


There hasn't been a convenient way to create these guide files from AGS, however. This script helps to automate the task.

It works with the voice acting HTML scripts generated by the Speech Center plugin. Once you've created the voice acting scripts, place them in a subfolder (e.g. /VoiceScripts) inside your compiled game folder. Place a call to this function in your game, and run it to extract the guide files, like so:

Code: ags
  ExtractVoiceScriptLines("$INSTALLDIR$/VoiceScripts", "$APPDATADIR$/guide");


(The output directory must be in $APPDATADIR$ or an existing subfolder of it. Where %APPDATADIR% is pointing can be set in winsetup.exe under Advanced.)

Here's the script (yeah, I know it's ugly, but it seems to work OK):
Code: ags
#define SCRIPT_TOKEN_LINE_NUMBER "<span class=\"lineNumber\">"
#define SCRIPT_TOKEN_TEXT_START ":</b> "
#define SCRIPT_TOKEN_TEXT_END "</span>"

static String ExtractVoiceScriptLines(String sourceDirectory, String targetDirectory)
{
  int i=0;
  String tokenLineNumber = String.Format("%s", SCRIPT_TOKEN_LINE_NUMBER);
  String tokenTextStart = SCRIPT_TOKEN_TEXT_START;
  String tokenTextEnd = SCRIPT_TOKEN_TEXT_END;
  while(i < Game.CharacterCount)
  {
    String prefix = character[i].GetSpeechPrefix();
    String scriptPath = String.Format("%s/char%s.html", sourceDirectory, prefix);
    if(File.Exists(scriptPath))
    {
      File* scriptFile = File.Open(scriptPath, eFileRead);
      String lineNumberPrefix = prefix;
      while(!scriptFile.EOF)
      {
        String scriptLine = scriptFile.ReadRawLineBack();
        int startLineNumberTag = scriptLine.IndexOf(tokenLineNumber);
        if(startLineNumberTag != -1)
        {
          int startLineNumber = scriptLine.IndexOf(lineNumberPrefix);
          int endLineNumber = scriptLine.IndexOf("]");
          if(startLineNumber > 0 && endLineNumber > 0 && endLineNumber > startLineNumber + lineNumberPrefix.Length)
          {
            String strLineNumber = scriptLine.Substring(startLineNumber+lineNumberPrefix.Length, endLineNumber - startLineNumber - lineNumberPrefix.Length);
            int lineNumber = strLineNumber.AsInt;
            //Display("Writing %s%d", prefix, lineNumber);
            if(lineNumber>0)
            {
              String message = "";
              String dialogLine = scriptFile.ReadRawLineBack();
              int startTextTag = dialogLine.IndexOf(tokenTextStart);
              int endTextTag = dialogLine.IndexOf(tokenTextEnd);
              if(startTextTag > 0)
              {
                while(endTextTag == -1 && !scriptFile.EOF)
                {
                  dialogLine = dialogLine.AppendChar(' ');
                  dialogLine = dialogLine.Append(scriptFile.ReadRawLineBack());
                  endTextTag = dialogLine.IndexOf(tokenTextEnd);
                }
                int textLength = endTextTag - startTextTag - tokenTextStart.Length;
                if(startTextTag > 0 && endTextTag > 0 && textLength >= 0)
                  message = dialogLine.Substring(startTextTag+tokenTextStart.Length, textLength);
                
                String linePath = String.Format("%s/%s%d.txt", targetDirectory, prefix, lineNumber);
                //Display("Writing line \"%s\" to file %s", message, linePath);
                File* lineFile = File.Open(linePath, eFileWrite);
                if(lineFile != null)
                {
                  //Display("Writing line \"%s\" to file %s", message, linePath);
                  lineFile.WriteRawLine(message);
                  lineFile.Close();
                }
                else
                  Display("Couldn't write line \"%s\" to file %s", message, linePath);
              }
            }
          }
        }
      } // while(!scriptFile.EOF)
      scriptFile.Close();
    }
    i++;
  }
}
#1035
The Rumpus Room / Re: What's on TV?
Thu 11/01/2018 06:57:20
One of the two Anne of Green Gables series that have recently come out? (One of them was called 'Anne with an E'.)
#1036
Thanks, dayowlron!

I'm glad you were able to get it to work for you. To fully implement the Think bubble I want to make sure it plays the character's think animation and otherwise behaves just like Character.Think(), which is a little different from Character.Say().

Quote from: dayowlron on Wed 10/01/2018 14:53:07
Snarky, if you add this to your module as an enhancement make it where there is another property for Think Background Color.

Good note, thanks!
#1037
The Rumpus Room / Re: What's on TV?
Mon 08/01/2018 21:54:06
The images make me think "How to Get Away with Murder", but "VERY under-rated" doesn't seem to fit.
#1038
The Rumpus Room / Re: What's on TV?
Sun 07/01/2018 11:54:16
I thought maybe it might be Wynonna Earp (which I don't watch), but from online screenshots it doesn't really look right. Still, that?
#1039
I just tried to use SpeechCenter in AGS 3.4.0, but it seems like the parser hasn't been updated to support all the new language features, so when I hit "Refresh" it's throwing errors all over the place, and fails to find all the speech lines in affected files (Edit: it turns out that failing to find the speech lines was at least partly because it doesn't understand optional parameters, so I had to configure it for all the different ways my custom functions can be called). Here's a partial breakdown of things it doesn't like:

Code: ags
#region RegionName

void StaticExtenderFunction(static StructName)
{
  for(int i=0; i<10; i++)
  {
    switch(i)
    {
      case 0:
        break;
    }
  }
}

#endregion
#1040
The Rumpus Room / Re: What's on TV?
Sat 06/01/2018 10:06:22
Correct! Le Bureau des Legendes with Mathieu Kassovitz. Good show, similar to the classic The Sandbaggers, or a less sensationalistic Homeland.
SMF spam blocked by CleanTalk