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

Pages: 1 ... 16 17 [18] 19 20 21
256
General / Re: Scrappe "Extra" info from thegamesdb
« on: February 04, 2017, 08:24:25 AM »
Game info scraping was added to AM in November but it doesn't use the "Extras" field of the romlist. It creates a folder for the emulator name and places gamename.txt file in there to match the game names. You can see it here https://github.com/mickelson/attract/commit/540ffb6ad022bb59a519a8f01b9926fb4900b941.

You need to manually enable it in the attract.cfg when AM is NOT running.
Code: [Select]
scrape_overview      yes

Then start AM and build the romlist to get the files.
Thank you so much , finally working , but can you help me with another stuff?

Is there any funtion , script ... to show a "scolling text" , like on emulationstation just for long descriptions.

257
General / Re: Scrappe "Extra" info from thegamesdb
« on: February 03, 2017, 01:32:42 PM »
You'll have to add it manually to the romlist.txt. Emulationstation will downloaf that infomation..but it is written to do that. Attract mode uses the history.dat file so there is really no need to use that info.

I tried hystory.dat but couldnt make it work.
Setnthe path, activate the plugin and tested with arcadebliss.

Can I use hystory.dat with console systems?

258
General / Scrappe "Extra" info from thegamesdb
« on: February 02, 2017, 05:29:47 AM »
I found a little amiga romlist with "Extra" info added.
This is the emulator "amiga.cfg"

Code: [Select]
system               Amiga
info_source          thegamesdb.net

And this is the amiga.txt romlist with extra info:

Quote
Agony "Pit your magical powers against an equal but opposite mystical force"

Code: [Select]
#Name;Title;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons
Agony;Agony;Amiga;;1992;Psygnosis;;;;;;;;;;Pit your magical powers against an equal but opposite mystical force;
Alien Breed 2 - AGA;Alien Breed II: The Horror Continues;Amiga;;1993;Team17;;;;;;;;;;Alien Breed II: The Horror Continues is the sequel to Alien Breed, a science-fiction-themed, top-down shooter largely inspired by the Alien films.;
Another World;Another World;Amiga;;1991;US Gold;;;;;;;;;;Another World tells a story of Lester, a young scientist who, as a result of an experiment gone wrong, finds himself in a dangerous alien world where he is forced to fight for his survival.;
Barbarian Palace;Barbarian: The Ultimate Warrior;Amiga;;1988;Palace;;;;;;;;;;Barbarian is a fighting game that gives players control over sword-wielding barbarians. In the game's two-player mode, players pit their characters against each other. Barbarian also has a single-player mode, in which the player's barbarian braves a series of challenges set by an evil wizard to rescue a princess.;
Batman The Movie;Batman The Movie;Amiga;;1989;Ocean;;;;;;;;;;Batman is a shadow in the darkness, as elusive as a dream. High above the seamy streets of Gotham, he is a criminal's nightmare. The only hope for a desperate city...;
Battlemaster;Battlemaster;Amiga;;1990;P.S.S.;;;;;;;;;;Battlemaster is a fantasy adventure in which the player controls a champion who must battle evil forces to conquer four kingdoms, uniting the four kings' crowns and presenting them to the Watcher in order to restore the world to peace.;


Is there any option to download this text from thegamesdb?

259
General / Re: [SOLVED] FS-UAE videosnap still playing after launch a game
« on: February 02, 2017, 05:25:25 AM »
Its solved  ;)

Just adding minimun run time on the emulator coonfig.

Code: [Select]
minimum_run_time     10

260
General / Re: FS-UAE videsnap still playing after launch a game
« on: February 01, 2017, 04:21:00 PM »
Try this:

1. Go to the configure menu (TAB key)
2. Go to general
3. Go to window mode
4. Select full screen mode
5. Back out and try again

Still playing the videosnap.
Im using a "portable" fsuae , lastest version.

I also set this config on the emulator:

Code: [Select]
fullscreen = 1
fullscreen_mode = fullscreen
keep_aspect = 1

261
Scripting / Re: animation, scale Question
« on: February 01, 2017, 12:55:19 PM »
Here's the basic idea.. this doesn't shrink into center and doesn't "flip" 360 - it also wouldn't work right with preserve_aspect_ratio on but it should give you some ideas:

Code: [Select]
fe.load_module("animate")

local shrink = {
    when = Transition.ToNewSelection,
    property = "width",
    start = 300,
    end = 1,
    time = 750,
    loop=false,
    wait = true
}
local skew = {
    when = Transition.ToNewSelection,
    property = "pinch_y",
    start = 0,
    end = 150,
    time = 750,
    loop=false,
    wait = true
}
local shrink_restore = {
    when = Transition.FromOldSelection,
    property = "width",
    start = 1,
    end = 300,
    time = 750,
    loop=false
}
local skew_restore= {
    when = Transition.FromOldSelection,
    property = "pinch_y",
    start = 150,
    end = 0,
    time = 750,
    loop=false
}
 
local img = fe.add_artwork("flyer", 100, 100, 300, 400)

animation.add(PropertyAnimation(img, shrink))
animation.add(PropertyAnimation(img, skew))
animation.add(PropertyAnimation(img, shrink_restore))
animation.add(PropertyAnimation(img, skew_restore))

I noticed I couldn't use 0 for width, so I had to set it to 1 or it would auto-resize it.. if you wanted 360 degress, you'd probably have to set the texture_width? to -1 before the 'restore' animations and reverse the pinching somehow.

I'm not sure on the flash, you'd have to see which anim or which property is causing that - you might have to work around it by catching that event and just hiding the artwork or something if the artwork isn't available.

Thanks I`ll do some tests.

262
General / [SOLVED] FS-UAE videosnap still playing after launch a game
« on: February 01, 2017, 12:54:01 PM »
Added FS-UAE to my attrack mode setup , works great but when I launch a game I can hear my videosnap playing with sound on the background.


263
Scripting / Re: animation, scale Question
« on: January 31, 2017, 01:25:36 PM »
Can we make an object "fliping 3d" like on css?

There is no 3d, but you can fake that effect using pinch/skew or animating the height or width to 0 (while moving x/y to keep it centered), changing the image while the width/height is 0, then sizing back to its original size. I think that's similar to what jedi is trying to do, no? A scale_x or scale_y while keeping it centered would really help that.

Can you please make a little example , I´ve tested some combinations:

Code: [Select]
local boxartrotate = {
    when = When.ToNewSelection,
    property = "rotation",
    start = -180,
    end = 0,
    time = 500,
    loop=false
 }

local boxartpinch_x = {
    when = Transition.ToNewSelection ,
property = "pinch_x",
start = (500),
end = (0),
time = 1000,
loop=false
 }

But when there is no boxart a "flash" appears suddenly rotating on the left of my theme.

264
Scripting / Re: animation, scale Question
« on: January 30, 2017, 05:40:08 AM »
Like I said, scale will only uniformly resize the object - resizing both width and height. scale = 1 is the original size, scale = 2 would be twice the size, but if you just want to resize width or height just use "width" or "height" and do * 2 or whatever 'scale' you want. Unfortunately, it's not going to center the object when you change width/height, so you'd also have to adjust x or y to re-center the object along the way. I agree I should have added a scale_x or scale_y to make that a bit easier.

The info for using a property animation is in the property.nut file:
https://github.com/liquid8d/attract-extra/blob/master/modules/animate/property.nut

Can we make an object "fliping 3d" like on css?

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

265
Scripting / Re: animation help
« on: January 27, 2017, 05:34:00 AM »
this is kin of what im tinkering with
https://youtu.be/o22bFxTT-VI

Totally awesome , are you planning to release a complete theme based on this idea?

266
Scripting / Re: Adding loading video
« on: January 26, 2017, 12:37:45 PM »
I could make a plugin to do this if. However, it would be useless unless attractmode actually launches the rom in the background and waits until the transition to game is completed. Does it do this?

I think that is exactly how it works because I did something similar with a png sequence and seems to be waiting in the background.
Could be awesome a plugin to add transitions to game and from game.

267
Scripting / Re: Adding loading video
« on: January 26, 2017, 06:52:27 AM »
it works with .mp4 just tested
just need to modify the time....
let me know..tanx

Well is working , but has the same problem , try to test with a 20 second video for example.
And open and close various games ‎one after another.
It shows the video but randomly , not from the begining (second 0).
Sometimes second 3 , sometimes second 14 ...

Still needing help with this stuff.

268
Scripting / Re: Adding loading video
« on: January 25, 2017, 01:29:41 PM »
is this what you want

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

would show a demo but "bandicam" records is all F-up....dont't know why
but it works well

Couldnt try this today , but I think thath is not what Im trying to do.
In this case uses png and I want to add a mp4 video loading animation.
My problem is stopp autoplaying the video on the background.
What I need is a function to start playing and fade in a video only when I launch a game and also fades out the video before I return to AM.

269
Scripting / Re: Adding loading video
« on: January 24, 2017, 06:00:26 PM »
Yeah, I tried this too ,but now video doestn start when I launch a game.
Seems to need another extra function to start playing.Any ideas?

270
Scripting / Re: Adding loading video
« on: January 24, 2017, 02:53:30 PM »
I have no idea how to use the animation module.

You need to add the following:
basebar.video_flags = Vid.NoAutoStart;
baseball.video_flags = Vid.NoLoop;

You could create a separate transition callback to enable video_playing, and then another to disable it again. But all this can be achieved without using the animation module and only using transition and tick callbacks.
Pleas , I need more help , pasted this and still autoplaying:

Code: [Select]
local basebar = fe.add_image( "loading/basebar.mp4", 0, 0, flw, flh );
basebar.alpha=0;
basebar.video_flags = Vid.NoAutoStart;
basebar.video_flags = Vid.NoLoop;

Pages: 1 ... 16 17 [18] 19 20 21