Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm error when trying to play nehahra #80

Open
revelator opened this issue Nov 27, 2022 · 16 comments
Open

vm error when trying to play nehahra #80

revelator opened this issue Nov 27, 2022 · 16 comments
Labels
bug Something isn't working

Comments

@revelator
Copy link

Just in case you decide to look at it again :) getting an pf_ function error when trying to play nehara, strangely the demos work.

@Flecked42
Copy link

Flecked42 commented Dec 1, 2022

Looks like this error only happens when loading neh1m1, but i never really tested the whole mod.

joequake000

@revelator
Copy link
Author

aye seems only the first map is affected, tracing it leads to PR_findstring via one of the edict macros not been able to trace it further as im not home atm. Might just be a small glitch i reckon, i changed the Host_Error call to a Con_DPrintf call for the time being and it plays the rest with no problems.

@j0zzz
Copy link
Owner

j0zzz commented Dec 6, 2022

Started checking this a few days ago. I've merged the code from QuakeSpasm more than 2 years ago which reads data from the progs.dat in a more optimal way in terms of memory management of strings. But seems like it does something in a wrong way in case of the nehahra progs. Gonna continue investigating it later as I'm busy with another project currently.

@revelator
Copy link
Author

well nehahra was actually built before any of the quake code was public and the qc code was compiled using a hacked together qc compiler with some oddities :) i actually think the first qc compiler able to handle the odd format was spikes ?.

@revelator
Copy link
Author

well besides the tools they built themself that is ;).

@revelator
Copy link
Author

revelator commented Dec 6, 2022

yep found the post on func_msgboard the old nehahra qc compiler was done in pascal and called reacc.
https://celephais.net/board/view_thread.php?id=38650&start=396&end=408

@Flecked42
Copy link

Flecked42 commented Dec 7, 2022

Nehahra compatibility seems to be a lost cause, I don't think any modern engines actually support it.

@revelator
Copy link
Author

playable with spikes FTEqw engine darkplaces also supports it a few quirks with both but nothing major :)

@revelator
Copy link
Author

FTEqw has a bit of a problem with the seal of nehahra demos (stuttering and some effects like fog are missing) other than that it plays quite well with it. darkplaces was probably one of the first engines out there that was able to play it with all effects on, modern effects like bumpmapping and rtlights tend to mess it up a bit but if you play without these on it works quite well.

@j0zzz
Copy link
Owner

j0zzz commented Dec 7, 2022

Yeah well I have the original source code of it (QC and EXE) from long ago when I added support for it into JoeQuake. Everything is supported, it's this particular QuakeC issue that causes the problem right now.

@revelator
Copy link
Author

indeed :) i have a hunch it might be a minor problem though.

@revelator
Copy link
Author

hmm anoher one cropped up which i did not notice before, you cannot save your game in nehahra "error could not open"

@Flecked42
Copy link

That's strange, game saves fine for me.

Are you using the Nehahra from here https://www.quaddicted.com/reviews/nehahra.html ?

@revelator
Copy link
Author

revelator commented Dec 8, 2022

aye thats the one, maybe some permission problem ? ill try running it as admin when i get home.

@revelator
Copy link
Author

revelator commented Dec 31, 2022

ok tried as admin but no dice, the save path is wrong it seems it tries to save to C:\quake\-nehara\sav0.so Oo which is a rather strange format as .so is a unix shared object format normally lol. not sure why it prefixes the nehahra folder with a - either.

@revelator
Copy link
Author

ah wait a sec, quakespasm yeah i thought i seen this code somewhere :) quakespasm has problems with nehahra, it can play some maps but there are some bugs with it i heard.

@j0zzz j0zzz added the bug Something isn't working label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants