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
1
Awesome , thanks!!!

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

3
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"

http://forum.attractmode.org/index.php?topic=1898.0


4
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.

5
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

http://forum.attractmode.org/index.php?topic=1927.0

Looks awesome by the way ;)

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

8
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.

https://youtu.be/XRl2NmTsZP0


9
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.

https://www.youtube.com/watch?v=pEFV_PVj6uE

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  ;)

10
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,

youtube https://youtu.be/pbKvj1Y95mg


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?

11
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 />
    command="Retroarch.bat";
    </ label="Extension", help="File extension to use", options=".png, .pdf, .chm, .djvu, .djv, .epub, .fb2, .fb2.zip, .mobi, .prc, .oxps, .xps, .cb7, .cbr, .cbt, .cbz", order = 2 />
    extension=".pdf";
    </ 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 />
    key="custom1";
    </ label="Missing Image", help="Path to 'missing' image - can include [Name], [Emulator], [Year], [Manufacturer], [System], [DisplayName]", order = 5 />
    missing="png/Manual_not_found.png";
}

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
{
    VERSION=1.1;
    game_name=null;

    constructor()
    {
        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),
            "DisplayName": fe.list.name
        }
        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;
    }
}

PDFManualReader();

Tomorrow I´ll test on the pi :)


12
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:

https://github.com/recalbox/libretro-imageviewer-legacy

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.

http://forum.attractmode.org/index.php?topic=1925.0

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

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

14
Scripting / Re: [Plugin WIP] SumatraPDF reader (only for windows)
« on: October 28, 2017, 12:45:38 PM »
oh,nice job!

Steps to use:

1. Extract plugin to AttractMode directory
2. Extract SumatraPDF.exe to plugins/SumatraPDF directory
3. Setup your custom1 key to the key you want to launch the PDF
4. Put your pdfs in the plugins/SumatraPDF/list_title/Game Name.pdf

I can improve the plugin, what would you like to do with it? I'd say for starters, a choice of which button [custom1, custom2, etc..] because some have custom1 already set for something else.

Is the reason for slash option based on OS? I think you can use / for cross-platform, I'd have to double check.

Maybe the "image-found" thing.
Just to be sure you have the pdf manual.
I put the slash on the config because I was having tons of problems setting a "literal" slash on the code :)
I´ve just discover I could make something like this:

Code: [Select]
local slash = @"/"
I´m trying to "port" this idea to the rpi but can´t send paths with blanck spaces  :(
I´ll post the code , maybe you can help me with this too.

15
Themes / Re: AMGPS (Attract Mode Grid Pro System) v1.92
« on: October 19, 2017, 04:26:47 AM »
Update to version 1.91

- minor update animation for selection item effect

Looks awesome , thanks for your work.
Can you help me to create a simple grid theme but "with vertical" flow only.
I mean I want a simple grid to navigate up and down.


Pages: [1] 2 3 ... 10