RWR <M> Fix for 4.35.3
-
@depapier
where do you find the discord lounge? -
@badboy45 link in my sig
-
<p>Man, this is kind of sketchy, how do we know this .exe isnāt malicious in some way? We donāt even know who the author is. I ran it from my download director and it opened and closed in a split second. My BMS is installed on another drive, youād figure it would at least have to scan for it or ask for an install directory.<br /><br /><br /></p>
-
<blockquote>Man, this is kind of sketchy, how do we know this .exe isnāt malicious in some way? <br /><br /></blockquote><p><br />I agree the culture of transmitting anonymous / closed-source EXEs and MSIs needs to stop.<br /><br />But to answer your specific concern, the first few lines of the python code grab the location of your BMS install from the registry.<br /></p><pre>def getBMSpath():
Ā Ā key = r"SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.35"
Ā Ā Registry = ConnectRegistry(None, HKEY_LOCAL_MACHINE)
Ā Ā RawKey = OpenKey(Registry, key)</pre><p><br />I canāt vouch for the EXE but the 50 lines of python code appears wholesome and legit. :)<br /></p> -
<p>@airtex2019 Where are you getting that python code from a source file or something? Iām not new to computers but Iām no programming guru. I know this is all volunteer work but, someone canāt just make an official hotfix for this and the Falcon BMS.cfg issue with the 4.3.5.3 update? Itās a lot of jumping through hoops.<br /></p>
-
<p>@rfxcasey <a href=āhttps://forum.falcon-bms.com/topic/21569/rwr-m-fix-for-4-35-3/14?_=1646095789010ā target="blank">https://forum.falcon-bms.com/topic/21569/rwr-m-fix-for-4-35-3/14?=1646095789010</a><br /><br />(ostensibly the author but again itās hard to know with google-drive ā¦ so your point still stands)<br /></p>
-
-
<p>@airtex2019 Yah, didnāt read that, I might have felt better installing it from the source file but to be honest, I wouldnāt know what I was looking at anyways to tell if there was anything nasty in there. </p>
-
<p>@rfxcasey Sadly itās hard to fault the author for providing a compiled version ā¦ or for using python, which isnāt preinstalled on Windows boxes ā¦ Windows doesnāt really have a good built-in scripting language for distributing stuff like this, to be run by normal non-techy folks. :(<br /><br />Yeah thereās Powershell but again there are so many warnings and barriers to downloading a ps1 file and running itā¦<br /><br />Maybe a standalone C# file? along with a two-liner cmd script to compile and run it? Not sure if that works out any betterā¦<br /><br />Hopefully 4.36 will resolve a lot of this ā¦ if not, itās probably a good candidate for something like Alternative Launcher to check for and (optionally) apply post-release patches to data and cfg files.<br /><br /></p>
-
<p>@airtex2019 Unfortunately this wasnāt made clear enough. Iām the author and first shared the source code on the UOAF discord (<a href=āhttps://discord.gg/U7UykYXā target=ā_blankā>invite</a> and <a href=āhttps://discord.com/channels/582602200619024406/615631373968998435/908706086377357352ā target=ā_blankā>specific message</a> link), where I first noticed discussion around the issue. Later I compiled the same code into the .exe that was distributed to everyone. I also attached the source code in <a href=āhttps://forum.falcon-bms.com/post/334192ā target=ā_blankā>this reply</a> of mine in this very thread, though I admit I probably should have asked depapier to link it in his first post for best visibility.<br />In any case, as @airtex2019 correctly pointed out, my code just grabs the BMS path from the registry, finds the FALCON4_RCD.XML within every theater and only edits the 3 seeker entries mentioned by the hotfix notice. I didnāt make the script pause because it is usually bad practice when coding CLI applications, but if you open a CMD shell and run the .exe or .py from there youāll see how it lists every file that it modified.<br />Python is one of the best languages available to quickly write short but powerful code like this, batch files are pretty limited when more complex logic is required. The python interpreter is also trivial to install and only going to become more useful in the future, even on non-coder PCs. For those who trust my word, thereās always the .exe.<br />Next time Iāll make sure to publish both exe and source code together in a more comprehensive way, along with an exe hash for good measure, cheers!</p>
-
This post is deleted! -