Hi there,
I'm Sven, a forum newbie, but playing OpenTTD casually for two years now. Most maps i play are with the XIS Industry Set & JGR Patch Pack.
Regarding NewGRF modding i am also a total noob.
I downloaded the current xis sources from github an tried to compile them myself. After some time setting up the needed packages for compiling under a live linux mint session, i got it finally to run. But i get a error message from nmlc which i can't find an answer to, neither in this forum, nor via google. So i ask here for help.
This is the error >> "Temporary registers from 128 to 255 are reserved for NML's internal calculations."
the full terminal message:
Code: Select all
mint@mint /media/mint/Data/XIS-main $ make
python3.5 src/render_nml.py '9081' '0.0' '' ''
[RENDER NML] render nml
2.09s
nmlc -c -l generated/lang --grf=generated/xis_9081.grf generated/firs.nml
nmlc ERROR: "generated/firs.nml", line 7394: Temporary registers from 128 to 255 are reserved for NML's internal calculations.
Makefile:96: recipe for target 'generated/xis_9081.grf' failed
make: *** [generated/xis_9081.grf] Error 1
my comiler environment is this:
Code: Select all
mint@mint /media/mint/Data/XIS-main $ nmlc --version
unknown
nmlc: /usr/local/bin/nmlc
LZ77 implementation: C (native)
Library versions encountered:
PIL: 7.2.0
PLY: 3.7
Python: /usr/bin/python3
version 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609]
What do i want to achieve?
I really don't like the look of the farm fields and i prefer to place my own version with objects from AuzFarms. I didn't find any grf or setting to disable them so i hoped i could edit the spec_flags='bitmask(IND_FLAG_PLANT_FIELDS_PERIODICALLY, IND_FLAG_PLANT_FIELDS_WHEN_BUILT)' in the source files and compile a version for myself.
Will this way even work???
Does anyone know what it wrong and can point me to a solution?
THANKS!
![Bowing Down :bow:](./images/smilies/bowdown.gif)