Recent Posts

Pages: [1] 2 3 ... 10
1
Themes / Re: [download v1.0] FLAT BLUE theme released
« Last post by verion on Yesterday at 11:55:00 PM »
it's never too late to study or have children.
true!

I also built some extra cabs over the years. Maybe I should make a thread on them.
Even better - put a link to your website in your sig.
2
General / A bootable Linux ISO/USB that auto-loads from a 2nd USB
« Last post by Luke_Nukem on Yesterday at 07:38:56 PM »
Hi all.

This is something I had been working on for a long while, and only just got around to completing - a USB bootable Linux install that boots directly to Attract Mode, and loads/saves configs, roms, art etc from a second USB drive.

The short of it is:
- write iso to USB drive,
- format another USB drive with a partition named 'arcade_usb'
- copy your complete setup to the above drive partition (see example)
    - Attract Mode setup is expected to be in the attractmode directory
- insert both sticks and boot

NOTE: You can yank the arcade_usb stick out (which stops Attract Mode), tinker with stuff on it on another computer, then stick it back in (Attract Mode will start again with new settings etc).

NOTE: Linux Is CaSe SeNsiTiVe!!!

---
Hardware:

CPU must be 64bit!

It *should* work with almost anything provided it supports decent OpenGL levels required by the SFML lib AM uses. I provide two ISO's; one with previous gen of Nvidia support, and one for current gen - both ISO's should support Intel and AMD/ATi without issue.

The hardware I run this on at the moment with great success is:
- AMD Athlon 64,
- 512Mb of RAM,
- Nvidia 8600GT
and shaders work very well in AM and in Mame using bgfx. I do get some slow-down on this hardware with more complex themes or ones that try to display a whole lot of video snaps at once.

---
Installing:

If you are experienced with Linux, you can install this ISO to the local HDD of the machine you want it on, there are two scripts to help get you through; installer, and install-arcade. install-arcade (WIP!) will nuke the HDD and install the ISO unguided, whereas installer will do it with your help.

NOTE: The ISO's don't include EFI boot as of yet, so booting and installing will be old-fashioned BIOS style for now.

NOTE: Feedback is welcomed. For issues though, please create them on Gitlab, or if you don't have an account on there PM me and I'll add the issue.

---
Links:

Gitlab project

Pre-built ISO's

Main README.md

arcade_usb setup example

Theme in photo and in examples is the excellent flat_blue
3
Scripting / Re: Error (index "0") while using Leap Plugin
« Last post by keilmillerjr on Yesterday at 05:56:36 PM »
I hope platforms worked, due to differences between platform plugin and in-built functionality I might have missed something.

Thank you for your detailed how to on platforms menu. I followed most of it, and have zero issues with the Leap plugin. Unfortunately, this means I can not provide you with a clear solution.

Here’s what I did:

Code: (attract.cfg) [Select]
display Menu
layout               mvscomplete
romlist              menu
in_cycle             yes
in_menu              yes
filter               All
sort_by              Title
Arcade, Neo-Geo MVS, Vs Unisystem displays have in_menu set to no.

Code: (menu.txt) [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
Arcade;Arcade;@;;;;;;;;;;;;;;
Neo-Geo MVS;Neo-Geo MVS;@;;;;;;;;;;;;;;
VS UniSystem;VS UniSystem;@;;;;;;;;;;;;;;


The leap plugin is obviously enabled. Here is my terminal output upon testing.

Code: [Select]
Keils-iMac:MacOS keiljr$ /Applications/Attract.app/Contents/MacOS/launch.sh
Attract-Mode v2.4.0-9 (OSX, SFML 2.4 +SWF)
avcodec 58.18.100 / avformat 58.12.100 / swscale 5.1.100 / swresample 3.1.100

Config: /Users/keiljr/.attract/attract.cfg

*** Initializing display: 'Menu'
 - Loaded master romlist 'menu' in 0 ms (3 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (3 comparisons)
 - Loaded layout: /Users/keiljr/.attract/layouts/mvscomplete/ (layout.nut)
 - Loaded layout: /Users/keiljr/.attract/layouts/mvscomplete/ (layout.nut)

*** Initializing display: 'Arcade'
 - Loaded master romlist 'mame' in 12 ms (583 entries kept, 114 discarded)
 - Constructed 10 filters in 1 ms (5830 comparisons)
 - Loaded layout: /Users/keiljr/.attract/layouts/Arcadeflow_23/ (layout.nut)

*** Initializing display: 'Menu'
 - Loaded master romlist 'menu' in 0 ms (3 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (3 comparisons)
 - Loaded layout: /Users/keiljr/.attract/layouts/mvscomplete/ (layout.nut)

*** Initializing display: 'Neo-Geo MVS'
 - Loaded master romlist 'mame' in 7 ms (147 entries kept, 550 discarded)
 - Constructed 10 filters in 0 ms (1470 comparisons)

*** Initializing display: 'Menu'
 - Loaded master romlist 'menu' in 0 ms (3 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (3 comparisons)

*** Initializing display: 'VS UniSystem'
 - Loaded master romlist 'mame' in 5 ms (27 entries kept, 670 discarded)
 - Constructed 10 filters in 0 ms (270 comparisons)
 - Loaded layout: /Users/keiljr/.attract/layouts/playchoicecomplete/ (layout.nut)

*** Initializing display: 'Menu'
 - Loaded master romlist 'menu' in 0 ms (3 entries kept, 0 discarded)
 - Constructed 1 filters in 0 ms (3 comparisons)
 - Loaded layout: /Users/keiljr/.attract/layouts/mvscomplete/ (layout.nut)
sh: exit_command: command not found
Keils-iMac:MacOS keiljr$


Logic in the leap plugin is very simple. There are two things that it considers, and BOTH must be satisfied:
  • Filter name is NOT the exception specified
  • List size is zero

Based on the setup I created, in reference to the Menu display:
  • The only filter provided is „All"
  • The list size is 3

I don’t fully understand the script error. Variables, particularly in reference to the only things with an index, are fe.filters[fe.list.filter_index].name and fe.list.size. Both should be a satisfied variable. Could you post your complete attract.cfg and associated menu romlists files for me?
4
Themes / Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
« Last post by keilmillerjr on Yesterday at 05:11:45 PM »
artwork is indeed labeled “snap”.

I checked with a virtual machine and even with 256 Mb of VRAM I could see textures , so that's not the issue. Can you check what kind of files you have in the snaps folder? Resolution, file type etc.

MAME 0.200 EXTRAs/snap
AntoPISA's progetto-SNAPS MAME Snapshots
Pulled from complete set neogeo, vs unisystem, and nofiller2p
Average file size of snap directory 22879.6 bytes using
Code: [Select]
$ find ./ -ls | awk '{sum += $7; n++;} END {print sum/n;}'All images are PNG format
All image dimensions correlate to their games native resolution, mostly 320x224, 320x240, or some other 240p variation.
5
Themes / Re: [download v1.0] FLAT BLUE theme released
« Last post by Luke_Nukem on Yesterday at 01:22:04 PM »
OMG! Luke! Where have you been :D

The cab is looking good tho.

I finished study (Software Engineering), got a job, and just had a child. Ladies and gentlemen, I'm 35 this year, it's never too late to study or have children.

I also built some extra cabs over the years. Maybe I should make a thread on them.
6
Emulators / Autoit: Start program in background shift focus after x seconds
« Last post by rand0m on Yesterday at 11:24:44 AM »
Demul is a special case in emulators where (afaik) pure command-line is not possible because Demul only accepts commands once its GUI is activated, bad for immersion because you don't go to game directly from AM and DEMUL GUI pops up. I'm using following for Gaelco via Demul:

#include <Misc.au3>
#include <_IsPressed360.au3>
$dll = DllOpen("xinput9_1_0.dll")
ShellExecute(@ScriptDir & "\demul.exe", ' -run=gaelco -rom="' & $CmdLine[1] & '"')
WinWaitActive("gpuDX11oldhw", "")
Send("!{ENTER}")
MouseMove(1920, 540, 0)
While 1
    If _IsPressed360("65536", $dll) And _IsPressed360("-32768", $dll) Then
      ProcessClose("demul.exe")
      ExitLoop
    EndIf
WEnd
DllClose($dll)


This script (made into an exe) works Ok. It opens demul, auto maximizes and hides the cursor but doesn't hide DEMUL GUI. Is it possible in this setup through additional commands that autoit opens demul in background and only shifts focus to Demul after 5 seconds when game starts so I don't see the Demul GUI?
7
Scripting / Re: Error (index "0") while using Leap Plugin
« Last post by rand0m on Yesterday at 11:02:16 AM »
I hope platforms worked, due to differences between platform plugin and in-built functionality I might have missed something.
8
Themes / Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
« Last post by zpaolo11x on Yesterday at 01:08:29 AM »
artwork is indeed labeled “snap”.

I checked with a virtual machine and even with 256 Mb of VRAM I could see textures , so that's not the issue. Can you check what kind of files you have in the snaps folder? Resolution, file type etc.
9
Scripting / Screenshots and how to check if a file exists
« Last post by zpaolo11x on Yesterday at 01:06:20 AM »
I want to do this: take a screenshot of AM and then load it as an image file.
I can easily write a routine that scans through the AM folder and selects the last screenshot pathname. My idea was to do something like, in a on_signal routine:

generate the screenshot through signal("screenshot")
run through the folder and get the filename
add the filename to the image

The issue is that, as far as I can see, it takes some time to create the screenshot so the routine finds the previous one. Is there a way to wait until the intended file is created?
10
Themes / Re: Arcadeflow theme v 2.3 [Release] Updated 29 August 2018
« Last post by Luke_Nukem on September 17, 2018, 11:28:24 PM »
Would love a setting to permanently set the rotation. Can't figure out how to get AM to save it.
Pages: [1] 2 3 ... 10