Jump to content


Photo

Completely disable the graphics


  • This topic is locked This topic is locked
1 reply to this topic

#1 PrimuS

PrimuS

    GMC Member

  • GMC Member
  • 97 posts
  • Version:GM8.1

Posted 07 February 2012 - 10:33 AM

Is there a way to completely disable the graphics processing and output in GM, so that it does not even try to load DX libs? Or is it so hardcoded into the GML interpreter?

The reason is i have a server program which has text output only, so it seems to be pointless to draw that output with direct3d as usual. And obviously, it cannot be run on server hardware with no gfx adapter of any kind. Well, it can be, using some patches/emulators and stuff, but that would be too slow.
I guess it would do more good if i rewrite the server in some common language or wutever, but i'm too dayum lazy to do that and have unsufficient knowledge to do that.

Not sure if posting in the right section. Sorry about that.

Edited by PrimuS, 07 February 2012 - 10:38 AM.

  • 0

#2 Medusar

Medusar

    GMC Member

  • GMC Member
  • 1228 posts
  • Version:GM:Studio

Posted 07 February 2012 - 05:35 PM

No, the GM runner (that is, the one currently availible in GM8.1) is DirectX based. That's the main reason why GM games will only run on Windows systems. I'm not sure what happens when Studio and GM9 come out though, but expect a runner that will always try to create a game window and a graphics context. There are a number of server examples in other languages availible here, such as this one by Aragon in C++. There are plenty of tutorials on the web on learning other languages.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users