| Author |
Message |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/17/08 6:42:38 AM
|
Franpa
Joined: 11/26/08 3:37:49 AM
Messages: 38
Offline
|
parameter to allow high resolutions in TS? I know where to edit the sun.ini I just don't know the name of the parameter :/
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/17/08 9:56:38 AM
|
Nyerguds
Fanatic
Joined: 11/4/08 8:35:46 AM
Messages: 1446
Location: Belgium
Offline
|
Just launching the game with "-XRESxYRES" (for example, "-1024x768") works.
This message was edited 1 time. Last update was at 12/17/08 9:56:48 AM
|
C&C95 v1.06c: The past ain't what it used to be.... |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/17/08 12:22:26 PM
|
Franpa
Joined: 11/26/08 3:37:49 AM
Messages: 38
Offline
|
Thanks very much
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/18/08 12:57:59 PM
|
Mattf121
Joined: 11/6/08 4:52:05 PM
Messages: 49
Location: UK
Offline
|
I couldn't find the fix in your thread so here's one for both Generals and zero hour in Vista. To allow the moving menu backgrounds, enable xp sp2 compatability mode for the exe files. Just incase anyone else has been having problems
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/20/08 1:06:46 AM
|
Frankaz
Fanatic
Joined: 11/3/08 11:41:12 PM
Messages: 1274
Location: *
Offline
|
right! will add that too, was quite a strange problem that one (I myself never had it on vista - although I hated the moving backgrounds anyway)
|
http://www.cncsector.net/
http://www.pupils-path.net/forums/c&c/index.php
Bring back SETH! |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/30/08 1:03:15 PM
|
Elearen
Moderator
Joined: 11/4/08 3:00:27 AM
Messages: 4224
Location: Perth, West Oz
Offline
|
I thought they were cool, the best part of Generals!
|
I brandish my keyboard like a diamond edged sword of justice, piercing it through the skulls of forum trolls and the misinformed masses.
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/30/08 3:42:34 PM
|
Frankaz
Fanatic
Joined: 11/3/08 11:41:12 PM
Messages: 1274
Location: *
Offline
|
I can see the potential but they always seem to slow it down too much.
|
http://www.cncsector.net/
http://www.pupils-path.net/forums/c&c/index.php
Bring back SETH! |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 12/31/08 10:27:07 AM
|
drollie
Joined: 12/16/08 2:32:25 PM
Messages: 17
Offline
|
"***FATAL*** String Manager Failed to Initialize Properly" error on Vista: To fix this error, make sure the game is running as Administrator:
Browse to the game folder, right click on "Gamemd.exe" -> Properties -> Compatibility > Tick "Run This Program as an Administrator".
Do that for all .exe (application) files in the RA2 folder.
it still don't work
update: it works now i forgot 1 .exe file
This message was edited 1 time. Last update was at 12/31/08 12:20:02 PM
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/1/09 1:48:41 PM
|
Nyerguds
Fanatic
Joined: 11/4/08 8:35:46 AM
Messages: 1446
Location: Belgium
Offline
|
Discussion moved from here
Melchior wrote:
Nyerguds wrote:
Melchior wrote:As I mentioned in Problems with Tiberian Sun I can't get TS to work or Tiberian Dawn or RA1 to work at all it locks up on all of the Video Sequences including the intros. In Tiberian Sun the Videos Stutters...
Gah, don't post this in the wrong thread. If you open the sticky (and aptly named) "common problems" thread and look for "video" in the page, you immediately find the solution. You need to disable Sound Acceleration.
Sorry.. Any chance you know of a way to temporally automate this "disable Sound Acceleration" in combination with a ForceCore option I know how to setup a bat file is there a system command I can use? Thank you All Right the combo of the "disable Sound Acceleration" in combination with a ForceCore" works well enough, Only Tiberian Sun still has a small Video Issue...
Hmm... I thought of setting up a batch file that did the necessary registry edits... but not only does it tum out to change a huge amount of reg keys, it's also the kind of keys that I think may be different on each system :-\ There's a ton of related values under keys ending on DirectSound\Device Presence and DirectSound\Mixer Defaults. I dumped my registry in a text file twice, once after enabling sound acceleration and another time after disabling it, and then used a tool to compare the 2 files and got out all related keys (there's usually a lot of unrelated ones concerning the opening of files and such too). Maybe if you do that you can make a batch file which changes the keys accordingly, using the command line reg.exe? Mind you, it's entirely possible that dxdiag does some sort of device reboot when saving. In that case, changing these keys will still not have the same effect as what dxdiag does. Either way, you could try it out... here's how to find all of they keys that need editing. On my system, I had to change the same values under 8 different keys. Start regedt32.exe (from command prompt, or with start -> run) In "HKEY_LOCAL_MACHINE\SYSTEM\", look through all of the ControlSets ("CurrentControlSet", "ControlSet001", "ControlSet002", etc) and see which ones contain a "Hardware Profiles" key. In each of the folders under "Hardware Profiles" ("Current", "0000", "0001", etc), see which ones can be expanded all the way up to "System\CurrentControlSet\Enum\PCI\". Under those, you'll find the actual device keys, with another subkey in them. In that subkey you'll find the keys "DirectSound" and "DirectSoundCapture". In the "DirectSound" key, you need the keys "Device Presence" and "Mixer Defaults". In "Device Presence" these keys will change: "VxD": 0x00000001 when enabled, 0x00000000 when disabled "WDM": 0x00000001 when enabled, 0x00000000 when disabled In "Mixer Defaults": "Acceleration": 0x00000000 when enabled, 0x0000000F when disabled
This message was edited 11 times. Last update was at 1/1/09 2:45:05 PM
|
C&C95 v1.06c: The past ain't what it used to be.... |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/3/09 4:14:38 AM
|
Melchior
Joined: 12/27/08 12:37:59 AM
Messages: 20
Location: NH, USA
Offline
|
Thanks for help.
I check it out and see if it works....
Is there anyway to put those Reg changes into the bat file..... however the Bat file will also need to know when Game has existed so it can
change things back... I thinking...
example:{C&C95.exe}
c&c95.bat
{
ForceCore.exe 1 "c&c95.exe"
}
This is what I setup to deal with the CPU Affinity issue and it works great.
Now...
{
rundll32.exe directx -audioacc 0
ForceCore.exe 1 "c&c95.exe"
when{"c&c95.exe"=exits} do{rundll32.exe directx -audioacc 3}
}
Something like that....??
This message was edited 1 time. Last update was at 1/3/09 11:27:57 PM
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/3/09 9:00:41 AM
|
Nyerguds
Fanatic
Joined: 11/4/08 8:35:46 AM
Messages: 1446
Location: Belgium
Offline
|
Hmm... maybe it works if you use "start". I think it has a /wait option to wait until a program is finished before continuing. Try running "start /?" in the command prompt to see what it gives. -edit- Huh... when I don't give the full path, it doesn't start the C&C95.exe in the directory I run it from, but the one configured in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\C&C95.EXE Really bizarre, though I guess that won't cause any problems if you don't have the game installed two dozen times like I do. -edit again- ForceCore doesn't seem to work well in combination with "start /wait" - apparently the ForceCore program ends right after starting the game, so that doesn't work, since "start /wait" only waits for its own argument program, and not any others it might've started. And ForeCore can't run "start" since it's a system command, and not an actual program. If the core setting is kept and inherited in a batch file (which I can't test - single core here), I might have found a trick with 2 batch files that should work though: C&C95.bat: { @echo off ForceCore.exe 1 startcnc.bat } Again, you may have to give the full path of startcnc.bat startcnc.bat: { @echo off :: disable audio acceleration start /wait "" "C&C95.exe" :: re-enable audio acceleration } Note that "start" sees any first argument between quotes as window title text, hence the empty quotes before the "C&C95.exe" You should test if it really runs with one core then though, by alt-tabbing out and checking the core affinity in the task manager. What's that run32.dll though? Normally you can't execute dlls like that; they're libraries... I searched my system, but I don't seem to have a run32.dll.
This message was edited 22 times. Last update was at 1/3/09 11:31:04 AM
|
C&C95 v1.06c: The past ain't what it used to be.... |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/4/09 12:52:51 AM
|
Melchior
Joined: 12/27/08 12:37:59 AM
Messages: 20
Location: NH, USA
Offline
|
Nyerguds wrote: You should test if it really runs with one core then though, by alt-tabbing out and checking the core affinity in the task manager. What's that run32.dll though? Normally you can't execute dlls like that; they're libraries... I searched my system, but I don't seem to have a run32.dll.
Sorry I meant, "rundll32.exe" to try to access what ever Dynamic Link Library module contains the code that is responsible for executing the change in Acceleration level, its got to be somewhere.  I tried your above script it seems to work, inheritance of single core selection affinity.... I tried Executing it manually-clicking C&C95.exe, it didn't appear to to use any more than core "0" anyway.....?? I tried it on another app Ventrilo.exe, the inheritance of single core selection affinity seems to pass in this case as well... Now to find command line Argument that works for the other problem and with that note I have posted on my favorite PC Forum. Command & Conquer: The First Decade__UoF-Patch(1.03)+Bat
This message was edited 1 time. Last update was at 1/4/09 12:53:34 AM
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/4/09 1:49:52 AM
|
Nyerguds
Fanatic
Joined: 11/4/08 8:35:46 AM
Messages: 1446
Location: Belgium
Offline
|
Oh. So you mean that that rundll thing was purely hypothetical?
Well as I said.. if it's just the registry go and make a list of these reg keys. Then the script can do a number of reg changes with reg.exe, launch C&C95 with "start /wait", and then use reg.exe to restore the registry values.
|
C&C95 v1.06c: The past ain't what it used to be.... |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/4/09 10:12:55 PM
|
Melchior
Joined: 12/27/08 12:37:59 AM
Messages: 20
Location: NH, USA
Offline
|
The "rundll32.exe" allows you to directly run Libraries or the Functions, the complied code in them. I'd like to think there is a way to do this way... but as you said it "purely hypothetical" at this point. Ok found them, All of our PCs Audio hardware is integrated and Identical... so.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\HardwareProfiles\Current\System\CurrentControlSet\Enum\HDAUDIO\ PCI_Vendor_ID\#String\\DirectSound\Device Presence] "Emulated"=dword:00000001 "VxD"=dword:00000001 "WDM"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\HardwareProfiles\Current\System\CurrentControlSet\Enum\HDAUDIO\ PCI_Vendor_ID\#String\\DirectSound\Mixer Defaults] "Acceleration"=dword:00000000 "SRC Quality"=dword:00000003
I found out that Setting Basic Acceleration works as well
"Acceleration"=dword:00000000 -- Full Acceleration. "Acceleration"=dword:00000008 -- Standard Acceleration. "Acceleration"=dword:0000000f -- Disabled, Acceleration. ---------------------------------------------------------------------- "Acceleration"=dword:00000000 -- Full Acceleration. "SRC Quality"=dword:00000003 ----- "Emulated"=dword:00000001 "VxD"=dword:00000001 "WDM"=dword:00000001 ---------------------------------------------------------- "Acceleration"=dword:00000008 -- Standard Acceleration "SRC Quality"=dword:00000003 ----- "Emulated"=dword:00000001 "VxD"=dword:00000001 "WDM"=dword:00000001 ---------------------------------------------------------- "Acceleration"=dword:0000000f (15) -- "Basic Acceleration", zero-Acceleration, but drivers operational "SRC Quality"=dword:00000003 ----- "Emulated"=dword:00000001 "VxD"=dword:00000001 "WDM"=dword:00000001 ---------------------------------------------------------- "Acceleration"=dword:0000000F -- Disabled. Emulation only ----- "Emulated"=dword:00000001 "VxD"=dword:00000001 "WDM"=dword:00000001
Changing just the Acceleration, or lower it to "Basic Acceleration" does the trick Check it out! Here is the Reg.exe" Info and a test case.
REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f] KeyName [\\Machine\]FullKey Machine Name of remote machine - omitting defaults to the current machine. Only HKLM and HKU are available on remote machines. FullKey ROOTKEY\SubKey ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ] SubKey The full name of a registry key under the selected ROOTKEY. /v The value name, under the selected Key, to add. /ve adds an empty value name (Default) for the key. /t RegKey data types [ REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ | REG_DWORD | REG_BINARY | REG_NONE ] If omitted, REG_SZ is assumed. /s Specify one character that you use as the separator in your data string for REG_MULTI_SZ. If omitted, use "\0" as the separator. /d The data to assign to the registry ValueName being added. /f Force overwriting the existing registry entry without prompt. Examples: REG ADD \\ABC\HKLM\Software\MyCo Adds a key HKLM\Software\MyCo on remote machine ABC REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead Adds a value (name: Data, type: REG_BINARY, data: fe340ead) REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail Adds a value (name: MRU, type: REG_MUTLI_SZ, data: fax\0mail\0\0) REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d ^%systemroot^% Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%) Notice: Use the caret symbol ( ^ ) inside the expand string
-- Disable, Set to "Basic Acceleration" C:\>reg add "HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\PCI_Vendor_ID\#String\DirectSound\Mixer Defaults" /v Acceleration /t REG_DWORD /d 15 /f -- FULL, Disable, Set to "Full Acceleration" C:\>reg add "HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\HDAUDIO\PCI_Vendor_ID\#String\DirectSound\Mixer Defaults" /v Acceleration /t REG_DWORD /d 0 /f
And it works (Quotes Needed), the "/f Force overwriting the existing registry entry without prompt." ^^ I going to write up and test the bat files right now.
This message was edited 5 times. Last update was at 1/4/09 10:20:08 PM
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 1/5/09 2:21:02 AM
|
Nyerguds
Fanatic
Joined: 11/4/08 8:35:46 AM
Messages: 1446
Location: Belgium
Offline
|
So only the "Acceleration" value in CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\ is needed? Nice
This message was edited 1 time. Last update was at 1/5/09 2:22:14 AM
|
C&C95 v1.06c: The past ain't what it used to be.... |
|
|
 |
|
|