Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Stephen G Tuggy
@stephengtuggy
Stephen G Tuggy
@stephengtuggy
Sol crashing fix merged!
Stephen G Tuggy
@stephengtuggy
You guys! With my latest code, I'm getting refresh rates of 180-200! All without any apparent loss of functionality in terms of reading settings correctly. https://github.com/stephengtuggy/Vega-Strike-Engine-Source/tree/refac/static-game-config-c
Loki1950
@Loki1950
That sounds about right my old Altheon 32-bit with 2 GB of RAM was getting 80-100 when we doing our stress tests varying the # of NPC's in each system.
Stephen G Tuggy
@stephengtuggy
Really? I'm used to getting 30-60, sometimes less.
Loki1950
@Loki1950
At the highest level about 2 - 3 thousand NPC's it dropped to below 30.
Stephen G Tuggy
@stephengtuggy
How about with the 9k idle, 1k fighting scenario? If applicable?
Loki1950
@Loki1950
Not sure what you mean by that.
Stephen G Tuggy
@stephengtuggy
Did you used to run the test mission 9k_idle_1k_fighting? With 10,000 ships? If so, what was the performance like?
Loki1950
@Loki1950
Each ship has to have it's position calculated for each frame currently the traffic level is about 400 ships per system. That was found to be the sweet spot at that time.
Stephen G Tuggy
@stephengtuggy
Got it.
Yeah, my system can more or less handle the scenario with 10,000 ships -- at least on Linux, and with the simulation atom set to 0.02 ("1 to 2 year old computer")
Not great frame rates though. Maybe 17 fps.
And the other thing is that at some point, the NPCs stopped fighting each other in that scenario. Specifically on Linux. I'm not sure what's going on.
On Windows, they fight each other as expected. But the game crashes within a minute or two, with an access violation in the NVidia driver, from what I can tell.
So... some troubleshooting needed.
Loki1950
@Loki1950
That many ships can be very frustrating for the player if you try any of the escort missions as finding the ships that you are to escort gets very tedious.
Stephen G Tuggy
@stephengtuggy
Yeah. I think that mission / scenario is just supposed to be an extreme stress test.
Loki1950
@Loki1950
Yeah we where trying to break it :-)
Stephen G Tuggy
@stephengtuggy
:-)
LifWirser
@LifWirser
@Loki1950 Sorry for the reply delay. Unless the python calls were really changes, our "embeded interpreter" is just the system interpreter being call as a single prupose the vsengine to serve the vs engine. bach in vs-0.5.3 the was a bit of a shwll game that made it looke like wehad our own but we still used the system python.. Right know I the biggest issue with using gdb-pyton will be traking the python variables befor and after "VS" is set and setting initial breakpoints. for now when I get on it I'm going to work mainly with patches at least until I can get something workable. I'l try to get something out in the next couple of days
Loki1950
@Loki1950
That makes very much sense @LifWirser
LifWirser
@LifWirser
Amother possible source is how python handles calling other modules. Lets say you call mythical "python a.p" which calls python b which calls python c. each module (a,b,c) are in different "levels" meaning if c.py exits with an err the error is on "c level and not displayed "a level" without special handleing meanwhile both a.py and b. py are frozen waiting for c.py to finish which it will not due to an error niether a.py or c.py are aware of. I basing this on what I rember froma coule of years ago, so I have to restudt python to be certian
LifWirser
@LifWirser
opp I meanbet niether a.p or b.py
romanyacik
@romanyacik
I'm trying to compile 0.8.0 on Ubuntu 22.04, and am getting an error to the effect if "unsupported Debian derivative"
Stephen G Tuggy
@stephengtuggy
@romanyacik Oh. Yes. Sorry about that. We haven't added support for Ubuntu 22.04 yet. We should do that soon. Probably won't be too difficult.
Can you file an issue in GitHub for Ubuntu 22.04 support?
romanyacik
@romanyacik
OK, I filled the issue
*filed
Stephen G Tuggy
@stephengtuggy
thanks!
Benjamen Meyer
@BenjamenMeyer
@LifWirser I believe with using boost::python we actually are running an instance of the Python interpreter within the VS engine space; it's not really a shell game since we link directly against the python interpreter library (libpython) and then execute within that context.
LifWirser
@LifWirser
@BenjamenMeyer What I was refering too and believe @Loki1950 was also , involved files I believe named vs-python (cpp,h) which were a redirection pf python.h calls. And no I didn't extent it into boost-python calls. Still It should not bee an issue once It gets tested, except any gains from boost would tend to be cancled running gdb esp on a single core machine such as i have
Benjamen Meyer
@BenjamenMeyer
python.h is just the header for the C++ code to interact with the Python engine, declaring CPython Objects. The system python interpreter knows nothing about them unless they're installed into the working path of the interpreter, which VS doesn't do. So the VS objects are only available under the interpreter instance inside the VS engine at run-time.
now, GDB inspecting the VS engine instance may be able to interact into that environment; but you won't be able to access it using standard python tools, or by simply going:
$ python
> import VS
Carey Underwood
@cwillu
gog.com is selling vegastrike binaries without source that I can see; known issue?
I bought https://www.gog.com/en/game/wing_commander_privateer some time ago, went to install it today on my linux box, a was bit surprised to see a mac and windows download, but no linux. Unpacked the windows binary to see to run it in dosbox (as I was expecting, you know, the original dos version), and was surprised to see vega-license.txt, vegastrike.config, etc
Benjamen Meyer
@BenjamenMeyer
@cwillu interesting...though we don't own WC Privateer, and they list Origin/EA as the owner (who does own it). It's listed as DOS-box which I would expect since it was originally a DOS-based game.
looks like they have the entire WC series...
Carey Underwood
@cwillu
Yah, wc1 and 2 are both dosbox based
however, the privateer is definitely the vegastrike remake/repackage/rewhatever
Benjamen Meyer
@BenjamenMeyer
it would be funny if Origin/EA grabbed our stuff to release Privateer on there
what version of VS is it using?
Carey Underwood
@cwillu
let me pastebin some greps
@BenjamenMeyer ah, @#$@#, ignore me
Benjamen Meyer
@BenjamenMeyer
since it's privgold you're looking at, it's probably http://privateer.sourceforge.net/files.shtml, which is based on VS but kind of forked from it. the PWCU that @ermo and I are supporting is the latest rendition of it.
@cwillu old PrivGold/Gemini install you found?
Carey Underwood
@cwillu
yeah, I'm an idiot
‹hangs his head in shame and crawls out of the room›
Benjamen Meyer
@BenjamenMeyer
no prob