Here's the situation: I am experiencing a bug with one of my newGRF's, and I found a fix for it that someone posted on this forum. However, they attached an .nml file below their post instead of a .grf file, which means I can't install it until I somehow convert it to .grf (as far as I know). I researched how to do that and it appears I need something called grfcodec, however it is not available for my system (MacOS) and it seems like even the installation instructions for other operating systems go way over my head (library packages, compiling, etc).
So my question is: Would somebody be so kind to encode a .grf with the fixed .nml file for me? I have attached the source code .zip and the fixed .nml file below. Thanks.
P.S. Note, both the original .nml file as well as the fixed .nml file are named moprv80.nml, so be careful not to get them mixed up.
Could someone encode a .grf for me please?
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 9
- Joined: 28 Apr 2023 00:02
Could someone encode a .grf for me please?
- Attachments
-
- Mop Generic RVs_080.zip
- source code
- (5.82 MiB) Downloaded 40 times
-
- moprv80.nml
- fixed .nml file
- (1.68 MiB) Downloaded 41 times
Re: Could someone encode a .grf for me please?
grfcodec is used to decompile a .grf file into the NFO meta-language, which is different from the NML meta-language. To compile NML into a .grf file, you need NMLC, the source code which can be compiled on MacOS.
https://github.com/OpenTTD/nml/releases
https://github.com/OpenTTD/nml/releases
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Could someone encode a .grf for me please?
probably easiest way to install nml is "pip install nml" (python is required for nml)
-
- Engineer
- Posts: 9
- Joined: 28 Apr 2023 00:02
Re: Could someone encode a .grf for me please?
It doesn't work. I've tried. Maybe someone more tech-savvy than me could get it to work but I have no idea how to use things like command prompts, python, pip etc. I get that it is second nature to you but I can't even launch nmlc and I had to install 12 GB of dependencies and spend hours trying to make sense of documentation all for nothing.
-
- Engineer
- Posts: 45
- Joined: 26 Dec 2006 12:12
Re: Could someone encode a .grf for me please?
Here ya go!
Had a whole pile of warnings on compile which I couldn't be bothered to look through, but see if it works lol
Had a whole pile of warnings on compile which I couldn't be bothered to look through, but see if it works lol
-
- Engineer
- Posts: 9
- Joined: 28 Apr 2023 00:02
Re: Could someone encode a .grf for me please?
Thanks!Trolley Trev wrote: ↑02 May 2023 05:41 Here ya go!
Had a whole pile of warnings on compile which I couldn't be bothered to look through, but see if it works lol
moprv80.grf
Who is online
Users browsing this forum: No registered users and 34 guests