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

Pages: [1] 2
1
General / Re: Attract Mode Rom List
« on: February 20, 2019, 12:27:38 AM »
Excellent. Like I said no buttons, for the system to pull from. (ARpiCADE). But thank you for saying exactly what is what. I am going to put buttons into Extra. LOL

In later versions of AM, following romlist template is being used/ usable:

Code: [Select]
Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
[Buttons] is now usable and works like a anyother [Magic Token], I have tested/ used it myself. You can enter a value and directly call [Buttons] in a layout. I am using [Buttons] for control icons in a layout via following code:

Code: [Select]
local controlicon = fe.add_image ("D:/Attract-Mode v2.5.1 (x64)/resources/controllers/[Buttons].png", 1550, 292, 70, 70);

with [Buttons] being populated with relevant data.

Ah the piece I was missing... Ours didnt have Buttons defined in list. I have adjusted and its perfect now.

2
Themes / Re: SDArcade 4.0
« on: February 18, 2019, 08:30:46 PM »
Awesome work!!!

Thanks for the help guntherm....

Hahaha.. I was just your mule! lol

3
General / Re: Attract Mode Rom List
« on: February 18, 2019, 08:25:44 PM »
Name - name of the rom Ex. pacman.zip
Title - The name you want to show in the list Ex. Pac-Man
Emulator - The emulator that this games it used  with
CloneOf - Used to show a clone of a game (mame) [pacman is a clone of puckman. puckman is the parent rom]
Year - The year the game was made
Manufacturer - The manufacturer name
Category - The category of the game (genre) [shooter fighting role playing ect.]
Players - the number of players
Rotation - Is it a vertical or a horizontal screen (mame)
Control - Joystick spinner trackball ect.
Status - The working status of the game [Good, working but not perfect not working] (mame)
DisplayCount - How many screens it uses (mame)
DisplayType - Is it a vector or a Raster monitor (mame)
AltRomname - if there is one (pacman.zip..instead of puckman.zip)
AltTitle - if there is one (Pac-Man..instead of Puckman.zip)
Extra - any extra info

All this info is added normally by the mame.xml, players.ini, controls.ini and catver.ini files that is made for MAME
You can add that info to other systems as well as you like. Just open the game list into a plain text editor I have made lists by hand many times. I have tired to make a players.ini and a catver.ini for other systems as well..with mixed results.

Excellent. Like I said no buttons, for the system to pull from. (ARpiCADE). But thank you for saying exactly what is what. I am going to put buttons into Extra. LOL

4
Scripting / Re: Settings
« on: February 18, 2019, 04:06:50 AM »
I don't think this is possible at the moment, what if you just let all the settings available and disregard the non needed ones at layout level?

Sometimes wording is everything. I meant the Setting in a theme layout.  Would be a great feature.



5
General / Re: Attract Mode Rom List
« on: February 18, 2019, 04:05:09 AM »
Control: Is the 4 way joystick kind of thing? or Number of Buttons?

Control is, as you guessed, related to the controller itself, so joystick, paddle etc. There's an undocumented "Buttons" which relates to the number of buttons.

We can call Buttons as a magic tokin? Where is it getting that info from?
Pulled from mame xml.

https://github.com/mickelson/attract/blob/77bfe4aac6a109661cfce2c2715d886e596b282e/src/scraper_xml.cpp#L452

Thank you. The ARpiCADE doesn't have that piece.  I have it in my XML and my lst files.

I wonder if I put the Buttons info into the extra in my text fiel if it would work?

6
Scripting / Settings
« on: February 18, 2019, 12:53:45 AM »
is there anyway that we can have options in Settings not available?

For example:

option 1: yes/no

option 2: if option 1 equals yes, then enable to change this option or show this option, if option 1 = no, then disable setting this option


7
General / Re: Attract Mode Rom List
« on: February 18, 2019, 12:49:25 AM »
Control: Is the 4 way joystick kind of thing? or Number of Buttons?

Control is, as you guessed, related to the controller itself, so joystick, paddle etc. There's an undocumented "Buttons" which relates to the number of buttons.

We can call Buttons as a magic tokin? Where is it getting that info from?

8
Themes / Re: SDArcade 4.0
« on: February 17, 2019, 11:44:03 PM »
no biggy....im glad you have taken it  to such heights...moor than i would of done..

i still have a super clean minimalist VS that is custom just for my owne cab,,,though  haha...

right now messing with ,, new shuffle and blurs...animation....



to be continued ....

mabey...   we could colaberate.....some time

Nice clean look!!

9
Themes / Re: SDArcade 4.0
« on: February 17, 2019, 11:35:57 PM »


SDArcade 4.0 has been released!

There are a boat-load of new features including favorites, progress bar, new header animations,  skins,  star animation speed adjustments, and more...

You can read more about it and download it at my blog site at www.idahogaragecade.com or directly to the page HERE.

Awesome work!!!

10
General / Attract Mode Rom List
« on: February 14, 2019, 01:35:42 AM »
Attract mode Rom List gives us all kinds of info, but looking for a better understanding of each part please.

 #Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra

Thats what i am gathering. I understand of course
Name, Title, emulator, Cloneof, Manufacturer, Category(Genre), Players (number of), Rotation (vertical/Horizontal) however the rest I need a better understanding.

Control: Is the 4 way joystick kind of thing? or Number of Buttons?
Status: what is this?
Display count: What is this a count of? Where does it come from?
Display Type: No idea
AltRomName/AltTitle: I understand what it says, but where is this coming from?
Extra: Where is this?

Is there a great place to create a complete xml file to have all this???

11
Scripting / Re: Stupid Programming Question
« on: February 12, 2019, 12:35:12 AM »
This problem has been solved by guntherm ... my latest partner in crime on this particular layout... I look forward to releasing it very soon.

hahahaha.. partner in crime. you got that right!

12
Themes / Re: SDArcade V3.00
« on: February 01, 2019, 12:01:22 AM »
If you guys like this theme,  I encourage you to check out SDAMax as well...  very similar ... just bigger.

;)

Couldn't agree more. great themes/layouts he has

13
Scripting / Re: Layout To Load Other Layouts
« on: January 30, 2019, 11:31:35 PM »
DisplaysMenu is inbuilt into AM

1) Go to AM > Settings > Startup Mode > select 'Displays Menu'

2) Then go to AM > Settings > Displays > 'Displays Menu' Options > Menu Style (select layout) select some other layout/ theme then your main.

Now you can change the look/ feel/ code of layout theme for Displays Menu - your systems will be listed here and will operate in the manner you listed above in opening post. displaysmenu will list all systems in attract.cfg, there is some other fine tuning but that can wait.

PS: I got a working displaysmenu in here (only the last part, sega saturn is a different layout): https://www.youtube.com/watch?v=cEAhZQLsCho 

PS: I think like me you mix-up between displaysmenu and displaymenu too :D

I have tried this on the ARpiCADE on my PI3B, and it never changes the DisplayMenu.. I change to all other kinds of themes(layouts) and it never changes.

14
Themes / Re: Refried Theme
« on: January 26, 2019, 03:25:23 AM »
Confused with the first post(am fairly new to all this, so be gentle)

The Refried - Display menu replaces the display menu to set up, select your theme?? or am I misunderstanding this.


15
Scripting / Re: If this else that
« on: January 26, 2019, 03:02:18 AM »
This is what I ended up with. Thank you both so very much. Unless you see something wrong with my else if. it does appear to work.

Code: [Select]
function PlayerIcon() {
if (fe.game_info( Info.Players ) >= "1") return "images/players.png";
else if (fe.game_info( Info.Players ) <= "" || " ") return "images/none.png";
 }
local PlayerIcon= fe.add_image("[!PlayerIcon]", pb_x, pb_y, pb_w, pb_h);
local p = fe.add_text( "[Players]", pb_text_x, pb_text_y, pb_text_w, pb_text_h);

That’s not going to work as intended.

Path to players.png will be used for any integer equal to or greater than 1. For example: 1, 2, 8, 12, 29 all have the same image!

You do not need an else if statement at the end. It’s not necessary, and will provide no image path if your condition of an empty string or a single space. Good practice is to either return the path regardless or do so but return an error if it’s not an empty string or space. Just in case something odd is passed, you have a way to alert and continue with an error.

Use the code I provided and expand on error catching if you want.

Sir,
yep i used the exact same Blank players Image, and the last line of my code puts the text number layered ontop of the players.png...

Attempting to try to understand what else you wrote. Don't need the none.png? because if not greater than "1" then it just won't display anything? is that what you said in a much better way? lol

Pages: [1] 2