Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 06-18-2006, 04:55 AM   #1
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
REQUEST: Run Multiple RR instances

Hi Guys & Gals,

I have been testing out running multiple instances of RR on the same machine (each instance is copied to its own dir, ie. "c:\Program Files\Road Runner" and "c:\Program Files\Road Runner2").

The reason I am doing this is to allow the rear seat passengers to control their own in-car experience. I have extended my desktop using the TV out (I will be upgrading to dual VGA outputs once I see if I can get this working). I then set the second RR instance Xposition in it's skin general.ini file to 799 to force it to load in the extended desktop.

I have also setup Winamp in two dirs (same approach as the RR folders) and set each RR instance to a different Winamp path. Each instance is set to use a different soundcard (I will be testing with a cheap USB sound card like this eventually, it will only be used by headphones in the rear seat anyway, so no need for an expensive second soundcard).

This works great but there are a few issues which need to be resolved before it can be used.

Firstly, both instances of RR control the same instance of Winamp, making it impossible to play different tracks. This is because currently RR is loading winamp using the default class name ("Winamp v1.x").

The following changes are required to the RR Source 06-03-06 to enable multiple instances of RR to be used with each controlling its own winamp instance. The winamp class name for each RR instance can be set in RR.ini with the following line: WinampClass="WinampClassNameGoesHere"

Changes required:
Code:
frmLoader.frm: -------------- Line 228: ADD BELOW WinampClass = "RoadRunnerWinamp1" -------------- Line 959: ADD BELOW Case "WinampClass" WinampClass = Trim(DT(1)) -------------- ---------------------------------------------------------------------------------------------------------------- WinAMP_Control.bas: ------------------- Line 205: CHANGE hWndWinAMP = FindWindow("Winamp v1.x", vbNullString) To: hWndWinAMP = FindWindow(WinampClass, vbNullString) -------------- Line 521: CHANGE ReturnValue = Shell(Chr(34) + winamp_path + "winamp.exe" + Chr(34), IIf(HideWinamp, vbHide, vbNormalNoFocus)) To: ReturnValue = Shell(Chr(34) + winamp_path + "winamp.exe" + Chr(34) + " /CLASS=" + Chr(34) + WinampClass + Chr(34), IIf(HideWinamp, vbHide, vbNormalNoFocus)) -------------- Line 545: CHANGE ReturnValue = Shell(vbQuote + winamp_path & "winamp.exe" & vbQuote & " /ADD " & vbQuote & strFileName & vbQuote, vbNormalNoFocus) To: ReturnValue = Shell(vbQuote + winamp_path & "winamp.exe" & vbQuote & " /CLASS=" & vbQuote & WinampClass & vbQuote & " /ADD " & vbQuote & strFileName & vbQuote, vbNormalNoFocus) --------------

These changes would not affect people running single instances of RR at all. I have not tested the changes, but I have controlled Winamp via VB.NET before, utilizing multiple winamp instances for multiple zones in a home audio setup. I don't have a VB.OLD compiler on my PC, so if someone could compile this for me (or let me know how to do it from Visual Studio 2003) it would be very helpful.

There are a few other issues that need to be sorted (like fighting over embedded app windows if both instances are trying to view the same app), but if we can get the audio stuff working, it would solve the major issues.

I intend to setup the rear screen RR skin with limited functionality, like Music, Video, DVD, GPS only, whilst the front screen skin has all the extras. DVD is another problem with only one DVD drive, to make both screens show the same DVD, easiest solution being to not allow the front screen to show DVD's (just control them).

Guino: Think you could test this out for the official release? I know you're a busy man, but if we could get this all working, it would open up a world of oportunities!
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-18-2006, 03:10 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
you can use /2 in the command line to run two copies of RR but it only controls 1 winamp right now.. I'll try to add your changes for next release.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-18-2006, 07:56 PM   #3
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Yet another RR feature I was unaware of!

Look forward to testing it out in the next release
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 06-20-2006, 12:58 AM   #4
SMKFree
 
liquid_smoke's Avatar
 
Join Date: Aug 2003
Location: Chicago
Posts: 4,841
liquid_smoke is on a distinguished road
wow, i didnt know this either
__________________
01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
01101101 01101111 01101011 01100101

beer replenishment fund
http://www.mp3car.com/vbulletin/rr-faq/
mp3car live search

i have joost invites, just hit me up for one.
liquid_smoke is offline   Reply With Quote
Old 06-20-2006, 08:22 AM   #5
Banned
 
JagPuter's Avatar
 
Join Date: Apr 2006
Location: My Garage
Posts: 128
JagPuter is on a distinguished road
Can you run 2 instances of winamp. I didnt know this one either...
Wow the things you learn from reading.
GUINO ROCKS....
JagPuter is offline   Reply With Quote
Old 06-20-2006, 08:28 AM   #6
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Was that sarcastic? Or are you actually wanting to know how to run two instances of winamp?
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 06-20-2006, 10:40 AM   #7
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
From what I tested, it works fine.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-20-2006, 11:33 AM   #8
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Quote: Originally Posted by guino
From what I tested, it works fine.

My code changes or running 2 winamp instances?
I'd love to test out RR running two instances controlling two seperate instances of winamp. Any chance you can do a quick compile for me Guino?
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 06-20-2006, 11:45 AM   #9
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
both.
http://www.rrdownloads.net/beta/rr.exe
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-20-2006, 11:55 AM   #10
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Thanks Guino!! I will test it out shortly.

Think there is any chance of running two instances of FreeDrive to stop each RR instance fighting over it?
Currently one RR instance shows it, then goes black whilst the other RR isntance steals it, then keeps swapping back and forth.
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 06-20-2006, 12:00 PM   #11
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
There's no way to prevent that. You can only have ONE screen in ONE place at ONE time. I am pretty sure Destinator doesn't run twice so there's not much that CDR could do to fix it, other than some cheap-*** screen copying feature.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-20-2006, 12:40 PM   #12
Maximum Bitrate
 
Jarrod's Avatar
 
Join Date: Jan 2002
Location: Melb, Australia.
Posts: 475
Jarrod
Yeah I thought that would be the case. How about one RR instance running FD and one running MM, with a port splitter to share the GPS between the two apps? Just thinking out loud here...Can't test anything until tomorrow.
__________________
Jarrod - Holden VX S!
Jarrod is offline   Reply With Quote
Old 06-20-2006, 05:31 PM   #13
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
they both use Destinator which means they wont run at the same time either.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-20-2006, 05:51 PM   #14
SMKFree
 
liquid_smoke's Avatar
 
Join Date: Aug 2003
Location: Chicago
Posts: 4,841
liquid_smoke is on a distinguished road
i havent tested this yet, but is it possible for each instance to have its own settings etc, (2 seperate RR installs) ?
__________________
01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
01101101 01101111 01101011 01100101

beer replenishment fund
http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
mp3car live search

i have joost invites, just hit me up for one.
liquid_smoke is offline   Reply With Quote
Old 06-20-2006, 06:55 PM   #15
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
that's the idea.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino 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
How to get RR to run on a second (external) monitor? b8bboi Road Runner 3 07-18-2005 03:42 PM
Auto load FD when RR starts up tolisn Road Runner 2 07-08-2005 05:30 PM
Multiple Monitors and Multiple inputs nixneon Newbie 1 03-19-2005 08:30 PM
Requirements to run RR properly oekundar Road Runner 17 03-07-2005 07:40 PM
Does anyone have a multiple LCD screen setup? Choser LCD/Display 5 02-05-2004 12:32 AM



All times are GMT -5. The time now is 08:34 PM.


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