Minecraft Client-side SMP Friendly Modding

Minecraft mods can seem very overwhelming and remembering the order to install everything can be a real chore.  Then add SMP into the mix and it gets even worse.  I’ve compiled these few steps to get a small list of client-side mods and a texture pack installed that work with most, if not all, SMP servers.  This guide is for Windows but can easily be adapted to Linux or OSX.

    • Note: MCPatcher, HD Texture Patch, or any other mod not listed in the guide below is *not* required regardless of what the information in the links say.
  1. Backup your “%AppData%\.minecraft” folder.
  2. Delete your “%AppData%\.minecraft” folder.
  3. Download Minecraft.exe if you don’t already have it.
  4. Run Minecraft.exe and log in.
  5. Once you get to the main menu, exit the game.
  6. Download Magic Launcher.
  7. Download Risugami’s ModLoader.
  8. Download OptiFine.
    1. Personally, I use the “Multi-Core” version.
  9. Download Faithful 32×32.
  10. Move the Faithful 32×32 zip file to “%AppData%\.minecraft\texturepacks“.
  11. Run Magic Launcher.
  12. Click Setup
  13. Click Add
  14. Select the zip files that contain Risugami’s ModLoader and OptiFine.
  15. Click Open
  16. The mods should be ordered the same as the screenshot below.
    1. Magic Launcher: Mod Order SelectShow
  17. Click OK
  18. Continue logging in with Magic Launcher.

At this point you should have your old Minecraft install backed up, a fresh copy downloaded/installed, and ModLoader, OptiFine, and Faithful 32×32 installed.

Share

How To: Add a Brush to SyntaxHighlighter Evolved

In this example, we will be adding the “Batch” (shBrushBat.js) brush to SyntaxHighlighter Evolved from the blog, Under My Hat.  This is also useful when you upgrade SyntaxHighlighter Evolved and need to readd brushes to your install.

  1. Download the brush from Under My Hat.
  2. Upload the file “shBrushBat.js” to your WordPress “/wp-content/plugins/syntaxhighlighter/third-party-brushes” folder.
  3. Log into your WordPress dashboard and go to the plugin editor.
  4. Select SyntaxHighlighter Evolved from your list of plugins.
  5. Edit file “syntaxhighlighter/syntaxhighlighter.php“.
  6. Search for “// Register some popular third-party brushes“.
  7. In the section of code below where you searched, add the following:
    1. wp_register_script( 'syntaxhighlighter-brush-bat',        plugins_url( 'third-party-brushes/shBrushBat.js',               __FILE__ ), array('syntaxhighlighter-core'), '20091207'     );
  8. Search for “$this->brushes = (array) apply_filters( ‘syntaxhighlighter_brushes’, array(“.
  9. In the section of code below where you searched, add the following:
    1.  'bat' => 'bat',
       'batch' => 'bat',
       'cmd' => 'bat',
      
  10. Finally, update (save) the file.
Share

Early 2010 MacBook Pro Windows Drivers

Tracking down the latest drivers for a MacBook Pro to use in Windows can be an absolute pain if you don’t have any tools to help you identify the hardware.  Even with the proper tools, many things have been rebranded to Apple hardware names in these programs.  The information below will only be useful to those who have an early 2010 MacBook Pro (the first generation with the video card switching technology) since hardware vendors seem to change with every revision of the MacBooks.

Broadcom doesn’t offer wireless driver updates from what I can gather.  Driver updates must be obtained from Apple (or another company that uses the same hardware).

  • Note: The driver updates below are not meant to replace the drivers on the OSX DVD, but to compliment them.

Even with these driver updates, the amount of heat that the MacBook Pro puts out while idle in Windows is completely unacceptable.  If anyone knows the trick (or the driver update) to make power management a bit more sane in Windows, please comment!

Motherboard (Intel 5, 4, 3, 900 Series):

http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=816&DwnldID=18494&lang=eng&iid=dc_rss


Audio (Cirrus Logic 4206):

http://www.cirrus.com/en/products/cs4207.html

  • Note: The 4206 driver is contained in the 4207 driver download.

Graphics (Nvidia GeForce GT 330M):

http://www.nvidia.com/Download/Find.aspx?lang=en-us


Network (Wired) (Broadcom NetXtreme 5764):

http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php


Network (Wireless) (Broadcom BCM43224):

Unknown

Share

Adobe Flash Player 10.1.102.64 Install Batch Script

Here’s the script I use for deploying Adobe Flash Player via Altiris NS and SCCM 2007 using the System account.  It also works well if you need to run it manually from an Administrator account on the computer.  The script has been tested under Windows XP x86 and Windows 7 x64.

If you plan on deploying this to your company, you must register with Adobe.  It is a painless process which can be done here: http://www.adobe.com/products/players/flash-player-distribution.html

To disable the update notifications, create a file named “mms.cfg” with the following text:

AutoUpdateDisable=1

And here is the batch script that performs the install of Adobe Flash Player and the update disable file.

@ECHO OFF

ECHO Installing Adobe Flash Player 10.1.102.64
"\\pathToServer\Adobe Flash Player\10.1.102.64 (ActiveX)\install_flash_player_10_active_x.exe" -install

IF EXIST "%ProgramFiles(x86)%" GOTO 64bit

:32bit
ECHO Disabling Update Notification
COPY /Y "\\pathToServer\Adobe Flash Player\mms.cfg" "%windir%\system32\Macromed\Flash\mms.cfg"

GOTO End

:64bit
ECHO Disabling Update Notification
COPY /Y "\\pathToServer\Adobe Flash Player\mms.cfg" "%windir%\SysWOW64\Macromed\Flash\mms.cfg"

GOTO End

:End

Share

Year Month Day Date Batch Script

Here’s a simple script that will give you today’s date in numeric format in three variables.  This has a bunch of uses, but I use it when I need to audit when a script was last run.  The script has been tested under Windows XP x86 and Windows 7 x64.  You may need to swap the varMM and varDD variables if you are using a version of Windows other than the U.S. version.

@ECHO OFF

:: Formatting the date into a YYYYMMDD format and setting it to the variable, varTodaysDate
SET varYYYY=%DATE:~10,4%
SET varMM=%DATE:~4,2%
SET varDD=%DATE:~7,2%
SET varTodaysDate=%varYYYY%%varMM%%varDD%

ECHO %varTodaysDate%

Share