ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.11k stars 2.17k forks source link

Videos don't work on OSes other than Windows or Web #2865

Closed crowplexus closed 2 years ago

crowplexus commented 2 years ago

Describe your bug here.

https://user-images.githubusercontent.com/45212377/147691311-a18eb6de-143f-4a75-95b9-358be6c3abe3.mp4

if Project.xml was changed to "VIDEOS_ALLOWED if="desktop || web", "desktop", or just "linux"

image

it doesn't compile

Command Prompt/Terminal logs (if existing)

Compiling group: haxe
g++ -Iinclude -I/home/gui/.haxelstuff/discord_rpc/git/linc/ -I/home/gui/.haxelstuff/linc_luajit/0,0,4//linc/ -I /run/media/gui/c2b16f97-3f48-4dff-aec8-0ef575581a84/FNF-ProjectHypnosis/source/vlc/cpp/include/ -I /run/media/gui/c2b16f97-3f48-4dff-aec8-0ef575581a84/FNF-ProjectHypnosis/source/vlc/cpp/src/ -c -fvisibility=hidden -O2 -fpic -fPIC -Wno-overflow -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -m64 -DHXCPP_M64 -I/home/gui/.haxelstuff/hxcpp/4,2,1/include ... tags=[haxe,static]
 - src/__boot__.cpp 
 - src/__ASSET__flixel_fonts_nokiafc22_ttf.cpp 
 - src/openfl/display/_internal/Context3DDisplayObject.cpp  [haxe,release]
 - src/__ASSET__flixel_flixel_ui_img_hilight_png.cpp 
 - src/openfl/display/DOMRenderer.cpp  [haxe,release]
 - src/openfl/display/DisplayObjectRenderer.cpp  [haxe,release]
 - src/__ASSET__flixel_flixel_ui_xml_default_loading_screen_xml.cpp 
 - src/openfl/display/OpenGLRenderer.cpp  [haxe,release]
 - src/openfl/display/Loader.cpp  [haxe,release]
 - src/openfl/display/_internal/CanvasDisplayObject.cpp 
 - src/ManifestResources.cpp 
 - src/__ASSET__OPENFL__flixel_fonts_nokiafc22_ttf.cpp 
 - src/__ASSET__flixel_flixel_ui_img_tab_png.cpp 
 - src/flixel/FlxCamera.cpp 
 - src/flixel/util/FlxGradient.cpp 
 - src/openfl/display/_internal/CanvasTilemap.cpp 
 - src/lime/utils/AssetCache.cpp  [haxe,release]
 - src/openfl/display/_internal/CairoTilemap.cpp  [haxe,release]
 - src/openfl/display/_internal/DOMTilemap.cpp 
 - src/__ASSET__flixel_flixel_ui_img_check_mark_png.cpp 
 - src/flixel/system/debug/completion/CompletionListScrollBar.cpp 
 - src/__ASSET__flixel_flixel_ui_img_check_box_png.cpp 
 - src/flixel/system/debug/TooltipOverlay.cpp 
 - src/vlc/VlcBitmap.cpp 
Error: In file included from ./src/vlc/VlcBitmap.cpp:127:
/run/media/gui/c2b16f97-3f48-4dff-aec8-0ef575581a84/FNF-ProjectHypnosis/source/vlc/cpp/src/LibVLC.cpp:4:10: fatal error: StdInt.h: Arquivo ou diretório inexistente
    4 | #include <StdInt.h>
      |          ^~~~~~~~~~
compilation terminated.

Are you modding a build from source or with Lua?

Source

What is your build target?

Linux

Did you edit anything in this build? If so, mention or summarize your changes.

Edited Multiple files, multiple times, but I never messed with any video cutscenes related thing while editing any of those files

tposejank commented 2 years ago

PolybiusProxy has not found a way to do that neither they have a mac or a linux (maybe they do) but virtual machineing a mac is hard