Attract-Mode Support Forum

Attract-Mode Support => Themes => Topic started by: kent79 on June 15, 2016, 08:02:31 AM

Title: Pandoras Box Theme
Post by: kent79 on June 15, 2016, 08:02:31 AM
No need say any words.


- On & off Scan line effect.
- Show or hidden game's history


Support all resolution. Enjoy  :) 



[attachment deleted by admin]
Title: Re: Pandoras Box Theme
Post by: kent79 on June 15, 2016, 04:12:37 PM
Just update the code since I missed to add fe.layout.preserve_aspect_ratio = true in previous version  :P
Title: Re: Pandoras Box Theme
Post by: omegaman on June 15, 2016, 06:18:39 PM
Good work Kent...
Title: Re: Pandoras Box Theme
Post by: kent79 on June 15, 2016, 06:35:26 PM
Good work Kent...


I would like to change listbox game's name format  to index number of games & chop game name. Do you know a code make for ? Thanks.  :)

(http://forum.attractmode.org/index.php?action=dlattach;topic=811.0;attach=1146;image)
Title: Re: Pandoras Box Theme
Post by: Omamez on June 15, 2016, 08:31:53 PM
Nice Kent79
Title: Re: Pandoras Box Theme
Post by: keilmillerjr on June 15, 2016, 08:56:30 PM
Good work Kent...


I would like to change listbox game's name format  to index number of games & chop game name. Do you know a code make for ? Thanks.  :)

(http://forum.attractmode.org/index.php?action=dlattach;topic=811.0;attach=1146;image)

fe.Listbox

Can use a function for a magic token. Create your function to return your proper string. Typing on a phone while away from home. Hopefully you have enough to get started, assuming it works.
Title: Re: Pandoras Box Theme
Post by: kent79 on June 15, 2016, 09:04:23 PM
Hello keilmillerjr

Find how to chop game name as below code. I will try it on tonight.

But I still not know how to use "magic token" for adding index number of games. Could you help me to complete the script?. Many Thanks.

Quote
listbox.format_string = "[SortValue]";

Title: Re: Pandoras Box Theme
Post by: keilmillerjr on June 16, 2016, 03:55:39 AM
Hello keilmillerjr

Find how to chop game name as below code. I will try it on tonight.

But I still not know how to use "magic token" for adding index number of games. Could you help me to complete the script?. Many Thanks.

Quote
listbox.format_string = "[SortValue]";

I'll try to get it started if I have a slow part of my work day. Down here in florida working 14 hour days for two weeks.
Title: Re: Pandoras Box Theme
Post by: kent79 on June 16, 2016, 07:11:17 AM
First step for using magic tokens  :)
Title: Re: Pandoras Box Theme
Post by: keilmillerjr on June 16, 2016, 07:35:37 AM
Working on a pos Android phone, so I will edit as I go as to not loose what I type.

Code: [Select]
function Title(index_offset) {

}

local listbox = fe.add_listbox( x, y, w, H );
listbox.format_string = "[!Title(index_offset)]";
Title: Re: Pandoras Box Theme
Post by: kent79 on June 16, 2016, 07:52:38 AM
Working on a pos Android phone, so I will edit as I go as to not loose what I type.

Code: [Select]
function Title(index_offset) {

}

local listbox = fe.add_listbox( x, y, w, H );
listbox.format_string = "[!Title(index_offset)]";


Good news. Fixed all issue. I will release new version soon. Thank you.
Title: Re: Pandoras Box Theme
Post by: kent79 on June 16, 2016, 08:22:35 AM
Thank you for keilmillerjr hints. I have updated the theme. You may download it from post #1  :)
Title: Re: Pandoras Box Theme
Post by: keilmillerjr on June 16, 2016, 11:25:18 AM
Thank you for keilmillerjr hints. I have updated the theme. You may download it from post #1  :)

Woohoo! Did passing the index_offset to the magic token work? I haven't tried it yet and I am curious.
Title: Re: Pandoras Box Theme
Post by: omegaman on June 16, 2016, 05:29:14 PM
How do you guys like using the fe.layout.preserve_aspect_ratio? I assume you need to turn off aspect_ratio for it to scale to different resolutions. I'm curious if there's an advantage to using it compared to the way I auto-scale my layouts. It would be less coding for sure.

Just wanted to get some feedback on any scaling issues. Thanks...
Title: Re: Pandoras Box Theme
Post by: omegaman on June 16, 2016, 05:34:27 PM
Keilmillerjr-

BTW, your mvscomplete layout looks nice and clean on a crt monitor.
Title: Re: Pandoras Box Theme
Post by: Omamez on June 16, 2016, 06:26:11 PM
Working on a pos Android phone, so I will edit as I go as to not loose what I type.

Code: [Select]
function Title(index_offset) {

}

local listbox = fe.add_listbox( x, y, w, H );
listbox.format_string = "[!Title(index_offset)]";


Good news. Fixed all issue. I will release new version soon. Thank you.

thats fantastic do we also get the pandora 3 video intro lol  :-*

how does this work with other consoles
Title: Re: Pandoras Box Theme
Post by: bionictoothpick on June 17, 2016, 04:56:16 AM
This is very nice.

The word PAGE for each game at the top right doesn't match my understanding of the meaning, so I might change it to ITEM or GAME or something like that.

Thanks for sharing your work!
Title: Re: Pandoras Box Theme
Post by: xbs on June 17, 2016, 05:02:37 AM
Remove the rom number because is duplicated info and keep the page.
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 05:53:15 AM
Just update again for graphic improvement  :)
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 05:59:53 AM
Next target function  :P


I  created 2 rom list files of same console. One is English for game's name, another is Japanese for game's name.

May I select different "romlists" file by configure option?

class UserConfig {
</ label="Language", help="Select display language", options="English,Japanese", order=1 /> language="English";   
 }

if language="English"
 English file location

else
 Japanese file location



Anyone can help me complete the script. Thanks.  :)


Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 06:42:09 AM
This is very nice.

The word PAGE for each game at the top right doesn't match my understanding of the meaning, so I might change it to ITEM or GAME or something like that.

Thanks for sharing your work!

Haha, the layout template is coming from Pandoras Box. As you know, Pandoras Box is made by Chinese. Their English should be not good enough  :P
Title: Re: Pandoras Box Theme
Post by: xbs on June 17, 2016, 06:54:58 AM
I think they are actually right because it's [page/pages] and in AM it's [item/items]

 - `[ListSize]` - the number of items in the game list
 - `[ListEntry]` - the number of the current selection in the game list
Title: Re: Pandoras Box Theme
Post by: omegaman on June 17, 2016, 07:22:58 AM
You know the Chinese are not going to be happy with you stealing their ideas. :P 
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 07:27:59 AM
You know the Chinese are not going to be happy with you stealing their ideas. :P

Haha, I come from Hong Kong. Chinese from China always steal another idea.  So don't worry  ;D
Title: Re: Pandoras Box Theme
Post by: verion on June 17, 2016, 02:02:18 PM
I've wanted to make PANDORA layout too. I really like it for it's simplicity and that sci-fi look.

I've dropped the idea because using Pandora's intellectual property (that screen background) would prevent such theme to be distributed with AM.
But before I've gave up... I've prepared 2 backgrounds with that top text and icons masked out (in attachment) :) so you can replace that PAGE and TIME with something else.

-----

I would also skip that numbering in front of game name... it seems unnecessary and that space can be better used to display longer game names
Title: Re: Pandoras Box Theme
Post by: omegaman on June 17, 2016, 03:21:57 PM
I know, I was being ironic.  :)
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 03:22:50 PM
Hi version

Wow!. Thank you for your image. It is great for us. Your art skill is better more.

I also respect intellectual property so please keep this theme using in non business use.

 :)
Title: Re: Pandoras Box Theme
Post by: omegaman on June 17, 2016, 03:30:20 PM
Verion is our in-house graphic guru and more.
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 04:29:09 PM
Dear All,

I updated the theme again, thank you all & version resource & idea, please download it on post #1

I really want to add language function in this theme, please tell me if you know. Thanks.

Jusi created 2 rom list files of same console. One is English for game's name, another is Japanese for game's name.

May I select different "romlists" file by configure option?

class UserConfig {
</ label="Language", help="Select display language", options="English,Japanese", order=1 /> language="English";   
 }

if language="English"
 load English file location

else
 load Japanese file location
Title: Re: Pandoras Box Theme
Post by: kent79 on June 17, 2016, 05:08:16 PM
How do you guys like using the fe.layout.preserve_aspect_ratio? I assume you need to turn off aspect_ratio for it to scale to different resolutions. I'm curious if there's an advantage to using it compared to the way I auto-scale my layouts. It would be less coding for sure.

Just wanted to get some feedback on any scaling issues. Thanks...

I also think it for long time. Auto-scale is the best idea in Technical level. But in ART design level, it is difficult to use single theme on both CRT & WideScreen resolution  :)

Title: Re: Pandoras Box Theme
Post by: Omamez on June 17, 2016, 05:12:05 PM
Verion is our in-house graphic guru and more.


+1
Title: Re: Pandoras Box Theme
Post by: verion on June 18, 2016, 05:49:19 AM
Thanks guys!
Title: Re: Pandoras Box Theme
Post by: kent79 on June 18, 2016, 08:50:50 PM
Update again.

1. layout improvement
2. add display history animation
3. add show or hidden game's index option

 :)
Title: Re: Pandoras Box Theme
Post by: Omamez on June 19, 2016, 09:31:37 PM
@kent79 - the layout top right hand corner next to game number the silver pipe looks out of place not aligned.

also maybe date game was rls info would be nice if it can be added
Title: Re: Pandoras Box Theme
Post by: kent79 on June 20, 2016, 05:16:17 PM
@kent79 - the layout top right hand corner next to game number the silver pipe looks out of place not aligned.

also maybe date game was rls info would be nice if it can be added

1.  aligned issue was fixed
2. still think how to do since I would like keep the screen clear
Title: Re: Pandoras Box Theme
Post by: web on June 20, 2016, 07:47:09 PM
fucking cool  :o :o :o :o Thanks
Title: Re: Pandoras Box Theme
Post by: kent79 on June 21, 2016, 04:17:03 PM
Update again.

Replace list box's font. It can show more words.
Replace of marquees image.

 ;D

 
Title: Re: Pandoras Box Theme
Post by: kent79 on June 23, 2016, 06:04:07 AM
Update again. To make the screen more clean, redesign layout display of filter & game's index items. Hope you like it

- Move filter item to top right corner
- remove game's index on & off option

 :)

Title: Re: Pandoras Box Theme
Post by: snupello on June 24, 2016, 01:13:31 AM
HELP...don't read my history.dat file !!! :-(
Title: Re: Pandoras Box Theme
Post by: kent79 on June 26, 2016, 04:03:56 PM
HELP...don't read my history.dat file !!! :-(

did you input the path ?
Title: Re: Pandoras Box Theme
Post by: snupello on June 28, 2016, 11:46:00 AM
HELP...don't read my history.dat file !!! :-(

did you input the path ?
yes
Title: Re: Pandoras Box Theme
Post by: progets on June 29, 2016, 03:24:42 PM
HELP...don't read my history.dat file !!! :-(

did you input the path ?
yes

Have you setup the History plugin in AM and generated the history.dat index?
Title: Re: Pandoras Box Theme
Post by: snupello on June 30, 2016, 03:15:28 AM
no..nothing script
Title: Re: Pandoras Box Theme
Post by: snupello on July 05, 2016, 12:55:45 AM
You have another image emulators ?? daphne for example :-)
Title: Re: Pandoras Box Theme
Post by: snupello on July 05, 2016, 01:08:13 AM
http://www.gameex.info/forums/topic/12241-logos-artwork-random-stuff/?page=1
Title: Re: Pandoras Box Theme
Post by: kent79 on July 05, 2016, 07:28:10 AM
You have another image emulators ?? daphne for example :-)

Thank you for your link

Actually, verion's led logo pack may be good choice. I have request for him and hope he can help us.

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

(http://forum.attractmode.org/index.php?action=dlattach;topic=496.0;attach=1233;image)

 :)
Title: Re: Pandoras Box Theme
Post by: snupello on July 15, 2016, 02:32:26 AM
nothing update :-(
Title: Re: Pandoras Box Theme
Post by: attraccaman on July 16, 2016, 04:07:13 AM
Hello congratulations for the Thema very nice ... :-) I have a problem the written mame and I do not read any of the games information does not appear to me how can I do? List that generates attract mode contains little information ... Thanks! :-)
Title: Re: Pandoras Box Theme
Post by: snupello on August 10, 2016, 05:22:23 AM
You have another image emulators ?? daphne for example :-)

Thank you for your link

Actually, verion's led logo pack may be good choice. I have request for him and hope he can help us.

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

(http://forum.attractmode.org/index.php?action=dlattach;topic=496.0;attach=1233;image)

 :)

Ciao, in layout.nut file, where I can edit the text string to move the game titles leftmost ?? I have already reduced the font but is not enough

Grazie
Title: Re: Pandoras Box Theme
Post by: kent79 on August 11, 2016, 09:28:08 PM


Ciao, in layout.nut file, where I can edit the text string to move the game titles leftmost ?? I have already reduced the font but is not enough

Grazie
[/quote]


you may change as value below line .

local listbox2 = fe.add_listbox( 62, 89, 209, 340 );
local listbox2b = fe.add_listbox( 63, 90, 209, 340 );
Title: Re: Pandoras Box Theme
Post by: kent79 on August 11, 2016, 09:29:17 PM
Hello congratulations for the Thema very nice ... :-) I have a problem the written mame and I do not read any of the games information does not appear to me how can I do? List that generates attract mode contains little information ... Thanks! :-)

It seems a issue for AM in this moment, I hope it can be fixed it soon
Title: Re: Pandoras Box Theme
Post by: Mark Norville on September 28, 2016, 01:34:42 AM
Hi Guys,

First post here as I am looking for a possible replacement for another front end. I absolutely love the Pandora theme from the first moment that I saw it on the jamma boards. It is very basic but it just has something sexy about it all at the same time.

I look forward to trying out Attract mode and also Pandora's theme.

Thank you for every one who makes the software and themes, so us mere mortals can feel young again.

Regards

Mark
Title: Re: Pandoras Box Theme
Post by: nevincho on May 03, 2017, 10:57:02 PM
If someone uses the PopImage.nut plugin, here are some layot-friendly images.
Title: Re: Pandoras Box Theme
Post by: verion on May 04, 2017, 01:42:48 AM
Looks cool - it this your creation or copyrighted (copied from somewhere)?
Title: Re: Pandoras Box Theme
Post by: nevincho on May 04, 2017, 03:46:31 AM
Copy from my PBox3 files. Just remove some elements.

That si original images
Title: Re: Pandoras Box Theme
Post by: snupello on May 05, 2017, 03:25:16 AM
If someone uses the PopImage.nut plugin, here are some layot-friendly images.

you have this image to upload at hi-res for me (blue not green) ??
tks a lot
Title: Re: Pandoras Box Theme
Post by: snupello on May 05, 2017, 03:35:18 AM
If someone uses the PopImage.nut plugin, here are some layot-friendly images.

what is PopImage.nut plugin ??  :o
Grazie
Title: Re: Pandoras Box Theme
Post by: nevincho on May 05, 2017, 04:42:34 AM
PopImage display an image when you press a button with help how to play or start game or other information.


For now image with white letters, later i make a new one with yellow
Title: Re: Pandoras Box Theme
Post by: snupello on May 05, 2017, 04:51:02 AM
PopImage display an image when you press a button with help how to play ot start game or other information.


For now image with white letters, later i make a new one with yellow

IT'S OFFICIAL !!! I LOVE YOU ;-)
Tks a lot
Title: Re: Pandoras Box Theme
Post by: nevincho on May 05, 2017, 05:16:17 AM
PopImage display an image when you press a button with help how to play ot start game or other information.


For now image with white letters, later i make a new one with yellow

IT'S OFFICIAL !!! I LOVE YOU ;-)
Tks a lot


Here is plugin.
Title: Re: Pandoras Box Theme
Post by: nevincho on May 05, 2017, 05:49:13 AM
You can use something like that for information how to play.
Title: Re: Pandoras Box Theme
Post by: snupello on May 08, 2017, 01:30:38 AM
You can use something like that for information how to play.

fantastic !!! Tks

Can you modify it so?

Exit press P1+P2

when p1 is logo button (white)  player 1  and  p2 is logo button (white)  player 2

http://spazchicken.deviantart.com/art/Arcade-Button-Two-Player-485668573
Title: Re: Pandoras Box Theme
Post by: snupello on May 08, 2017, 03:22:53 AM
my image
Title: Re: Pandoras Box Theme
Post by: nevincho on May 08, 2017, 10:02:25 AM
This one? And logo.
Title: Re: Pandoras Box Theme
Post by: snupello on May 09, 2017, 12:15:20 AM
This one? And logo.

PERFECT !!! :-)
Title: Re: Pandoras Box Theme
Post by: Erg4zz4 on August 27, 2017, 05:09:01 PM
hi, thanks for your work! few noob questions  ::)
•How do i change resolution? it opens at 4:3 and i'd like to have it at 16:9 widescreen.
•The mame logo it wasn't showing up,so i renamed the png in the system folder to MAME (Libretro) and it fixed it,
 if i add others .png for consoles would it work?
•Is it possible to get the roms list disappear when Not scrolling and showing just the flyer instead?
I really love it and i wanna use it for my cabinet, sorry for the questions, and Thank You! ;D
Title: Re: Pandoras Box Theme
Post by: nevincho on October 16, 2017, 11:33:15 AM
1. Open layout.nut go to fe.layout.preserve_aspect_ratio = true; and  change "true" with "false''

2. Yes.

3. I do not think it will disappear.
Title: Re: Pandoras Box Theme
Post by: Erg4zz4 on November 05, 2017, 01:14:24 PM
PopImage display an image when you press a button with help how to play ot start game or other information.


For now image with white letters, later i make a new one with yellow

IT'S OFFICIAL !!! I LOVE YOU ;-)
Tks a lot


Here is plugin.

PLEASE! would you mind to explain me how to do it? do i have to drag the PopUpImage.nut file into the folder of the theme? and how can i set a button to show it?
AND, i've got like 3000 mame roms, and when i'm on 1000 and over the first letter of the rome name goes over the number, how can i move a little more right the rom name?? Thank you!
Title: Re: Pandoras Box Theme
Post by: nevincho on November 05, 2017, 03:32:35 PM
Put PopUpImage.nut file in plugins folder.

In folder theme put image with instructions How to play.

Open menu-plugins-PopUpImage

Enabled - Yes

Image - path to your How to play img.

Key - Your choice

Hold Key - Yes

For rom names i dont know hot to fix this. But i add in AM only 500-600 games maximum.

Try to shorten the names. Sample: The King of Fighters 2000 - KoF`2000
Title: Re: Pandoras Box Theme
Post by: tommiegunz on November 07, 2017, 01:43:33 AM
i got a interesting question is their a way to make the time count down in this theme just like the actual pandoras box does...can it pick a game or go back to the hoe screen that would be a great touch and make it more authentic feeling :)
Title: Re: Pandoras Box Theme
Post by: kent79 on November 09, 2017, 03:08:45 PM
i got a interesting question is their a way to make the time count down in this theme just like the actual pandoras box does...can it pick a game or go back to the hoe screen that would be a great touch and make it more authentic feeling :)

Sorry, I am busy on other theme project. May be do it later.
Title: Re: Pandoras Box Theme
Post by: Erg4zz4 on May 07, 2022, 10:57:33 AM
the link is out, can anyone upload it again?