Station.com
Sign In Join Free Why Join?
Sony Online Entertainment
Community Store My Account Help
  Search   |   Recent Topics   |   Member Listing   |   Back to home page
Logitech G15 MxO Applet (Beta)
Search inside this topic:
The Matrix Online » Top » Community » General Discussion Previous Topic  |  Next Topic      Go to Page: 1 , 2 , 3 , 4 , 5  Next
Author Message


Vindicator

Joined: Aug 24, 2005
Messages: 1426
Location: Recursion - Seraphim M.K. II
Offline

Yesh, I bought myself one of these, and I'm fiddling with the SDK (curiosity killed the programmer). I currently have it animating a few matrix code bmp frames at the moment. Hopefully I'll be able to read the game's HP and IS meters (bit tricky, but I've written code that'll snapshot that in the past) and route an approximation to the LCD. I might need a small gfx favor soon (my current one isn't "full screen" and is shiesty at best).

Wish me luck in my new "God I'm so bored I might as well program" venture.


EDITTED FOR TEH ROADMAP

THE ROADMAP (OMG)
-Determine pixel locations for reading, taking into account making it game resolution independent. (HP / IS )
-
Snapshotting pixels of screen (HP / IS )
-
Read copied pixels for information (HP / IS )
-
Convert the pasted image into a readable form and expand to be sent. (HP / IS )
-
Import my MxO Clock code.
-
Convert ALL OF THE ABOVE into a single image
-Shove that image to the LCD. (
Static text / MxO Info )
-Throw it all on a timer.
-Cleanup

-Configurable options

Repeat the following as necessary:
-Bugfix (<-here)
-Party


Link to beta 3 post


Message edited by LtCmdr_Tsusai on 10/15/2008 19:58:09.



Matriculated Mind

Joined: May 30, 2007
Messages: 233
Location: Queensland, AU
Offline

I'm curious, what exactly is this?



Systemic Anomaly

Joined: Feb 12, 2006
Messages: 2410
Location: Western Australia
Offline

Send me a copy plz.



Mainframe Invader

Joined: Dec 27, 2006
Messages: 6283
Location: Invadin yore Maneframez
Offline

I believe it's a program for Logitech's G15 Keyboard which includes an LCD display for information output and is highly configurable.



Veteran Operative

Joined: Mar 24, 2008
Messages: 248
Location: Norwich
Offline

Me likey.  Good luck Sai.  You're venturing where I never could.



Mainframe Invader

Joined: Aug 16, 2005
Messages: 337
Offline

Oh man if you get it working that would be awsome Sai i've had the G15 V2 for a while and have been searching high and low for a MXO applet for it but no one has made one, hope you can make one



Systemic Anomaly

Joined: Aug 27, 2005
Messages: 1995
Location: Syntax:Recurs HvCft Rocinante-Captain Level 50 Hacker http://matrix.hax.nu
Offline

I've always wondered about the G15 and MxO compatability for the LCD. Go, Tsus, go!

Also can you really launch macros at the push of a button, even if the macro isn't coded into a hotbar button? Or is that just wishful thinking?




Systemic Anomaly

Joined: Feb 12, 2006
Messages: 2410
Location: Western Australia
Offline

You can macro keystrokes, so yes it is possible to have these keystrokes correspond to macro's you have in game.

Eg, you could macro a button to enter the keystrokes /Thrown "Enter". Then have a macro on your hotbar called "Thrown" which puts on a pile of thrown resistance clothing. Press the button on your keyboard and it will automatically enter those keystrokes to activate it.

There's also inbuilt macro programs for games with more options and customisation. In short, the G15 is secks.



Femme Fatale

Joined: Jun 6, 2006
Messages: 487
Location: Syntax
Offline

OMG YES! I have one of these. I have a few of the function keys activating toolbar actions, but I'd love to see a lil custom MxO applet for it to see what else if could do. Especially if it could take better advantage of that screen at the top. That would be sweet! SMILEY

/as



Vindicator

Joined: Aug 24, 2005
Messages: 1426
Location: Recursion - Seraphim M.K. II
Offline

From my side of the client aspect, its going to be bare minimum in functionality, since I don't have the client source to send accurate and pure data to the LCD. (after I'm done tinkering with this, I wouldn't mind writing up what would need to be done to the MxO client if Rare or 9mmfu wants to see)

The idea is this:
Take a small "snapshot" of the personal data at the right hand corner, and attempt to pull an approximate HP/IS reading.
Show Matrix stream when it cannot determine the above data.

I can't do anymore than that really.

Since I'm not that great in the graphic department, I'm requesting the following:
Several small images (probably no more than 10 frames) for a looping matrix code.  Width 160, Height 43, 2 color black and white.

After 2 hrs of coding last night.  Not the prettiest piece of coding, and you can see why I need a better image set (threshold doesn't do the work on existing gifs)
Alpha 1 (extract all files to C:\ ....told you it was messy alpha code.  I make segments of code work first before massive cleanup.)


Message edited by LtCmdr_Tsusai on 08/29/2008 09:11:27.



Femme Fatale

Joined: Aug 15, 2005
Messages: 1195
Location: Vector-Hostile
Offline

*watches with interest*



Jacked Out

Joined: Aug 17, 2005
Messages: 3816
Location: Glasgow, Scotland
Offline

Hmmm...


Vindicator

Joined: Aug 24, 2005
Messages: 1426
Location: Recursion - Seraphim M.K. II
Offline

I have 4 media keys to assign functions to. I'm thinking of one for "Jack Into the Matrix" to launch the game, or leaving them up to the user in some form of config.ini thingy.

What say you?


Message edited by LtCmdr_Tsusai on 08/29/2008 11:23:11.



Vindicator

Joined: Nov 30, 2005
Messages: 929
Location: A van, down by the Aquaduct.
Offline

Want!

Was wondering if anyone created an applet for the G15, just picked up one a couple weeks back.

Personally, as far as features go, I don't really care about seeing vitals (maybe of your target, if that's even possible).  Perhaps some stuff like whether or not you have unread e-mail, how much inventory space you have left, how many spaces left in your Loading Archive storage, your current location read in coordinates, how much $info you currently have, and maybe even a MegaCity time display.  I could never find much use for the health meters on the LCD, but other info like the stuff mentioned above could be nice.

Message edited by LoTekGhost on 08/29/2008 13:43:13.



Vindicator

Joined: Aug 24, 2005
Messages: 1426
Location: Recursion - Seraphim M.K. II
Offline

LoTekGhost wrote:
Want!

Was wondering if anyone created an applet for the G15, just picked up one a couple weeks back.

Personally, as far as features go, I don't really care about seeing vitals (maybe of your target, if that's even possible).  Perhaps some stuff like whether or not you have unread e-mail, how much inventory space you have left, how many spaces left in your Loading Archive storage, your current location read in coordinates, how much $info you currently have, and maybe even a MegaCity time display.  I could never find much use for the health meters on the LCD, but other info like the stuff mentioned above could be nice.
Most of that is out of my power without it being actually written into the client (vitals are pushing it for my skillz), however, a MCT display is possible and an excellent idea and I will put that in.  Any other random little features?

EDIT: Thinking about it, current target may be possible, I'd have to see.

EDIT 2:
I dove into the magical world of analyzing displayed pixels again and ran into some issues with some ideas. 
*) The HP/IS reading is coming through.  However, things like UI transparency will not be corrected for.  It throws my screen pixel reading off.
*) Target Reading: First, the black background isn't black, but transparent.  So there's no way for me to zip through it and convert anything non black to white to send to the LCD.  However, target HP MAY be available, as it is a solid color system like HP and such.
*) I dove into my MxO clock code.  I should be able to display it on the LCD.

So the current plan is the following:
-Determine pixel locations for reading, taking into account making it game resolution independant.
-Read pixels for information
-Algorithm to determine vitals of self and enemy.
-Import my MxO Clock code.
-Convert the above into a single image
-Send Image to LCD.
-Party.

EDIT 3:  Enemy HP dumped.  Too complicated since the target info isn't a static thing on the screen.  The thing of main importance though is the small white area in the bottom left of this image SMILEY.  Its 12:30am now, off to bed for work, since I'm probably gonna do a simple one for work, throwing our company logo on it if I can find me a image to work with.

Message edited by LtCmdr_Tsusai on 08/29/2008 22:32:50.

 
The Matrix Online » Top » Community » General Discussion Go to Page: 1 , 2 , 3 , 4 , 5  Next
Go to:   

Version 2.2.7.43