101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

509
active users

#directx

1 post1 participant0 posts today
Чтобы запускать игры на #linux через #wine не достаточно поставить в систему #DXVK, в почти 100% надо ещё и подменять dll-ки в «префиксе»
Либо через копирование:
export WINEPREFIX=/path/to/wineprefix
cp x64/*.dll $WINEPREFIX/drive_c/windows/system32
cp x32/*.dll $WINEPREFIX/drive_c/windows/syswow64
winecfg
Или же делая symlink'и. Например, в каком-нибудь `/home/username/Games/` создать что-то типа `dxvk-2.5.1/` и делать из `$WINEPREFIX/drive_c/windows/system32` симлинки туда, например, вместо файлов d3d11.dll и dxdi.dll (если написана под 11-й #DirectX ).

А потом: «open winecfg and manually add native DLL overrides for d3d8, d3d9, d3d10core, d3d11 and dxgi under the Libraries tab». В зависимости от локализации ОС этот пункт зовётся противоречиво:
• «native (Windows)»;
• «сторонняя (Windows)».

Точно так же поступает #lutris — делая именно симлинки, убедиться можно через:
export WINEPREFIX=/path/to/wineprefix
#: ls -l $WINEPREFIX/drive_c/windows/system32/d3d*
.../prefix/drive_c/windows/system32/d3d12.dll -> /home/username/.local/share/lutris/runtime/vkd3d/v2.13/x64/d3d12.dll
.../prefix/drive_c/windows/system32/d3d11.dll -> /home/username/.local/share/lutris/runtime/dxvk/v2.4.1/x64/d3d11.dll
Ничего не мешает завести там же `v2.5.1/` вместо `v2.4.1/`, положив там подменяемые dll-ки и в том же Lutris появится возможность из выпадающего списка указывать «v2.5.1».

Из плюсов Lutris умеет делать за пределами префикса `sandbox-for-wine-folders` — там сохранения игрушки и конфиги в чистом виде отдельно от файлов эмуляции windows-системы:
#: ls -l sandbox-for-wine-folders/
Desktop  Documents  Music  Pictures  Videos

Да, убедиться что подмена на DXVK прошла успешно можно через вывод в левом верхнем углу FPS + дополнительной информации через объявление:
export DXVK_HUD=devinfo,fps
или же
export DXVK_HUD=fps
Если игра запускается через скрипт/bash-файл, то и переменную прописывать прямо в нём.

#games #lang_ru
hub.hubzilla.deHubzilla.de
Continued thread

É claro que não parece muito substancial nos dias de hoje, mas naquele momento, eu achava muito relevante ampliar o leque de coisas que eu podia fazer com o computador (e, consequentemente, passar mais tempo nele, indo além dos jogos, cada vez mais pesados e incompatíveis com o hardware que eu tinha). De certa forma, também era um desafio. Ninguém mais usava #MSDOS em casa. O sistema havia se tornado um apêndice depois do lançamento do #Windows95 e era uma coisa do passado, principalmente depois de 96 ou 97, quando o #DirectX engrenou e o Windows passou a ganhar cada vez mais jogos sofisticados.

As much as I was happy to hear #ElectronicArts bring the old #CommandAndConquer Ultimate Collection to #Steam, I think it's absolutely pitiful that they haven't added updated resolution support and some of the #games don't even run straight ouf of the box, I heard (like C&C Generals because it relies on some old #DirectX library that Microsoft doesn't somehow include with Windows)? Like... why?

EA just points out to third party community forum websites like CNCNet, CNC Online etc. Shameful?

Just published a new #blog post! This one's about building and running #DirectX natively on #Linux through the amazing #DXVK translation layer, and its native version which I'd never heard of. This allows building native Linux binaries without having to go through #WINE, meaning the code is debuggable with the usual tools like gdb that otherwise don't work on WINE.

Read it here: blog.allpurposem.at/directx
Follow the blog: @mat

All-Purpose Mat's Ramblings · DirectX? On my Linux??You: DirectX 11? At this time of year? At this time of day? In this part of the country? Localized entirely within your Linux system? ...

Last night, I wanted to show off my little dice rolling tool I made in Unity a few years ago. But I made it before switching to Linux, so all I had was a Windows build.

Now, apparently Unity on Windows defaults to DirectX 11. "No problem!" I thought, and installed DXVK. And then the penny dropped...

My laptop is so old, that it doesn't even support Vulkan properly. :drgn_flat_x_x:

And I never noticed this, because I only ever ran DirectX 9 games through Gallium Nine.

Well, another reason to continue the conversion to Godot...

#Unity#Linux#Windows

An #introduction. #GenX #gamedev since '96. Started in the days of #DirectX 3 (!) and #N64.

For my sins I was lead programmer on #EarthwormJim 3D and State of Emergency amongst others. Worked for a while on #Playstation Home. Nowadays mostly technical project management contracting and consultancy, but still coding.

Experience with #unreal and #unity (pah!) but also custom engines and weird legacy code. Still trying and failing to find the time to squeeze in indie solo dev work. Maybe one day.