View Single Post
Old 01-21-17, 08:21 AM   #390
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by OldCoder View Post
Hi,

I've made an exe to try out, which spawns the ubisoft osi.exe at the realtime priority. If it works and the install steps could be automated by the patcher, it would simplify the fix process so no steps required by the user.

Manual steps that would need automating:
1. Rename the original osi.exe to osi_ubisoft.exe
2. Copy my replacement osi.exe into the same folder as osi_ubisoft.exe, along with a file called subsim.args

Then when SH5 starts, it runs my osi.exe instead of theirs.

My exe spawns the exe that we renamed and creates the task at the priority specified by a line in the subsim.args file (by default real time).

The comm pipe between SH5 and the listener still works (verified with DbgView).
Brilliant

Quote:
Originally Posted by OldCoder View Post
One caveat is that I've compiled it and tested it on Windows 7 64 bit. It would need some testing on other platforms and also by users who aren't by default 'administrator'.
I run SH5 on Winodws 8 as administrator, but I don't have time to play the game. If there is a quick way to check that your method is working on my system (one which doesn't require starting a campaign), I will be glad to help

Quote:
Originally Posted by OldCoder View Post
I don't know how to attach files to the forum, so guidance needed if this is something that people would like to try.
You need uploading privileges for hosting mods on subsim. If you want, I can upload your tweak for you, or you can PM Neal Stevens asking your profile to be upgraded for mod uploading, but most users here use Mediafire for sharing their WIP stuff
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote