Search found 13 matches

by adambiser
Mon Nov 21, 2016 10:38 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

I got swamped with stuff and haven't had the chance to try it. :(
I appreciate you keeping the project alive, too.
by adambiser
Mon Oct 24, 2016 7:52 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

The footsteps didn't work for me at 30 FPS, but did at 24. You can always set synctics to whatever you want before DrawScreen and then back to whatever after it... Haven't had a chance to try this yet. Not having prior experience with the game makes knowing what's missing from it a bit hard for me. ...
by adambiser
Mon Oct 24, 2016 2:14 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

Are you trying 40 (synctics 3) or 24 (synctics 5) FPS? I'll try it out again and slow down my DOSBox. Looking at the code, I think that the "synctics = 3;" line should actually be placed above the "drawscreen(plr);" line, but I haven't tried this yet. I do see synctics used by dr...
by adambiser
Sun Oct 02, 2016 10:11 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

Here's the code needed to lock the game at 40 FPS. If the frame rate drops below 40 FPS, the game should play the same, just be slower. playloop() ... synctics=totalclock-lockclock; if (synctics >= 3) { drawscreen(plr); synctics = 3; lockclock+=(long)synctics; processinput(plr); if (netgame) { netge...
by adambiser
Sun Oct 02, 2016 9:43 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

EDIT: Might be better to read the next post first. I think it solves the sync/timing problems best. I have been looking at the jump / synctics issue some and I think the best way to manage things is to force every synctic to be handled individually. (I've been doing this from the context of WH1, not...
by adambiser
Sat Oct 01, 2016 6:35 am
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

EDIT: Well, making these changes makes the goblins spin around in place quickly while moving, so not a desirable change... leaving the post for now. I'm still digging around. Yes, I see the notes about 120 ticks. I found bugs that are related to what you found earlier today. I seem to find it in mor...
by adambiser
Fri Sep 30, 2016 7:55 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

I did a regex search for the bitwise comparison error and it's in several places in WH2.

RegEx:

Code: Select all

[^&]&[^&\n\r\)]+=


Not as often in WH1, but there.
by adambiser
Fri Sep 30, 2016 4:02 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

Good catch! I haven't yet looked into the jump stuff. Do you know what frame rate the game *expects* to run at? What I think most games do in order to be able to run at different render speeds is create an internal clock that handles the game logic while the main loop still renders frames as fast as...
by adambiser
Tue Sep 27, 2016 5:11 am
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

You're welcome. Glad it worked out.

If I happen to get some free time, I might look into potential jump fixes, too. I'm not very familiar with the games, so it would be hard for me to compare to the pre-DOSBox look-and-feel of things and really know the ins-and-outs of the game itself though.
by adambiser
Fri Sep 16, 2016 8:21 pm
Forum: Witchaven
Topic: Official EGwhaven thread.
Replies: 58
Views: 4630

Re: Official EGwhaven thread.

OK, after toying around with this, it appears like fixing the SMK with audio playback stutter is actually simple. In WHSMK.C, find line 254...257: if ((s == 0 || s == 1 || s == 3 || s == 4) && SoundMode) { smk=SmackOpen(tempbuf,SMACKTRACK1,SMACKAUTOEXTRA); } change to: if ((s == 0 || s == 1 ...

Go to advanced search