View Single Post
  #83 (permalink)  
Old 02-01-2007, 01:23 PM
haus's Avatar
haus
Halfway to VIP Status
Offline
 
Join Date: Jan 2007
Posts: 711
Reputation: 765
haus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by colonel
Just rename the .dlls in the rom. Make mfc80u.dll into mfc80u.dll_ and so on and vice versa.

Once renamed, here is my flash file entry:
Directory("\Windows\OEM"):-File("mfc80u.dll_","\Windows\mfc80u.dll_")
Directory("\Windows\OEM"):-File("msvcr80.dll_","\Windows\msvcr80.dll_")
Strictly speaking, the final step there doesn't appear to be necessary. There is some process during nba/nbf building/flashing that takes the files with .dll extension (note no underscore) from the DUMP folder and copies them to the Windows directory as DLL files. In the original DUMP folder, the files with .dll_ are the good files, so it moves the wrong ones into \Windows. When you rename the files in the DUMP folder, you make the "good" .dll_ files and make them .dll files, so the ones that get copied to \Windows are the good ones. The bad files, which you've renamed .dll_ (with underscore), get copied to Windows\OEM, where I believe (so far) they do no harm.

I just created a ROM only doing the renaming part of that process, and pics&vids are working. I can tell by the file sizes of the DLLs in the Windows folder that I have the right ones:

mfc80u.dll: 672K or 671K (PC versus Resco Explorer)
msvcr80.dll: 37K or 36K (PC versus Resco Explorer)

Now that I've renamed the files in the DUMP folder, the ones with the DLL extensions are the "good" files, so I may change the initflashfiles.dat to read:

Directory("\Windows\OEM"):-File("mfc80u.dll","\Windows\mfc80u.dll")
Directory("\Windows\OEM"):-File("msvcr80.dll","\Windows\msvcr80.dll")

This means the "good" files will be copied to \Windows\OEM as DLL files. Note that since we renamed the files in the DUMP folder we had to make a corresponding change in initflashfiles.dat because before we made this change, the original two lines in initflashfiles.dat copied the good files over and changed the extension from .dll_ to .dll.

Whew!
Reply With Quote