News for hackers. Stuff that matters.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @03:12PM (#37836172)
The platform is fine. It can play Windows games using WINE just like Linux can.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @03:41PM (#37836519)
That's... not fine.

As great as WINE can be, it's not native. Apple has gone out of their way to prevent you from enjoying games on their systems.

And who do the users blame? Game makers - not Apple...

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @03:47PM (#37836575)
> Apple has gone out of their way to prevent you from enjoying games on their systems.

How, by having a different OS? Sorry about that I guess.

(If it had native Vulkan it wouldn't matter. The most effective strategy, the one Microsoft uses, is to buy all the game studios.)

> And who do the users blame? Game makers - not Apple...

Calling Valve a game maker is a stretch; as a company they're famously unwilling to actually make games. See gaben's allergy to the number 3.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @03:55PM (#37836666)
> How, by having a different OS? Sorry about that I guess.

> (If it had native Vulkan it wouldn't matter. The most effective strategy, the one Microsoft uses, is to buy all the game studios.)

By making their OS easy to target by game makers. There's no good excuse - Apple has access to the same graphics pipelines as everyone else. XPlat game engines have boiled it down to mostly a checkbox these days... so where's OSX? Apple has a lot of work to do before that's a reality.

> Calling Valve a game maker is a stretch;

You can't be serious, are you? Valve's titles are among the most popular games in the history of games. They may make most of their money through Steam, but to say Valve doesn't make games is ridiculous.

That wasn't even the point - Apple users will blame the actual studios/developers for not supporting OSX when the blame lies at Apple's feet.

Billions in annual profit, zero f's given about gaming on their platform. It's a choice - and one Apple users need to comprehend. Apple doesn't care.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @04:23PM (#37836968)
> Valve doesn't make games is ridiculous

Valve is not a normal company; there's no hierarchy and they're only capable of doing things if someone at the company decides to pay attention to it.

Do you remember what happened to TF2? It first degraded into an item trading game, then they abandoned it for years and it was full of bots. There's no reason Overwatch and Apex should've replaced it except that they stopped fighting for it.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @05:17PM (#37837647)
TF2 was released in 2007... and has over 100k players playing right now as you read this[1].

Counter-Strike is still one of the most-played games ever. CS:GO had an average of almost 1 million daily players while AAA Games like CoD Warzone hover around 200-500k.

DOTA/DOTA2 also rakes it in. They also have many very successful single-player games. Valve is a wildly successful game company - they just don't do the "yearly release" dance...

[1] https://steamcharts.com/app/440

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by hadlock on Tuesday October 10, 2023 @06:08PM (#37838314)
TF2 today is mostly unplayable due to bots and weirdness with their player matching game. I put a lot of hours into TF2 and the experience is almost unrecognizable today. CS:GO was, I think, completely outsourced to a third party. They still produce some game-like artifacts but primarily they're the owner and operator of the premier online games store
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @06:40PM (#37838653)
CS:GO is complicated - it started as a console port of CS:Source by a 3rd party developer, then was taken in-house and transformed into a full stand-alone new Counter-Strike game. So, it was indeed developed by Valve.

IDK anything about TF2 - but bots or not, 100k active daily players is nothing to sneeze at for a 16 year old game.

They are indeed the premier online game store - yes... but saying they are not a game developer is absurd. They don't release a new title every year, but when they do, it's a huge hit.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @06:58PM (#37838857)
> TF2 was released in 2007... and has over 100k players playing right now as you read this[1].

They fixed it again after people sassed them enough about it, but it was always a better game than Overwatch and there's no reason people should've been tricked into playing that.

(Though, I don't know if the people on right now are actually playing TF2 or just trading hats.)

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by robertoandred on Tuesday October 10, 2023 @04:19PM (#37836934)
You think cross-platform game engines don't support Metal? They do, and have for a decade.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @05:30PM (#37837836)
Who else supports Metal? Oh, that's right - only Apple.

There's more to game support than just graphics API.

Apple chooses to make game support on OSX hard - and shocker... you don't get games supporting OSX. Who can we blame? Apple...

Just like Apple chooses to make Linux kernel support hard on M1/M2 and leaves it entirely up to volunteers to make it work. Who do you blame? The Kernel developers or Apple?

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by fingerlocks on Wednesday October 11, 2023 @03:24AM (#37841856)
The Metal API is heavily documented and Apple provides a plethora of code samples in four programming languages, with literal step-by-step how-to guides on porting from OpenGL to Metal.

You can complain that they don’t support third party low-level frameworks, sure. But they definitely make it easy and inviting to support their homegrown solutions

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Wednesday October 11, 2023 @01:33PM (#37847580)
Why does Metal exist, when there's several very prevalent, performant, better graphics API's already available?
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by fingerlocks on Thursday October 12, 2023 @03:35AM (#37854463)
It was created before the others existed.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by GeekyBear on Tuesday October 10, 2023 @05:00PM (#37837392)
> If it had native Vulkan

Aside from a subset of Android devices, what platform has Vulkan as the default API?

Windows/XBox has DirectX. Playstation has GNMX. Macs/iOS Devices have Metal. Nintendo uses NVN.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by out_of_protocol on Tuesday October 10, 2023 @05:32PM (#37837872)
Windows, Linux, SteamOS, Android, Switch
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @06:54PM (#37838819)
NVN is the native API on Switch.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by out_of_protocol on Wednesday October 11, 2023 @05:04AM (#37842339)
Nintendo does support Vulkan as first class citizen on switch, and there high chance this is the reason of so many ports (besides units sold)
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @05:11PM (#37837561)
Linux and Steam Deck, ironically.

Though, for Windows it matters more what the GPU vendor wants you to use. Don't remember what that is atm.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @05:57PM (#37838170)
Depends what you mean by "default". Windows ships with DirectX, OpenGL and Vulkan support. Call of Duty runs on Vulkan by default, for instance.

Vulkan is notable as being new (doesn't have legacy baggage OpenGL and DirectX have), is natively cross-platform, and is often more performant than other options for modern games.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by GeekyBear on Tuesday October 10, 2023 @06:10PM (#37838346)
> Windows ships with DirectX, OpenGL and Vulkan support.

Windows ships with DirectX. Your graphics card's software package can add support for other APIs.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by Alupis on Tuesday October 10, 2023 @06:41PM (#37838674)
Graphics API support is usually provided by drivers - and Windows ships with drivers that support Vulkan.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by GeekyBear on Tuesday October 10, 2023 @06:57PM (#37838844)
Graphics card drivers are also provided by the Graphics card vendor, not Microsoft.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Tuesday October 10, 2023 @08:12PM (#37839436)
That's true of DirectX as well though…
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by GeekyBear on Tuesday October 10, 2023 @08:55PM (#37839726)
The difference is that Microsoft is responsible for the DirectX API on Windows but does not have anything to do with shipping OpenGl or Vulkan for Windows.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by littlestymaar on Wednesday October 11, 2023 @05:17AM (#37842425)
Microsoft plays roughly the same role a Khronos (specifies the API, provide conformance test suite, provide an SDK, etc.) but when it comes to actually “shipping” DirectX, Microsoft doesn't have anything to do either, it's all on the graphic card vendor to ship DirectX drivers. As an example, for a while after its release, many people didn't have access to DX12 at all, just because their GPU didn't have DX12 drivers.

So the situation is much less different between DirectX and Vulkan than you make it sound.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @06:55PM (#37838832)
Vulkan is not cross-platform if you include cross-GPU vendor, because it's too low level for that. You'd want to rewrite for different GPUs.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by johnnyanmac on Tuesday October 10, 2023 @08:11PM (#37839427)
It's cross platform in that if you want, you can write implementations for other platforms. In addition to supporting multiple platforms in its current state.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by charcircuit on Tuesday October 10, 2023 @07:50PM (#37839253)
Games are usually not native. They usually create a window and render to the entire viewport insted of using the OS's standard UI framework.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Tuesday October 10, 2023 @08:26PM (#37839539)
UI framework? What about everything else such as file system, networking, audio, controller IO, threads, graphics API, etc?
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by charcircuit on Tuesday October 10, 2023 @10:02PM (#37840114)
Wine wraps those APIs.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Tuesday October 10, 2023 @10:23PM (#37840198)
No shit. That's my point. You said "games are usually not native". Which games?

Not sure what you mean by that. Never mind.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by charcircuit on Tuesday October 10, 2023 @11:31PM (#37840564)
>Which games?

As I said the vast majority of games. For example Minecraft is not a native Windows application in any way. It just creates a window and then renders the entire contents of the window itself instead of using win32 to make an interface.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Tuesday October 10, 2023 @11:47PM (#37840651)
No, only a tiny minority of PC games run on the JVM. The vast majority are native and not running on any kind of VM. Even with the Unity engine the games are natively compiled.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Tuesday October 10, 2023 @11:52PM (#37840678)
If the vast majority of games were on the JVM, then the vast majority of games would run on Linux or Mac without Proton or Wine, wouldn't they?

That is not the case. Minecraft is probably the only major game that runs on the JVM.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by charcircuit on Wednesday October 11, 2023 @01:06AM (#37841085)
I didn't intend to bring up the JVM. Minecraft Bedrock edition is written in C++ and renders the entire window contents and even has its own UI framework that it uses.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Wednesday October 11, 2023 @02:06AM (#37841462)
There's way more to it than GUI libraries. That is a native Windows application calling Windows APIs. You can't run that Windows executable on Linux without Wine/Proton.

Even a console application (no GUI) depends on operating system APIs.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by charcircuit on Wednesday October 11, 2023 @02:45AM (#37841681)
>You can't run that Windows executable on Linux without Wine/Proton.

That's like saying you can't run Firefox without freetype. Requiring a dependency doesn't make you no longer native.

>Even a console application (no GUI) depends on operating system APIs.

But the same API can be handled by different operating systems or libraries.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Wednesday October 11, 2023 @02:58AM (#37841734)
> That's like saying you can't run Firefox without freetype. Requiring a dependency doesn't make you no longer native.

At this point you're just trolling.

Take notepad.exe and try to run it on Linux. It wont run because its Windows native. That's a native application. Same as 99% of games that aren't JVM based.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by xcv123 on Wednesday October 11, 2023 @02:39AM (#37841638)
It creates the window and writes the window contents using Windows operating system APIs.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by zamalek on Tuesday October 10, 2023 @03:41PM (#37836521)
So then it should be able to play CS2 via WINE, rendering all of this is moot?
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @03:45PM (#37836559)
You'd have to install Steam under WINE too, which does work fine but would be confusing to have two of them.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by vetinari on Tuesday October 10, 2023 @03:31PM (#37836419)
* As long as the games are 64-bit and while Rosetta is still available.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @03:33PM (#37836435)
No, Win32 works too. If Rosetta stops being available there's always qemu.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by mschuster91 on Tuesday October 10, 2023 @04:44PM (#37837237)
qemu is dog slow, and it's barely working enough to get Windows 7 x86 to boot on a M2.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by vetinari on Wednesday October 11, 2023 @01:01PM (#37847088)
Win32 doesn't work on M1 and newer.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by kcb on Tuesday October 10, 2023 @06:30PM (#37838562)
Except without the primary api that makes gaming on WINE viable. Vulkan with DXVK and VKD3D.
Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by astrange on Tuesday October 10, 2023 @09:17PM (#37839852)
https://github.com/KhronosGroup/MoltenVK

Translating between rendering APIs is not really the problem. The GPU design is more different than the API is.

Re:Valve Says Counter-Strike 2 for macOS Not Happening, Ther... by kcb on Tuesday October 10, 2023 @10:20PM (#37840180)
MoltenVK is not enough and it lacks features that are mandatory for acceptable performance with dxvk/vkd3d.

For example, VK_EXT_descriptor_buffer is a critical one, and there are more: https://www.khronos.org/blog/vk-ext-descriptor-buffer. And MoltenVK doesn't support Vulkan 1.3.