Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins > RR Released Plugins


Reply
 
Share Thread Tools Display Modes
Old 01-03-2009, 08:55 PM   #31
Newbie
 
Join Date: Aug 2008
Posts: 5
Kurt_ is an unknown quantity at this point
Hey all. I got road runner installed finally, and am working on the power gauge.

I have barely a clue what I'm doing, but with forums and small alterations in code I learned quickly.

I got rid of the Rotating Honda logo in the skin, and replaced it with the power monitor. Works wonderfully.

But I can't for the life of me get the battery gauge images to work.

As it's on another computer, I'll spare you all the code for everything else. This is the code for the images:

Code:
I,367,300,35,19,"POWERMON_GBATTLEVEL"

I loaded the most recent updated version (the user-provided altered v0.3) using the "Run -> regsvr32 powermon.dll" function. My skin is the default BMV2

I have version 0.3, and the have put all the files just about everywhere I can think of. All of them are still here. The latest files (the image folder and powermon.dll or whatever) are in the following locations. The image folder is in each four times, once as \images, once as \image, once as pm_image, and once as pm_images. I figured I'd cover all my bases.

C:\WINDOWS\system\

C:\Program Files\RoadRunner\

C:\Program Files\RoadRunner\powermon\

Still no dice.

Any help? Don't neglect to mention the simplest of simple things, too. It's likely to be the problem.
Kurt_ is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-03-2009, 10:47 PM   #32
The Last Good Gremlin
 
GizmoQ's Avatar
 
Join Date: Nov 2004
Location: St Louis
Posts: 1,933
GizmoQ has a spectacular aura aboutGizmoQ has a spectacular aura about
Quote: Originally Posted by Kurt_ View Post
Hey all. I got road runner installed finally, and am working on the power gauge.

I loaded the most recent updated version (the user-provided altered v0.3) using the "Run -> regsvr32 powermon.dll" function. My skin is the default BMV2

I have version 0.3, and the have put all the files just about everywhere I can think of. All of them are still here. The latest files (the image folder and powermon.dll or whatever) are in the following locations. The image folder is in each four times, once as \images, once as \image, once as pm_image, and once as pm_images. I figured I'd cover all my bases.

C:\WINDOWS\system\

C:\Program Files\RoadRunner\

C:\Program Files\RoadRunner\powermon\

Still no dice.

Any help? Don't neglect to mention the simplest of simple things, too. It's likely to be the problem.

O.K. Let's attack this systematically.


1. Unregister your current powermon.dll:
C:\windows\system32\regsvr32 /u powermon.dll

2. Move the powermon directory to:
C:\Program Files\Road Runner\Plugins\Powermon

3. Delete all other copies of the powermon and pm_images directories or whatever else you may have named them.

4. Register the dll using the "register.bat" batch file.

5. Move the "pm_images" folder from beneath the powermon directory to the skin directory:
C:\Program Files\Road Runner\Skins\bmv2\pm_images

6. Restart RR.

DONE.
__________________
HARDWARE: Fujitsu Stylistic ST5031w/WiFi and dock, internal MP3Car 80G HD,, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, Silabs FM, WinTV USB, XM Commander w/Timetrax USB, Delorme GPS, Saitek X-52 joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

Last edited by GizmoQ; 01-03-2009 at 10:51 PM.
GizmoQ is offline   Reply With Quote
Old 01-03-2009, 11:22 PM   #33
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
Not sure what the pm_images directory is for, but powermon_gbattlevel looks for images in two directories, both relative to the dll's path:
.\images\slider_*.gif, and
.\images\ext\slider_*.gif

The first directory is images to display when on battery power, the second to show while on external (AC) power.

If you put powermon.dll in say c:\roadrunner\plugins\powermon, the image directories should be c:\roadrunner\plugins\powermon\images\ and c:\roadrunner\plugins\powermon\images\ext\

Probably best to make sure you only have 1 copy of powermon.dll on your system too.

Edit - ok I see Sal R mad a change to the image path to skin\pm_images, not sure I agree with that.
If you left it as app.path + \images then it's relative to the dll's location, not skin dependent.

Last edited by festy; 01-03-2009 at 11:30 PM.
festy is offline   Reply With Quote
Old 01-03-2009, 11:34 PM   #34
The Last Good Gremlin
 
GizmoQ's Avatar
 
Join Date: Nov 2004
Location: St Louis
Posts: 1,933
GizmoQ has a spectacular aura aboutGizmoQ has a spectacular aura about
Quote: Originally Posted by festy View Post
Not sure what the pm_images directory is for, but powermon_gbattlevel looks for images in two directories, both relative to the dll's path:
.\images\slider_*.gif, and
.\images\ext\slider_*.gif

The first directory is images to display when on battery power, the second to show while on external (AC) power.

If you put powermon.dll in say c:\roadrunner\plugins\powermon, the image directories should be c:\roadrunner\plugins\powermon\images\ and c:\roadrunner\plugins\powermon\images\ext\

Probably best to make sure you only have 1 copy of powermon.dll on your system too.

Sal R's version changed all that.
__________________
HARDWARE: Fujitsu Stylistic ST5031w/WiFi and dock, internal MP3Car 80G HD,, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, Silabs FM, WinTV USB, XM Commander w/Timetrax USB, Delorme GPS, Saitek X-52 joystick, BluSoleil Bluetooth, TPMS, FB, Elm327
GizmoQ is offline   Reply With Quote
Old 01-03-2009, 11:38 PM   #35
Newbie
 
Join Date: Aug 2008
Posts: 5
Kurt_ is an unknown quantity at this point
Got it! I did everything both of you told me to do. In the end, switching from Sal's version back to the original v0.3 made it work, even though I had pm_images in the right place.

One small problem though. I'm at 81% and I'm showing a full green battery. When I plug the laptop in, I get the charging icon, also over a full battery.

The numerical gauge is correct, as is the state.

EDIT: Nevermind, silly mistake. I now notice the gauges are pretty basic, I'll have to fix that.

Thanks so much for the help and the plugin and such. I'm sure you'll hear more from me in the summer when I'll have the actual parts to turn this into a car pc. Right now it's just a laptop with a gps receiver hooked up to an inverter.

Last edited by Kurt_; 01-03-2009 at 11:43 PM. Reason: Silly Mistake.
Kurt_ is offline   Reply With Quote
Old 01-03-2009, 11:42 PM   #36
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
Not sure what images you're using, but the example ones that come with powermon will show full from 80% onwards, I could only be bothered making 4 different images
festy is offline   Reply With Quote
Old 01-06-2009, 08:37 PM   #37
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
I think I've come up with a good compromise for image paths.
I can see Sal R's point on having the images within the skin's dir, so what I've done is made the plugin check for a $skinpath\pm_images directory, if that doesn't exist then use the plugin's path\images.

Note - this is not $rrpath\images, it's the directory that the plugin is in (usually something like $rrpath\plugins\powermon\images)

New version is in first post.
festy is offline   Reply With Quote
Old 01-13-2009, 01:42 PM   #38
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,405
Sal R. is an unknown quantity at this point
Quote: Originally Posted by festy View Post
I think I've come up with a good compromise for image paths.
I can see Sal R's point on having the images within the skin's dir, so what I've done is made the plugin check for a $skinpath\pm_images directory, if that doesn't exist then use the plugin's path\images.

Note - this is not $rrpath\images, it's the directory that the plugin is in (usually something like $rrpath\plugins\powermon\images)

New version is in first post.

Cool.

__________________
Pico-ITX / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2
Sal R. is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-13-2009, 01:59 PM   #39
Constant Bitrate
 
Join Date: Mar 2008
Posts: 133
pafftis is an unknown quantity at this point
m4 atx work?
__________________
RUSSIA - WINER!!!
pafftis is offline   Reply With Quote
Old 01-14-2009, 01:38 PM   #40
Constant Bitrate
 
Join Date: Nov 2007
Posts: 119
Startingline13 can only hope to improve
I'm sorry, not to sound like a n00b or like I want free hand outs and stuff, but how do I install this? Or could you direct me to a place where I could learn to install road runner plugins? I get a bit confused on the whole registering a dll part.
Startingline13 is offline   Reply With Quote
Old 01-14-2009, 02:14 PM   #41
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,935
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
A good plugin will have a register.bat file which you just click on.

Failing that create a text file (register.txt)

type in

regsvr32 name of plugin


and save it in the plugins folder

rename to register.bat

double click


so if a plugin dll was called powermon.dll you would enter the following in the text file

regsvr32 powermon.dll
Enforcer is offline   Reply With Quote
Old 01-15-2009, 12:13 AM   #42
Constant Bitrate
 
Join Date: Nov 2007
Posts: 119
Startingline13 can only hope to improve
I may have missed a step here.

I created a text file called register.txt

Opened up the text file and wrote regsvr32 powermon.dll

Saved it in plugins folder

renamed folder to register.bat

Right clicked, then selected "register"

Then I get a weird massage saying something like
"The module (Bunch of chinese letters) failed to load. Make sure the binary is stored in the specific path or debug it to check for problems with the binary or .dll files. The Specific binary could not be found.
Startingline13 is offline   Reply With Quote
Old 01-15-2009, 03:18 AM   #43
Low Bitrate
 
festy's Avatar
 
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 108
festy is on a distinguished road
Quote: Originally Posted by Startingline13 View Post

Right clicked, then selected "register"

try just double-clicking on register.bat.
festy is offline   Reply With Quote
Old 01-15-2009, 09:20 AM   #44
Constant Bitrate
 
Join Date: Nov 2007
Posts: 119
Startingline13 can only hope to improve
Same thing.
Startingline13 is offline   Reply With Quote
Old 01-15-2009, 09:37 AM   #45
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,935
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
What OS are you using, and what language?
Enforcer is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Garo's Extra POI Plugin 1.0 beta 1 garo Map Monkey 63 01-18-2007 01:32 PM
XMLTraffic Plugin 307SW_NLD RR Plugins 20 09-14-2006 06:20 PM
Hello World plugin paulpv CF Plugins 5 06-08-2006 11:07 PM
How do I use the Base plugin sources ? guino RR FAQ 1 04-24-2006 04:43 PM
Winamp LCD display plugin / IRMan plugin - together? Jarrod Software & Software Development 9 06-03-2002 06:39 AM



All times are GMT -5. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics