Author Topic: WinAGI Version 2.1.15 Available for Download  (Read 3097 times)

0 Members and 1 Guest are viewing this topic.

Offline AGKorson

WinAGI Version 2.1.15 Available for Download
« on: February 15, 2022, 02:26:14 AM »
Version 2.1.15, which fixes the 'New from Template' bug, is available here.

This version includes a bunch of other minor bugfixes. The help file has also been significantly enhanced to provide more detail on AGI.

If you encounter any more bugs, please let me know. I don't plan on any more feature updates to the VB-created version, but if there are significant bugs that need attention, I will continue to provide bug fix updates.

For those that are interested, I am still working on a C# version of WinAGI that hopefully will be able to be ported to other platforms. But it is VERY slow going; there is still a lot about C# programming (especially dealing with the user interface - forms, controls, etc) that I don't understand very well. I'll try to keep going, but I have to admit there are times where I feel like I should just give up and let someone else take over, if there's anyone out there that would even want to. There are a lot of other things that compete for my free time, and I'm beginning to feel like I need to scale back 'AGI' time for some of those other things I enjoy.

For what it's worth, I haven't given up yet, and as much as I can I'll continue pressing forward.









Offline Cloudee1

Re: WinAGI Version 2.1.15 Available for Download
« Reply #1 on: February 17, 2022, 07:44:50 AM »
Entry has been updated here on the tools page as well
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Collector

Re: WinAGI Version 2.1.15 Available for Download
« Reply #2 on: February 17, 2022, 11:49:18 AM »
Does this mean that you will be around more, again? I'd still would like to see your SCI conversion of Voodoo Girl completed.
KQII Remake Pic

Offline Cloudee1

Re: WinAGI Version 2.1.15 Available for Download
« Reply #3 on: February 18, 2022, 02:45:41 PM »
The question becomes whether or not to convert it to a newer version of sci or not? It was written in the original sci0 template using my point and click work around and Gumby's sci audio. From what I remember, I was super close  to having it done. There was one three or four screen area that still needed to have some logic written, and in a couple other places I had redrawn a couple of rooms, but the art really didn't mesh. Pretty sure beyond that, it was playable.
 
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Collector

Re: WinAGI Version 2.1.15 Available for Download
« Reply #4 on: February 18, 2022, 06:14:12 PM »
Of course converting to SCI1.1 would eliminate the need for sciAudio, but are you willing to update the graphics to VGA, too? If the only digital audio in is is just small things like sound effects, then you could just embed them in a SOUND resource à la SQ3's "Where am I?".
KQII Remake Pic

Offline EricOakford

Re: WinAGI Version 2.1.15 Available for Download
« Reply #5 on: February 28, 2022, 06:05:42 PM »
I've put up a decompilation archive for AGI games. I'm currently in the process of doing KQ1.
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1
SCI2.1 planned

Offline Collector

Re: WinAGI Version 2.1.15 Available for Download
« Reply #6 on: February 28, 2022, 09:23:34 PM »
Thanks
KQII Remake Pic

Offline EricOakford

Re: WinAGI Version 2.1.15 Available for Download
« Reply #7 on: March 08, 2022, 06:36:12 PM »
I've just done decompilations of some of the AGI demos. When attempting to import DEMOPAC1 (Helicopter, PQ, Thexder, SQ2, Mother Goose, LSL), I get the following error: "Property or method not available until object is loaded". And when attempting to import either the AGI3 demo pack (Gold Rush, Manhunter, Mother Goose, PQ, SQ2, LSL) or the KQ4 demo, it complains about invalid sound resources.
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1
SCI2.1 planned

Offline AGKorson

Re: WinAGI Version 2.1.15 Available for Download
« Reply #8 on: March 09, 2022, 01:56:00 AM »
I've just done decompilations of some of the AGI demos. When attempting to import DEMOPAC1 (Helicopter, PQ, Thexder, SQ2, Mother Goose, LSL), I get the following error: "Property or method not available until object is loaded".
Dang it! I thought I fixed all that... ugh!

That game has 8 invalid logics (81, and 101 through 107) that all have directory entries pointing to a non-existent VOL.3 file. For some reason, I commented out the code that checks for that error (which would continue loading the game, and then inform you of the invalid logics), so now the loader just craps out.  I have no idea why I did that.

I uncommented out that code, and the game loads, just as it should.


 
And when attempting to import either the AGI3 demo pack (Gold Rush, Manhunter, Mother Goose, PQ, SQ2, LSL) or the KQ4 demo, it complains about invalid sound resources.
The AGI3 demo pack imports just fine for me. I don't get any errors. But the KQ4 demo has some MAJOR issues- the DIR file is not valid; it appears to be two DIR files mashed together (it's a version 3 game). The sound DIR section starts at 0x2D5. If there were 256 sounds in the game, then the file should end at 0x5D5. But the total file length is 0xA96! When you look at it in a hex editor, it's pretty obvious that there are four more directory 'chunks' at the end of that file.

WinAGI tries to load 256 sounds because there's too much data, and it's tripping on the first invalid sound (198). (Again, I thought I fixed that; it's supposed to note the error, and continue loading resources; it's fixed now.)  As it turns out, because of the bad DIR file, there are actually 16 invalid sounds (198, 221, 222-236).

The game runs fine though, because Siera's interpreter never tries to access any of the bad data in the DIR file.

And if you examine the bad DIR file, you will see that sound198 has the same location (vol 0, offset 0x778) as picture1 (which is what's actually at that location). The rest of the invalid sound entries, as well as all the other invalid DIR entries added to the end of the file don't even point to the start of an actual resource. It appears the extra data are a fragment of a DIR file from some other game.

If you open this game in AGI Studio, you will see these errors as well. But because AGI Studio doesn't let you open/edit sounds, it doesn't tell you the sounds are bad unless you try to export them.

Fundamentally, AGI Studio acts more like the original interpreter - it mostly just ignores things that it can't handle or that don't conform to file/resource standards. When I made WinAGI, I tried to add as much error checking as I could, thinking it would be helpful to know when game files and resources didn't conform to standards, because I just assumed games with bad data wouldn't run in AGI. It's been a real bitch trying to make that work though, because there are just so many bad game files and bad resources that exist in original Sierra games, and their interpreter happily processes bad data, mostly by ignoring it.

I will get an update out that will be able to handle all these errors. The new approach will be similar to original interpreter, in that WinAGI will do everything it can to get a game loaded; invalid data will be ignored/skipped as much as possible, with only a warning provided that explains any bad data that are encountered.


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

Page created in 0.087 seconds with 23 queries.