3 ms·
+1 to what vijayr02 said: you really need at least screenshots, and ideally just post the .z5 file with a link to iplayif so people can play it directly and see
by quuxplusone 2y ago
+1 to what vijayr02 said: you really need at least screenshots, and ideally just post the .z5 file with a link to iplayif so people can play it directly and see what you're talking about. Like this:
https://iplayif.com/?story=https://raw.githubusercontent.com/Quuxplusone/Advent/gh-pages/advent.z8
I tried and failed to create the .z5 locally myself. It'd be easy if your script generated Inform code, but you generate ZIL, and the only tool I was able to find to compile ZIL is ZILF/ZAPF, which needs Windows. Here's how to create the "output.zil" file using your script...
git clone https://github.com/scottvr/wadzilla
cd wadzilla
curl -O "https://raw.githubusercontent.com/dabignerd/doom-wads/master/zips/Doom%20(v1.9).zip"
unzip "Doom%20(v1.9).zip"
pip install bs4
python wadzilla.py --basewad DOOM.WAD
But then you need a ZIL compiler to proceed any farther. You can get a compiled ZILF.EXE (for Windows) here:
curl -O "https://ifarchive.org/if-archive/infocom/compilers/zilf/zilf-0.8.zip"
Or the C# source code and MSVC project files here (seems to use hg, not git, for version control):
https://foss.heptapod.net/zilf/zilf
But since I'm on Apple Silicon, both of those avenues seem to be dead ends. I verified that ZILF.EXE "cannot be run in DOS mode" as far as DosBox is concerned. There's a thing called WineskinServer that's allegedly supposed to let you run Windows code on Macs, but it didn't help me; I think it's trying to tell me that it needs some proprietary bits (the Windows-system-library equivalent of a disk image or a ROM) in order to do anything useful with an EXE file.
- ycombiredd 2y agoHey thanks for documenting the prereq steps! :-) I am working on some additional progress toward making it plug-and-play. I’ll work on a demo. Thanks for the feedback, quuxplusone (and everyone)!
- jhbadger 2y agoC# ".exe" files aren't at all the same thing as either DOS or native Windows .exe files. They are .NET code, similar to Java bytecode. You need a .NET environment such as dot-net (which is available on Macs) to run them. Given that the ZILF compiler is text-based, it ought to run fine on dot-net.
- neonsunset 2y agoIt has somewhat questionable build settings (plain clone -> dotnet run fails with errors, which is not acceptable for .NET projects) but it worked on my M1 Pro just fine with these: - Clone repo - cd Zilf/src/Zilf - dotnet run -c Release -p:WarningLevel=0 To get sdk: download from https://dot.net/download https://dot.net/download (you can also just get it from brew and then uninstall it but this mode sucks because Homebrew has unsound folder behavior that puts .NET SDK in non-standard path which then creates issues if other tools install SDK in a standard path - .NET has none of the idiocy C/Python/Java and other tools suffer from where you need to manually manage versions and expects a single "muxer" executable to exist in the PATH while the SDK packs are installed in its subfolders, which it manages and uses automatically. But I shouldn't complain too much, FOSS communities are very nearsighted and usually sleep on .NET, let alone using proper .NET LTS versions (8 currently), which this project does, and it's always something nice to see out there.
- viccis 2y agoI just downloaded their prebuilt Linux binary and it spewed a bunch of errors (stopped at around 100 of them) as soon as it tried to compile the ZIL file that this project spit out. So I guess I'm kind of at a loss for what this is supposed to have achieved?
- b7kich 2y agoSame here. The latest zilf is 0.9 https://foss.heptapod.net/zilf/zilf/-/releases https://foss.heptapod.net/zilf/zilf/-/releases >bin\Zilf.exe doomv109.zil ZILF 0.9 built 8/11/2019 4:30:42 AM [error MDL0128] doomv109.zil:1: ROOM: arg 1: expected ATOM [error MDL0113] doomv109.zil:2: unrecognized value in DECL pattern: -48 [error MDL0215] doomv109.zil:2: GVAL: atom 'CEILING' has no global value [error MDL0113] doomv109.zil:2: unrecognized value in DECL pattern: 80 [error MDL0113] doomv109.zil:3: unrecognized atom in DECL pattern: Unknown [error MDL0113] doomv109.zil:4: unrecognized atom in DECL pattern: Unknown [error MDL0113] doomv109.zil:5: unrecognized atom in DECL pattern: - [error MDL0113] doomv109.zil:17: unrecognized atom in DECL pattern: ROOM [error MDL0113] doomv109.zil:20: unrecognized value in DECL pattern: -48 [error MDL0215] doomv109.zil:20: GVAL: atom 'CEILING' has no global value [error MDL0113] doomv109.zil:20: unrecognized value in DECL pattern: 80 [error MDL0113] doomv109.zil:21: unrecognized atom in DECL pattern: Unknown [error MDL0113] doomv109.zil:22: unrecognized atom in DECL pattern: Unknown [error MDL0113] doomv109.zil:23: unrecognized atom in DECL pattern: - [error MDL0113] doomv109.zil:47: unrecognized atom in DECL pattern: - [error MDL0128] doomv109.zil:48: GVAL: arg 1: expected ATOM [error MDL0128] doomv109.zil:50: ROOM: arg 1: expected ATOM [error MDL0113] doomv109.zil:51: unrecognized value in DECL pattern: 0 [error MDL0215] doomv109.zil:51: GVAL: atom 'CEILING' has no global value >bin\Zilf.exe freedoom1.zil ZILF 0.9 built 8/11/2019 4:30:42 AM [error MDL0128] freedoom1.zil:1: ROOM: arg 1: expected ATOM [error MDL0113] freedoom1.zil:2: unrecognized value in DECL pattern: 0 [error MDL0215] freedoom1.zil:2: GVAL: atom 'CEILING' has no global value [error MDL0113] freedoom1.zil:2: unrecognized value in DECL pattern: 104 [error MDL0113] freedoom1.zil:3: unrecognized atom in DECL pattern: Unknown [error MDL0113] freedoom1.zil:4: unrecognized atom in DECL pattern: Unknown [error MDL0113] freedoom1.zil:5: unrecognized atom in DECL pattern: - [error MDL0113] freedoom1.zil:7: unrecognized atom in DECL pattern: STARGR1 [error MDL0215] <internally created FORM>: GVAL: atom 'Left' has no global value [error MDL0113] freedoom1.zil:8: unrecognized atom in DECL pattern: SKSNAKE2 [error MDL0113] freedoom1.zil:9: unrecognized atom in DECL pattern: SKSNAKE2 [error MDL0113] freedoom1.zil:10: unrecognized atom in DECL pattern: SKSNAKE2 [error MDL0113] freedoom1.zil:11: unrecognized atom in DECL pattern: SKSNAKE2 [error MDL0113] freedoom1.zil:12: unrecognized atom in DECL pattern: ROOM [error MDL0113] freedoom1.zil:15: unrecognized value in DECL pattern: 0 [error MDL0215] freedoom1.zil:15: GVAL: atom 'CEILING' has no global value
- anthk 2y agoI woudn't use that Doom WAD but the FreeDoom one as it aims for compatibility: https://github.com/freedoom/freedoom/releases/download/v0.13.0/freedoom-0.13.0.zip https://github.com/freedoom/freedoom/releases/download/v0.13... If that's the complete Doom IWaD, you can be in trouble as it's copyrighted.