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

Pages: [1]
1
Themes / Re: fe.add_artwork() --- feature: random choice of file
« on: December 07, 2020, 03:56:15 PM »
looks like the system is in fact doing this already, but the frequency threw me off because my test was coming up with just the same image instead of rotating them.  so in that regard..... might be good to have control over frequency

2
Themes / fe.add_artwork() --- feature: random choice of file
« on: December 06, 2020, 04:48:47 PM »
I can't the a .nut function fe.add_artwork() so I assume it's compiled in the exe. What I want is for the system to choose a random image from the list of available locations.  So the emulator setting is something like: media/flyer;media/fanart;media/otherart. So up to 3 files should be available to display (more if they are in subfolder sets). Each time the image is choosen to display, attractmode should choose one at random from all available files. Currently, it only chooses from the first folder with a file in it. So in my example if media/flyer contains no files, media/fanart contains 2 inside a folder of the same game  name and media/otherart has one file, attract mode will cycle through the fanart files, but completely ignore the otherart file.

3
General / Re: Roms into subfolders
« on: November 22, 2020, 08:13:11 PM »
e.g. zsnes:
if folder-name and romfilename are identical (C:\attract\EMU\zsnes\roms\mygame1234\mygame1234.smc)
Code: [Select]
executable           C:\attract\EMU\zsnes\zsnesw.exe
args                 -m "[romfilename]\[name].smc"
rompath              C:\attract\EMU\zsnes\roms\
romext               <DIR>

set as rom-extension <DIR>
and set as argument for zsnes -m "[romfilename]\[name].smc"

just adjust config to dreamcast arguments.

this was a good start for me, but does not factor in different rom types (for those that may have multiple). consider emulating with retroarch and using m3u files
args                 -m "[romfilename]\[name].m3u"
In this system, you can use many types of files like zip, iso, smc all under the same wheel/emulator. Look up https://forums.libretro.com/t/multi-disc-for-sony-playstation-and-sega-saturn-using-m3u-files/14161
One other thing that works for multiple rom types (in folders) under one wheel is to set up multiple emulators and then use "generate rom list" to combine them into one for a display. Both ways take some setting up.

also, a tip i'll note here is that [romfilename] and [rompath] add an extra / to the end which can mess up any  build. most of the time the /\ effective command line cancels itself out, but some emu's apparently don't like that. I I used a relative path like: args                 -m "..\roms\snes\[name]\[name].m3u"

4
Scripting / using multiple emulators and other applications with one wheel
« on: November 17, 2020, 09:20:38 PM »
So I'm looking over the .nuts to find where the code is for executable, arguments and paths. What I want to do I simply add the possibility to run different apps using the same wheel names on the same wheel. So I can have multiple versions in test, multiple emulators and the great one: manuals open easily.  (yes, I know there is a manuals addon)  I'm imaging opening full videos, web searches and more all on the same wheel with many configured buttons.This should be just a few lines of code and would include a line for setting a button assigned to each. I would make up to 5 per wheel.
Thing is, I haven't found it yet and assume it's embedded in the compiled exe. Is it? Also, want to help?

5
General / Re: Daily Windows Build available.
« on: November 17, 2020, 08:58:13 PM »
your link is dead

6
Themes / Re: Capcom Diamondplate Horizontal Layout
« on: November 17, 2020, 03:04:07 AM »
dead link

7
Scripting / Re: [Plugin WIP] SumatraPDF reader (only for windows)
« on: November 15, 2020, 06:58:11 PM »
I would like to control this with the joysticks, but sumatra only detects keyboards....am I missing something?

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.

Pages: [1]