-
Posts
18.045 -
Joined
-
Last visited
-
Days Won
585
Everything posted by Stan`
-
You'll also get a lot of lag and a game that doesn't work on AMD CPUs. But the art thing is interesting, what do you like more? Maybe comparison screens ?
-
Hmm strange I thought I linked the POC by wraitii for WASM. The problem is while it would speed up some of the code the bottleneck is the interrop between JS and C++ and WASM takes the same time. https://code.wildfiregames.com/D4653 I've also heard packagers complaining about LUA being a pain, not sure why (probably not worse than spidermonkey) maybe @vv221 would know.
-
Indeed, luajit did not exist at the time. Might have some more info here too There are some gains to be had with better datastructures https://code.wildfiregames.com/D1739 and more threading => https://gitea.wildfiregames.com/0ad/0ad/issues/5874 There are about 100k loc of JS and rewriting them would be a huge undertaking (Source I tried) But there is no silver bullet the reason js is slow is that there is a lot of computations happening at the same time, iirc gathering and the attack logic were the worst offenders. You can probably find some recent js profiling in gitea. And you can run the game under perf to see hotpath, IIRC one of the thing we spend the most time is rbtree_increment which is just a std::map code. There is also the ISQRT function, which performs fixed point square root computations. (That can't be replaced easily, else the game will quickly go out of sync on many platforms) EDIT: One of the big advantages I see about JS is that a lot of people know it. Whereas lua is a niche language unless you're a gamedev. There are many JS crash courses. Lua not so much.
-
DE has player colored hero icons IIRC.
-
The incident is now fixed. Thank you for your understanding.
-
Hello please look at Sorry for the inconvenience.
-
If you want to use AO you need to have a second UVMap.
-
You should be able to drag and drop the zip on the running game to avoid such issues. Make sure to disable the community mod first and restart the game.
-
We're currently working with the mod.io team to resolve this. While it's being resolved, you can download the mod from gitea : https://gitea.wildfiregames.com/0ad/0ad-community-mod/releases from 0ad.mod.io https://mod.io/g/0ad/m/community-mod from the forums https://wildfiregames.com/forum/topic/83784-introducing-the-official-community-mod-for-alpha-26/?do=findComment&comment=599122 from the game by changing the game's modio api key to c1895e080b11f5de0d5a51ca7d90b64a To do this you need to edit your user.cfg file. Add the line modio.v1.api_key="c1895e080b11f5de0d5a51ca7d90b64a" You can also run the game with -conf=modio.v1.api_key:c1895e080b11f5de0d5a51ca7d90b64a
-
Did you install git-lfs and run: git lfs pull
- 1 reply
-
- 1
-
-
I'm not sure why it is so moody for some people.
-
Did you try to used the fixed pipeline renderer ?
-
Yeah usually it takes a few tries :/ cc: @Itms
-
Not intentionaly at least. You might need a patch. https://sources.debian.org/src/0ad/0.27.0-2/libraries/source/spidermonkey/patches/FixFpNormIssue.diff/
-
Hey, I've added you (https://gitea.wildfiregames.com/timsoft) to the correct group you should now be able to edit the wiki Thanks for maintaining 0 A.D. and for reaching out.
-
No, not really.
-
Error building SpiderMonkey: llvm-objdump
Stan` replied to Seleucids's topic in Game Development & Technical Discussion
Do you have llvm installed ? -
Training Times (Or Why the Fastest Click Wins)
Stan` replied to Thorfinn the Shallow Minded's topic in General Discussion
Did you ask them to drag and drop on the running game, that's usually the easiest way if they don't rename the zip file to pyromod. -
Training Times (Or Why the Fastest Click Wins)
Stan` replied to Thorfinn the Shallow Minded's topic in General Discussion
-
Doing this could help. It seems the game is trying to serialize some wrong values. You might also try to delete matchsettings.json and other cache files.
-
This one? https://gitea.wildfiregames.com/0ad/0ad/pulls/7510
-
IIRC it starts on the default creen so maybe you could swap the default and this one. Looking at your screenshot it seems you also have display scaling which might cause issues. You might try to launch the game with SDL_VIDEODRIVER=wayland if fedora uses that.
- 1 reply
-
- 1
-