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.


Topics - kent79

Pages: [1] 2 3 ... 7
1
I would like to share my experience. It is a tricky way to display number of game or system history by text

Below is the code & you may find the example in my Theme. Thanks.
http://forum.attractmode.org/index.php?topic=3917.0

Code: [Select]
local emu_text = fe.add_text( "", 100, 100, 200, 200 );

fe.add_ticks_callback( this, "update_info" );

function update_info( ttime )
{
switch ( fe.game_info( Info.Title ))   {
            case "MAME":
               emu_text.msg = "this is a test 1";
               break;
            case "PLAYSTATION":
               emu_text.msg = "this is a test 2";
               break;
         }
}

2
Themes / JunkBox Theme alpha demo
« on: April 15, 2021, 02:26:07 AM »
This is alpha version demo.
https://www.youtube.com/watch?v=PgD9pJijpmY

Controls:

Up/ Downl - Select Music

Left/Right - Jump to Letter

There is 3 play modes and you can change the mode any time with single button:
1. Repeat Mode - as AM default playing video mode, looping to play single Music Video
2. Shuffle Mode - Random to play Music Video
3. Repeat Track Mode - Sequence to  play Music Video

3
Scripting / About of jukebox pointer coding request
« on: April 12, 2021, 05:14:13 AM »
Hello,

I have some idea of theme, in normal, when pressing up / down, the pointer will be moved to presoius / next music. Then snap video will change accroding pointer.

My idea is,

1. the video is playing randomly
2. When I pressing up / down to select music, the video don't follow the changing in this moment
3. When I confirm the selection, press select button to confirm, the video will change now

Please teach me if you know the coding. Thanks.

4
Scripting / Is it possible loading different language of romlist file?
« on: March 26, 2021, 01:57:11 AM »
It means, we can select the language of game name in theme options.

For example, we prepare 2 language files called mame_en.txt & mame_jp.txt in romlists folder. When I select English in oprion that will be loading mame_en.txt. Next, select Japanese, it will be loading mame_jp.txt. Thanks.

5
Themes / Top Arcade Stadium (HD) (WIP)
« on: March 10, 2021, 11:58:38 PM »
Next ideal theme is coming. The Cabinet arwork is great. It is from Capcom Arcade Stadium.

WIP Demo 1 video
https://youtu.be/QIQvbwm2rWk

Great Features:
- the best of Realistic Arcade cabient
- support a single arcade system & HD screen
- support displaying moves strip artwork
- support favourite & filters function
- bezel's artwork will be auto switching to vertical or horizontal accroding selected game
- auto random game to be demo mode while certain idle time

6
Themes / AM High Score HD (Hi-Res) Theme 2.4 (Finial Build)
« on: March 01, 2021, 04:08:25 AM »
The multi system theme is light, powerful & easy management. You can download & extract it for installation. Since there is many retro systems and I don't have much time to make the resources for each one such as snap, music ... So you may need to make it by yourself. But don't worry, I have provided psd file for you.   

Please let me know if you have any issue. Hope everyone enjoy it! Thank you

Demo Video (Demo 2)
https://youtu.be/e9QIvYvwMOM

Download Link:
[Part I - main file] (79MB)
https://www.dropbox.com/s/tn6vkx3v7gnrrbw/AMHS2_part1.zip?dl=0

[Part II - menu-art file] (438MB)
https://www.dropbox.com/s/qtda929diluudjj/AMHS2_part2.zip?dl=0

Current bulit in support 35 systems resources:
mame, flycast, ttx
dos, windows
atari 2600, nes, fc, fds, sms, pce, turboGrafx-16, genesis, md, neogeo AES, snes, sfc, 3do, n64, saturn (jp), saturn (us), ngc, dc, ps, ps2, wii, ps3, switch
gb, gbc, gba, ngpc, nds, 3ds, psp

Setup Guide

* The theme package will be overrided orginial AM file. It highly recommend to backup it first. 

1. [Tab] -> Genral -> Startup Mode -> Show Dsiplays Menu

2. Download & extract all files to AM folder

3. Apply all systems to "AMHS2" theme layout & "AMHS2_MENU" for menu layout

4. Bulit in screen saver time out setting will be replaced by theme's layout options.
Please make sure set orginial value to "0" ( [Tab]-> Screen Saver-> Screen Saver timeout-> 0 )
Then, setup a new screen saver time out  ([Tab]-> Displays-> Display Name-> Layout Options-> Screen Saver timeout

5. Change inside files name as below folders accroding to your installed systems
.. \am\menu-art\fanart
.. \am\menu-art\flyer
.. \am\menu-art\snap
.. \am\menu-art\wheel
.. \am\layouts\AMHS2\hdart
.. \am\layouts\AMHS2\bgMusic

6. (Optional) If you would like to show different artwork (right side of theme image) for each game. Make sure add artwork line called "hdart" in cfg file. Put your HD images in the folder. (The image's name same as rom name)

7. (Optional) Put your favourite system music in "bgMusic" folder, the music file name must be excatly same as your system name. You may put each music for each system.

8. Emulator cfg file sample:
Code: [Select]
artwork    flyer            C:\am\mame\flyer
artwork    flyer1           C:\am\mame\flyer1
artwork    hdart           C:\am\mame\hdart
artwork    snap            C:\am\mame\snap
artwork    video            C:\am\mame\video
artwork    videoSnap     C:\am\mame\video;C:\am\mame\snap

9. It provides psd fanart file for adding additional systems.

10. Display number of games in display menu.

a. search  "switch ( fe.game_info( Info.Title ))   { " line in menu's layout.nut

b. edit system name & info accroding to your system.
Code: [Select]
switch ( fe.game_info( Info.Title ))   {
       case "MAME":
                emu_text.msg = "320";     
                break;

11. (Optional) The theme support altTitle of Japanese name, you may follow as below to setup if you need
a. Add alternate name to [AltTitle] column in rom file

b. Edit attract.cfg file, only create "All", "Japanese" filter like as below for each display system. This is very important

Code: [Select]
#
display ANIME MUSIC VIDEO
layout               AMHS2
romlist              AMV
in_cycle             yes
in_menu              yes
filter               All
filter               Japanese
sort_by              AltTitle

c. Or The pack having a "default-display.cfg" file, all & japanese filter will be defalt format on next new display

7
Scripting / Request to Fix looping sound issue
« on: January 16, 2021, 05:45:37 PM »
Music.loop=TRUE

For a long time ago, I don't know why this simple function is still no working. The sound can only play once. On 2nd time, it will be hang up. I really wish someone can fix it. Thank you.

8
Scripting / Is it a bug for AM?
« on: December 27, 2020, 09:28:00 PM »
Hi All, I just added animation action for loading page, it running fine. But it got a warning message as below.

warning: transition waiting not recommended (use animation delays instead)
warning: transition waiting not recommended (use animation delays instead)

If I remove wait = true, the animation can't run. I don't know is it a bug for AM. Please let me known who know it. Thank you.

animation.add( PropertyAnimation(loadingY,   {when = Transition.ToGame, property = "x", start = -1920, end = 0, delay = 400, wait = true, time = 1200 }));

The Theme
http://forum.attractmode.org/index.php?topic=3828.0

9
Scripting / Quick jump letter coding request
« on: December 11, 2020, 07:57:02 PM »
Hello,

I have a new idea for theme, but don't know coding. Hope someone can complete it. Thank you  :P

1. When press quick jump button, it will pop up like as below.
2. The selection letters contain A-Z & 0-9
3. Press Up / Down to change the letter
4. When press confirm, then the pointer will jump to selected letter and shown on the box list.
 



10
Themes / AM High Score HD Theme v1.7.3 released
« on: December 03, 2020, 02:43:20 AM »
This topic is closed since we released new version, please going to new link. Thanks.

http://forum.attractmode.org/index.php?topic=3917.0

11
Scripting / Coding Help - Find a Particular Word in game title
« on: November 13, 2020, 09:48:46 AM »
I have some idea and don't know the real code. Please give me help if you known. Thanks.

- Check out the game title like as "Alien3: The Gun (World)"
- Checking word = "(World)"
- if word found, do something

12
Themes / Angular-Artwork Theme - 640 x 480 (Finial Build) update 5
« on: October 27, 2020, 11:02:11 PM »
It is base on es-theme-angular-artwork theme. My theme is not 100% same with orginial. Hope you enjoy it.

Orginial Theme
https://www.reddit.com/r/RetroPie/comments/jfrl6n/made_a_es_theme_called_angular_artwork_for_my/

https://github.com/Elratauru/es-theme-angular-artwork

-----------------------------------------------------

Angular-Artwork for AM

Video demo:
https://youtu.be/HpC97esrEOs

Setup Guide
1. Put the downloaded theme in AM layouts folder
2. Setup specific button such as random
3. (Optional) Put your favourite system music in "bgMusic" folder, the music file name must be excatly same as your system name. You may put each music for each system.
4. Change system bg file name same as your systems in sysBg folder
5. Change system logo file name same as your systems in systemLogo folder
6. Override default screensaver folder with new one
7. If you using 4:3 monitor or don't like bezel artwork, you can disbale it in option setting

emulator cfg file sample:
artwork    wheel         C:\am\mame\wheel
artwork    flyer           C:\am\mame\flyer
artwork    snap           C:\am\mame\snap; C:\am\mame\video

Theme download Link
https://www.dropbox.com/s/onq9tli3c4vjmd4/Angular-Artwork.zip?dl=0

BG Music (optinoal):
https://www.dropbox.com/s/0yao63pgf2rkujq/bgMusic.zip?dl=0

13
Themes / A sound volume issue after upgraded to windows 10 20H2
« on: October 23, 2020, 12:53:38 AM »
I just updated to windows 10 20H2. But find out a sound issue.

Video's sound volume is becoming lower on normal theme status. When running screen saver, the volume is becoming normal.

Anyone having same issue?

14
Scripting / How to get the video length (video_duration) ?
« on: August 26, 2020, 12:10:38 AM »
I know there is "video_duration", but I don't know the demo code. Anyone can teach me how to use? Thanks.

15
General / Smoothly playing video format in AM
« on: August 23, 2020, 08:03:21 PM »
I always facing a lag or jump frame issue in AM to play video. Some people said it is releated of video resolution. But I try to change it to small resolution, it is also not working. Finially, I got how to fix it. It is not related of resolution, it is related of fps of video.

The best format is 23.98 fps, if the video is higher it like as 29.9 fps. The lag or jump issue will be appeared. If you want to fix it, reencode the video to 23.98 fps, the resolution can keep it.

This is my experience. Thanks.

Pages: [1] 2 3 ... 7