How to fix render crashes on Windows XP (32 bit)

david_f_knight wrote on 2/18/2010, 11:29 AM
[adapted from Mad Pierre's post for Vista and Win7 (32 bit)]

I've posted this to hopefully help people who have the same problems others have had. If you are running Windows XP (32 bit versions) and are experiencing Vegas Movie Studio crashing when rendering (especially from HD footage m2ts files) then this may help.

This fix is a summary of advice from the following two threads:
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?Forum=4&MessageID=695038
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?Forum=12&MessageID=695663

The fix

Download and install CFF explorer from www.ntcore.com/exsuite.php
Run CFFExplorer from an account with Administrator privileges
For each of the following files: VegasMovieStudioPE90.exe, VegasMovieStudioPE90k.dll, Sonymvd2pro_xp.dll, m2tsplug.dll, mcstdh264dec.dll, wmfplug4.dll
Note: Some of these are found in the FileIOPlugIns subdirectory. The Sonymvd2pro_xp.dll is found twice (once in the main directory and again under the plugins).

Open the file in CFFExplorer.
On the left side you'll see "NT HEADER".... "DOS HEADER"... etc
Highlight "FILE HEADER" under "NT HEADER"
On the right side you'll see a chart and in the bottom right corner you will see "CLICK HERE"
Click on that and a check box menu system will open.
Scroll down the menu list until you see "app can handle > than 2gig address space" and check that.
Save the file and close.

2. Allow User apps access to more than 2GB virtual memory
Add the /3GB switch to your boot.ini boot configuration file. This file is usually in C:\ (the root directory of your system disk).

If boot.ini isn't listed in C:\, then you need to enable Windows Explorer to show hidden and system files: with Windows Explorer showing the contents of C:\, click Tools/Folder Options..., click the View tab, select "Show hidden files and folders."

You should be logged on an account with administrator privileges and make boot.ini editable, by right-clicking it within Windows Explorer and then clicking on Properties and uncheck the box labeled "Read-only."

Make a copy of your boot.ini file just in case you need to restore it the way it was.

Edit boot.ini with Notepad. Add /3GB to the end of the line that follows "[operating systems]". Your boot.ini file should look something like this (DO NOT CHANGE ANYTHING EXCEPT FOR ADDING /3GB):


[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /3GB


Restart your PC.

Note: if you change something in boot.ini that makes it invalid, Windows will not boot up. So, do not change anything except for adding the /3GB switch unless you understand the boot.ini file syntax and semantics. If Windows will not start due to a faulty boot.ini file, you should be able to start Windows in safe mode and then replace the invalid copy of boot.ini with the copy of the original you made in a previous step.

That should be it. Don't worry it's not as complicated as it sounds!!
Try rendering some movies in VMS that you had problems with.

Comments

david_f_knight wrote on 2/18/2010, 11:38 AM
The steps required to fix this are different for other versions of Windows:

For 32-bit versions of Vista or Windows 7. Credit goes to blink3times and me.

For 64-bit versions of Windows. Credit goes to blink3times.
cstoner wrote on 3/12/2010, 5:41 PM
Thank you! Thank you! Thank you!

I have used VMS for years and found it to be very stable...until the last week or so. I have a project, nearly done, with a looming deadline and suddenly crashing every few minutes of using whether playing back, scrolling timeline or rendering.

Maddening!!!

This solution fixed it! One note: I did not find this file: mcstdh264dec.dll but instead found : mch264dec.dll in the "mcmp4plug" plugins folder. and applied the same change with CFF Explorer....not sure it is required, but I did it.
david_f_knight wrote on 3/12/2010, 6:53 PM
Glad to hear this work-around helped you!

If everything is working properly for you now, no need to change anything else. But you should find mcstdh264dec.dll in the m2tsplug directory in the FileIO Plug-Ins directory if you are using VMSP9.
fabf2 wrote on 4/8/2010, 5:58 PM
How to edit "3GB" into boot.ini in a windows XP Professional system.
I know I'm almost there! but cannot find boot.ini in a serch. I tried to edit it in dos (command) and I can edit it, but since its read-only I cannot save it.
Pease suggest wha might do to ether change the attributein DOS on find it in windows.
I have made the "show hidden files" change in explorer and some appear but not boot.ini
Please help
Barry
MarkWWWW wrote on 4/9/2010, 5:17 AM
To see boot.ini you will also need to untick the "Hide protected operating system files" item which you will find in the same location as the "Show hidden files and folders" item that you have already changed.

Probably best to tick it again after you have made the edit to boot.ini.

Mark
fabf2 wrote on 4/9/2010, 10:26 AM
Thanks MarkWWWWWWWWWWWWWWW
worked like a charm. Now on to my next issue which is that PMB doesn't "always" recognize the rendered m2ts file. I've described this in another post .
Thanks again
Lucio wrote on 4/26/2010, 10:44 AM
A huge THANK YOU to you David and all the others involved in this solution to a very frustrating problem.
I was so happy to make my first bluray dvd on the recently purchased Sony i-7 laptop with Sony Vegas 9 Plat thanks to you. Prior to reading your post, I was in a state of tremendous frustration.
Thanks again,
Lucio
yowzer wrote on 9/15/2010, 4:11 PM
I did not have luck with this fix. I did all the file mods after downloading the cff program. Beware of doing the boot.ini file change! I mean, be ready to be able to modify it back to what it was should your computer not boot normally. When I modified mine, I couldn't even get good results starting up in safe mode - I couldn't navigate at all and Windows was all weird. To FIX the boot file and put it back to its original code, you'll need your Windows installation cd to boot from. If you don't have that, then I suggest not doing it unless you know your stuff. Then choose repair. You're basically getting to a command prompt and using the bootcfg /rebuild (there's a space before the slash mark)command. It will completely restore the boot.ini file to its original. Here's the link: http://pcsupport.about.com/od/fixtheproblem/ht/repairbootini.htm I don't want to poo poo the idea, many people have had great results.
Hneecy wrote on 11/4/2010, 12:26 PM
My boot.ini shown like this;

[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP Media Center Edition" /fastdetect /NoExecute=OptIn
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

where do I add /3GB switch

Thank you