

InterviewSolution
1. |
Solve : need help makeing a batch file to play older games.? |
Answer» Hello all, The computer that I am making the Batch file for is not currently connected to the internet.Then it's exactly the same as the computer I diagnosed this issue with. Quote As there will be no in/outbound connectionsThere will. The functionality will be the same. It will still try to connect, and it will still fail waiting for a response. Quote will the .dll's you listed will hang in an infinite loop?Yes Quote If so, is there any other remedy you can think of to prevent the need for two instances of the same game to run in win7 due to rundll32.exe?The infinite loop is caused by the dlls. Unregistering them prevents them from causing this problem.run: Code: [Select] regsvr32 /u C:\windows\system32\GameUX.dll regsvr32 /u C:\windows\sysWOW64\GameUX.dll Do I paste these into the batch file or do I run them?Either way works. I just ran them at the command line in my situation, but it ought to have the same effect. In my case I don't have Starcraft so this is mostly guesswork based on uncannily similar problems I had with a good number of games when my desktop machine didn't have an Internet Connection. Some of the games I recall having the problem with are from the same era as StarCraft (I BELIEVE the oldest was the Original Command & Conquer), so hopefully your issue is caused by the same thing. Either way, if you ever want to re-register Games Explorer, I think it does so when you launch the Games Explorer, or you can run the same commands but remove the /u switch.Hey, thanks for the help bub ^_^ I was on auto pilot last night. Sleep deprivation and SB DOUBLE shots wouldn't let me accomplish simple tasks. Anyways, I ran the codes via CMDp and they unregistered as you said. I ran Starcraft as usual, but WIN7 is still forcing me to use dual instances of the game before it can be brought to focus. I have installed a couple oldie but goldie games like Warlords battlecry III, C&D, Warcraft III, and still the same deal, all dual instances and I have to Alt-Tab to task manager to kill Rundll32.exe so it will close the first instance of the game and not eat my CPU. I tell you bub, I can have Starcraft II, Dawn of War II, and TES: Skyrim running at the same time, no lag to each other and all three games do not produce over 45 degrees Celsius. This is on my AMD Phenom II 965 BE on STOCK cooler. (cherri wewt!) But if I got to run a single game game from the 90's my CPU is hitting 60c on loading the game, and 65-70 while playing the game unless I kill rundll32.exe. Even then it is still running in the 50's for these old games. If you can think of a for starcraft as said originally, the .bat is a bit more complicated as it needs to both end explorer and kill rundll32, but for the other old games, I need only kill rundll32 via batch file just to make my gaming a bit easier. So if you know a way to make a batch file that can accomplish this task, I would be very grateful for the information. ^_^ Either way, I do really appreciate all the advice. I will know what to do in the future if I run into the infinite loop issue in the future.You could always figure out what the rundll32.exe is for, hopefully it could give a clue as to an underlying CAUSE. In Task Manager, you can add the "Command Line" column; this column on rundll32.exe will tell you/us exactly what dll is involved. In my investigations of my issue, it was GameUX.dll; but if you unregistered that it shouldn't be appearing, so it must be something else. Also double check the path of the rundll32.exe file, and make sure it is in C:\Windows\System32 or C:\Windows\SysWOW64. You can kill rundll32.exe in a batch file the same way you kill explorer. The problem is it probably doesn't appear until after you've launched it, and by that time the batch is no longer in control (I imagine you have it wait for the program to exit so that you can launch explorer again). I suppose you could delay using ping. Either way I imagine there is an underlying cause, and the command line of the pegging rundll32 process can be useful to find out why. |
|