STAC Adventure Decrypter

Latest news in the Atari world

Moderators: Mug UK, Silver Surfer, Moderator Team

Post Reply
User avatar
Mug UK
Administrator
Administrator
Posts: 11910
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

STAC Adventure Decrypter

Post by Mug UK »

All work by Zippy based on an original request by myself.

Use this tool to convert the .LNK files into .ADV files so that you can load any PD/Commercially released STAC adventure back into STAC and see how it works.

When you create a runnable version of your ADV source file, STAC basically encrypts it. There's no "compilation" involved at all. So to get the adventure back into the original file, you have to decrypt it.

Hence this tool by Zippy has been written.
stachack v1.02.zip
I've been testing it on a few STAC adventures that I could find (thanks to Marcer's USB stick of goodies) and it works to a point. There are certain things in an ADV file that seem to cause issues with STAC. Zippy has traced through the decryption code and what is generated is what the runnable .PRG file works with.

So there might be issues that you will find. Post them in this thread with a copy of the original LNK file.

Mega.NZ

I've set up a Mega.NZ bolthole where I will be posting my WIP decryption, but I'm also heading out on holiday in a few days, so it will lie dormant until I get back. Damn holidays getting in the way of ST shenanigans! :)

https://mega.nz/folder/G88k1KTA#GWl1ABbgqd-SIpkKlxhx2A - it only contains the various hacks of STAC that I could find by Was (Not Was), Bladerunners and Rebellion.

Tomorrow I will upload all the ADV files that I've created from LNK files so far.

STAC Manual

In case you need it, here's a link to the scan of my original STAC manual as purchased way back in the late 80s!

https://www.dropbox.com/scl/fi/a02inkj3 ... 79vgj&dl=0
You do not have the required permissions to view the files attached to this post.
Main site: http://www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (Music ripping guide). I host a C64 Radio Show for a mate, Max Hall, called the Chip SID Show.

I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
Zippy
Captain Atari
Captain Atari
Posts: 476
Joined: Sun Feb 01, 2004 1:58 am

Re: STAC Adventure Decrypter

Post by Zippy »

If you convert the decrypted ADV file back into a LNK file to make the full stand alone game again I've found it's best to use the original PRG file to run it rather than creating a new PRG file from within STAC.

If they use a different font sometimes it's only included within the original PRG file rather than as a separate FNT file so a newly created PRG file will be missing the font and the game text won't display properly, but if you use the original PRG file it works fine. The original PRG file may only look for the LNK file on Drive A: so you may need to create a disk image with the original PRG and LNK file for Drive A: , or at least have a blank disk in Drive A: to avoid the error when it tries to access the drive.

Obviously it was never intended that the LNK files would be loaded back into STAC like this, so there may be a few strange things like the missing font issue. This is really intended just to allow a look at the source code to help with making a "walk through" solution or to help with a problem you're stuck with in a STAC adventure. :)
User avatar
Mug UK
Administrator
Administrator
Posts: 11910
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

Re: STAC Adventure Decrypter

Post by Mug UK »

I've updated the Mega.NZ with a few adventures (both in original MSA format and split into files).
Main site: http://www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (Music ripping guide). I host a C64 Radio Show for a mate, Max Hall, called the Chip SID Show.

I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
User avatar
Greenious
Hardware Guru
Hardware Guru
Posts: 1589
Joined: Sat Apr 24, 2004 5:39 pm
Location: Sweden

Re: STAC Adventure Decrypter

Post by Greenious »

So this is how the great adventurer wins... :lol:

Jokes aside, a list of games created with STAC would be interesting. Is there one somewhere?

Edit: Duh, your Mega site has them individually sorted! There's quite a few!
Updated my guides as of june 28th, 2016. Check'em out and feedback!
http://www.atari-forum.com/viewtopic.php?t=5040
User avatar
Mug UK
Administrator
Administrator
Posts: 11910
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

Re: STAC Adventure Decrypter

Post by Mug UK »

Loads more to upload from Marcer's USB but on my hols tomorrow, so not much more will be uploaded until end of October.
Main site: http://www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (Music ripping guide). I host a C64 Radio Show for a mate, Max Hall, called the Chip SID Show.

I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
Zippy
Captain Atari
Captain Atari
Posts: 476
Joined: Sun Feb 01, 2004 1:58 am

Re: STAC Adventure Decrypter

Post by Zippy »

Greenious wrote: Wed Sep 20, 2023 12:47 pm So this is how the great adventurer wins... :lol:
Of course! Haven't you seen the first series of "Halt and catch fire" where the best programmers are selected because they hacked the adventure game they were all playing to find the solution? :D
User avatar
Mug UK
Administrator
Administrator
Posts: 11910
Joined: Thu Apr 29, 2004 7:16 pm
Location: Stockport (UK)
Contact:

Re: STAC Adventure Decrypter

Post by Mug UK »

Greenious wrote: Wed Sep 20, 2023 12:47 pm So this is how the great adventurer wins... :lol:
Yep. Press P to Print :-) Pity STAC doesn't generate a pictorial map of the rooms.

All the STAC adventures I've uploaded are based on the full list from Atari Legend's database. E.g. find Shymer then click on STAC link on left-hand side to get the full lot.

But there's a few issues with some of the text but they can easily be fixed by hand.
Main site: http://www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (Music ripping guide). I host a C64 Radio Show for a mate, Max Hall, called the Chip SID Show.

I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
User avatar
cb
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3419
Joined: Sat Apr 27, 2002 7:03 pm
Location: somewhere in time

Re: STAC Adventure Decrypter

Post by cb »

Nice utility!
Here is a modified version in order to use it more convenientely under FreeMint and TOSWin2 as a TOS executable with only 2 changes:

-the mouse pointer is now active when the program runs,
-the input cursor is better aligned (it was displayed 2 lines too high on screen).
You do not have the required permissions to view the files attached to this post.
AL-FGC
Heghlu'meH QaQ jajvam!
Image
Post Reply

Return to “News & Announcements”