Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - qqplayer

Pages: [1] 2 3 ... 10
Scripting / Re: Any way to hide attract mode using scripts?
« on: January 19, 2018, 04:13:17 AM »
Can you paste the code?
I made some attempts but have some problems sending the ritght "filename/path".

Awesome, thanks.

I made something "similar" for .rpx files :)

Awesome , thanks!!!

Themes / Re: "P5" theme
« on: December 09, 2017, 05:24:12 PM »
Love the gamelist , good job  ;)

Scripting / Re: run a exe or bat when i open a display
« on: November 27, 2017, 03:18:18 PM »
I think the "best" or maybe the easy way to do somthing like this is creating a simple plugin.
Look at this "Ultimarc ServoStik Plugin"

Themes / Re: Most Played Games for more than one system
« on: November 24, 2017, 10:18:29 AM »
You´ll need to create a romlist named "full.txt" for example and there add all your system.
I don´t test this but I suppose that will work like on the "consoles.txt" or "arcades.txt" to create main menu clases.

Themes / Re: SNES Classic Theme
« on: November 21, 2017, 09:20:40 AM »
Only one suggestion ,you can use the "SumatraPDF reader" for the manuals  :D

Looks awesome by the way ;)

Announcements / Re: Version 2.3 Released
« on: November 20, 2017, 08:31:59 AM »

Themes / Scrolling gamelist machi
« on: November 19, 2017, 07:24:33 AM »
Maybe someone can take this code an "improve" a plugin or wathever to create scrolling gamelists.
Also I´m sharing a basic psd template to create your own background and change the default ones.

Themes / Re: Request: convert Retrorama theme (Retropie) to Attract Mode
« on: November 18, 2017, 02:24:44 PM »
I made this using the conveyor module.

At the left side I put an standard gamelist to show the diferent way that works with the "new" scrolling one.
I have to cleanup the code an try to explain how it works  ;)

Themes / Re: coming soon, nes-mini diffrent-take
« on: November 05, 2017, 04:41:30 PM »
here is the latest with added marquee & changed some stuff around,


been thinking though of adding the cartridges to it and making this just for nes and snes

this came to me as i was adding my "arcadesd" theme to my pi build and i thought
this realy works great for this rom set , but susck with others,,,    so this would be for my nintendo romsets

their are some good things to be said for theme continuity,, butt lately i think
i just want a completely diff theme for diff consoles ..  so it gives some Passion
im building one barcade and it might take foever but it will be mine and will be the shit!

Love the "flipping arrow" are you still going to release this theme?

Scripting / Re: [Plugin WIP] SumatraPDF reader (only for windows)
« on: October 28, 2017, 05:56:44 PM »
Update , I can´t wait and tried retroarch imageviewer on windows , I think is easy to get it working.
So liquid8d please try to add the "pdf image found" if you have some time.

I made some little adjustments and is launching the "png"

Code: [Select]
// Attract-Mode Frontend - SumatraPDF  WIP plugin (By Machiminax)
// For use with the SumatraPDF Reader

// The UserConfig class identifies plugin settings that can be configured
// from Attract-Mode's configuration menu
class UserConfig </ help="Read your Manuals with SumatraPDF" /> {

    </ label="Command", help="SumatraPDF launcher", order=1 />
    </ label="Extension", help="File extension to use", options=".png, .pdf, .chm, .djvu, .djv, .epub, .fb2,, .mobi, .prc, .oxps, .xps, .cb7, .cbr, .cbt, .cbz", order = 2 />
    </ label="Path", help="Path to manuals - can include [Name], [Emulator], [Year], [Manufacturer], [System], [DisplayName]", order = 3 />
    path="Game Manuals/[Emulator]";
    </ label="View Key", help="Key to use to view", options="custom1,custom2,custom3,custom4,custom5,custom6", order = 4 />
    </ label="Missing Image", help="Path to 'missing' image - can include [Name], [Emulator], [Year], [Manufacturer], [System], [DisplayName]", order = 5 />

local config=fe.get_config(); // get user config settings corresponding to the UserConfig class above

// Copy the configured values from uconfig so we can use them
// whenever the transition callback function gets called

class PDFManualReader

        fe.add_signal_handler( this, "on_signal" )

    function on_signal( signal )
            if ( signal == config["key"] )
                local path = get_magic_token_path(config["path"]);
                local game_name = fe.game_info(Info.Name);
                local firstpng = @"1.png"
                local slash = @"\"
                local filename = "\"" + path + game_name + slash + firstpng + "\"";
                local x = @"I'm a verbatim string\n"
                local missing_path = get_magic_token_path(config["missing"]);
                local missing = "\"" + missing_path.slice(0, missing_path.len() - 1) + "\"";
                local exe = FeConfigDirectory  + "plugins/RetroarchImageviewer/" + config["command"];
                print("Launching RetroarchImageviewer:\n");
                print(" " + exe + " " + filename + " " + missing + "\n");
                fe.plugin_command( exe, filename + " " + missing );
                return true;
            return false;
    //replace specified magic tokens in path
    function get_magic_token_path(path) {
        local tokens = {
            "Name": fe.game_info(Info.Name),
            "Emulator": fe.game_info(Info.Emulator),
            "Year": fe.game_info(Info.Year),
            "Manufacturer": fe.game_info(Info.Manufacturer),
            "Category": fe.game_info(Info.Category),
            "System": fe.game_info(Info.System),
        foreach( key, val in tokens)
            path = replace(path, "[" + key + "]", val);
        //replace slashes with backslashes
        path = replace(path, "\\", "/");
        //ensure trailing slash
        local trailing = path.slice(path.len() - 1, path.len());
        if ( trailing != "/") path += "/";
        return path;
    //replace all instances of 'find' in 'str' with 'repl'
    function replace(str, find, repl) {
        local start = str.find(find);
        if ( start != null ) {
            local end = start + find.len();
            local before = str.slice(0, start);
            local after = str.slice(end, str.len());
            str = before + repl + after;
            str = replace(str, find, repl);
        return str;


Tomorrow I´ll test on the pi :)

Scripting / Re: [Plugin WIP] SumatraPDF reader (only for windows)
« on: October 28, 2017, 05:19:53 PM »
OK here is v1.1:

Code: [Select]
For the batch file:
- moved the .bat file into the plugin folder (command will now run from the FeConfigDirectory  + "/plugins/SumatraPDF/" folder, so if you do a bash script for RPi, you can drop it in there and update your plugin command setting)
- updated the .bat file to remove cd'ing to the directory (plugin_command starts there)
- added %2 in batch file to accept custom missing image

For the plugin:
 - added option to choose view key
 - added options for extension to ones I believe Sumatra supports
 - added option to set missing image location
 - added functions so paths can use some magic_tokens such as [Emulator], [System], etc..
 - add quotes for command line

Let me know if you notice any issues or have any questions about what I changed.

Thanks for this! I had the manuals and had completely forgotten about it, now they are easily accessible in AM  ;D

Thanks!!! I´ll try tomorrow.

Talking about the rpi thing I have to convert the pdf into png files and keep into a folder.
I´ve tried "fbi" but it doesnt launch with AM.
The only way I found to launch a "manual-reader" was with this awesome retroarch-libretro:

So... maybe you can try to "convert" this plugin to be used with the imageviewer libretro :)
This could be awesome to add new features to the frontend because with a libretro it will work on each version of AM.

P.D. Can you add this feature?Show an image if an object doesnt exists.

I was thinking that could be awesome if we could know if we "really" have the manual for the game unless to have to press the key and see if appears the manual or the "not found" png

Themes / Re: Conveyor_Helper Module for Themers
« on: October 28, 2017, 01:07:00 PM »
Awesome!!! Thanks.

Pages: [1] 2 3 ... 10