Tag Archives: mice

Mouse App and Content System

I’m generally done with the content system now. It took about 400 lines of mixed PHP and HTML code and has the typical assortment of PHP/MySQL functions: IDs; searching for specific fields; sorting by title, status, date, and downloads; sorting ascending and descending; page viewing with results per page selection, page navigation, and page jumps; and HTML template insertion. It looks pretty, too. Just coding the page and sorting navigation tables took two days to get right. The MySQL stuff was pretty easy and only took a day. The apps pages and downloads should all be working now. The only thing left to do is the download counting and putting everything else into the database. I meant to get to this today but got side-tracked with another project.

That project was my MX510 App-Specific Mouse Buttons program. After several hours of disassembling the MouseWare, I finally came up with the location of the exact call for the “Refresh Buttons” message. It’s line 10206 in eventex.dll (in the last version, 9.80). The “Refresh Buttons” message is sent by the mouse control panel to em_exec.exe when you modify a mouse button. This is why the button functions are updated immediately, as em_exec is the program that handles custom button functions. Anyways, this new knowledge of the MouseWare’s internal workings, I finally figured out how to get rid of the crashing associated with my previous builds. I would now even recommend it over the Logigamer app for MX510 users. It would be nice if I could support other MouseWare mice, but I lack the knowledge (each mouse has different registry paths) for this.

Getting all the items into the content and downloads databases will take the rest of the week probably. Then, the Columns section will just be a mod of the content system, but it will take weeks to get all the columns formatted. Still got plenty to do.

Posted in Programming, Website | Tagged | Leave a comment

Newsalicious.

I should be working on school shit, but I feel it’s time for an update to the site status: Everything is groovy, bitches.

Some time ago I started work on a Column to showcase all the VB apps I’ve made. It’s not nearly done, yet, and I’ll probably have to finish it during Christmas break, but you can still see it here. By the way, it uses my new background effect, grid transparency: You make a 2x2pix image and make the opposite corner pixels either a solid color or transparent (as in the GIF spec), and this creates an opacity effect of 50%. Very neat, albeit it doesn’t work in some browsers and is CPU intensive. Oh well.

Also, I updated the Flash nav to the left finally. I changed the Columns around, cut a staff listing, and changed the link for Downloads. And, if I hadn’t mentioned it before, I changed the site background–simple effect, reminds me of a cross between the Halo 17 album art and Matrix cover art, yet shrouded in blue. It’s actually an amalgamation of a picture of Beckie and one of Rachael.

I had a vision a few days ago of a mail redirection script, so I made that today. Obviously, there are bots that scan web pages in search of E-mail addresses (the @ and .com, .net, etc. are dead give-aways), so this script makes it impossible to phish any of the email addresses here. That is, once I’ve implimented it throughout the site. Most of the links to mail me are done, already, though. The greatest part about this script is its simplicity and mobility. There are only about 15 lines of code involved and if you change email addresses, you only need to change the script and you will still get email from whatever pages you listed the email on. It’s also easy to impliment the script. Just point to the script URL and add ?u=Username&s=Subject. This script is so awesome, I should submit it somewhere like The CGI Resource Index.

I’ve also been working on VB apps, of course. You can follow the story behind my Rise of Nations Script Maker at RoN Heaven. Then, I’ve made major improvements to the MX510 application-specific buttons tool since the last post about it. It now uses two apps, one to monitor the foreground window in order to notify the Logitech software and another to work with schemes for different apps. Development of this app is slowed because it has problems with starting communications with EM_EXEC.EXE and crashing in new builds. Last night, I spent hours decompiling and trying to reverse engineer EVENTEX.DLL–must have crashed WDSM and VB6 like 20 fucking times. Thought I found the weak spot and changed some assembly code at about hmm…Offset 100206BD (see, it’s burned into my memory, now). Alas, I only succeeded in making the mother fucker delete my Current User registery HKey 😕 . Luckily, I installed DX9.01c the other day and that made a System Restore Point. Microsoft saved my ass that time. Really, though…they should make it impossible to delete an entire registry root key. Anyways, my program is perfectly safe and available at www.snakebytestudios.com/download.php?id=7.

I also fixed the MBM Interval Log upload. Didn’t know the host IP changed.

Later, dudes.

P.S. I’m single. Date me, womens!

Posted in Programming, Website | Tagged , | Leave a comment

Programming

I’m back at VB and currently working on three programs; one of them being my old ShellMPX frontend for SCMPX. I never tire of its simplicity and exceptional audio quality, but over the course of using my shell, I have come up with a few improvements. But then of course, nobody uses SCMPX. I bet even S. Chiba, the author of SCMPX, uses Winamp or some mainstream crap. Anyways, the second app I have put a lot of time into programming. It’s a utility for creating game scripts for use in Rise of Nations. It’s nearing final release status, but it’s been getting slow. More info can be found in my thread over at RON Heaven.

My latest project is even more practical than the last. After purchasing a Logitech MX510 mouse to replace my first replacement (an MS Intellimouse Explorer 4.0) for my much-loved MS Intellimouse Explorer 3.0, I found it to be superior in many aspects. The only thing that is lacking in the MX510 is the Logitech software to support it. Unlike the MS mouse software, Logitech doesn’t include application specific button settings. This creates a great conflict when switching between playing games and doing work in Windows. There was a fix mentioned around the web to make two registry files for the two differing tasks so that you can run them and then open the mouse control panel briefly for the settings to take affect. I found this to be a clumsy and annoying workaround, especially since being pampered by Microsoft’s application specific settings for a year. I examined the way the Logitech software made use of the registry, and without a second thought, begin writing a program that will appropriately load button settings according to what application has focus. After around 16 hours of programming on two occasions, I have come up with a program that will load button settings from a configuration file in the aforementioned way. I had even tested it in Thief3 and concluded it to work well already. In the game, I bound the keystrokes that were assigned to the cruise buttons to zoom in and out. Immediately after quiting to desktop, I then used the cruise buttons in their normal manner. The only thing left now is to make a pretty GUI, include the rest of the button functions supported by Logitech’s software, and hunt for bugs. For the savvy users that googled their way to this page, you can download this highly alpha version now at http://www.snakebytestudios.com/download.php?id=7. You have to edit the butsets.ini (hehe…that sounds like butt sex 😀 ) file and the only functions available are the ones already listed. Keystrokes settings function and appear exactly the same as in the Logitech software. The [Default] profile is what the program loads when there is no specific profile for an application. App-specific profiles are listed exactly as they do in the GUI, thus [iexplore.exe] would be the heading for Internet Explore settings. Hopefully, I will get some time soon to finish all these programs.

Posted in Programming | Tagged , , | Leave a comment