|
Posted by Baker on 2012/06/29 11:38:17 |
I wasn't planning on doing this mini-project, it started as an effort to address some Fitzquake issues, fix them the right way up to Fitzquake standards (i.e. do it right, once and properly versus continual releases) and donate it back.
FitzQuake Mark V Download:
http://quake-1.com/docs/utils/fitzquake_mark_v.zip
Short version: Eliminated most issues in FitzQuake thread, most issues I can even remember hearing of ever and marked every single one clearly with a very minimal implementation.
It may be the case that only metlslime and Quakespasm and engine coders may find this engine upgrade of interest.
Features: 5 button mouse support, single pass video mode, external mdl textures, alpha textures (like RMQ), record demo at any time, rotation support, video capture (bind "capturevideo toggle"), console to clipboard, screenshot to clipboard, entities to clipboard, tool_texturepointer, tool_inspector (change weapons to see different info), clock fix, contrast support, fov does not affect gun, gun displays onscreen, Quakespasm wrong content protection, external ent support, session-to-session history and .. (see readme). |
|
|
Ipv6 Maybe Sooner Than I Thought
#1230 posted by Baker on 2016/10/12 05:11:12
Maybe sooner than I thought.
I just used Mark V to connect to "Quakespasm Spiked" R4 via ipv4 and then ipv6.
#1231 posted by Spike on 2016/10/12 05:44:33
ipv6 ain't hard to support, its just a different/bigger sockaddr structure with corresponding different address family value.
name resolution is a little more involved (in part because colons are used in ipv6 numeric addresses, which necessitates square-brackets where ports were normally specified with colons).
operating systems have annoying hybrid socket support defaults, so you need to be explicit about that in order to not conflict with ipv4 sockets (and xp doesn't support hybrid sockets at all, so I went with dual sockets with qss).
broadcast doesn't work with ipv6, its all multicast, so instead of flagging a socket as able to send broadcasts, you have to flag a socket as willing to receive multicast packets to various addresses.
that's about it, really. the rest is just datatypes and glue.
really though, right now ipv6 only gets you support for public addresses when servers are behind ipv4 cgnats (but with their own globally routable ipv6 address).
mobile phone versions of quake may need ipv6 (iiuc, apple mandate that ios apps support ipv6).
other than that, no non-mobile isp would dream of skipping ipv4 yet, making ipv6 support nice but in no way necessary.
single-socket-servers on the other hand...
360 Controller Support
was added to quakespasm and it is a very good implementation, could this also be added to mark_v?
360 Controller Is Dead
#1233 posted by Baker on 2016/10/12 22:00:06
Anything is possible in the 2nd half of 2017, but Mark V is not SDL based like Quakespasm, it isn't like it could use the existing code in any shape or form.
re: 360 controller
They don't make those anymore -- the xbox 360 controller died when the xbox 360 died.
They'll never manufacture them again.
#1234 posted by Mugwump on 2016/10/12 22:28:30
I'm sure you can get a second hand one. Personally when I need a gamepad on PC, I use a Dual Shock 2 with a Madrics Superbox 3 Pro - yeah, fancy name for a little plastic thing. Works good and I prefer the shape of PlayStation pads.
360 Controller
#1235 posted by PRITCHARD on 2016/10/12 22:39:09
Just another way of saying xinput support. That's the standard controller library that's replaced directinput on windows for the past few years, you'd be hard pressed to find a PC-compatible gamepad that didn't use it. Supporting the 360 pad is supporting gamepads in general, at least on Windows.
Biased Opinion
#1236 posted by ericw on 2016/10/12 22:40:28
90% of the work in implementing QS's controller support was stuff that is independent of the SDL2 gamepad api - Subjective stuff like deadzones, easing functions, choosing good defaults and playtesting them. Also making the menus usable with the controller. So this code could still be useful if you like how I did it.
SDL2's gamepad API was, I believe, largely a clone of whatever the modern windows API for gamepads is (Xinput?)
re: 360 controllers dead
true but I don't think this affects software much if at all.
#1237 posted by Gunter on 2016/10/12 22:40:42
It would be great if you could include some kind of error logging in a new release, so that we could get some idea of why the GL version crashes instantly as soon as I try to load a map (it runs fine up top that point... in the console and menus).
And maybe also see why the DX version crashes intermittently....
Quakespasm, FTE, Qrack, etc., all work fine in GL for me. I really hope Mark V can be fixed to work in GL for me too.
Xbox 360 Controller
#1238 posted by Rick on 2016/10/12 22:43:16
They have them at Newegg. I was just looking at it the other day. It's on sale for $30 with "free shipping".
#1239 posted by Baker on 2016/10/13 00:09:56
@ericw - I think your code is pretty tight and well written. Mark V doesn't do DirectInput or XInput, so would be hella lot of work for Mark V support. Definitely not part of a group of 4 small updates, each that don't take too much time.
@gunter - I don't have much time, we'll see. I private suspect your graphics card can't do anything except 16-bit color, are you actually able to use, say, Qrack or Quakespasm in 32 bit mode?
@others - All I am saying is that my interest in a discontinued controller limited to pawn shops, ebay, second hand sales is "meh".
If someone knows of a worthy controller that actually has a future ...
#1240 posted by Joel B on 2016/10/13 00:26:32
xinput is the future (for now). The specific type/brand of controller using xinput shouldn't matter much.
Strange Vitriol For A Pad
I don't understand, seems like un-needed hostility? Maybe I'm misinterpreting your tone though.
You can still get 360 pads brand new here in Europe, they're marketed as a 360/PC controller.
They're pretty much THE standard controller for playing games on PC, even more than the xbone, PS4 or any number of PC-Specific pad.
You could have just said "it's too much work, sorry" or "it's not a priority".
#1242 posted by PRITCHARD on 2016/10/13 00:34:38
Supporting xinput, as far as I know, will allow you to support basically every logitech controller for the past few years, the Xbox One controllers, and the generally established hacks for the DS4. So, basically all the controllers.
Speaking of hacks; aside from the tricks people are pulling to get the DS4 to work on PC, there are also plenty of wrappers out there that will make a DirectInput controller work like an xinput one for most purposes, so there's not much need to support an (actually dead) second system of controller.
Honestly though... how necessary is controller support? Does anyone here, or anyone that someone here knows, actually use it in QS? I certainly don't, and I can't say I see the appeal either...
Not Discontinued
#1243 posted by Rick on 2016/10/13 01:10:49
Isn't it pretty much the standard for PC controllers because of support built into Windows?
http://www.newegg.com/Product/Product.aspx?Item=N82E16826105438&ignorebbr=1
#1244 posted by Gunter on 2016/10/13 01:15:44
The only Quake engine that seems to report the BPP in the console is Quakespasm, and it tells me "24-bit" when I try set it to 32 bpp (either in the menu or by command line).
Of course it reports "16-bit" when I change to that....
How would I verify that any other engine is running in any certain bpp?
Well, I can do more than 16 bpp in any case... (what is it, the stone age? :)
I Sometimes Play With A Pad
when I just want to sit in front of the TV playing games I whack on some Quake.
I know KB+M is the best way to play but I originally used to play the game keyboard only when I first got the game... :P
#1246 posted by Baker on 2016/10/13 02:17:28
@gunter - that clears up possible causes of the issue.
@fifth/@rick - I'm not against gamepad support.
As long as the controller support code works with current/future devices (@johhny).
It Does/will
#1247 posted by PRITCHARD on 2016/10/13 03:57:37
#1248 posted by Baker on 2016/10/13 04:08:09
I don't claim to keep up with consoles ...
Does the Quakespasm controller support work with an XBox One Controller?
#1249 posted by ericw on 2016/10/13 05:21:10
According to this reddit post the xbox one controller should work with any game that uses XInput, which SDL2 is wrapping, so it should work in QS. I don't know if anyone has tested it though.
Anything listed here should work out of the box with qs, there is also a community mapping file for more support.
#1250 posted by Baker on 2016/10/13 05:41:36
Ok, that clears up things quite a bit -- it supports a wide array of devices.
When I hear "xbox 360 controller" immediately I think "But the XBox One came out back in 2013?"
#1251 posted by Baker on 2016/10/13 06:33:44
@gunter -- you may discover the Dopa maps surprising automatically download now for supporting clients.
/*snort*
/Inside joke, gunter will understand.
#1252 posted by Gunter on 2016/10/13 22:13:20
Uhhh... does that mean Polarite updated the server so it will do that now? Hm, yesterday Trans did say he thought he saw Darkplaces download something.... Neat. We'll have to test this more.
We do indeed have the DOPA maps installed on fvf.servequake.com and they work (almost*) perfectly for FvF Quest mode. So everyone should come give it a try! You can use the VOTE menu to activate the custom maps.
* One thing mappers often neglect to do is add Co-op spawn points. DOPA has this oversight... so all the players try to spawn on the one Single-Player spawn point, resulting in undesirable things happening, like people getting pushed into the floor. That can be really bad when there's a lava pit below the floor, heh.
Another "gotcha" you gotta watch out for are trap rooms that lock behind someone when they enter, and if the person dies in there, there's no way for anyone else to get in, so progress is blocked on the map. DOPA contains 2 areas like this, but I work around them with QuakeC code by actually relocating buttons and altering properties of doors on the map, so that the roadblock is moved out of the way or opened from the outside.
But yeah, everyone should come play FvF. The server is almost always in Quest (co-op) mode, so it's newb-friendly.
http://fvfonline.com
(Heck, while I'm self-promoting, here is also a link to find out about my Pogo Piggle games for Android, which everyone should also play :D ) http://tinyvast.com
@Baker
#1253 posted by Gunter on 2016/10/14 18:22:00
Hm, well... we tested today and maps did not automatically download to Darkplaces.
I guess you may be talking about something that has not yet been implemented...?
*scratches head*
@gunter
#1254 posted by Baker on 2016/10/22 06:23:44
All the old methods of stopping Demos from playing at start up no longer work
It's in the menu so anyone can do that. The cvar is host_startdemos 0 (default 1).
|
|
This thread has been closed by a moderator.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|