# ./crossfire-mapper
Initializing Crossfire data...
Unable to open /var/log/crossfire/logfile as the logfile - will use stderr instead
Unable to open /var/log/crossfire/logfile as the logfile - will use stderr instead
[Error] Can't open regions file /usr/games/crossfire/share/crossfire/maps/regions.reg in init_regions.
[Error] Can't open regions file /usr/games/crossfire/share/crossfire/maps/regions.reg in init_regions.
done.
Couldn't stat template templates/map.template!
crossfire-mapper: some files are missing
Moderator: Board moderators
crossfire-mapper: some files are missing
I have built the crossfire-mapper, but it doesn't like the maps I have. The server is version 1.60 (crossfire-1.60.0.tar.gz) and the maps are 1.11 (crossfire-1.11.0.maps.tar.gz). What it complains about is:
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
First, no reason or need to run mapper as root unless you have everything set up that way.
Did you compile the mapper program with the gcc command?
Does the regions.reg file exist at /usr/games/crossfire/share/crossfire/maps/ ?
If not, this is why it's recommended to run the same version of server, maps and archetypes as changes can be made to make different versions incompatible with each other.
If the missing regions.reg is the only problem here, fortunately regions.reg is just the regions file with the .reg extension added to it. This *MIGHT* work..
Did you compile the mapper program with the gcc command?
Does the regions.reg file exist at /usr/games/crossfire/share/crossfire/maps/ ?
If not, this is why it's recommended to run the same version of server, maps and archetypes as changes can be made to make different versions incompatible with each other.
If the missing regions.reg is the only problem here, fortunately regions.reg is just the regions file with the .reg extension added to it. This *MIGHT* work..
Code: Select all
cd /usr/games/crossfire/share/crossfire/maps/
cp regions regions.reg
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Eric Meyer
Hello.
You need to copy the contents of to .
This subdirectory contains the templates mapper uses to generate files.
fargris wrote:I figured that out after I posted the message, but it still fails with:
Couldn't stat template templates/map.template!
- and I can't see what to do about it.
You need to copy the contents of
Code: Select all
trunk/utils/templates
Code: Select all
branch/utils/templates
This subdirectory contains the templates mapper uses to generate files.