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

Pages: [1]
1
General / Re: Install Attract-Mode on Lakka
« on: June 03, 2019, 04:56:51 AM »
Yup. Thats why i posted the guide i made to have a quick system with what i wanted. I asked the same question even in the lakka forums and they had not a clue. Did you even read my guide?

"I'm building an arcade cabinet and I'm plannaing on using an old PC rather than a raspberryPI"

Your guide is for Pi only, correct?

2
Scripting / Re: custom loading screen for every game.
« on: May 16, 2019, 04:30:22 AM »
If the intent is to display a pic that provides instruction (like controls) that may take some time to read, maybe build in code that provides an option to keep the pic displayed until a button is pressed.

Thoughts?

3
Scripting / Re: custom loading screen for every game.
« on: May 15, 2019, 02:18:43 PM »
Glad I could help, don’t get me wrong my code changes are sloppy and a word of caution don’t change the time for the second variable to 0 when you adjusting game fade out times

I have them set to 3000 and 500 respectively.  I'll probably knock the FromGame down to something very low, but this is working great.  Just need to figure out the sound piece.

4
Scripting / Re: custom loading screen for every game.
« on: May 15, 2019, 01:11:53 PM »
I think this is super useful, I will be using it to load up control instructions for games I think. So can you use a default image for a whole system instead of per game?

Edit - So I changed it from a fade to a solid image, was more useful to me in this form. Any hint on shutting audio off so my snaps dont keep playing while I show control instructions?


This is perfect and exactly what I was after.  Thanks for sharing the code changes to show a solid image.

I'll continue to see if I can find a way to mute audio from AM.  I'f I have any success I'll share here.

John

5
Scripting / Re: custom loading screen for every game.
« on: May 13, 2019, 12:30:10 PM »
OK...I only changed that one line per the instructions above.

Loading images are from ruckage on the retropie forum:  https://retropie.org.uk/forum/topic/10806/neo-geo-x-build/144

Direct link to loading screens:  https://mega.nz/#!DwEVBJ6I!QDgyA_T-9VuFZnQzQgc6DATGxLsZmGObCKLQ_jZ6imU

John

6
Scripting / Re: custom loading screen for every game.
« on: May 13, 2019, 09:58:55 AM »
Can someone confirm that this is still working in the current version of AM (v2.5.1)?  I cannot get the plugin to show the loading scree.  It only fades to black and then into the game.

I edited the .nut file and enabled the plugin.

Code: [Select]
// Layout User Options
class UserConfig </ help="Plugin fades the screen when transitioning to and from a game." /> {
</ label="To Game Run Time",
help="The amount of time in milliseconds to run the fade to game.",
order=1 />
toGameRunTime="500";
</ label="From Game Run Time",
help="The amount of time in milliseconds to run the fade from game.",
order=2 />
fromGameRunTime="500";
}

// FadeToGame
class FadeToGame {
user_config = null;
toGameRunTime = null;
fromGameRunTime = null;
shade = null;

constructor() {
user_config = fe.get_config();
toGameRunTime = user_config["toGameRunTime"].tointeger();
fromGameRunTime = user_config["fromGameRunTime"].tointeger();

shade = fe.add_artwork("title", 0, 0, fe.layout.width, fe.layout.height);
shade.set_rgb(0, 0, 0);
shade.visible = false;
shade.zorder = 9999;

fe.add_transition_callback(this, "transitions");
}

function transitions(ttype, var, ttime) {
switch(ttype) {
case Transition.ToGame:
shade.visible = true;
if (ttime < toGameRunTime) {
// Fade Out
shade.alpha = (255 * (ttime - toGameRunTime)) / toGameRunTime;
return true;
}
break;
case Transition.FromGame:
shade.visible = true;
if (ttime < fromGameRunTime) {
// Fade In
shade.alpha = (255 * (fromGameRunTime - ttime)) / fromGameRunTime;
return true;
}
break;
}
return false;
}
}
fe.plugin["FadeToGame"] <- FadeToGame();

I am putting my loading screens in ~/.attract/scraper/mame/title
The loading screens are all PNG and have the same name as the rom (i.e. 1943.png).

Code: [Select]
:home/arcade/.attract/scraper/mame/title$ ls -la
total 136
drwxr-xr-x 2 odonnellj odonnellj  4096 May 13 12:35 .
drwxr-xr-x 8 odonnellj odonnellj  4096 May 13 12:23 ..
-rwxr--r-- 1 odonnellj odonnellj 78398 Jul 22  2017 1943.png
-rwxr--r-- 1 odonnellj odonnellj 45354 Jul 22  2017 popeye.png

Am I doing something wrong?

7
Themes / Port Animatic theme to AM
« on: May 07, 2019, 12:21:58 PM »
Don't know if any of you have seen this theme for RetroFE done by Floyd:  https://www.youtube.com/watch?v=1IroDDxOSAg

It uses the video themes created by Critical Cid that can be found on emumovies.  I don't have ANY experience creating themes and wanted to see if anyone would be interested in making this work  on AM.  I imagine the vertical wheel part could be borrowed from other themes and should be able to just make most of the background the video.

John

8
General / Re: PC Build (X86) Attract Mode with SFML
« on: May 04, 2019, 10:53:39 AM »
I apologize for bringing a 1+ year old thread back from the dead, but...

I would love to know:

1.  Is it possible to compile AM for use on x86/x86 without the need of an xserver?
2.  If yes, how?  :)

I tried compiling with SFML via the link above but it fails on opengl.

I am currently running AM on a minimal install of Ubuntu 18.04 x64 via X.  If I can ditch X, I would die a happy man!  :D

John

9
General / Re: Ubuntu 18.04 x64...mame or lr-mame?
« on: May 03, 2019, 05:08:24 PM »
You dont need x. Mame uses sdl.

But what about AM?  How would you launch that without X if there is no DE?

John

10
General / Ubuntu 18.04 x64...mame or lr-mame?
« on: May 03, 2019, 02:45:53 PM »
Hey guys.

I have successfully compiled AM, MAME and Retroarch on Ubuntu 18.04 x64 Minimal.  There is no dedicated desktop environment and the system runs entirely in X.  I'll post a how-to for anyone interested in doing something similar.

Anyway, my question is kinda rudimentary...

My bartop will be dedicated to running ONLY arcade games.  If you had a choice, would you prefer mame or lr-mame?  Does one offer any benefit over the other?

BTW...I don't care about any extra functionality (like netplay) other than hi-scores.

TIA for an feedback!

John

11
General / Scraping in Linux
« on: September 27, 2018, 04:25:57 PM »
I have AM running on Lubuntu 18.04 (installed using the deb package).  However, when I try to scrape I get a message that the bottom that says "Unable to scrape, frontend was built without libcurl enabled!"

Can anyone help?  If scraping is not possible in the FE, what standalone scraper is recommended?

TIA!

John

Pages: [1]