Xenoveritas / abuse

Abuse SDL port originally from Crack-Dot-Com and released into the public domain
Other
128 stars 24 forks source link

Game Crashes when installing Music and SFX folders #20

Closed OpenRift412 closed 2 years ago

OpenRift412 commented 2 years ago

If i'm understanding this right, I'm supposed to copy the SFX and MUSIC data folders to the Abuse SDL directory, correct? Whenever I do, the game gets to the loading console screen and then crashes before I can see what's wrong.

Am I missing something here?

deviant-syndrome commented 2 years ago

Hello. I think to reliably reproduce the issue, we would need to know, where those SFX and MUSIC files came from? Was it fRAPs, the original Abuse Box distribution, or the shareware files? Thank you!

OpenRift412 commented 2 years ago

Hello. I think to reliably reproduce the issue, we would need to know, where those SFX and MUSIC files came from? Was it fRAPs, the original Abuse Box distribution, or the shareware files? Thank you!

If I recall correctly it was from the CD distribution, because I took it from my DOS install of the game (not shareware).

deviant-syndrome commented 2 years ago

Ok. That's clear. Thank you for sharing the info. Do you see any specific messages in the console? Can you paste you terminal output here? (my hunch is that it tries to load/pre-cache a specific SFX from a SPECS file list, but fails) Could be that the SFX file list in this port deviates from the CD version

OpenRift412 commented 2 years ago

Ok. That's clear. Thank you for sharing the info. Do you see any specific messages in the console? Can you paste you terminal output here? (my hunch is that it tries to load/pre-cache a specific SFX from a SPECS file list, but fails) Could be that the SFX file list in this port deviates from the CD version

Okay so I had to run it from the command line so I could copy the console output, but here you go:

abuse 0.9 Setting data dir to C:\Users\Alex.AlexsGamingRig\Downloads\Abuse-0.9.0-win32 Abuse version 0.9 Sound: Enabled Specs : main file set to abuse.spe Protocol Installed : UNIX generic TCPIP Lisp: 527 symbols defined, 99 system functions, 319 pre-compiled functions 0 joysticks on system Joystick : not detected (load "abuse.lsp") [.................... ]Unable to open file 'addon/aliens/aslash01.wav' for reading warning: cleaning up nonempty stack

deviant-syndrome commented 2 years ago

Okay. I think I know, what is causing problems. You're running a version of the port, that is still configured to run with the fRABs data, which for some reason has additional graphics and SFX. And abuse.lsp had some references to those, through includes. Please, see this change: Remove fRaBs entirely

So, I think the best way to resolve this issue is to undo those changes (and also changes below) in the abuse.lsp file. LSP files in this game are compiled at runtime, and they are human readable/editable.

If it sounds too tedious to fiddle with, you can probably just substitute data/abuse.lsp with the same file from your CD distribution.

Hope that helps. Thank you

OpenRift412 commented 2 years ago

Okay. I think I know, what is causing problems. You're running a version of the port, that is still configured to run with the fRABs data, which for some reason has additional graphics and SFX. And abuse.lsp had some references to those, through includes. Please, see this change: Remove fRaBs entirely

So, I think the best way to resolve this issue is to undo those changes (and also changes below) in the abuse.lsp file. LSP files in this game are compiled at runtime, and they are human readable/editable.

If it sounds too tedious to fiddle with, you can probably just substitute data/abuse.lsp with the same file from your CD distribution.

Hope that helps. Thank you

I think replacing abluse.lsp seemed to work. Though it's not really contained in .\data\, it's just in the base directory.

The question at this point is though: why not just have the port include the original LSP from the 2.00 version without the SFX and MUSIC folders? It's freeware anyway, so I'd imagine it wouldn't be a problem to include, right?

deviant-syndrome commented 2 years ago

@OpenRift412 , the latest master of this repository, seem to actually, have the original lsp's. The PR I mentioned earlier reverts the modification related to fRaBs extra content. So, the release 0.9 that you presumably downloaded, is a bit outdated.

The release schedule and related questions are better to be addressed to the original maintainer / repository owner. @Xenoveritas , I think this issue can be closed.

Thank you.