Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #164803 : Star Trek - The Rebel Universe
2019-04-25 00:54
jcompton

Registered: Feb 2006
Posts: 70
Release id #164803 : Star Trek - The Rebel Universe

Attention underemployed trainers looking to be the first to address a long-standing issue! Please consider offering a trainer that neutralizes the effects of the Catastrophe Pods, Mike Singleton's regrettable design decision that makes the game stupidly difficult to play without constant restarting.

https://www.lemon64.com/reviews/view.php?id=990
 
... 19 posts hidden. Click here to view all posts....
 
2019-04-27 19:00
jcompton

Registered: Feb 2006
Posts: 70
You're right, it is always the same. In order to fit ~4000 systems into a single-load game, there's gotta be some sort of procedural routine working from a fixed random seed, ala the Elite galaxy generator documented here: http://wiki.alioth.net/index.php/Random_number_generator

(just with Mike Singleton special sauce instead of Bell-and-Braben special sauce.)
2019-04-27 19:02
Krill

Registered: Apr 2002
Posts: 2969
Yeah, so with the pseudo-random number generator's seed always being the same, what were you aiming at?

Snippets of code implementing the procedural universe generation? :)
2019-04-27 19:07
jcompton

Registered: Feb 2006
Posts: 70
One of the ways to make playing Elite a little fresher is to put in a new seed, since every planet will be entirely different.

It would be interesting to see what new and nearly-unlimited Rebel Universes might be created by changing just a few bits in the seed...
2019-04-27 19:11
Krill

Registered: Apr 2002
Posts: 2969
Ah, i see. There might be a handy seed value somewhere in memory to just change for different universes, but there might also be many interlocked pieces of code so changing the effective seed without breaking things might be very difficult.
2019-04-27 19:17
jcompton

Registered: Feb 2006
Posts: 70
Oh, agreed, it might be an unplayable mess without anything except for the One True Seed they built everything around. I'd just be curious to see that unplayable mess (or wondrous new galaxy) if anybody happens to know where those bytes live, that's all. :)

Thank you for finding the Catastrophe Pod routine and providing the quick patch.
2019-04-27 19:36
Krill

Registered: Apr 2002
Posts: 2969
Quoting jcompton
the One True Seed
There might be many good seeds, but with unknown constraints on the seed number. Such as certain bits have to be clear or set, or the sum of all bytes must be zero, things in that vein. "Somebody" "should" "some time" have a look at what's really there. :)

But this reminds me of Artefacts, where i needed to find seed values that would make for exciting enough differences from one loop to the next and also not generate boring or ugly stuff within the first 5 or so minutes. The values were even different for PAL and NTSC versions, iirc.
2019-04-27 21:34
jcompton

Registered: Feb 2006
Posts: 70
Like so?

.ifdef NTSC_VERSION
getrandom:      eor Artefacts+$0655
.else
getrandom:      eor Artefacts+$0653
.endif


(I had never seen Artefacts before! Thank you for mentioning it.)
2019-04-27 21:59
Krill

Registered: Apr 2002
Posts: 2969
Indeed. Also note how that is a very very cheap pseudo-random number generator, nothing like a linear feedback shift register or the like.
But it turned out that simply reading the numbers from the re-interpreted actual program code (with the initial position acting as the seed) was random enough for my purposes. :)
2019-04-28 11:26
Krill

Registered: Apr 2002
Posts: 2969
Ok, i dug a little deeper and found that no, there does not appear to be any kind of handy little seed value to play with.

Instead, there is some kind of star map with 512 byte-sized entries at $f623 plus a global "Quarantine Zone" map with 20 entries at $f60f.
System coordinates and properties seem to be derived from the entries in those maps, and the systems' names are generated from their coordinates.

The maps are readily there in memory after loading/depacking, and i haven't found any code to generate them.

So for playing around with alternative universes, you'd have to create those maps yourself, with all the unknown constraints. So... =)
2019-04-28 17:27
jcompton

Registered: Feb 2006
Posts: 70
Still very cool information. Not surprising that with all of the constraints (like multiple specific paths to winning the game) they'd have to give over more data than just a six-byte seed. Thanks for digging in!

(meanwhile I have been enjoying tweaking the Artefacts seed at $1bcd, although have yet to come up with anything nearly as good as the one it ships with. Occasionally there's one where the artifact is just a rectangular slab with very little detail in sky or ground, that's kind of interesting...)
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Frostbyte/Artline De..
Skate/Plush
cba
MCM/ONSLAUGHT
iAN CooG/HVSC
Flex/Artline Designs
The Cracking Dane
Steffan/BOOM!
MWR/Visdom
Wiklund/Fairlight
MightyAxle
Alakran_64
chesser/Blazon
Barfly/Extend
rexbeng
YTM/Elysium
Guests online: 104
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 What Is The Matrix 2  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.053 sec.