myPrograms: new version for beta-testing!

Discussion in 'MediaPortal 1 Plugins' started by waeberd, November 1, 2004.

  1. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    Hello,

    there is a new version of myProgams available for beta-testing!

    Download this , unzip it and copy it over your MP directory (this will overwrite the plugin file).

    Download this to get the sources.



    New features:

    * There is a new mode called FILELAUNCHER: Here you can manually set all the fileitems you wish to launch
    => simply create an application item with SOURCETYPE = "Filelauncher"
    => in the application list, select the application just created and click FILES to edit the filelist

    * FILELAUNCHER supports icons and shows the <F3> infoscreen

    * File-editing is also available in the *.my and *.mlf import-modes. Be aware that the REFRESH button will erase all your edits though...

    * Some small improvements like "ask user before deleting" etc.


    Hope you enjoy it! Comments are welcome... as always! :)
    (and no: it's not in CVS yet!)

    Cheers,

    Daniel
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    "KEGA FUSION" rulez!

    Found the excellent sega emulator named "KEGA FUSION" and found out that this thing cannot be integrated correctly into MP.

    reason: in kega-fusion, a game has to be called with the following syntax:
    "emu.exe <fileitem> <arguments>"

    normally it's just the other way round (arguments between exe and fileitem)!

    => so.... I've updated myPrograms and added the following feature:

    Code (Text):
    1. * when defining ARGUMENTS of an application, you can include the magic word %FILE% anywhere in the arguments string. MP will then replace this magic with the selected fileitem.
    2. If the magic is missing (default treatment), then MP simply adds the fileitem as the last argument.
    To make this blabla clearer, here is the......
    => howto integrate KEGA FUSION:

    a) for MEGA DRIVE / GENESIS

    LAUNCHING APPLICATION: <your_kega_dir>\fusion.exe
    ARGUMENTS: %FILE% -fullscreen
    WINDOW-STYLE: Hidden
    QUOTES AROUND FILESNAMES: <checked>
    STARUP USING SHELLEXECUTE: <checked>

    b) for GAME GEAR games

    same as above, except:
    ARGUMENTS: %FILE% -gg -fullscreen

    c) for MASTER SYSTEM games

    same as above, except:
    ARGUMENTS: %FILE% -sms -fullscreen


    Don't know yet if it's as compatible as the mighty GENS-emulator, but it definitely integrates much better into MP (and is still alive!).

    oh yes in case you're interested in this COOOOL emu, here's the link:
    http://www.eidolons-inn.net/tiki-index.php?page=Kega

    MP plugin update is in CVS and on my site!
    Will add new stuff to WIKI l8er!

    Enjoy & keep (retro-)gamin'! :D

    Daniel
     
  4. MrMario64
    • Premium Supporter

    MrMario64 Retired Team Member

    Joined:
    April 22, 2004
    Messages:
    822
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Netherlands Netherlands
    It is time I'm gonna start using your plugin :)
    I do have questions though about control etc, I will ask that in a diff thread.

    Thanx for your work!!!!
     
  5. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    sure... I'll be watching! :)

    man... the Sega Genesis had a whole lot of cool games! Many ports from the Amiga, but the genesis is tv compatible and you don't need a keyboard.... just a pad and a remote control.... and MP :D
     
  6. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    Wiki is up to date (some more screenshots would be fine though!).

    Added some new features:
    • Added Kega Fusion example configuration (Sega Multi emu)
      Added Nestopia example configuration (Nintendo NES emu)
    http://www.maisenbachers.de/dokuw/plugins:myprograms

    Enjoy!

    Daniel
     
  7. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    NEW: multiple image support in info-screen

    Good evening!

    new myPrograms version with a new feature:

    * multiple image support in info-screen:
    MP looks for images with "_1", "_2", "_3" .... postfixes and cycles through them in the <F3>-info screen.

    Example:

    You have a game "pacman" with the image "e:\imgs\pacman.jpg" linked to it.

    Every three seconds myPrograms tries to find a image file:
    "e:\imgs\pacman.jpg"
    "e:\imgs\pacman_1.jpg"
    "e:\imgs\pacman_2.jpg"

    etc

    and does a MINI slideshow with them!

    Conditions:
    same file extension / same directory

    Reason:
    the image scraper of the myGames tool dumps multiple image files with this convention.

    Todo:
    support multiple imagefile-directories
    => then it will be possible to cycle through MAME titles / snaps / flyers etc.

    => I WANT THAT FEATURE (but I'm too tired to finish it tonight :lol: )

    As always: on CVS and on my server (see links in first post of this thread).

    Enjoy!

    Daniel
     
  8. johnbobjamesson

    johnbobjamesson Portal Pro

    Joined:
    June 17, 2004
    Messages:
    91
    Likes Received:
    0
    Location:
    Crailsheim
    Ratings:
    +0 / 0
    Hey waeberd!

    Thanks for your effort on this great plugin. I know this has been asked before, but there is no possibility to just start a certain program without having to chose a file to start with, right? I had a quick look at the new version, but you still need files to be started with the program, right?

    J.
     
  9. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    Hi,

    no, this is possible (but not very well documented :) ).

    Here are some hints (and I hope I got your question right):

    1)
    Create an (pseudo)-application item with:
    TITLE: "myTitle"
    LAUNCHING APPLICATION: <leave empty>
    STARTUP USING SHELLEXECUTE: <YES>
    SOURCETYPE: "FILELAUNCHER"

    and save it.
    You just created some kind of group item where you can attach executable items.

    2)
    In the application overview form (the start screen of the configuration), select the freshly created application entry and click the FILES button on the lower right.
    => you get into a "FILELIST" window.

    3)
    Click "New..." to add a program you wish to launch.
    TITLE: <the text you wish to appear in MP>
    FILENAME: <the whole execution string exactly as if you'd type it into a cmd-window>
    IMAGEFILE: <an optional picture for this item>

    other fields are optional and will influence the <f3> info screen.

    The thing is:
    FILENAME can contain a whole execution string! Some examples:
    Code (Text):
    1. C:\Programme\DeluxeSkiJump\DSJ.EXE
    but another valid string is:
    Code (Text):
    1. E:\media\emu\Mame32\Mame32.exe -skip_gameinfo -skip_disclaimer E:\media\emu\Mame32\roms\1941.zip
    You just have to make sure that (eventual) spaces in the executable are protected by double quotes:

    Code (Text):
    1. valid:
    2. "C:\Programme\my folder with spaces\someprog.exe" somearguments
    3.  
    4. invalid:
    5. C:\Programme\my folder with spaces\someprog.exe somearguments

    Hope that makes sense! Please ask if you need more info!

    Cheers,

    Daniel
     
  10. johnbobjamesson

    johnbobjamesson Portal Pro

    Joined:
    June 17, 2004
    Messages:
    91
    Likes Received:
    0
    Location:
    Crailsheim
    Ratings:
    +0 / 0
    Now I get it. Very good, thank you! That solves quite some problems.

    J.
     
  11. waeberd

    waeberd Portal Pro

    Joined:
    August 16, 2004
    Messages:
    314
    Likes Received:
    1
    Location:
    Fribourg (CH)
    Ratings:
    +1 / 0
    Re: NEW: multiple image support in info-screen

    Ok people!

    New version with a new feature:
    * support multiple imagefile-directories

    Example: Recommended MAME settings:

    Configuration like stated in WIKI:
    http://www.maisenbachers.de/dokuw/plugins:myprograms#15

    with the following change:

    Code (Text):
    1. IMAGE DIRECTORIES:
    2. E:\media\emu\mame32\snap
    3. E:\media\emu\Mame32\titles
    4. E:\media\emu\Mame32\flyers
    5. E:\media\emu\Mame32\marquees
    6. E:\media\emu\Mame32\cabinets
    7.  
    (of course, use your mame directory)

    In the <F3> info screen, this will do a 3 seconds cycling through all the pics in those directories.

    You need the latest myProg plugin to check this out!

    Enjoy, should work cool!!

    Daniel
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!