Thank you, Peter
@wilts747. My tower case is old enough to have motherboard video that not only is not well-known for supporting games, but is ten generations out-of-date besides (according to
@KotangaGirl), yet it is still new enough to feature slots that I have never seen before. Despite my issues with it, I think that it is the best PClone computer I own at the moment, compute-power-wise. The rest of what you tell me (aside from everything computer getting faster and more expensive for new equipment) is totally unknown to me. I`m a software person, not a hardware person.
My KUbuntu is not entirely up-to-date, but the upgradable packages seem to have nothing to do with video per se, although some are related to AI processing of video streams, something else that I have an interest in. Both of my KUBuntu repository Wine installs are the latest available from that source, and the one that Lutris is using to run Trainz is the
same one that you and
@KotangaGirl are using. There are NO issues relating to Wine save for running Windows command lines in Linux consoles. I have no idea what you mean by
complicating things further trying to sort it out with additional programs.
I have a specific application that requires the ability to run a single TrainzUtil invocation from another program`s "run shell command" facility. This is important to my intended usage, and is an issue that is completely independent of the video issues. It is not "complicating things" because it is entirely separate from the video issues. I can use this even if I cannot run the game itself. It is simply
not related, except for the fact that both are making use of the same installation of Trainz.
My Linux copy of TrainzUtil.exe
is in the same directory as the rest of Trainz, and I know that it needs Trainz to be already running. These are not issues either. No need to discuss them further.
As for "wineconsole", I do not need the console window at all, nor will I be typing the commands each time I use them. I have no need for batch files; I have several scripting languages available in the editor that I will be running TrainzUtil from, and will be capturing the output into the editor for further processing by said scripting languages. I just need a single Linux command that can run a single Windows command shell command within the same environment as the running instance of Trainz, with the resulting output captureable by the calling program by setting STDOUT and STDERR to suitable values for the subprocess. This is how it is usually done, and I have no intention of rewriting the editor to try to do things differently, although I could, if necessary, redirect the output to a temporary file and process that afterwards. I will look into the documentation for "wineconsole" to see if it is supposed to be able to do what I need, and get back to you on this.
I currently have two independent significant issues:
1. Opening the game window currently causes Trainz to abend (abnormal end).
2. I need to be able to execute single TrainzUtil commands from a Linux subprocess environment and capture the output into the calling program.
There is no need to think that either one has anything to do with the other, and my installation of Trainz under Linux works perfectly well, aside from these two issues and the usual windows-not-updating-under-Linux issues. I strongly appreciate the help I have been getting here, but please do not try to fix what is no longer broken.
Edit: I was unable to convince "wineconsole" to not open a new window to run the command in as suggested in the man page. I was also unable to get it to actually
run the command, saying that it was "invalid". I feel that I`m getting closer, however.