Archive

Archive for April, 2010

StarCraft colors in Windows 7 and Vista

April 11, 2010 1 comment

Thanks to Warlord_7 on the Battle.net forums, I’ve managed to fix the issue with the StarCraft and Brood War menus being discolored in Windows 7 and Windows Vista. The best way to fix the bug is to make the following change in the Windows registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\Starcraft116]

is changed to

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\Starcraft116]

StarCraft Brood War title screen displaying colors correctly

StarCraft Brood War title screen displaying colors incorrectly

Warlord_7 uploaded the registry files to RapidShare here for free download. There is a 32-bit and a 64-bit version:
http://rs741.rapidshare.com/files/351487789/www.starcraft2.pro.rar (Original link expired)
http://www.4shared.com/file/_xPuNmx-/SC-Win7-Fix.html

file name: sc116-x64.reg
--------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49

file name: sc116-x86.reg
--------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
Categories: PC Software

Associating MATLAB with *.mat files

April 7, 2010 1 comment

MATLAB uses the *.mat extension to save exported workspace data, and this is the most common use of the file format[1]. However, Microsoft Access uses the *.mat extension for shortcuts to Micorosoft Access tables, and changes settings in addition to the normal Windows file extension properties:

  1. File association cannot be changed under the Tools > Folder options menu
  2. File extension is hidden even when “Show extensions for known file types” is checked.

The easiest way I’ve found to fix this file extension association is to use the following MATLAB command in the command window:

commandwindow; cwd=pwd; cd([matlabroot ‘\toolbox\matlab\winfun\private’]); fileassoc(‘add’,’.mat’) ;cd(cwd); disp(‘Changed Windows file association. MAT-files are now associated with MATLAB.’)

This link from the Mathworks website has more information:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-8880.html#bq4h655-1

Categories: PC Software