Coder Social home page Coder Social logo

jeheydorn / nortantis Goto Github PK

View Code? Open in Web Editor NEW
70.0 70.0 20.0 339.18 MB

Nortantis is a fantasy map generator. It uses a simple tectonic plate simulation to create islands and continents with trees, rivers, and mountains. The result has the appearance of an old-fashioned hand-drawn map.

License: GNU Affero General Public License v3.0

Java 99.78% Batchfile 0.12% Shell 0.10% PowerShell 0.01%

nortantis's People

Contributors

jeheydorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nortantis's Issues

Generator getting stuck

Whenever I click the "generate" button, nothing happens. If there was text in the bottom-left text window, it clears and them says "Creating the map." and "Generating the background image." Nothing happens after that.
A similar problem happens when I try to open the Editor (Editor>Launch Editor) and have it display the map at 75% zoom. It was running mostly ok on 25% and 50% zoom, and a couple times I even got it to work at 100% zoom. But whenever I try to open the Editor and the zoom is set to 75%, it gets stuck at "Drawing ocean.", or however the program phrases it.
I realize there is the chance it's a hardware problem on my end, but according to Task Manager>Performance, I have 4.3 GB of a total 8 GB available.
I've even tried closing all other apps, but the program still gets stuck in those two placea. I've tried redownloading the program, I've tried closing the program and reopening it, but it doesn't seem to work.
My laptop has Windows 10, and I recently installed the latest version of Java.

Issues and Ideas

Hey there, thx for that amazing tool you made! I have a blast with it.

  • I created some .txt files that I added to the assets/books folder, but the program does not take them into account. It still takes names, locations etc. from the original .txt files even when I deselect them and take my own. Do i need to customize a file to have my own taken into account by the generator? If so, do I also have to assign which names are e.g. rivers and cities?
  • Any Idea when you finish the "road-work"?
  • A automaticly added scale (metric and imperial system) would be awesome or at least something to find out in which scale the map is, so I can create a scale myself.
  • I have noticed that when I manually change the colors of the regions in the generator, the program sometimes does not accept the colors I select, or colors another region that I have not selected.

Export Heightmap

I'm probably just being obtuse, but I can't get the map to export to anything. I click the 'Export Heightmap' button and...nothing happens. I'm running on Windows 10 and have Java completely updated. Everything else on the program works fine, I just can't actually do anything with map once I have it completed. I checked the folder that Nortantis is stored in to make sure it wasn't creating a file there and just not telling me or something, but I can't find anything. I tried digging around on the website to see if there was anything telling you where to find the final file....I'm just completely lost at this point. Where does the final map get sent once you export it? Is it supposed to ask you to export it to somewhere specific? That's what I expected, but no other menu pops up or anything. It's like I haven't actually chosen something on the menu.

Feature Proposal: import map from image

Excellent tool Nortantis team!

I have to say, the ability to paint visually pleasing mountain ranges in strokes rather than placing stamps individually is such a timesaver.

My feature proposal would be to import a map from an image and load it in the editor.

Basic implementation: read a black & white 16:9 image, treat black as landmasses and white/transparent as ocean/water, paint the polygons accordingly, and throw it into the editor. Being able to start with bare landmasses with predetermined shapes would save even more time.

Enhanced implementation: read a b&w image as a heightmap (such as the heightmap exported by Nortantis), paint landmasses and add the various types of hills and mountains accordingly, and open it for editing. There's some overlap in visual weight between round mountains, twisty hills, and sharp hills so maybe the type could be randomized at that height.

Exhaustive implementation: import images for heightmap and placement of each region/type, lakes, cities, or if no heightmap, swaths for the different types of hills and mountains, then paint the polygons etc. etc. Simpler to import them one at a time for each region/icon, but a unified import screen where the user could add each "layer" and select its region/icon context would be pretty cool. Only slightly more value over the basic landmass import as each layer would have to be prepared separately. Would only benefit overly fussy and fiddly mapmakers like myself.

Also, it would be cool if there were fjords for shorelines. I've got them at the northern and southern extrema on my current world map.

That error tells me that another error happened in a background thread, so

изображение_2023-12-14_100224445
That error tells me that another error happened in a background thread, so
we'll have to dig in deeper. You're using the export as image workflow,
right? If so, before opening that workflow, open the log viewer window in
Nortantis. It's hidden in the lower left corner of the main window as a
collapsed section. Click and drag it up to make it visible. Then export to
image again, and then send me the contents of that log viewer window by
copy pasting it's contents.

If you're willing to send me an email, it would also help to send your nort
file to @.***

On Mon, Dec 11, 2023, 1:21 PM sleingor @.***> wrote:

Hello. I have a very nerve-wracking situation. I am trying to save the map
in image format and it shows this error. I don't know how to fight it. The
worst thing is that this problem occurs ONLY when using a political map,
not a monochrome map.
_2023-12-11_232122442.png (view on web)
https://github.com/jeheydorn/nortantis/assets/119521646/1fd0cd18-fafb-47dc-a535-fe9279dc9021


Reply to this email directly, view it on GitHub
#11 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY34KLZVCUNPHFTPXWTV53YI5TNFAVCNFSM6AAAAAAYBBBVY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQHAZDONRUGM
.
You are receiving this because you commented.Message ID:
@.***>

Originally posted by @jeheydorn in #11 (comment)

Memory allocation issues

I tried alocating more memory but got this error:
Error occurred during initialization of VM
Could not reserve enough space for 2048000KB object heap

(my machine has 8GB, so shouldnt be a problem)

Noticed that it runs in 32bit
Minecraft runs in 64bit and is able to use up 4 or more with no issues.

Sand Dunes Aren't Drawn

Hi there,

I'm getting a message when the map renders:

Loading icon: assets\icons\sand\dunes\dune1.png
Loading icon: assets\icons\sand\dunes\dune2.png
Sand dunes will not be drawn because no sand dune images were found.

The map is able to render, but without sand dunes. I'm not sure what the issue is, those are the correct directories for the dune assets so it seems like the program knows where to look. Let me know if more information is helpful to provide.

Beautiful maps, I love what you've done here.

Stuck at adding grunge

It goes up to adding grunge, but not past that. The button to generate becomes usable again, but no map pops out.

New Map but Keep Existing Theme

The new interface is a big improvement over the old one, I particularly like being able to Randomize Land without having to click back and forth between New Seed & Preview.

Issue: However, with this new interface, there no longer seems to be a way to have the New Random Map interface keep the style settings we've already configured in the main interface. Instead, whenever we click on New Random World, it automatically performs Randomize Theme as well.

Solution: If the New Random Map dialog could simply inherit the existing theme from the main interface (or a save file), that would be great. After all, the Randomize Theme button is still there if we want it, but there's no good option for those who have their style down pat short of copying down settings in a notepad and manually reapplying them afterwards.

Also: Could we please get a Dimensions setting for Equirectangular? (i.e. width = 2x height) This would be helpful when wanting to map the output onto a globe.

Quick Question RE: new Book txt files

I have a question regarding the addition of new book txt files. Where would one find new premade sets to import? Or is it fairly easy to make new ones? Googling does not seem to bring up anything, but I must admit, I didn't look for long.

Is there a script of some sort to automate this, or is it done by hand?

Add Cave Icons?

Hello, I was wondering if there could possible be the ability to add caves somehow? Would be a nice thing to add to mountains even if added manually.

New Problem

I downloaded the new version, but now I can't get it to open. I don't see the files that were in the last download for running it in Windows. I tried running it from the command prompt, but nothing happened. I'm not sure what to do now?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.