Thu Aug 1 22:20:56 2024 by CommanderMeg |
I tried installing the offline version, but it never worked. It just opened a console and started scrolling endlessly. I'm not sure what I'm doing wrong. |
Fri Aug 2 07:23:07 2024 by Mizuki |
You need to open a command prompt in the directory containing planet.exe and type "planet.exe (some more text)" There's a pdf manual in there, it'll probably be of use :) To Torben: This is why I made the "warn if there is only one argument" patch haha |
Fri Dec 6 01:17:36 2024 by Olexava |
I'm looking at this post and I have the manual open on my other monitor. I don't know a thing about Linux honestly, I just wanted to make a larger version of a map. - Is this "makefile" which seems to need a program called "make" reliant on having Linux installed? - Is the windows CMD command supposed to be: "gcc planet.c -o planet.exe -lm -02"? - The next paragraph specifies a command, but the phrasing is confusing. Are they saying that they MADE the .exe file with the command "x8664-w64-mingw32-gcc -lm -O2 planet.c -o planet.exe" or are they saying that you need to execute that command to compile it on Windows? |
Fri Dec 6 11:04:07 2024 by Torben |
The zip file contains executables for both Linux and Windows, called "planet" and "planet.exe", respectively. They are compiled for x86-64. So you should not need to run the Makefile. The Windows executable was made on a Linux machine, which is why you need the rather arcane command to compile it. I wouldn't know how to recompile it on Windows. To run the program in a CMD window, write something like planet.exe -s 0.1111111 -w 800 -h 400 -pM -o test.bmp which should produce an 800×400 version of the default map from the online version in the file test.bmp. Note that you first need to change the current directory to the directory where the executable is located, using something like cd pathname where pathname is the full pathname of the directory. |