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.


Topics - ZvikaZ

Pages: [1] 2 3
1
Hi.

If it's feasible, it'd be nice to have batch import/export feature from the console.

Example possible APIs:
Code: [Select]
conWAGI.exe /export_all
conWAGI.exe /export View6 /export Picture12

conWAGI.exe /import c:\some\directory\with\importable\files
conWAGI.exe /import View6.agv /import Picture12.agp

BTW, our PQ1 Hebrew translation project is now in beta testing, and you have an important part of it, so, thanks again :)

2
AGI Development Tools / Should WORDS.TOK have even number of bytes?
« on: May 02, 2021, 08:35:38 AM »
It seems that WinAGI expects WORDS.TOK to have even number of bytes.
Is it on purpose?
If yes, please update the WORDS.TOK spec, in WinAGI's help.
If no, please fix it...

It can be demonstrated by creating a new WORDS.TOK file, with only 'a', 'anyword' and 'rol', and opening it in hex editor. It has an unexpected zero at the end. If it's removed, and loaded again to WinAGI, it complains that the file is illegal.

3
AGI Development Tools / conWAGI.exe output redirection fails
« on: April 29, 2021, 07:25:03 AM »
Hi.

I've tried to redirect conWAGI.exe's output to file, but the file was empty.
I've also tried to capture the output with Python's subprocess.check_output, but it returned an empty string. I assume these issues are related.

Thanks

4
Maybe it's a known fact, but I just discovered that today, so, wanted to share...

I have always thought that in AGI the sound is either turned on, or off.

However, WinAGI help says:
Quote
v23: Sound Attenuation

For Tandy systems, this variable is used as a global volume control

OK, having a global volume control is great, but how does the user control it?

Well, I have found this at PQ1: (I assume it's similar for other games as well...)

Logic101:
Code: [Select]
if (machineType == TANDY)
  {
  set.key(61, 0, c38);
  set.key(45, 0, c39);
  set.key(43, 0, c38);
  }

and Logic0:
Code: [Select]
if (machineType == TANDY)
  {
  if (controller(c38))
    {
    --attenuation;
    }
  if (controller(c39) &&
      attenuation < 15)
    {
    ++attenuation;
    }
  }

i.e., if the machine is Tandy, then the user can press '-' to increase attenuation (= decrease volume), and '+' (or '=', which are on the same key) to decrease attenuation (= increase volume).

ScummVM already supports PCjr sound emulation, which as far as I remember should be similar to Tandy, (is it possible with DOSBox? I have never tried...), however, it currently doesn't have a PCjr or Tandy computer types:
Code: [Select]
enum AgiComputerType {
kAgiComputerPC = 0,
kAgiComputerAtariST = 4,
kAgiComputerAmiga = 5, // Newer Amiga AGI interpreters' value (Commonly used)
kAgiComputerApple2GS = 7,
kAgiComputerAmigaOld = 20 // Older Amiga AGI interpreters' value (Seldom used)
};

Compared to the types in WinAGI help:
Quote
Value Computer Type
0 IBM PC compatibles
1 IBM PCjr
2 Tandy 1000
3 Apple IIe, IIc
4 Atari ST
5 Amiga
6 Macintosh
7 Cortland*
8* PS2 with MCGA

It's interesting that these two lists don't perfectly much each other. WinAGI help explain that 'Cortland' is actually 'Apple IIgs'. ScummVM is missing PCjr, Tandy, Apple IIe/c, Macintosh and PS2 - I assume because they aren't supported. However, WinAGI help is missing '20 // Older Amiga AGI interpreters' value (Seldom used)'.

So:
- Sierra added volume control keys to Tandy. Was it a known fact?
- Why didn't they add volume control keys to other platforms that had better-than-PC-speaker sound device?
- Maybe the Older Amiga machine type should be added to WinAGI help?
- What were the differences between the Tandy and a regular PC, besides improved music? In other words, is it a good idea to set machine type for Tandy (2) in ScummVM, instead of PC (0)? 'grep'ping in PQ1 source code shows that it's harmless, but that's not enough indication to make such a change...

I have tried my last idea, with KQ2 (because of the sea sounds at the beginning which are great for volume tests), and '+' and '-' really change the volume. Cool!
('=' doesn't work, because in KQ2 it's saved for swimming)

However, another strange thing is that these keys don't appear in the menu, or in the in game help.

5
In PQ1 (AGI) there is a Chief Whipplestick, which is once called Captain Whipplestick.
I'm not familiar with American PDs, but does it make sense that the chief of the police department in only a captain?
Or maybe it does make sense, considering that Lytton is a small town?

BTW,
It's also interesting that Whipplestick is mentioned only once in the SCI version (as 'Lytton police chief Randolph Whipplestick')

6
SCI Development Tools / Message file format?
« on: February 28, 2021, 10:42:53 AM »
Is there some documentation for the message file format?
(besides reading ScummVM's message.cpp , or the original https://github.com/OmerMor/SCI16/blob/master/INTERP/MESSAGE.C)

7
Currently, when decompiling logic files, the object names are explicitly written.
For example, from PQ1:
Code: [Select]
  if (has("Patrol Car Keys"))
However, this complicates things when the object names are translated, because it's not enough to update the objects files, but the object name has to be searched for in all logic files and updated. And if the translation is fixed, again, all the usage places should be updated.

It'd be much easier if it was possible to just retain the the i- syntax:
Code: [Select]
if (has(i1))
(similarly to the option "Show message arguments by number")

Thanks

8
AGI Development Tools / Russian translation / AGDS tool?
« on: February 17, 2021, 03:27:12 AM »
I've seen references to the Russian made AGDS tool, and to AGI games translated to Russian.
Does anyone have the tool, or any of the translations?
(or maybe played one of these games, and can answer me if they accepted commands in English, or in Russian?)

9
AGI Development Tools / WinAGI: feature request - lower case GameID
« on: February 12, 2021, 02:51:52 AM »
Currently, when changing the GameID from the game's GUI, it insists that it will be upper case.
Why not let me have it lower case, if I prefer?
I can change it from the .wag file, to lower case, and everything works fine.

Motivation:
ScummVM supports (*) detection fallback for unrecognized games, based on their .wag file. It uses GameID field from the .wag file (among other fields). Therefore, if I set it to 'pq1', I can continue working on the game, while changing it, without touching ScummVM detection tables.

(*) That mechanism hasn't been updated for long time, and it's based on old format of the .wag file. I've created a PR (https://github.com/scummvm/scummvm/pull/2766) to support the newer INI format. It'd be nice if you can comment over there :)

10
AGI Development Tools / WinAGI: feature request - batch mode
« on: February 12, 2021, 02:46:47 AM »
(is it the correct place for feature requests? do you prefer single thread for each feature request?)

It'd be great if it was possible to run WinAGI in batch mode - i.e., from the command line, without GUI (like 'gcc', or other compilers).

Motivation:
I've started work on Hebrew translation for PQ1. My previous project was Hebrew translation for SQ3. In that project, I've exported all textual resources to an excel file, uploaded it to Google Drive, and then shared it with a team of volunteers. The translation, and discussions, were done on Google Drive. Then I had scripts that downloaded everything from the drive, made required changes, [compiled everything with SciCompanion (*)], and created zip file ready for distribution.

(*) I've written [compiled] in brackets, because that step couldn't be done automatically, as SciCompanion doesn't have batch mode. Thus, this step needed manual intervention.

I plan similar flow for PQ1, and it'd be great if WinAGI could be run from a script, without GUI.

I assume that for the current version, it'd be quite difficult to achieve, but please take this into account for your new C# version design.

11
Whenever I exit WinAGI it forgets the "Show message arguments by number" settings, while it remembers other settings.
I assume it'd be simple keep that setting as well?

Thanks

12
AGI Development Tools / How to distribute fan made translation?
« on: February 11, 2021, 06:32:44 AM »
Hi.

I've started checking the feasibility of Hebrew translation of AGI games:


I think I can solve most of the problems that I can foresee. However, I'm not sure what's the best way to distribute the translation, once it will be finished.
For the SQ3 project I distributed a zip file, containing a bunch of translated resources.

However, since AGI doesn't have patch file mechanism (or does it have such mechanism? and I'm just wrong here?...), I'd like to hear your opinion as to the preferred way to accomplish that. Or maybe someone already solved that problem?

The options that I currently think of (and their drawbacks):

  • 1. Compile the game in my computer, and distribute the compiled game.
  •     * Problem: It's piracy. And ScummVM won't accept it...
  • 2. Compile the game in my computer, save the binary diff between the result and the original, create a tool that will apply that diff, and distribute the tool with the diff file.
  •     * Problem: PQ1 (2gs version) comes with VOL.0 and VOL.1 files. When compiling with WinAGI, it combines them to a single big VOL.0 file. Opening it in a differ shows no resemblance to the original VOL.0 file. Thus, the 'diff' is actually (almost?) everything. Therefore, it's actually equivalent to the previous option.
  •     * Problem: It will require the user to have specific version. But it's not really an issue.
  • 3. Compile the game in the user's computer. I will distribute the modified resources, and create a script that will open the game in WinAGI in the user's computer, replace the modified resources, and then compile everything.
  •     * Problem: Currently, WinAGI doesn't have batch mode (as far as I know). But, @AGKorson, I assume you can add one in the future ;)
  • 4. Some other solution?
Thanks in advance...

13
AGI Development Tools / WinAGI 2.1.5 - fails to compile PQ1
« on: February 11, 2021, 02:39:59 AM »
Hi.
I have loaded PQ1 (dos) to WinAGI 2.1.5, and tried to compile Logic6 (without changing anything...) - but it failed with:
Code: [Select]
563: Property or method not avialable until object is loaded.And then:
Code: [Select]
506: Invalid resource data at 66662 in VOL.0
Previously, I have loaded the 2gs versions of PQ1, and it worked fine, if this matters.

14
AGI Development Tools / WinAGI Character map
« on: February 10, 2021, 02:48:45 PM »
Hi.

First, congratulations for the new WinAGI version.

I've found the Character Map tool in the help file (CTRL+INSERT, if anyone wants to use it).
It'd be nice to also have it available in the menus, or toolbar (or both).
Not everyone will think to search for such feature in the help file; and I'm quite convinced that when I will want to use it in a year, I won't remember that keyboard shortcut...

Thanks

15
AGI Development Tools / Original AGI code?
« on: February 02, 2021, 04:13:26 AM »
@AGKorson,
You've mentioned in another thread the original Sierra AGI syntax.
How do we know what was the original Sierra syntax?
Is there original code, or maybe snippets, available?
Or some original docs?
Or something else?

Pages: [1] 2 3

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

Page created in 0.113 seconds with 19 queries.