Page MenuHomeFeedback Tracker

VideoWidget errors
Assigned, UrgentPublic

Description

All my attempts to load videos into the video widget from the mod failed.
It is also impossible to load video into MainMenu or loadingMenu from $profile or $saves.
I checked the small dependency:
since my main language is Russian = I use the Windows username in Russian, the path to $saves, which is in the documents in the DayZ folder, turns out to be in Russian.
Apparently, when trying to load a video with the path $saves , he sees that the path relative to Windows is in Russian and does not want to load it into the widget. Tested the same code with a person whose username is in English and everything works fine!

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
modded class LoadingScreen
{
	ref Widget m_WidgetRoot;
	
	VideoWidget m_VideoWidget;
	
	void LoadingScreen(DayZGame game)
	{
		m_WidgetRoot = game.GetLoadingWorkspace().CreateWidgets("MDP/scriptsMidnight/gui/test_loading.layout");
		Class.CastTo(m_VideoWidget, m_WidgetRoot.FindAnyWidget("VideoWidget_new"));
		bool okkk = m_VideoWidget.Load("$saves:vinsent.mp4", true);
		Print(okkk);
	}
}
Additional Information

If you load from the folder where the game is located, then everything is loaded. But we do not have the permissions to copy or save anything into this folder.

Event Timeline

DrZiLLo created this task.Apr 22 2024, 8:58 PM
DrZiLLo edited Steps To Reproduce. (Show Details)
Geez changed the task status from New to Assigned.Apr 23 2024, 10:35 AM

I hope for your speedy correction, because the video widget is a very popular move among modders

I checked the small dependency:
since my main language is Russian = I use the Windows username in Russian, the path to $saves, which is in the documents in the DayZ folder, turns out to be in Russian.
Apparently, when trying to load a video with the path $saves , he sees that the path relative to Windows is in Russian and does not want to load it into the widget. Tested the same code with a person whose username is in English and everything works fine!

and at the moment I have an error:

VideoWidget: Can't load video stream $saves:vinsent.mp4
DrZiLLo updated the task description. (Show Details)Apr 23 2024, 5:14 PM
Yuki added a subscriber: Yuki.Apr 23 2024, 10:25 PM
INKIE added a subscriber: INKIE.Apr 24 2024, 7:49 AM

I'm joining this thread, having the exact same problem. The game completely refuses to accept the Cyrillic alphabet as a language, WorkBench has the same story. When you enter Cyrillic text into the workbench, the symbols ??? appear instead, although if you use the link to stringtable.csv everything starts working immediately.