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

Pages: [1]
1
Themes / Help with the language.
« on: June 18, 2018, 02:19:36 PM »
Using the Spanish language in Attract-Mode, when the name does not have special characters, it looks good:



They see the title and the flyer perfectly.

But if it bears some special character, typical of the Spanish language, as in the following case, the title is perfectly read (including the special character), but it does not read the flyer, whose name on the hard disk also carries the special character.



Can someone tell me why this happens and how to solve it?

Thanks in advance.

2
Themes / Layout background design
« on: June 17, 2018, 02:08:33 AM »
I am preparing a layout with the following backgrounds:








I know I'm not very good at this ... But here there are very good people in it.

That's why I ask for your help, to see if you can suggest any combination of colors or alternatives to the design of mine.

What can not be modified are the measures or the margins, otherwise I would have to modify all my code and that is not desirable.

Thanks in advance for your help.

3
How to change the keys up and down for left and right in one theme layout and only for that?

I work in a layout with a coverflow (with "conveyor_helper" ;) ), and to go from game to game i use, as in the other layout, up and down.

IWould it be possible to set an option to change the keys in ch.CoverFlow of conveyor_helper?

Yhe best would be to use left and right, but i do not know how to define that in attrac-mode without changing it in the rest of layouts.

Sorry for my very bad english,  :-[

4
Scripting / Need help to display an array when you press a button.
« on: June 11, 2018, 08:15:11 AM »

This code works perfectly:  :D

Code: [Select]
class PlayList
{
show_text=null;

constructor()
{
show_text = fe.add_text("[Title]", flx*0.230, fly*0.001, flw*0.360, flh*0.490);
show_text.visible=false;
show_text.charsize = 20;
fe.add_signal_handler(this, "on_show")
}

function on_show(shw)
{
if (shw == "custom4")
{
show_text.visible=!show_text.visible;
return true;
}
return false;
}
}

local pl = PlayList();


My problem is that i can not get the content of an array[], which contains several data, instead of [Title].  :'(

I tried this (without it working, of course):    :-[

Code: [Select]
class PlayList
{
show_text=null;

constructor()
{
for(local i=0; i<player_list.len(); i++)
{
player_list.push(fe.add_text("", text_x/2, text_y+(i*30), text_wide-text_x, 0));
player_list[i].align = Align.Left;
player_list[i].font = "anaheim";
player_list[i].charsize = font_list_size;
player_list[i].set_rgb(Rp,Gp,Bp);
}

fe.add_signal_handler(this, "on_show")
}

function on_show(shw)
{
if (shw == "custom4")
{
show_text.visible=!show_text.visible;
return true;
}
return false;
}
}

player_list[] is the array in question...

5
General / Help to compile attract-mode in windows 10 64bits
« on: June 03, 2018, 04:09:53 AM »
I have followed these steps of compile.md without error messages:

Install MSYS2 https://msys2.github.io/

In the MSYS2 console:

Code: [Select]

pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime

pacman -S git mingw-w64-x86_64-toolchain msys/make mingw64/mingw-w64-x86_64-sfml mingw64/mingw-w64-x86_64-ffmpeg mingw64/mingw-w64-x86_64-libarchive

git clone https://github.com/mickelson/attract attract

cd attract


And when I run make, it gives me these errors (my system is Spanish):

Code: [Select]
$ make
/bin/sh: pkg-config: no se encontró la orden
/bin/sh: pkg-config: no se encontró la orden
/bin/sh: pkg-config: no se encontró la orden
make: pkg-config: No se encontró el programa
make: pkg-config: No se encontró el programa
flags: -Wl,--subsystem,windows -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf
mkdir -p obj
Compiling obj/fe_base.o...
make: g++: No se encontró el programa
make: *** [Makefile:457: obj/fe_base.o] Error 127

TRANS:

no se encontró la orden --> the order was not found

No se encontró el programa --> The program was not found

I need help, please.

6
Scripting / Wrong code
« on: June 02, 2018, 02:37:59 AM »
In my layout this code works perfectly:

Code: [Select]

// Hand Held
local artwork = fe.add_image("hh/[Emulator].png", flx*0.52, fly*0.4,  flw*0.260, flh*0.462);
artwork.preserve_aspect_ratio = true;

// Boxart
local box = FadeArt("boxart", flx*0.52, fly*0.6,  flw*0.130, flh*0.231);
box.preserve_aspect_ratio = true;
box.trigger = Transition.EndNavigation;


But if I add these modifications ("Watch & Game" is an emulator), it does not work:

Code: [Select]

local myboxart = "[Emulator]";

if (myboxart == "Watch & Game")
{
// Boxart
local box = FadeArt("boxart", flx*0.52, fly*0.6,  flw*0.130, flh*0.231);
box.preserve_aspect_ratio = true;
box.trigger = Transition.EndNavigation;
}
else
{
// Hand Held
local artwork = fe.add_image("hh/[Emulator].png", flx*0.52, fly*0.4,  flw*0.260, flh*0.462);
artwork.preserve_aspect_ratio = true;
}


Could someone tell me what I'm doing wrong?

Thanks in advance.

7
Themes / LCD Theme (With New Shuffle List)
« on: May 27, 2018, 05:56:41 AM »
Hello, here I bring you a basic and simple theme, with four customization options.

To use it in Spanish, change the layout.nut by the layout_english.nut and icons folder for spanish icons folder.

It's just a list, it does not use wheels. Now, new shuffle list.
It carries 42 icons for the categories or genres of games.
It carries 129 system logos.

You can choose:

-The alignment of the text: left, right, center.
-If flyers are used or not (if they are not used, a raspi appears instead).
-If the icons of the categories are used or not (in text they always appear).
-If the logos of the systems are used or not (in text they always appear).

Well, you better see it:

With all activated:



Nothing:


New shuffle list:


And, if you're interested, you have it here (with new shuffle list):

https://mega.nz/#!T4FUwIoS!0Aian5b9O7r4DHmCeBgclU3F-hVI54MyVY6pXnrHavE

I've done it for a friend who wanted something simple for his pi.
He does not like the graphics of characters and machines.
I wanted something like the Basic theme, but with the look of a display "like that of the components of the music system".
In fact, the idea that gave me is to make a screen with a very large display where all the data was.

And after  saw the first version  did,  i had to put the options to remove the icons of the logos, genres and flyers because he do not plan to use them.
He says that "less is more".
For not using does not use videos, it suffices with the screenshots. For example, the Hyperspin seems a barbarity, "things for children."

And it is quite clear that he prefers to put more games than graphics and videos in the sd... :D

8
Themes / roboesp theme, in spanish.
« on: May 27, 2018, 05:18:50 AM »
Many spanish fans pass through this forum, so here i leave the theme "roboesp", which is based on the original omegaman robospin.

It has, among others, the following changes:

- All texts and options are in Spanish.
- Changed some wallpaper options.
- Changed the spinwheels system for another that occupies less screen and has more options.
- Changed the system of using wheels or marquees.
- You can choose the number of wheels per type of spinweel (vertical or curve).
- You can choose the number of lines when you choose the list of games instead of the spinwheel.
- You can choose the alignment (justification) of the list of games (left, right, center).
- Eliminated the random color system (sometimes colors came out that did not show anything).
- Removed the icons that were used to indicate the category and the manufacturer of the games.
- Removed the pointers that indicate the wheel (this is not the Hyperspin, although it seems a lot).
- New information system only text, with the name or all data.
- The front of the marquee is painted black before using the marquee, so that transparent marquees can be used.
- The logo of the system used is always visible (there are 129 logos available).

Two screenshots:






 if you like it or want to try it, here it is:
 
 https://mega.nz/#!3h8USbYQ!fEKv0K1LOevAO3wgJErxT8a8t1RctKjgok3ckv32ows
 
 If there was much interest in it, i could do the translation into english, but, in principle, i have no intention.

9
General / Arcade Classics Intro Video
« on: May 20, 2018, 05:57:30 AM »
https://www.youtube.com/watch?v=bdZSZhLZ8qc&feature=youtu.be

It is a video that I love and I upload it to youtube because I do not remember or where I got it, nor looking for youtube I found it again.

I would like to know the origin of the video and especially where the music came from, I do not identify it with anything.

Let's see if someone gives me some information.

Thanks in advance.

10
Themes / Put a random icon on the screen.
« on: May 17, 2018, 05:30:24 AM »
To put on the screen of my layout a certain icon of the path / icons, I use the following code:

Code: [Select]

local icon = fe.add_image("icons/icon01.png", flx*0.215, fly*0.025, flw*0.1, flh*0.08);
icon.preserve_aspect_ratio = true;
icon.trigger = Transition.EndNavigation;


And it works perfectly.
   
But what I want is to put on the screen any of the icons contained in /icons in a random way, that comes out any of those that are inside /icons.

But I do not know how to do it. And I do not find anything either. Somebody could help me?

Sorry for my bad english.

Thanks in advance.

11
General / I can not do this with dosbox Can it?
« on: September 10, 2017, 03:05:30 AM »
Well, the fact is that I want the twobox to play the games on my 1920x1200 screen only in a 640x480 frame, but not in the form window, but in fullscreen.

I want it to look like this:

[IMG] http://i68.tinypic.com/154wubc.jpg [/ img]


I have changed all parameters in dosbox.conf a lot of times, but I do not give the result I want.

The same can not be done.

Let's see if anyone can help me.

And by the way, if you could, put a bezel would be fantastic ... Something like this:

[IMG] http://i68.tinypic.com/29y5w0y.jpg [/ img]

By the way, I do not use rocketlauncher or retroarch. My dosbox goes in Attract Mode, and full screen looks good, but with too many pixels.

Thanks for the help, friends.

Pages: [1]