Author Topic: WinAGI Version 3.0.0 Progress Updates  (Read 93614 times)

0 Members and 4 Guests are viewing this topic.

Offline Collector

Re: WinAGI Version 3.0.0 Progress Updates
« Reply #30 on: January 09, 2026, 04:16:07 PM »
Yeah, I had thought of the P/Invoke limitation and thought it would probably be a problem, but I have not looked that close to Andrew's source to see if he uses any. Again, something that I have not explored since I have no need.
KQII Remake Pic

Offline AGKorson

Re: WinAGI Version 3.0.0 Progress Updates
« Reply #31 on: January 10, 2026, 05:49:16 PM »
There are a handful of API calls. Most were added early when I didn't have much experience with C#. I've gotten much more efficient since then. I can take a look at them to see if they can be eliminated.

Offline Collector

Re: WinAGI Version 3.0.0 Progress Updates
« Reply #32 on: January 10, 2026, 06:59:37 PM »
I try to avoid them if I can, but sometimes it is the only solution
KQII Remake Pic

Offline AGKorson

Re: WinAGI Version 3.0.0 Progress Updates
« Reply #33 on: January 31, 2026, 10:15:48 PM »
I believe I'm finally done with adding support for original Sierra logic syntax. I have tested it on several different sets of original Sierra source code packages and they compile as-is, with no changes needed.

https://github.com/AGKorson/WinAGI-GDS/releases/tag/v3.0.0-alpha21.3

This work required a lot of digging into CG.EXE- Sierra's compiler. CG.EXE does not do a lot of syntax rules enforcement. I guess they just assumed their programmers would write good code. To maintain 100% compatibility I had to add some of that 'looseness' to WinAGI. But it does provide you with feedback on how to write cleaner code.

The help file contains very detailed explanations of CG.EXE, OBJECT.EXE and WORD.EXE, tools used by Sierra to compile logics, OBJECT and WORDS.TOK files. You may find that interesting. Or maybe not...

Regarding DLL calls, WinAGI uses them primarily for supporting custom clipboard formats and sound generation. At this point, I'm not very interested in figuring out how to make a build that doesn't use them. If anyone else wants to take a look and make some suggestions, the code is on Github.


Offline Collector

Re: WinAGI Version 3.0.0 Progress Updates
« Reply #34 on: February 01, 2026, 01:46:36 PM »
Sounds lik3e you are making good progress. I'll have to grab the latest and take a look.

When you get to the point of updating WinAGI's Wiki entry you'll need to setup an account on the new Wiki https://wiki.sierrahelp.com/index.php/Main_Page I have added all of the old AGI Wiki content to the new one and will be deleting the old one soon.
KQII Remake Pic


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.028 seconds with 22 queries.