WIP: Sorcery (was: Two problems with Sorcery)

Discussion, Reviews & High-scores

Moderator: Moderators

User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

WIP: Sorcery (was: Two problems with Sorcery)

Post by orion70 »

Hi, all. I recently came across an old disk I did a couple of years ago with a copy of Sorcery by B. Jones (1984). Great game. :lol:
I decided to spend some time on it. Its manual, a true piece of art, clearly describes how to begin a new quest with these words:

[quote]To start the game with a random dungeon press the [F1] key. You can select a permanent dungeon by pressing any other key; eg. “a
Last edited by orion70 on Tue Oct 10, 2006 10:37 am, edited 1 time in total.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

post it to a place and i give a look.
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

Give it a look for both problems? Thanks in advance!

Don't know if I can upload it somewhere else, being this game still copyrighted, but you can download all the stuff here:

http://www.kdef.com/geek/vic/vicbjsorcery.zip

Please take note - you should have at least 16K RAM and load it as follows:

load"sorclib.bin",8,1 (or ,1,1)
poke43,172:poke44,28
new
load"sorcery.bas",8,1 (or ,1,1)
run

At the prompt, try and type a fixed letter: the dungeon will change every time!

BTW, no response from the Author yet. :cry:
Waiting for the mistery to be solved...
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

OK - easier this way:

http://it.geocities.com/orion010870/Sorcery.zip

contains the disk version of the two files (sorclib, the first to be loaded, and sorcery, the second), and a .vsf VICE snapshot image of the game loaded and ready to generate the dungeon.

Don't tell Brendan :wink:
User avatar
Mayhem
High Bidder
Posts: 3026
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

This thread might be of a little use ;)

http://sleepingelephant.com/ipw-web/bul ... php?p=3659

Sadly I tried the PRG file on my HD and it does indeed exhibit randomness despite pressing A on the title screen each time.
Lie with passion and be forever damned...
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

Yup! Thanks Mayhem for this. Loading Sorcery will be much easier... albeit pretty unuseful until we solve the *randomness mistery*...

<cit> Where in the world is Carmen...</cit> ...er, Brendan Jones? :?:
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

No idea about the random, one would need to look into the code to see what happens (i.e. if a branch points wrong). Saving to disk might be possible to fix, but you need at least a file name. Is it enough with one character file per disk side, or would you prefer a file name requester?

Aah.. it is mostly a Basic program. That makes it much less of a trouble to fix. I was thinking it was a compiled program or hand-written assembly code, as it is made by Brendan Jones of the UPL and Quetzacoatl fame.
Anders Carlsson

Image Image Image Image Image
Mikam73
2049er
Posts: 1292
Joined: Tue May 18, 2004 4:34 pm

Post by Mikam73 »

Any screenshot, I couldnt find it from Armas page.

didnt know there was Sorcery for Vic20.
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

I guess it's not the "Sorcery" you remember for other platform(s):

from http://www.kdef.com/geek/vic/vicbjsw.html :

Image

...but IMHO, it's a great effort and results in a fun and challenging RPG. That's why I'd like to solve those problems soooo much :roll:

BTW, the BASIC part relating to character saving can be easily found, and one can simply change the drive number, but the best would be to modify it with a file name requester in order to avoid disk swapping...

And I can't find what's wrong with dungeon generation related to the key pressed.
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

Brendan Jones just answered my email - and solved the mistery:
The maze is the same, but the four exits shift will change, so when we restart the game keeping move e.g. S/W with the odd N or E until you get in the e.g. SW corner, then you'll be oriented for your hand-drawn maze. Yeah; since the maze moves it isn't *exactly* the same, but that is the only difference (Well, that and the monsters). We did know about this, but for some reason we rationalised it.
More, he would like to write a sequel some day in the future!

I guess everything is clear now; except for a little confusion it generates in the player :wink: - for which I asked him to modify the program and make all the dungeons exits fixed for each dungeon... If he has time and will.
User avatar
Mayhem
High Bidder
Posts: 3026
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

So in a nutshell, the dungeon IS the same, but the actual starting points swop around so visiting point 1 could be any of the 4 each load?
Lie with passion and be forever damned...
Mikam73
2049er
Posts: 1292
Joined: Tue May 18, 2004 4:34 pm

Post by Mikam73 »

No. Its not same. At ´my´ Sorcery Witch did fly. I think I saw one childhood friend play it with Amstrad.

Image
Last edited by Mikam73 on Sat Oct 07, 2006 9:51 am, edited 1 time in total.
User avatar
orion70
VICtalian
Posts: 4337
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

To tell you the truth, Mayhem, it's not so clear: I had to read Brendan's mail twice to realize what's the point. And the point is: the maze IS the same every time you press the same letter on the keyboard - what changes is not only the number assigned to each entrance; but the POSITION of ALL FOUR entrances.

In other words: my theory (still have no time to prove it, but I will ASAP) is that the map does not change at all; but the four points where you start change, i.e. they are "created in the ceiling" of different rooms every time.

Dunno if this is correct; someone please confirm it.
User avatar
Mayhem
High Bidder
Posts: 3026
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

Ah gotcha... well I guess the only way to be sure would be for someone to plot out dungeon A. How big are they anyhow grid size?
Lie with passion and be forever damned...
brendanjones
Vic 20 Newbie
Posts: 12
Joined: Sat Oct 07, 2006 10:47 pm

Cool!

Post by brendanjones »

It's me! Found Denial through Orion70. Heard about Denial years ago, but wondered if it was an Urban Legend. :-) Yay! Glad to hear someone is having fun with Sorcery! Back in 1986 my neighbours and I played it to death. His Dad was a Pastor, so we couldn't cast spells when he was in the room. :-) Seriously!

> So in a nutshell, the dungeon IS the same, but the actual starting
> points swop around so visiting point 1 could be any of the 4 each load?

To clarify: The maze stays the same, but all 4 doors are randomly placed at new locations. The good news is it should be pretty easy to change. Somewhere in the code it'll seed the random number generator, then generate the maze, then reseed it with the TI system variable, then set the doors, the mobs, etc. Just move the set the doors part before the reseeding. Of course, I'm going off some real old memories here... :-)

I *do* have the all the old notes lying around here; planned it out on paper so all the variables and line numbers are written down and what the routines do. Also the original bit art. Unfortunately will have to go through 40 plastic storage boxes before I can find them :-) If someone can send me an ASCII listing or tell me how to generate one (I got gibberish with CBM2IBM) I'll see if I can find it. Shouldn't be too hard but... There'll be a reference to TI and then a FOR I=1TO4 or I TO ND or something like that.

Yeah. I think changing it's a good idea. I'll also place the source in the public domain; do with it whatever you like. If you want to fork the source, go for it and I'll link it off the site or merge the changes or whatever you like. Orion's disk change sounds good too. Think I'll download it :-) There are a few bugs in ERRATA worth fixing too. BTW memory is tight if you're on 16Kb exp (ie. 19.5Kb); uses every last byte. There is a line you could delete where there is a real small chance (very small) that the mob will grab your weapon out of your hand. Otherwise if you're running with 24Kb you'll have no problems.

Sequel: Yeah! Looked at this a few years ago when the MMPOG were big. Market is awash with them now, so glad I didn't. But someday for sure; the idea is just too much fun! :-)

> didnt know there was Sorcery for Vic20.
It was never published. Did try, but this was through two clueless Aussie companies. Ozisoft and Imagineering. Ozisoft gave all their games to some dweeb to evaluate who stuck them in his Dad's garage and forgot about them. Imagineering sat on it for a year and ignored all my letters until I finally threatened to sue their asses. (I was 16 or something at the time.) Imagineering was owned by a guy called Jodee Rich, who went on to create OneTel = one of Australia's biggest corporate colllapses. I reckon Richard Garriot with his zip-locked plastic bags had a far better idea. :-)
Post Reply