Posts Tagged “fixes”

Intermittent NVidia 970 SLI Crashes Post-FX Full System Reset

After upgrading to 2 Galax GTX 970 OC EX gpus and setting up SLI, I found that occasionally while gaming in Surround, I'd get a full system crash, black screens, hard system reset, the works. This first heppened in BF4 and GW2, though it was hard to figure out exactly what the issue was, I tried various driver reinstalls, under-clocking, closing all background programs, even going back 3 versions of NVidia drivers, to no avail.Read more...

SaveMedia.dll causing issues with Playfire and CorsairLink

Just recently had this issue, programs crashing and reporting
Faulting module name: SaveMedia.dll, version:
in the event viewer.Turns out it's an issue with RivaTuner, I added both Playfire and CorsairLink to the application list in RivaTuner and choose 'None' on the 'Application detection level'.Seems to have fixed the issue.

Adding Google Analytics to Office 365 websites

The selection of pre-defined templates is decent, and the editing tools are easy to use, my only difficulty was adding the Google Alanytics script across the whole site, from doing a search it appears most suggest you Embed the script on every page.

There was mention of adding an App called 'Web Analytics Integration', though when I entered the App after adding it, I got a blank screen with 3 empty buttons and 3 empty text areas.Read more...
Posted on  Dec 9, 2013  by  sacah .  Tagged: 

Hacking Proxy support into Brackets

Started using Brackets at work, though they use a corporate proxy, so I did a quick hack to get proxy support into Brackets for installing Extensions.

Version 0.41 and above you can define the proxy in the Preferences file, in Brackets go Debug -> Open Preference File.
Then add a line
"proxy": "http://localhost:3128",

We're sorry, but something went wrong (500) - Kickstarter - Firefox

So went to as usual and was welcomed with this message "We're sorry, but something went wrong (500)". I figured they had some hicup and figured I'd come back later, a few hours later it was still having issues, but projects I was backing were tweeting about new updates, without a mention of KS being down. Then this morning, still no tweets about it being down and many more messages about KS updates, though the site still gave me a "We're sorry, but something went wrong (500)". So I opened it in Chrome, and it worked. Back to Firefox, I deleted all the cookies and boom, Kickstarter was back in action.
Posted on  May 13, 2012  by  sacah .  Tagged: 

Firefox 9.0.1 Error: uncaught exception: TypeError: args.shift() is null

So looking at a site we're developing this morning in FF 9.0.1 and some pages didn't work on some peoples machines, though worked fine on mine. After installing Firebug to see what was going on the pages would work fine.

I uninstalled Firebug and looked at the Firefox Error Console to find the following error.
Error: uncaught exception: TypeError: args.shift() is null

Was a weird one, after much poking around I found it's a poor handling of arguments supplied to console.log, hopefully this is a bug in FF9.0.1 and will be corrected in the next release. For now to quickly get things working I've just extended my console.log handler to set console.log=function() {} to cancel console.log functionality until it's fixed.

If it's not addressed in future versions I'll have to look into it further to detect if Firebug isn't active and do some alternate handling for development.

To work around this I've changed my code to this
if(!='?debug=1') {
top.console.log=function() { }

Now I just add ?debug=1 to URL and it uses built in console log so I can manage when it comes on.

Hope this helps, if you have further info please leave a comment.

MDBTools - Currency field blank in CSV

We use MDBTools to convert an Access DB to CSVs to import into MySQL. Moving a site to another server we tried installing MDBTools via YUM, but continued getting Segment Faults each time we ran mdb-export.
So we downloaded the source and recompiled, everything seemed to work, except the currency column was blank in the CSV. All other types worked, just currency appeared to have a problem.

I did a ldd on mdb-export on the old server that worked and compared to ldd on the new server, and noticed some differences, so I decided to try the RPM avaliable for download at the mdbtools SF page.

On a rpm -i it complained that ' is needed by mdbtools-0.5-1.i386'
I did a yum list readline* and found
readline.i386                            5.1-1.1                installed
Available Packages
compat-readline43.i386                   4.3-3                  base

So I rpm -e mdbtools, yum install compat-readline43.i386, and rpm -i mdbtools from SF.

Now mdb-export correctly exports the currency fields to CSV.

HP Photosmart 7660 on Window 7

So I've had Windows 7 beta  for a few months, really loving it. Only thing that annoyed me was my HP Photosmart 7660 printer wasn't in the default list of drivers when I went to Add Printer.
I surfed to the HP site to find that Windows Vista, therefore Windows 7 wasn't supported, but upon more searching I found a work around of installing the HP Deskjet 5600, which let me now print via my Photosmart 7660.

One thing it didn't let me use was the memory card reader, which I really loved and used quite often. So after a few months of using other memory card readers and such, I got annoyed with it and decided to try and fix it. I downloaded the Windows XP drivers for the Photosmart 7660, ran the installer, and when it popped up saying it couldn't find x setup file, I launched Task Manager and End Tasked the setup process.
I did this so the extracted setup files would be left in the temp directory and allow me to play with them.

So I popped up Device Manager, scanned for hardware changes. Under Other Devices it picked up a 'hpphotosmart 7600' and a 'photosmart 7600'. I right clicked on both and went to Properties, then choose to install drivers. When it asked to let Windows search or choose the directory, manually choose the temporary folder the setup created, for me it was C:\Users\%username%\Local Settings\Temp\HP_AiO
Both will detect the correct drivers and install.

Once both have installed, the memory card reader started working, and when I went to print things, Photosmart 7660 was an option, it worked for printing black text. Haven't tried it with color, as I mostly print grey scale. I don't print much, so haven't had a chance to try again, but the program I was printing from crashed when I printed, not sure if that's related or not, see next time I print something.

Let me know if you find any problems using this method.

Editing JVC MOD video files

I recently purchased a JVC Everio 330 video camera. I found the files it creates are .MOD files, which looked like MPEG2 files. I no longer have VirtualDub with the MPEG2 addon, so I figured I'd try the included software to download and edit these MOD files. After some use I'm really unimpressed with their software, and have since uninstalled it all.

When I hook the camera up to the computer, it pops up Explorer and I can manually copy all the files into my directory of choice.

I downloaded VirtualDub and got the MPEG2 plugin and AC-3 plugin and hex edited the MPEG2 plugin and edited the File Open filter so *.mpg became *.mod. There is already a *.mpg in the MPEG1 file filter, so now VirtualDub will list .mod files by default, no more having to goto All Files.

In your favorite hex editor you will find the File Filter string at 0x290CC, just change the next 3 references to *...m.p.g to *...m.o.d, the full stops inbetween are actually empty bytes, as the filter string is in unicode, just change the letters, not the full stops.

Now it is quicker to copy files as I don't have to wait for ages for the software to load, I can store the files where I want, rather than in it's weird folder structure. VirtualDub is much easier to use and more powerful for what I do to movies, though it can't do those Special Effects, but I'd never use them anyway, if you needed to use them, edit it in VirtualDub, save and open in some other package to do special effects.

To play files back in VideoLAN simple rename the libmod_plugin.dll in the plugins folder to something other than .dll and it will play, rather than thinking MOD are audio only.
Posted on  Dec 13, 2008  by  sacah .  Tagged: 

Fix '*mb of free virtual memory' on 'Director Player 6.0' and 'Director Player 5.0' programs on XP/Vista

I'm getting 100+ people look at this each month, seems like tons of people still use these old Director programs. If this doesn't help you, please leave a comment and let me know what you were looking for and maybe I can help.

I tried to play an old pool game today, when I ran it an error popped up saying 'Director Player 6.0', 'This program requires at least 3mb of free virtual memory to run.'

I did a search on the net and found that when Windows moved from 98 to XP the way it reported Virtual Memory amounts was changed from bytes to kilobytes, which leads Director 6.0 to think that there is less Virtual Memory than there really is.
Most fixes revolve around setting your Virtual Memory under 1GB or 4GB+, which is a lot of messing around just to play an old game.

I opened IDA Pro and had a squiz, found the culprit and disabled it, I am not sure if the byte I changed is in the same place on all Director 6.0 games, or if the calls made before the byte I changed are the same, so I can't make a patch to change this automatically until I know these things, if you have another Director 6.0 program that is reporting this error send me the exe and I will see if I can release a patcher to fix this in all Director 6.0 exes. The call before it seems to be the same for Director Player 5 and 6 so I have made a patcher that seems to work on both Director Player 5 and 6.

call ds:GlobalMemoryStatus
mov eax, [ebp+Buffer.dwAvailPageFile]
add eax, [ebp+Buffer.dwAvailPhys]
cmp eax, 387520h
jge short loc_40D3B2

or in a hex editor
FF 15 F4 AA 53 00 8B 45 84 03 85 7C FF FF FF 3D 20 75 38 00 7D 6E

I changed jge (0x7d) (Jump if Greater or Equal) to jle (0x7e) (Jump if Less or Equal) as Rene pointed out change it to jmp (0xEB)(Jump)
In my game it was located at 0xc742

To find 0xc742 in FRHED, look for the Offset in the bottom left.

Each set of double numbers/letters is a byte displayed in HEX, each byte adds 1 to the Offset

Thanks to Gerard for the comment about Director Player 5 having the same byte sequence.

I've made a new patch, should work on Director 5 and 6 programs, and from my limited testing it works. If you have a Director 5 or 6 program that this patch doesn't work with please send me just the exe file and I'll test it and try and update my patch to allow it to work. Some people have reported this patch get's falsely marked as a Trojan, it's not but uses a packing method that some Trojans use. If this happens to you and it you can't tell your anti-virus solution to ignore this file download the unpacked one, though this hasn't been tested, let me know if it works for you.

Hex Editor I recommend - Frhed