Crash with SW while using SW Voxel Pack

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Gen5lock131
Posts: 32
Joined: Wed Sep 09, 2020 3:27 am
Graphics Processor: nVidia (Modern GZDoom)

Crash with SW while using SW Voxel Pack

Post by Gen5lock131 »

Posted on general because this seems to be a mod incompatibility more than a bug on Raze's side, I think.

While trying out the new 1.1 version of Raze with shadow warrior I could not help but notice that for whatever reason some voxels in the SW voxel pack ( https://forums.duke4.net/topic/7030-sha ... r+%2Bvoxel I am using the version of the voxel pack on page 6.) crash Raze. Specifically:

blackstu.kvx
lampesp.kvx
court.kvx
drkit.kvx

Is there a reason why this could be happening? If I comment out the voxels in the def file everything as it should.

Attached a crash report I saved while troubleshooting in hopes it can be helpful.

Thanks in advance dudes.
Attachments
CrashReport.zip
(20.29 KiB) Downloaded 25 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash with SW while using SW Voxel Pack

Post by Graf Zahl »

What would help more would be some info about places where in the maps it crashes. I'd have to see the crash for myself.
User avatar
Gen5lock131
Posts: 32
Joined: Wed Sep 09, 2020 3:27 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash with SW while using SW Voxel Pack

Post by Gen5lock131 »

Sorry, I may not have explained that well myself on the first post. The game actually never loads. It actually crashes while the game is starting up.

Exmaple with blackstu.kvx: https://imgur.com/a/9ixuNED

EDIT: TLDR I FOUND THE PROBLEM, THE VOXELS WERE MISSING. After messing around with the files I think I found the problem. It seems the voxel files were not added to the archive and therefore when Raze was loading them it could not find them, so it refused to start. This problem went unnoticed because when eduke32 does not find a voxel file it just report it as missing then starts the game without it.

I downloaded the missing voxels from the thread and problem solved.

For anyone interested the only voxel that is missing from anywhere is blackstu.kvx, so you will need to comment that one out definitely.
markanini
Posts: 208
Joined: Sat Jan 18, 2020 6:10 am

Re: Crash with SW while using SW Voxel Pack

Post by markanini »

Still sounds like a bug, Raze is usually lenient with def errors, just like the other ports.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash with SW while using SW Voxel Pack

Post by Graf Zahl »

Out of curiosity, where did you get the file from? The one I downloaded has no .def file, only swvoxfil.txt.
User avatar
Gen5lock131
Posts: 32
Joined: Wed Sep 09, 2020 3:27 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash with SW while using SW Voxel Pack

Post by Gen5lock131 »

From page 6 post 152. The author of the upload updated it to correct the problem and organize it. Quote from latest post on Duke4:
So I decided to organize the SWVP. In short order what I did was:

1.- Added a folder named "voxels" and moved all voxels to said folder
2.-Added 5 new subfolders: animated, monsters, switches, twindragon (Twin Dragon) & wantondes (Wanton Destruction) and moved the appropiate voxels to said subfolders
3.-Reorganized the swvoxel.def file. Added sw.def and sw-raze.def files.

Tested compatible with both VoidSW and Raze.

I don't really understand how to make the TD voxel only appear while playing TD on Raze so I commented it out.

Cheers.
User avatar
Rachael
Posts: 13571
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Crash with SW while using SW Voxel Pack

Post by Rachael »

I moved this to the appropriate subforum.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash with SW while using SW Voxel Pack

Post by Graf Zahl »

Can't you just please post a link to the actual download?
User avatar
Gen5lock131
Posts: 32
Joined: Wed Sep 09, 2020 3:27 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash with SW while using SW Voxel Pack

Post by Gen5lock131 »

-Rachael: Thanks.

-Graf: Asked the guy and he uploaded it to GDrive: https://drive.google.com/file/d/1qjTIY_ ... sp=sharing This is the newest upload with everything organized and working with Raze.

I tried it myself and I can confirm it does work on raze. Pretty cool to see moving lamps and stuff.
markanini
Posts: 208
Joined: Sat Jan 18, 2020 6:10 am

Re: Crash with SW while using SW Voxel Pack

Post by markanini »

Gen5lock131 wrote:-Rachael: Thanks.

-Graf: Asked the guy and he uploaded it to GDrive: https://drive.google.com/file/d/1qjTIY_ ... sp=sharing This is the newest upload with everything organized and working with Raze.

I tried it myself and I can confirm it does work on raze. Pretty cool to see moving lamps and stuff.
Correct me if I'm wrong but I think Graf asked for the version that caused the issue.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash with SW while using SW Voxel Pack

Post by Graf Zahl »

Of course. I have made some changes to the code and could not reproduce anything with a .def file I quickly slapped together myself, so I need the precise file that caused the crash.
User avatar
Gen5lock131
Posts: 32
Joined: Wed Sep 09, 2020 3:27 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash with SW while using SW Voxel Pack

Post by Gen5lock131 »

Ho, here it is the initial file I downloaded: https://drive.google.com/file/d/16hA--5 ... CtKkr/view (link from the uploder's post)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Crash with SW while using SW Voxel Pack

Post by Graf Zahl »

Checked this again, no crash for me. Since I cannot reprduce the problem at all this will get closed now.
Post Reply

Return to “Closed Bugs [Raze]”