Adam's Lair Forum

game development and casual madness
It is currently 2018/12/14, 06:03

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2018/01/02, 08:19 
Novice Member
Novice Member

Joined: 2016/02/13, 08:58
Posts: 14
Role: Hobbyist
Hey All,

I've got the client/server network stuff figured out for an MMO-like Dualiyt setup but I'd like to be able to run the Duality core headless on a server to handle my authoritive raycasts, timing, etc. Does anyone have any idea how to do this or should I just use a blank window and have 2 copies of Dualitor open?

It would be nice to run the environment purely as a console application, possible?


Top
 Profile  
 
PostPosted: 2018/01/02, 13:40 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2063
Location: Germany
Role: Professional
One way to go about this would be writing a custom launcher application that opens a window, but never calls `Run` on it, leaving it hidden and allowing to implement a custom main loop, which can omit all rendering and audio.

Another option would be to run the launcher without a graphics or audio backend, either by skipping the OpenTK ones via config, or by removing their dlls from the plugins folder. Keep the default system backend though. This would mean that there's a game running that thinks it is rendering as usual, but actually ends up pouring its rendering data into the void.

I think the first option sounds a lot better so far, but maybe it helps to know that the second one exists. They're not mutually exclusive either.

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
PostPosted: 2018/01/02, 20:11 
Novice Member
Novice Member

Joined: 2016/02/13, 08:58
Posts: 14
Role: Hobbyist
Adam,

Thanks for the reply on this! Option 1 sounds better as I'm considering some options like scaling or tiling servers with load so having more control over the instantiation sounds better.

I'll put together some docs on this if I can make this work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group