Glulx is a handy portable Virtual Machine (VM) that’s similar to the Z-machine. But here’s the cool part: it can handle game files up to four gigabytes! That’s because it uses 32-bit data and addresses, which gives it an edge over the Z-machine.
Now, unlike the Z-machine, Glulx has built-in support for Glk I/O. This means game files can tap into all kinds of cool features that Glk offers. But don’t worry; you can still write your games using the Inform language and compile them into Glulx game files just like before.
Since Glulx is a Glk program, you’ll need to build it with a Glk library. If you check out the Glk home page, you'll find what you need!
The Unix Makefile included in this package is set up to link any of the Unix libraries like XGlk, GlkTerm, and CheapGlk. Just open up the Makefile and change three variables so it knows where to find those libraries. There are clear instructions right at the top of the Makefile.
Once that’s done, all you have to do is type:
make glulxe
This should do the trick! After building your program, run it by typing:
./glulxe filename.ulx
Just replace "filename.ulx" with your actual Glulx game file name.
If you're using a Macintosh, you'll want to grab the MacGlk library too. Check out its instructions—they're pretty straightforward! Just compile both the library and source code along with that "macstart.c" file.
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.