Interesting parts on VR version in game files

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

Post Reply
User avatar
MarcusInVR
Posts: 117
Joined: Fri, 15. Apr 22, 14:33
x4

Interesting parts on VR version in game files

Post by MarcusInVR » Sat, 21. May 22, 09:46

While looking for something completely different in the game files with the Cat Extractor tool, I found something quite interesting. For example:

Code: Select all

ui/core/lua/loading.lua
--------------------------------------
bool IsVRMode();
bool IsVRVersion();
bool IsVROculusTouchActive();
bool IsVRViveControllerActive();
[...]
function initVRTexts()
	-- gamepad
	local groupElement = getElement("vr_gamepad", private.screenshotElement)
[...]
	-- vive
	groupElement = getElement("vr_vive", private.screenshotElement)
[...]
	-- oculus 1
	groupElement = getElement("vr_oculus_1", private.screenshotElement)
[...]
	-- oculus 2
	groupElement = getElement("vr_oculus_2", private.screenshotElement)
[...]
	-- oculus 3
	groupElement = getElement("vr_oculus_3", private.screenshotElement)
end
I also found

Code: Select all

ui/core/lua/vr_pointer.lua

-------------------------------------
-- Presentation specific callbacks --
-------------------------------------
function onVRPointerChanged(_, enabled)
[...]
Nani? :?

Please move to the correct section if this is the incorrect sub-forum

errorname1002
Posts: 99
Joined: Fri, 30. Nov 18, 23:54
x4

Re: Interesting parts on VR version in game files

Post by errorname1002 » Sat, 21. May 22, 10:11

left over files and code from X Rebirth VR, some other "VR" code is used for the eye tracking devices "e.g. tobii", Egosoft did state that turning X4 VR would need a separate version balanced completely differently to keep the game enjoyable in the shorter vr form, and that we are very unlikely to get it any time soon since it is not worth the time investment atm.

CBJ
EGOSOFT
EGOSOFT
Posts: 51982
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Interesting parts on VR version in game files

Post by CBJ » Sat, 21. May 22, 10:16

errorname1002 wrote:
Sat, 21. May 22, 10:11
left over files and code from X Rebirth VR
Exactly.

Socratatus
Posts: 1502
Joined: Tue, 11. May 04, 15:34
x4

Re: Interesting parts on VR version in game files

Post by Socratatus » Sat, 21. May 22, 12:07

Hopes raised...


-then SHOT DOWN , hitting ground, with big explosions and secondary explosions in a most dramatic fashion with me flying out screaming, "NOOOOOOOOOO!". :cry:
"If you`re looking for that one person who can change your life, take a look in the mirror."
"No problem can withstand the assault of sustained thinking."
"Don`t raise your voice. improve your argument."
"Some men are morally opposed to violence. They are protected by men who are not."

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30436
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Interesting parts on VR version in game files

Post by Alan Phipps » Sat, 21. May 22, 13:21

@ Socratatus: In VR, hopefully. :D
A dog has a master; a cat has domestic staff.

Fareolla
Posts: 6
Joined: Mon, 19. Aug 13, 14:26
x4

Re: Interesting parts on VR version in game files

Post by Fareolla » Sun, 22. May 22, 00:02

Hi all,

Is it possible in future releases to add HMD support as an experimental feature just for head rotation, even without interacting with the environment?

For X3 series I used Vorpex software and this was very immersive, but since X4 use the Vulkan library, it is impossible to use this software :(

User avatar
MarcusInVR
Posts: 117
Joined: Fri, 15. Apr 22, 14:33
x4

Re: Interesting parts on VR version in game files

Post by MarcusInVR » Sun, 22. May 22, 08:58

I am currently playing X4 in VR with a Reshade/VirtualDesktop combo, using OpenTrack for translation of HMD movement into the game (SteamVR -> TrackIR). Although some stretching of the image obviously takes place, it is immersive enough not to want to ever play on flatscreen again.

Fareolla
Posts: 6
Joined: Mon, 19. Aug 13, 14:26
x4

Re: Interesting parts on VR version in game files

Post by Fareolla » Sun, 22. May 22, 22:02

MarcusInVR wrote:
Sun, 22. May 22, 08:58
I am currently playing X4 in VR with a Reshade/VirtualDesktop combo, using OpenTrack for translation of HMD movement into the game (SteamVR -> TrackIR). Although some stretching of the image obviously takes place, it is immersive enough not to want to ever play on flatscreen again.
Thank you for this info, will try it :)

Post Reply

Return to “X4: Foundations”