Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

golightlyb/hero-extant-2010

Repository files navigation

This program has a random world generator that exports easy to read data. You may like to use it to generate maps for your own projects. Worlds are saved as binary and also rendered as PNG images. You can find saved worlds in the "local" folder and information on how to read the data in the "docs" folder.

Screenshot of the world generator

Source

The code was written in non-free Pascal-like language called Cobra (not the .NET language with the same name).

Compilers for this language no longer exist.

The code is now (2017) public domain.

Hero Extant (2010) has also been ported to Java.

Binaries

This repository contains source code and Windows binaries.

You can get a copy of the source and Windows binaries from Hero Extant in the TopHat Stuff archive.

Video

Fractal world generator video

Example Output

Rendered Final Map

Screenshot of the world generator

Terrain Types

Screenshot of the world generator

Terrain Contiguity

Screenshot of the world generator

Wind and Rain Simulation

Screenshot of the world generator

Temperature Simulation

Screenshot of the world generator

Experimental feature: using wind & rainfall data to render clouds.

Screenshot of the world generator

Future Work

I'd love to be able to work on a full version of this.

I already have improved heightmap generation, atmosphere simulation, and an accurate seasonal sunlight model. But there's no "nice" program to run.

If you'd like to see more, please support Hero Extant development on Patreon so that I can dedicate the time this deserves!

Credits/COPYING

With thanks to the community at SoCoder.

Hero Extant 2010 Source Code

Copyright (C) 2010 Ben Golightly (golightly.ben@googlemail.com)

As of November 2017, the source code of Hero Extant 2010 (files ending with the *.cps extension) is hereby gifted to the PUBLIC DOMAIN.

Hero Extant is a Trade Mark

SR3a compression

Copyright 2007 Matt Mahoney
Copyright Nania Francesco Antonio
Copyright Andrew Paterson
Licensed under GNU General Public License v3
See GPL.txt

Background Images

Images prefixed with "imageafter-"
Copyright Image*After (gpl.imageafter.com)
Licensed under GNU General Public License v3
See GPL.txt

Music

Kevin McLeod - Finding the Balance.mp3
Copyright Kevin MacLeod (incompetech.com)
Licensed under Creative Commons "Attribution 3.0"
See http://creativecommons.org/licenses/by/3.0/