Recent Posts

Pages: [1] 2 3 ... 10
1
Themes / Re: Ambience HD theme [WIP]
« Last post by ryuuji on Yesterday at 02:57:28 PM »
C'mon man we are dying here
3
Themes / Re: Neo Geo Mini Theme
« Last post by jedione on Yesterday at 06:06:25 AM »
I´m working (with Oomeks help ;D) on my own version based on Verion`s.
I have to make a sepparate post.



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


after looking at the international , im thinking yours and Oomek, will be even better...
his ambiance already scrolls better then this...cant wait,thanks
5
Themes / Re: Help with the language.
« Last post by zlagos on Yesterday at 02:55:56 AM »
We can see that each area/file is using a different character. Pájaros vs. Pßjaros vs. Pájaros (which of these is correct?). We know this is the issue but not why.

Pájaros [birds], is correct.

Quote
Here are things you could test:
1. try the "basic" layout in AttractMode (yours looks custom and it could be something in your layout.nut)

Basic layout, from AM, with any modification is the example of images above:

Quote
2. do you have the same issues with game roms or just these songs? (i.e. show us entries of a romlist.txt that was created by AM and not your script and let us know if it works properly)

The romlist is not generated by AM, I generate them myself with this code:
Code: [Select]
set musicfolder=F:\JukeBox
set output=E:\arcade\sistemas\pinballs\jukebox\roms
set screenshots=E:\arcade\sistemas\pinballs\jukebox\wheel
set musiclist=E:\arcade\attract\romlists

:: temporarily change console codepage to UTF-8 (with this it reads the title well and does not read the wheel)
REM >NUL chcp 65001

:: temporarily change console codepage to ANSI (with this it reads the wheel well and misreads the title)
REM >NUL chcp 1252

:: borrar listas antiguas
del "%output%\*.*" /Q
del "%screenshots%\*.*" /Q
del "%musiclist%\Jukebox.txt" /Q

>NUL chcp 65001
:: crear listas de musicas
for /f "tokens=*" %%a in ('dir "%musicfolder%" /ad /b ') do dir /s /b "%musicfolder%\%%a\*.ogg" "%musicfolder%\%%a\*.m4a" "%musicfolder%\%%a\*.wma" "%musicfolder%\%%a\*.mp3"  >> %output%\%%a.m3u

>NUL chcp 65001
:: copiar imagenes a la carpeta screenshots
for /f "tokens=*" %%a in ('dir "%musicfolder%" /ad /b ') do xcopy "%musicfolder%\%%a\*.jpg" "%screenshots%\%%a.jpg*" /Y

>NUL chcp 1252
:: crear Jukebox.txt
for %%i in ("%output%\*.m3u") do @echo %%~ni;%%~ni;Jukebox;;;;;;;;;;;;;; >> "%musiclist%\Jukebox.txt"


With this above code, it only reads badly the song data with

Code: [Select]
fe.game_info (Info.Title)

Everything else, read wheels, m3u, from the disk, does it right. If I change it, it fails more. And if AM generates it, even worse.

Quote
3. from the console/command line do a "dir" on your rom folder and your artwork folder. also do an "echo" on the romlist. do these show the same correct characters here on the windows command line (outside of AM)
4. i know when I setup a Linux based OS I tell it to use EN_US_UTF-8. If I use EN_UK_UTF-8 most of my keys work properly but some don't work such as "$" since they are specific to the region. I don't remember ever needing to specify anything that specific in windows but I'm from the US and speak english which are both defaults for windows. you might check this out (I don't know if it's accurate) https://stackoverflow.com/questions/1677655/charset-for-spanish-windows.

I already did both, and that's why I use "chcp"

Quote
P.S. I see you have mentioned compiling AM in this thread http://forum.attractmode.org/index.php?topic=2278.0. Are you using an official AM download or one you or somebody else compiled? Have you tested your issue with older versions of AM?

My attract.exe is modified, but my attract_console.exe is the last version official. I use both indistinctly, and the result is always the same.
6
Scripting / Re: Search string for mutiple fields
« Last post by zpaolo11x on June 19, 2018, 11:30:05 PM »
Are you talking about filters/tags or one of the search plugin/module features?

I'm not talking about filters, filters are great but they are created "outside" of the AM layout you are using and I wanted something to be used without getting to the AM menus. Basically I'm talking about search features in the AM layout that are poorly documented in the main guide. Search plugins and modules all use fe.list.search_string but the documentation is very limited.

Quote
P.S. See if this might help http://forum.attractmode.org/index.php?topic=2297.0 I used to have a full write up here http://forum.attractmode.org/index.php?topic=1165.0 but it seems to be gone.

I gave a look at that but I don't think it's exactly what I need... consider the scenario of the "search plugin" for example: you can use it to search for Title, but not to search for Manufacturer for example. In my layout I created a menu to choose where you want to search, so let's say you push the "Search" button, a menu asks you if you want to look for title, or manufacturer etc and then you enter the string and get the result. It would be much smoother if you could just enter the string and let the search run on many fields but I can't get how to code it. Of course you'll have some "inconsistent" results for example you might get hits for both title and genre mixed together, but it's what usually happens in media front-ends when you look for something and it lists both movies that have that word in the title, or in the description, or in the cast etc.
7
Scripting / Re: fe.game info and number of buttons?
« Last post by zpaolo11x on June 19, 2018, 11:21:42 PM »
I can compile for Mac with the fix, and some one compiled windows for me. I forgot who, sorry. It was a conversation with help on discus channel. If anyone needs it let me know.

I use AM on a Mac so if you can share the compiled Mac version it would be great. Maybe if someone has the windows build he can share it too...
8
Scripting / Re: Search string for mutiple fields
« Last post by progets on June 19, 2018, 10:33:58 PM »
Are you talking about filters/tags or one of the search plugin/module features?

The type of things you describe are usually done by most people with filters and/or tags. Once these filters or tags are in place you can further refine their results with a search plugin/module with the game name.

To directly answer your question, yes it's possible in a plugin/module. It would increase search times and might deliver results that wouldn't make sense to a lot of people. I'm not saying this concept is bad but I think others have managed this in another way.

P.S. See if this might help http://forum.attractmode.org/index.php?topic=2297.0 I used to have a full write up here http://forum.attractmode.org/index.php?topic=1165.0 but it seems to be gone.
9
@moderators - What happened to this original post?

P.P.S. If anyone has the original post, please re-post it.

Update - I replaced the OP with the help of hermine.potter. When I went to edit the post, it was there but had messed up characters (maybe for the migration?)
10
Themes / Re: Help with the language.
« Last post by progets on June 19, 2018, 09:16:44 PM »
We can see that each area/file is using a different character. Pájaros vs. Pßjaros vs. Pájaros (which of these is correct?). We know this is the issue but not why.

Here are things you could test:
1. try the "basic" layout in AttractMode (yours looks custom and it could be something in your layout.nut)
2. do you have the same issues with game roms or just these songs? (i.e. show us entries of a romlist.txt that was created by AM and not your script and let us know if it works properly)
3. from the console/command line do a "dir" on your rom folder and your artwork folder. also do an "echo" on the romlist. do these show the same correct characters here on the windows command line (outside of AM)
4. i know when I setup a Linux based OS I tell it to use EN_US_UTF-8. If I use EN_UK_UTF-8 most of my keys work properly but some don't work such as "$" since they are specific to the region. I don't remember ever needing to specify anything that specific in windows but I'm from the US and speak english which are both defaults for windows. you might check this out (I don't know if it's accurate) https://stackoverflow.com/questions/1677655/charset-for-spanish-windows.

P.S. I see you have mentioned compiling AM in this thread http://forum.attractmode.org/index.php?topic=2278.0. Are you using an official AM download or one you or somebody else compiled? Have you tested your issue with older versions of AM?
Pages: [1] 2 3 ... 10