Results 1 to 10 of 10

Thread: Default RR installation, Carwings - where is the skin file?

  1. #1
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104

    Default RR installation, Carwings - where is the skin file?

    I just made a default installation of RR, and trying to develop a plugin.
    RR shows "CARWINGS" in top left corner, it obviously uses CARWINGS skin;
    However, search does not find and related *.skin or *.ini files, as described in the manual:

    The code you make will basically be loaded through a simple skin definition that can be added to any existing skin as desired. The below loads the example extension plugin included in RR's sources:

    X,MyExtension


    Extenesion demo does not include any skin files whatsover.

    I've attached complete list of files in my installation.

    Thanks for all your help.
    Attached Files Attached Files
    Will contract for C++/Win-Linux/PIC jobs

  2. #2
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104
    c:/Users/<Me>/Documents/RideRunner/Skins/Carwings_Dynamic_Lite/menu.skin

    IMHO that is a good candidate for FAQ
    Will contract for C++/Win-Linux/PIC jobs

  3. #3
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    X, xxxx is deprciated, DONT USE
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  4. #4
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104
    Thanks @mitchjs, I already figured that. I managed to launch RRCam and investigating approach that @Enforcer has originally recommended,

    L06,619,460,164,63,255,255,255,16,"Arial:B","EXEC; SENDMSG;RRCam.exe;BUTTON6||=",

    seems to be quickest in terms of porting effort. I could actually continue maintaining the same code base.

    ParkingAssistant runs in background. Is there any way it can make RR execute commands (like two-way SendMessage) ?
    Will contract for C++/Win-Linux/PIC jobs

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    sure, did you write it? i dont know what it is.. do you have access to its code

    you can just check if rr is running..create the SDK object, and tell RR to do stuff
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104
    Hmm, not sure if I understand >> did you write it?<< I meant supporting code base of that creature.

    RRCam approach is such that is has exe file C:\Users\<username>\Documents\RideRunner\Skins\Car wings_Dynamic_Lite\Plugins\RRCam\RRCam\RRCam.exe
    which is controlled by Skin buttons trough SENDMSG. Looks like it calls winapi SendMessage.

    Ideally, I would prefer to avoid linking against RR libraries and keep talking both ways using SendMessage. Not sure if that is possible though.

    you can just check if rr is running..

    I'm actually thinking to run with command line parameter "parker.exe --roadrunner".
    Last edited by novorado; 05-17-2011 at 08:59 AM.
    Will contract for C++/Win-Linux/PIC jobs

  7. #7
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    you CAN use sendmessage, its just not a PLUGIN (per say), so we dont want to use that term
    keep in mine that rrcam, is really one way communication


    just target riderunner window, and send command via string via WM_COPYDATA
    need an example? in what vb6? .net?

    direct SDK controll is much easier

    SDK.Exec("mycommand")

    if you want to have RR Skin elements, like indicators and lables, much easier to make a real plugin

    ---------- Post added at 12:54 PM ---------- Previous post was at 12:52 PM ----------

    oh and you dont link against any RR libs

    its an COM Object, so you just create the object, and use it, the OS handles the behind the scenes
    Last edited by mitchjs; 05-17-2011 at 12:01 PM.
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  8. #8
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104
    Quote Originally Posted by mitchjs View Post
    if you want to have RR Skin elements, like indicators and lables, much easier to make a real plugin[COLOR="Silver"]
    Thanks again @mitchjs; I tried following your recommendation (easier to use SDK method, easier access to skin, etc). And modified C# sample, exporting all the parking assistnant methods. Please see the attachement - it has C# prototype module.

    1) What is not clear from example, provided by @guino, where is sample skin mentioned in
    Code:
    		
    public int ProcessCommand(string CMD, object frm)
    		{
    			int result = 0;
    	
    			switch (CMD.ToLower())
    			{
    				case "boo":
    					SDK.Execute("PlaySound;scary.wav");
    					break;
    
    				case "yeah":
    					SDK.ErrScrn("title", "subject", "error details");
    					break;
    2) Is there any plugin example of actually drawing (painting) into the Plugin area on paintevent ?

    3) What commands can be used to Suspend multimedia playback and bring the plugin up by device event and than resume and hide Parking Asistance plugin?

    I suspect that I wont be able to accomplish all those tasks without help from RR authors, so thanks for your help guys.
    Attached Files Attached Files
    Last edited by novorado; 05-18-2011 at 03:35 AM.
    Will contract for C++/Win-Linux/PIC jobs

  9. #9
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,248
    you dont paint! rr paints!
    RR manages all the skin drawing...
    you just do reaction to buttons, fill in labels, update indicators...

    you can send the pause commnd
    SDK.Execute("pause");
    that will pause the playing music/radio/xm/sirius
    and "resume" resume it

    u want to bring up your app in a skin...

    make a skin file with an embedded window definition for ur window
    and
    SDK.Execute("load;skinname.skin;;myexe.exe;mywindo wname")

    something like that

    can always try commands in SKINTOOL 1st

    baby steps
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  10. #10
    Low Bitrate
    Join Date
    Oct 2006
    Location
    Moscow ZAO, Russia
    Posts
    104
    Thanks Mitch, will try that out.
    Will contract for C++/Win-Linux/PIC jobs

Similar Threads

  1. error loading carwings xm skin for favorites
    By llajumpvid in forum RR Skins
    Replies: 7
    Last Post: 07-19-2009, 04:23 PM
  2. [WIP] cwings - Nissan Carwings skin for CF
    By marazi in forum CF Skins
    Replies: 20
    Last Post: 02-19-2009, 05:25 PM
  3. Nissan CARWINGS skin : In Developement
    By Dopefish in forum RR Skins
    Replies: 86
    Last Post: 07-22-2008, 09:46 PM
  4. Replies: 1
    Last Post: 08-28-2006, 10:41 AM
  5. Default StreetDeck Installation Problem
    By konnichiwa in forum StreetDeck
    Replies: 2
    Last Post: 01-30-2006, 03:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •