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 - JJTheKing

Pages: [1] 2 3
1
Scripting / Re: Adding informationtext to excisting Theme
« on: June 28, 2025, 07:36:31 PM »
# Info Played Count

   local playx = fe.add_text ("[!PlayedCount]", 1185, 1020, 300, 25);
      playx.set_rgb (255,255,255);
      playx.charsize = 15;
      playx.align = Align.Left;
      playx.alpha = 120;
      playx.zorder = 6;
      
   function PlayedCount (ioffset) {
   
      local played = fe.game_info (Info.PlayedCount,ioffset);
         if (played != "0") {
            return "Played:  "+ played + " x";
      }
      else {
         return "Never Played !";
      }
   }

2
Scripting / Re: Adding informationtext to excisting Theme
« on: June 28, 2025, 07:34:45 PM »
here are some that i use for the meta

# Meta

local year_text = fe.add_text("* Year: [Year]", 05, 150 300, 25);
year_text.align = Align.Left;

local manufacturer_text = fe.add_text("* Manufacturer: [Manufacturer]", 05, 200 500, 25);
manufacturer_text.align = Align.Left;

local category_text = fe.add_text("* Genre: [Category]", 05, 250, 500, 25);
category_text.align = Align.Left;

local players_text = fe.add_text("* Players: [Players]", 05, 300, 500, 25);
players_text.align = Align.Left;

local buttons_text = fe.add_text(" Buttons: [Buttons]", 100, 300, 500, 25);
buttons_text.align = Align.Left;

local emulators_text = fe.add_text("* Emulator: [Series]", 05, 350, 500, 25);  // i used this to show what emulator is used
emulators_text.align = Align.Left;

local surface1 = fe.add_image( "rating/[Rating]", 20, 400, 80, 120 );  //this is for the png of the rating

3
Themes / V-Cab Theme
« on: June 24, 2025, 06:04:23 PM »
romlist need to look like this.

10yard;10yard;Arcade;;1983;Irem;Sports;2;;360;;;;;;;2;Retroarch;;;Everyone

after the 9th ; will be the controller pic added

make sure to install the ARCADE.TTF font

attract.cfg should look like this.

input_map
   configure            Tab
   filters_menu         LControl+Left
   next_filter          LControl+Right
   configure            Escape+Up
   edit_game            Escape+Down
   add_favourite        Escape+LControl
   filters_menu         Joy0 Left+Joy0 Button0
   next_filter          Joy0 Right+Joy0 Button0
   configure            Joy0 Up+Joy0 Button1
   edit_game            Joy0 Down+Joy0 Button1
   add_favourite        Joy0 Button0+Joy0 Button1
   back                 Escape
   back                 Joy0 Button1
   select               Return
   select               LControl
   select               Joy0 Button0
   toggle_layout        Joy0 Button3
   toggle_layout        T
   down                 Down
   down                 Joy0 Down
   down                 Joy0 PovYneg
   up                   Up
   up                   Joy0 Up
   up                   Joy0 PovYpos
   left                 Left
   left                 Joy0 Left
   left                 Joy0 PovXneg
   right                Right
   right                Joy0 Right
   right                Joy0 PovXpos
   custom1              Joy0 Vneg
   custom2              Joy0 Vpos
   custom3              Joy0 Button8
   custom4              Joy0 Button5
   prev_letter          Joy0 Zpos
   next_letter          Joy0 Zneg
   default             back   exit
   default             up   prev_game
   default             down   next_game
   default             left   prev_display
   default             right   next_display

Grab The Theme Here --> https://www.mediafire.com/file_premium/h91wc8p0zndljoe/V-Cab.7z/file

4
Scripting / AHK Layout Generator + Emulator.cfg
« on: June 24, 2025, 05:59:50 PM »
Attract-Mode Layout & Emulator Config Generator

A powerful AHK tool for creating Attract-Mode frontend layouts and emulator configurations


✨ Features
Layout Generator

    Tabbed Interface for easy navigation

    Resolution Settings: Predefined display options

    Wheel Customization: Round/Vertical styles with animation timing

    Visual Effects: Logo pulse with color options (Rainbow, Red, Blue, etc.)

    Module Selection: Enable/disable Attract-Mode modules with tooltips

    Artwork Integration: Import boxart, snaps, wheels, and metadata

    Multi-File Support: Combine multiple layout components

Emulator Config Generator

    Supports MAME, RetroArch, and Custom Emulators

    System-Specific Defaults: Auto-suggests ROM extensions (e.g., .chd for PS1)

    Artwork Folders: Checkbox toggles for boxart, snaps, etc.

    Smart Path Handling: $PROGDIR variables for portable setups

Quality of Life

    Tooltip Guides: Hover explanations for modules

    Version v1.5

🛠️ How to Use

    Run the Script:

        Double-click Layout Generator-1.5.exe

    Generate a Layout:

        Navigate through tabs to configure resolution, wheel style, and artwork.

        Click Generate Code → Save As... to export layout.nut.

    Create Emulator Configs:

        Go to the Emulator Cfg tab.

        Select emulator + system, set paths/extensions, and click Save Config.


📜 Credits

    Author: JJTheKing

    Contributors: PACK'S-R-US, (Tankman. Code Help), (Deepseek. AHK Code)

Grab The File Here --> https://www.mediafire.com/file_premium/nwua0bj1c4v9why/AM%252B_Tool_1.5.7z/file

5
Scripting / Re: Attract-Mode Layout & Emulator Config Generator
« on: June 14, 2025, 11:03:07 AM »
Updated This To All in One Data Folder Included For Meta/Snap/Wheel Txt Codes For Adding To Your Layout

6
Scripting / Attract-Mode Layout & Emulator Config Generator
« on: April 12, 2025, 12:10:02 PM »
Attract-Mode Layout & Emulator Config Generator

A powerful AHK tool for creating Attract-Mode frontend layouts and emulator configurations


Layout Generator

    Tabbed Interface for easy navigation

    Resolution Settings: Predefined display options

    Wheel Customization: Round/Vertical styles with animation timing

    Visual Effects: Logo pulse with color options (Rainbow, Red, Blue, etc.)

    Module Selection: Enable/disable Attract-Mode modules with tooltips

    Artwork Integration: Import boxart, snaps, wheels, and metadata

    Multi-File Support: Combine multiple layout components

Emulator Config Generator

    Supports MAME, RetroArch, and Custom Emulators

    System-Specific Defaults: Auto-suggests ROM extensions (e.g., .chd for PS1)

    Artwork Folders: Checkbox toggles for boxart, snaps, etc.

    Smart Path Handling: $PROGDIR variables for portable setups

Quality of Life

    Tooltip Guides: Hover explanations for modules

    Version v1.4

:tools: How to Use

    Run the Script:

        Double-click Layout Generator-1.4.exe

    Generate a Layout:

        Navigate through tabs to configure resolution, wheel style, and artwork.

        Click Generate Code → Save As... to export layout.nut.

    Create Emulator Configs:

        Go to the Emulator Cfg tab.

        Select emulator + system, set paths/extensions, and click Save Config.

This Was Made With AutoHotKey And DeepSeek

Grab it Here https://www.mediafire.com/file_premium/56o3diuwcltd9ct/AM%2B_Tool_1.4.7z/file

7
Themes / Re: Python Theme Maker
« on: February 02, 2025, 07:35:54 PM »
your welcome

8
Themes / Python Theme Maker
« on: February 01, 2025, 06:21:30 PM »
Just Wanted To Re Introduce My Theme Maker Using Python

The Gui Lets You Pick The Settings You Want (Has Hover Over Text)
Check Boxes, Dropdowns, Tons Of Dif Wheels To Choose From

Also Has Emulator.cfg Maker Using arguments For Mame Or Retroarch

Romlist (Collums) Editor

Sample Viewer

https://www.mediafire.com/file_premium/makbm2iem0zi14f/BLM2.1c-PRU.7z/file

9
Scripting / Re: Show Letter when jumping to next...
« on: November 02, 2024, 12:33:38 PM »
# Search Skip by letters LT + RT Buttons

{
local rtime = 0
local glob_time = 0
local glob_delay = 1250
local trigger_letter = false
local letter_x = 0.5
local letters = fe.add_image("", 1820, 10, 100, 50)

fe.add_transition_callback( "letter_transition" )
function letter_transition( ttype, var, ttime )
{
if( ttype == Transition.ToNewList)
    rtime = glob_time
}
fe.add_ticks_callback( "letter_tick" )
function letter_tick( ttime )
{
glob_time = ttime

if( glob_time - rtime > glob_delay )
    letters.visible = false // hide letter search if present

if( trigger_letter == true )
{
    local firstl = fe.game_info(Info.Title)
    letters.file_name = FeConfigDirectory + "layouts/Dark/meta/letters/regular/" + firstl.slice(0,1).tolower() + ".png" //change to your layout name
    letters.visible = true
    letters.zorder = 10
}
    trigger_letter = false
}

fe.add_signal_handler( "letter_signal" )
function letter_signal( str )
{
switch( str )
{
    case "next_letter":
    case "prev_letter":
    rtime = glob_time
    trigger_letter = true
    break
}
return false
}
}

10
Themes / AM-Main Theme
« on: August 04, 2024, 11:30:20 AM »
New Basic AM Theme I Made For Attract Mode +

Scrolling Stories Lots of Meta Will Need Editing if You Dont Have Them

Romlist Will Have To Be Edited For Some Meta To Show. Will Look Like This
 
1944;1944: The Loop Master (USA 000620);Arcade;;2000;Capcom;Shooter;2;horizontal;8 way;;;;;;RA;3;;;;Everyone

You Will Also Need The wheel.nut v.1.28 & inertia.nut v.2.42 file in Your Modules Folder

https://www.mediafire.com/file/u16comm05hw7p70/AM-Main.7z/file

11
Scripting / Re: Basic Layout Maker2.1c
« on: July 28, 2024, 01:14:47 PM »
ive never thought about that. i would think you could by adding some code but i would ask them

12
Scripting / Re: Basic Layout Maker2.1c
« on: July 13, 2024, 07:18:49 AM »
Updated As Of 07/13/2024

13
Scripting / Re: Basic Layout Maker2.0
« on: June 04, 2024, 08:41:52 PM »
thanks

14
Scripting / Basic Layout Maker2.1c
« on: May 11, 2024, 10:09:10 PM »
Basic Layout Maker v.2.1c

For Attract Mode +

1.Pick Your Layout Size. 1920x1080 For Now.

2.Pick The Modules You Want To Use. *Tooltip Added To Each*

3.Pick Your Video Size. This Puts It In The Middle Of The Screen.

4.Pick The Wheel You Want To Use. *Must Select The Wheel Module* 36 Wheels Added

5.Check If You Want To Have The Main Logo Pulse When Selected. *Must Select The Wheel Module*

6.Check if You Want To Add Boxart. Left or Right Side.

7.Check if You Want Meta Added Left Or Right Side Of Boxart.

8.Check if You Want Meta To Go Around The Snap.

9.Check if You Want a Game Counter.

10.Check if You Want To Add System Display.

11.Check if You Want To Add Date & Time.

12.Pick if You Want Stories Left or Right Side.

13.Click on Sample Gallery Button To View Sample Layouts.

14.Save The Layout To Your Layout Folder Of Choice. Make Sure To Name It Layout.nut.

15.Added Other Tools That I Made. Romlist Editor, Retroarch cfg Maker, Mame cfg Maker, And Added Sample Viewer

This Is Just To Get You Started. Still Testing And Adding Other Stuff. ChatGPT Wrote Most Of The Code.

Made With Python And Pyinstaller. Antivirus Software Might Flag This As A False Positive And Delete It or Place It In Quarantine.

Ive Included a small build version 3.0.9 (B496) in the data folder you can place your new layout.nut files in the test folder just name them like layout1 and so on
you can switch between them by pressing T on the keyboard or Y on your controller.

https://www.mediafire.com/file/ql4svt865wbydfr/BLM2.1c-PRU.7z/file

15
Scripting / Re: Mame & Console CFG File Generator
« on: May 04, 2024, 09:00:44 PM »
works on both it just makes the cfg file for the emulator  to boot and show art

Pages: [1] 2 3