Author Topic: Freddy Pharkas - messages voices?  (Read 692 times)

0 Members and 1 Guest are viewing this topic.

Offline ZvikaZ

Freddy Pharkas - messages voices?
« on: October 30, 2020, 07:56:17 AM »
Hi.
I'm looking at Freddy Pharkas CD in SCICompanion, and can't seem to find where are the messages recording.
Let's take a concrete example - Willy's "speech" at the beginning of the game.
It's in room 230, noun 28.
(let's ignore for now the differences between the floppy's text + CD's voice on the one hand, and the CD's text on the other hand...)

But where is the corresponding voice?

In SCiCompanion's doc it looks so nice: http://scicompanion.com/Documentation/messages.html
But for Freddy (at least mine...) it doesn't look like this.



Offline Collector

Re: Freddy Pharkas - messages voices?
« Reply #1 on: October 30, 2020, 09:03:48 AM »
Aren't they just in the RESOURCE.AUD?
KQII Remake Pic

Offline lskovlun

Re: Freddy Pharkas - messages voices?
« Reply #2 on: October 30, 2020, 12:35:57 PM »
It looks like Companion is not loading RESOURCE.AUD (my GOG version puts it in a subdirectory; somehow, moving the files around doesn't seem to help). Because it thinks that file is missing, you don't get a preview pane for message audio.

EDIT: You can go into 'Game/Version detection' and put a check mark in 'supports message audio' manually. The  playback button looks a bit weird under Linux/Wine, but it does work (but you do need to move/copy/symlink the files)
« Last Edit: October 30, 2020, 02:50:11 PM by lskovlun »

Offline Collector

Re: Freddy Pharkas - messages voices?
« Reply #3 on: October 31, 2020, 11:01:02 AM »
Does Companion read the RESOURCE.CFG or version detect the interpreter? The FPFP interpreter includes the resAUD path flag for the RESOURCE.CFG.
KQII Remake Pic

Offline Kawa

Re: Freddy Pharkas - messages voices?
« Reply #4 on: October 31, 2020, 12:04:39 PM »
SCI Companion does not read the cfg file, I think. So putting the AUD file in the same directory as the rest would be a requirement.

Just for fun I put resource.aud, resource.map, resource.000, resource.sfx, and all the other map files in a new folder, and loaded that in SCI Companion. Picked a message resource at random, but the first one wasn't meant to have audio.

The others, though? Yeah, that worked.

Offline ZvikaZ

Re: Freddy Pharkas - messages voices?
« Reply #5 on: October 31, 2020, 02:36:14 PM »
Well, thanks everybody.

kawa, maybe SCICompanion can be improved to look for the files in the subdirectories as well (therefore, not requiring moving them around manually)?

Offline Kawa

Re: Freddy Pharkas - messages voices?
« Reply #6 on: October 31, 2020, 05:40:12 PM »
I think the best thing would be support wherefiles╣ at all. I tweeted about this before... but blindly looking in all subdirectories may be simpler. I think SV does that? It just has to not read anything from the audiocache folder, those aren't the right map and aud files. And then there's the part where The Dating Pool has two folders with release copies of the game, one to stage an ISO image, one to upload to itch.io. It also shouldn't use anything in those subdirectories.

(╣: What resource.cfg technically is. A where-file not only tells the engine which drivers to use, but also where various resource files can be found. We're talking about audio here, but if you check the twitter thread...)

Offline Collector

Re: Freddy Pharkas - messages voices?
« Reply #7 on: October 31, 2020, 07:04:34 PM »
One reason to not look in all subdirectories is that there may be some old resources in a backup folder that might get confused with current resources.
KQII Remake Pic

Offline Kawa

Re: Freddy Pharkas - messages voices?
« Reply #8 on: October 31, 2020, 07:09:56 PM »
One reason to not look in all subdirectories is that there may be some old resources in a backup folder that might get confused with current resources.
Same difference.

Offline ZvikaZ

Re: Freddy Pharkas - messages voices?
« Reply #9 on: November 01, 2020, 01:28:28 AM »
Hi.
So, we have here 2 options:
- Use 'resource.cfg' to find the relevant subdirectories
- Use some known 'common' subdirectories list (PATCHES, AUDIO, probably few more), assuming that no one has copied some old resources to a backup folder with that name.

The first solution seems more accurate.
However, GOG is starting to deliver games without Dosbox support - only with ScummVM, and since ScummVM ignore 'resource.cfg', it's possible that they will deliver games without 'resource.cfg', or even worse, with wrong 'resource.cfg'.
I don't have concrete example for such problem, but we might encounter such one in the future...

Therefore, I think that the preferred solution is the second.

Offline Kawa

Re: Freddy Pharkas - messages voices?
« Reply #10 on: November 01, 2020, 07:46:49 AM »
You're probably right.

Offline lskovlun

Re: Freddy Pharkas - messages voices?
« Reply #11 on: November 01, 2020, 08:40:10 AM »
I'm not sure about that, there's a bunch of exceptions in the ScummVM resource manager for Collection CDs that were improperly laid out. A random comment from the code:
Quote
   // The warning dialog is shown here instead of someplace more obvious like
   // SciEngine::run because resource sources can be dynamically added
   // (e.g. KQ5 via kDoAudio, MGDX via kSetLanguage), and users really should
   // be warned of bad resources in this situation (KQ Collection 1997 has a
   // bad copy of KQ5 on CD 1; the working copy is on CD 2)

Offline Collector

Re: Freddy Pharkas - messages voices?
« Reply #12 on: November 01, 2020, 02:31:02 PM »
"KQ Collection 1997 has a bad copy of KQ5 on CD 1; the working copy is on CD 2"

It is not that the copy on CD1 is bad, just incomplete. CD1 includes just the files for a base installation. The collection's installer does not copy the large files from the games to the user's HDD, so it does not need the RESOURCE.00* or RESOURCE.AUD, etc. Kind of na´ve to call it "bad".
KQII Remake Pic

Offline lskovlun

Re: Freddy Pharkas - messages voices?
« Reply #13 on: November 01, 2020, 03:17:14 PM »
I don't own that collection, so I can't say what is and isn't true. I'll just say that ScummVM parses the map files fully at startup or whenever the in-game switches mentioned are used, so any errors are caught sooner rather than later. There's a bunch of different error situations that  can trigger the warning dialog (which I didn't show). Missing files, inconsistent files, broken files...


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.114 seconds with 23 queries.