DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 11th January 2022
lea0342 lea0342 is offline
Port Guard
 
Join Date: Sep 2017
Posts: 21
Default Making doom wads with BSP 5.2?

Hi! i managed to compile "slige" a random map generator for doom 1 and doom 2, but it outputs a file that need to be processed with "bsp" a node builder to get a playable map or map set.

The issue is that i can compile both applications under OpenBSD 7.0 -current, but bsp is throwing me an error i can't understand.

I compiled slige like this:
## Compile slige

Code:
$ mkdir -p ~/src/xwadtools && cd /src/xwadtools && curl -O ftp://ftp.fu-berlin.de/pc/games/idgames/source/xwadtools-20010615.tar.gz && tar -xzvf xwadtools-20010615.tar.gz
$ cp -r ~/src/xwadtools/slige ~/src/ && cd ~/src/slige
$ cc slige.c -o slige
then, i compiled bsp like this:
Code:
$ mkdir -p ~/src/bsp && cd ~/src/bsp && curl -O http://games.moria.org.uk/doom/bsp/download/bsp-5.2.tar.bz2 && tar -xjvf bsp-5.2.tar.bz2 && cd bsp-5.2
$ ./configure && make
then i run slige successfully:
Code:
$ ~/src/slige/slige -config ~/games/doom/tools/slige/slige490/slige.cfg -doom2 -levels 8 -rooms 18 -map1 -nocustom ~/games/doom/wads/slige/slige_doom2.out
but when i process that slige_doom2.out file with bsp i get:
Code:
$ /home/lea/src/bsp/bsp-5.2/bsp /home/lea/games/doom/wads/slige/slige_doom2.out -o /home/lea/games/doom/wads/slige/slige_doom2.wad

* Doom BSP node builder ver 5.2
Copyright (c)   1998 Colin Reed, Lee Killough
                2001 Simon Howard
                2000,2001,2002,2006 Colin Phipps <cph@moria.org.uk>

Opened PWAD file: /home/lea/games/doom/wads/slige/slige_doom2.out. 49 dir entries at 0x00045c2c.
Creating nodes using tunable factor of 17

Program Error: *** Unable to read wad directory entry ".       " in X
 ***
Any ideas as to why bsp is not working with that 'Unable to read wad directory entry ". " in X' error?
Reply With Quote
 

Tags
compile, doom, games, openbsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
making many partitions jgisme FreeBSD Installation and Upgrading 1 23rd August 2012 06:27 PM
making STDERR more visible vermaden Off-Topic 5 18th December 2011 10:39 AM
Making your own Distro SL6-A2000 FreeBSD General 4 22nd August 2011 01:50 PM
Z-410: How ZFS is slowly making its way to Mac OS X J65nko News 0 18th March 2011 08:10 PM
[Help] Making the desktop in [BSD 7.0] seadog109 FreeBSD General 15 9th May 2008 05:10 AM


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick