Unvanquished on Power? (it would require WebAssembly)

Release and discuss things you've made, including mods.
Post Reply
User avatar
illwieckz
Project Head
Posts: 661
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Unvanquished on Power? (it would require WebAssembly)

Post by illwieckz »

Today I just stumbled upon an old Twitter thread from 2019 (and even 2018) where Raptor Computing were encouraging people to help us port the game to WebAssembly (Wasm) so it could work on Power architecture:

twitter.com/RaptorCompSys/status/1127082882747465728

Someone even said he would try to first get it ported to Wasm on x86, but I don't remember him being around (or he was pretty discreet :grin:).

This comment is licensed under cc ​​by 4 and antecedent.

User avatar
killing time
Programmer
Posts: 150
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: Unvanquished on Power? (it would require WebAssembly)

Post by killing time »

It might be interesting to add a build option to disable NaCl. Then we could at least try native exe servers on other architectures more easily.

User avatar
illwieckz
Project Head
Posts: 661
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Re: Unvanquished on Power? (it would require WebAssembly)

Post by illwieckz »

Yes, this would already help us to track down some arch-specific bugs (especially in engine) and identify places where the code is not that much arch-independent.

The same way the port to ARM helped to remove assumptions of “everything is x86”.

This comment is licensed under cc ​​by 4 and antecedent.

User avatar
freem
Programmer
Posts: 235
Joined: Mon Feb 11, 2013 1:02 pm UTC

Re: Unvanquished on Power? (it would require WebAssembly)

Post by freem »

For those (like me. Actually, I knew about an arch named power, but thought it long dead...) not knowing what "power" is: https://en.wikipedia.org/wiki/POWER9

This stuff seems mostly used for servers to me, but I don't know much about it. Some of the motherboards do have PCI-e ports, so I guess it could be able to run the game, if someone can afford the 3K$ hardware (only mobo and cpu, mind you, you still need to put some hardware to make that stuff usable).

Back to topic though. While I would certainly not oppose to have the wasm porting done (it would notably allow to bootstrap build the game, which is required to make it into, say, debian's repos) I wonder if that would be worth it.
To me, one thing that would be very important to do for engine is to be able to render black correctly, as this problem impacts several maps, including maps with high potential (like hangar28 but it's not the only map in which players complain about having to use tricks like increasing gamma or worst to be able to play).

About the twitter talking, the person saying they'd do the port also said they'd do if they were sent a blackbird so maybe they never received it :tongue:
I also notice that the twitter thingy compares unvanquished to UT2004, in 2018. Not sure what to think about this... (not to mention I remember UT2004 to have a bit fancier graphics, but memory might lie to me)

Post Reply