Open danboid opened 3 months ago
I asked about how to build Lemmings on the spectrumcomputing forum and one forum user kindly provided these almost complete build instructions:
https://spectrumcomputing.co.uk/forums/viewtopic.php?p=143872#p143872
I haven't managed to build it, but it looks like the process is:
Clone/Download the Lemmings repository
Within the repo is a tool called LemConv, which is a C# program that will convert the assets from the Windows version of Lemmings into a format that can be used to build the Next version. (Looks like it extracts the assets and dumps them into the lemdat directory, ready for the next step).
Also within the repo is a batch file (a.bat) that's used to build/assemble the .nex file. This uses Mikes SNASM assembler, rather than SjASMPlus. SNASM comes bundled with CSpect.
The actual assemble command (as found in a.bat) is:
snasm -map _LemmingsNext.asm _LemmingsNext.dat
or under Linux
mono snasm.exe -map _LemmingsNext.asm _LemmingsNext.dat
Mike:
Could you kindly add a build of LemConv.exe to your Lemmings repo to spare us having to install VisualStudio just to build LemConv?
Thanks!
I have successfully used LemConv under Windows 10 to generate the Lemmings Next data files. I copied the contents of the lemdat folder into the lemdat subdir of the Lemmings source but this is the error I get when I try to build it:
~/src/Lemmings$ mono snasm.exe -map _LemmingsNext.asm _LemmingsNext.dat
SNasm V3.2.3.0 (c) Copyright 1999-2023 Mike Dailly
All rights reserved.
Pass 1
/home/dan/src/Lemmings/irq.asm(13) error Symbol MUST be defined before using - MIXERSAMPLESPERFRAME included from file /home/dan/src/Lemmings/_LemmingsNext.asm at line 45
/home/dan/src/Lemmings/irq.asm(15) error Symbol MUST be defined before using - MIXERSAMPLESPERFRAME included from file /home/dan/src/Lemmings/_LemmingsNext.asm at line 45
How do we build Lemmings Next Mike?
I don't see a Makefile or any build instructions in this repo. It would make a nice addition to the README.
I have sjasmplus installed and ready to OH NO!
Thanks