Denial Forum Index Denial
The Commodore Vic 20 Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WIP: Sorcery (was: Two problems with Sorcery)
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Denial Forum Index -> Games
View previous topic :: View next topic  
Author Message
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Thu Oct 05, 2006 8:23 am    Post subject: WIP: Sorcery (was: Two problems with Sorcery) Reply with quote

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. Laughing
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” or “b”. This dungeon will contain the same passages and entrances every time you select it. Our favourite is the “b” dungeon; It has a dungeon entrance on the outer passage, making it easier to find your way out. There’s little point mapping random dungeons, but mapping a permanent dungeon can prove a good investment if you want to explore every nook and cranny.


Sounds great, but it does not work! Every time I start a quest pressing a letter (say "b", just to follow Brendan's suggestion) instead of F1, I realize that the dungeon itself is different. Seems like the randomization of the dungeon is performed *no matter* which key you hit at the beginning! This makes playing for a long time and mapping "every nook and cranny" a complete waste of time. I tried this both with VICE (which has the advantage of snapshot save option) and on the real thing, and it behaves the same.
Any suggestion? (I mailed this question to Brendan himself; hope he will answer, but I suspect I used a very old mail address).

Second question. Anyone knows how to modify - if Brendan gives his permission - the program in order to save the characters *on a disk* instead of a cassette? It's not only for fun, it's because my cassette recorder slot is dead. Crying or Very sad

Thank you all.


Last edited by orion70 on Tue Oct 10, 2006 10:37 am; edited 1 time in total
Back to top
View user's profile Send private message
nbla000
Salmon Run


Joined: 13 Oct 2005
Posts: 2136
Location: Italy

PostPosted: Thu Oct 05, 2006 8:41 am    Post subject: Reply with quote

post it to a place and i give a look.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Thu Oct 05, 2006 10:39 am    Post subject: Reply with quote

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. Crying or Very sad
Waiting for the mistery to be solved...
Back to top
View user's profile Send private message
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Thu Oct 05, 2006 1:42 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Mayhem
High Bidder


Joined: 24 May 2004
Posts: 1629
Location: London, England

PostPosted: Thu Oct 05, 2006 2:12 pm    Post subject: Reply with quote

This thread might be of a little use Wink

http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.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...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Thu Oct 05, 2006 3:31 pm    Post subject: Reply with quote

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? Question
Back to top
View user's profile Send private message
carlsson
Class of '6502


Joined: 10 Mar 2004
Posts: 5522
Location: Västerås, Sweden

PostPosted: Thu Oct 05, 2006 4:06 pm    Post subject: Reply with quote

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

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mikam73
2049er


Joined: 18 May 2004
Posts: 1116
Location: Finland

PostPosted: Thu Oct 05, 2006 5:51 pm    Post subject: Reply with quote

Any screenshot, I couldnt find it from Armas page.

didnt know there was Sorcery for Vic20.
Back to top
View user's profile Send private message
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Fri Oct 06, 2006 12:53 am    Post subject: Reply with quote

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

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



...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 Rolling Eyes

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.
Back to top
View user's profile Send private message
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Fri Oct 06, 2006 2:16 am    Post subject: Reply with quote

Brendan Jones just answered my email - and solved the mistery:

Quote:
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.
Back to top
View user's profile Send private message
Mayhem
High Bidder


Joined: 24 May 2004
Posts: 1629
Location: London, England

PostPosted: Fri Oct 06, 2006 1:23 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Mikam73
2049er


Joined: 18 May 2004
Posts: 1116
Location: Finland

PostPosted: Fri Oct 06, 2006 6:28 pm    Post subject: Reply with quote

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



Last edited by Mikam73 on Sat Oct 07, 2006 9:51 am; edited 1 time in total
Back to top
View user's profile Send private message
orion70
Vic 20 Guru


Joined: 02 Feb 2006
Posts: 1502
Location: Italy

PostPosted: Sat Oct 07, 2006 3:05 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Mayhem
High Bidder


Joined: 24 May 2004
Posts: 1629
Location: London, England

PostPosted: Sat Oct 07, 2006 5:31 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
brendanjones
Vic 20 Poser


Joined: 07 Oct 2006
Posts: 12

PostPosted: Sun Oct 08, 2006 1:19 am    Post subject: Cool! Reply with quote

It's me! Found Denial through Orion70. Heard about Denial years ago, but wondered if it was an Urban Legend. Smile 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. Smile 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... Smile

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 Smile 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 Smile 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! Smile

> 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. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Denial Forum Index -> Games All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group