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

Pages: [1]
1
General / Re: Path settings to connect to ftp: nas
« on: May 15, 2018, 06:51:27 PM »
yeah we need a bit more info to help you, but as nespcbuild stated a mapped network drive is best or if on linux put a mount point in etc/fstab. I hope you are not using FTP because that will not work



just read through some of the posts and it looks like you are linux mint, here are a few things that might help you out

not sure if you have already set up  your fstab file, but if you have mint it has an issue to where when you update it breaks if you do not add this
vers=1.0
if you are not sure what I am talking about please ask for verification before you do anything this is more os related and not attract-mode
messing up your fstab will leave your os in an unbootable state.

2
Themes / Re: Gif animated
« on: September 24, 2017, 09:27:41 PM »
I posted on this in another thread... I created my sprite sheet by using a free app that makes sprites from .fla videos... since you have your sprite sheet open up your layout.nut file and add these lines of code

// Attempt for joystick animation sprite sheet
//sprite animation - use a spritesheet to animate specific frames of the sprite sheet
local joystick_up = fe.add_image("joysprite.png", (fe.layout.width / 2) - 480, fe.layout.height - 180, 300, 200);
local sprite_cfg = {
    when = When.Always,
   orientation = "vertical",
   height = 116,
    width = 242,
    frame = 0,
    time = 1000,
    order = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
    repeat = "yoyo",
   loop = true
}
animation.add( SpriteAnimation( joystick_up, sprite_cfg ) );

this will use the animation module.... found here https://github.com/mickelson/attract/blob/master/config/modules/spritesheet.nut
make sure this code is pointing to your sprite sheet
you will need to mess with all of the settings until you get it to match your spite sheet format.
Basically get the image to post then keep messing with the settings until the image animates smoothly and is not jumping or being cut off. my sheet is from top to bottom yours may be left to right, just tweek the settings until you get it right. Reply if you got questions

3
General / Re: Has anyone ever had this problem before
« on: September 11, 2017, 12:55:53 PM »
We are going to need a bit more info to help you get this working.... this looks like a retropie setup? if so someone else might be able to help you more than I can... first can you give us some systems specs Video Card would be useful if you have some graphical issues... also what Attract-Mode layout are you using... default one custom one.... (hard for me to tell by picture sorry) have you tried a different layout? if so do you get the same result... this should get me started with some possibilities, but like I said if this is retropie maybe one of the retropie guys could chime in :)

4
General / Re: Another Retroarch issue in Attract Mode
« on: September 11, 2017, 12:38:47 PM »
I had something similar with Sega CD today was doing a new setup on a Linux box, and I did not have the bios files in the systems folder in retroarch... does neogeo fba have a bios?... neogeo.zip? I think not sure never ran it. If it does make sure you have it in the directory that retroarch is looking for... default I think is system or systems... can not remember off the top of my head. If you are not sure what I mean look in retroarches menu under config and directories and see where your bios/system directory is pointing and stick the neogeo bios in there.

This would explain the config thing... if the configs are the same... SNES doesn't have or need a bios associated with it...

let me know if this helps.

5
Emulators / Re: Please post Dolphin Settings!
« on: September 10, 2017, 12:35:11 AM »
executable           systems\Dolphin\Dolphin.exe
args                 -b -e "Z:\Attract-Mode\roms\Nintendo Wii\[name][romext]"
this works for me on Windows

6
General / Re: Debian stretch package
« on: September 06, 2017, 07:26:26 PM »
dev would have to maintain the .deb files, alternatively you could compile from source and create your own deb. Attract-Mode is small and takes a few minutes to compile. Being a Debian version you could try aptitude and probably just use APT

sudo add-apt-repository ppa:daveg/attract
sudo apt-get update
sudo apt-get install attract

- the sudo of course unless you set that up in debian

7
General / Re: Games not starting with Retroarch, config files wrong?
« on: September 06, 2017, 06:57:17 PM »
Hi Trag0z! I do not use the Arch Linux flavor, but can you verify the path of the cores?

this is a config for Mint... notice the path to the cores they are in  /usr/lib/libretro/nestopia_libretro.so

executable           retroarch
args                 --libretro /usr/lib/libretro/nestopia_libretro.so "/media/emulation/Attract-Mode/roms/Nintendo Entertainment System/[name][romext]"
rompath              /media/emulation/Attract-Mode/roms/Nintendo Entertainment System/

for whatever reason the ppa doesn't install cores in the retroarch install folder and this could be true for the compile install. Best way to verify this is to just launch retroarch and go to settings and check the directory that retroarch uses for cores if it is set to the /user/lib... path you could just change it there. Let me know what you get.

8
Themes / Re: Layouts not working
« on: September 06, 2017, 10:58:52 AM »
Hey Johnny good to see more Linux users :) a few things to look out for on Linux with themes is pathing and make sure you have the themes in the correct spot. Let me know which themes are not working for you and I might be able to help more. You might try to look at the layout.nut file and make sure that anything with a path  is set to something like this ./theme/whatever and NOT set like this .\\theme\\whatever. Attract-mode will automatically use the Linux pathing for Windows and Linux if you use the Windows pathing with escaped slashes (\) ie ..\\windows\\blahblah\\ it will cause issues on Linux. Before you bother doing this make sure you have the theme in the correct spot for debian flavors of Linux like Mint make sure the theme is placed in the hidden \.attract\layouts folder this would be in your users folder ~.

9
General / Re: Retroarch
« on: September 03, 2017, 10:51:37 PM »
it might be possible to set shader information from command line.... if you can then in Attract-Modes emulation folder edit the emulation.cfg file and add the required shader parameters... not sure if this can be done. When I have some time I will look into retroarch documentation a bit more to see if you can set shaders via command line.

10
General / Re: Retroarch
« on: August 19, 2017, 12:07:36 AM »
not really a question for attract-mode... but here goes when  you launch your game hit f1 then go to the very first option quick menu scroll down to shaders and set to your hearts content...

11
Themes / Re: Hyperspin joystick anamation
« on: August 18, 2017, 11:53:11 PM »
oh I think the documentation for this is in the animation module... can not remember though.

repeat = the pattern to repeat "yoyo" in my case
loop = true to do what you are thinking?



ok did some digging
https://github.com/mickelson/attract/blob/master/config/modules/spritesheet.nut


maybe liquid8d can chime in... but that shows settings for repeat

12
Themes / Re: Hyperspin joystick anamation
« on: August 18, 2017, 11:51:30 PM »
the code is solid... to give a little bit more light on the subject I would first try just loading any joystick .swf file that you like in the layout.nut file forgot how to code it, but I think it is just like loading any other image just set it to the swf file. If that doesn't work for you ie the swf wont load or it doesn't look right in attract-mode look for a swf or flash to sprite sheet creator. create a single sprite sheet of the joystick animation. then use the code I posted to do a sprite animation. You will have to tweek the settings depending on your spritesheet.... I had to use yo-yo on mine as the animation goes down then up then down to complete the animation some may start left to right or some other pattern takes a bit of trial and error to get the setting, but not too hard. when you load the animation first thing is just to get the joystick in frame then it may 'Jump' a bit just mess with the corresponding setting still it looks right.
 

13
Themes / Re: Hyperspin joystick anamation
« on: August 15, 2017, 04:35:15 PM »
So I tried to load some .swf (flash) joystick animations into AM, and they did load however the colors were all messed up and I figured it may have been do to the still limited flash support. So what I did was created a sprite sheet from my flash file and added the sprite animation to my theme. Depending on what joystick animation you are using you might just be able to add the swf and it might play just fine. if not here is some sprite code if you want to go that route.



// Attempt for joystick animation sprite sheet
//sprite animation - use a spritesheet to animate specific frames of the sprite sheet
local joystick_up = fe.add_image("joysprite.png", (fe.layout.width / 2) - 480, fe.layout.height - 180, 300, 200);
local sprite_cfg = {
    when = When.Always,
   orientation = "vertical",
   height = 116,
    width = 242,
    frame = 0,
    time = 1000,
    order = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
    repeat = "yoyo",
   loop = true
}
animation.add( SpriteAnimation( joystick_up, sprite_cfg ) );


keep in mind depending on your sprite sheet the setting will be a bit different

Pages: [1]