Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: weller96c on June 17, 2016, 03:46:49 AM

Title: /.attract how to access from windows
Post by: weller96c on June 17, 2016, 03:46:49 AM
Apologies for what is likley to be an obvious noob question...

On retropie I can use windows to connect to my pi and add roms, artwork etc. \Retropie\ from explorer.

How do I access /.attract from windows if that's possible. Any artwork that's scrapped I'm assuming is stored there and I don't know how to access it to make changes?
Bit baffled
Apologies again for the question if it's stupid :)
Title: Re: /.attract how to access from windows
Post by: akafox on June 17, 2016, 12:26:20 PM
Honestly..I say your best bet is to learn linux (at least a little that is what the image runs) however I think in this case you don't need a ./attract as attractmode is not being run from the folder you are in..
Code: [Select]
attract in the command line will run it. However if you are trying to get it to run so you can see is it on your "remote monitor" then that is for a different forum..lots of technical stuff.

Hey all..question though..because the bash shell can be used on windows 10 does that mean stuff like this would be easier..maybe what weller96c is asking can be done now?
Title: Re: /.attract how to access from windows
Post by: weller96c on June 17, 2016, 01:27:41 PM
Thanks akafox for the reply.
Is there anywhere you (or anyone who can help) could point me to understand how to view the backend files of attract mode.

I've got attract mode running on my pi alongside emulation station and retropie... But unlike retropie that I normally use \\retropie\ to see the roms, bios, configs and splashscreens I don't know where to view similar for attract. The scrapper that runs on attract must save the files somewhere but my noob question is where and how do I view the files to copy and change where needed really....

Any helps really appreciated. Thanks in advance :)
Title: Re: /.attract how to access from windows
Post by: progets on June 17, 2016, 03:07:36 PM
This is the easiest way to get what you want without needing to know anything about Linux or use a 3rd party application in Windows.

1. boot into RetroPie/Emulation Station
2. from the RetroPie menu run "RetroPie Setup"
3. choose "3 Setup / Configure (to be used post install)"
4. choose "820 Configure Samba ROM Shares"
5. choose "3 Manually edit /etc/samba/smb.conf"
6. go to the very end of the file and add the following lines:
[attractmode]
comment = attractmode
path = "/home/pi/.attract"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
7. choose "OK"
8. choose "Cancel"
9. choose "Cancel"
10. choose "R Perform Reboot"

Once you have rebooted you will now have access to the .attract folder over the network the same way you access the roms in RetroPie. Inside that folder you will see the scraper folder that contains the media that was scraped with Attract-Mode.
Title: Re: /.attract how to access from windows
Post by: weller96c on June 20, 2016, 06:39:14 AM
Thanks so much progets!
Really appreciate the info, I'll give this a whirl :)

Thanks again
Title: Re: /.attract how to access from windows
Post by: iamscottyb on November 30, 2016, 09:37:26 PM
Thank a lot
Title: Re: /.attract how to access from windows
Post by: iamscottyb on December 01, 2016, 04:32:29 PM
Finally got it to show, but now it's asking me for u/n and pw. I've tried every combination I can think of with no success
Title: Re: /.attract how to access from windows
Post by: progets on December 01, 2016, 04:44:25 PM
The steps have changed in the newer RetroPie setup. Try these steps.
1. boot into RetroPie/Emulation Station
2. from the RetroPie menu run "RetroPie Setup"
3. choose "C Configuration / tools"
4. choose "822 Samba - Configure Samba ROM Shares"
5. choose "3 Manually edit /etc/samba/smb.conf"
6. go to the very end of the file and add the following lines:
Code: [Select]
[attractmode]
comment = attractmode
path = "/home/pi/.attract"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
7. choose "OK"
8. choose "4 Restart Samba Service"
9. choose "Cancel"
10. choose "Back"
11. choose "Exit"

Title: Re: /.attract how to access from windows
Post by: progets on December 01, 2016, 04:48:12 PM
If you set it up properly you shouldn't get prompted for a username and password. Can you access the other shares like "roms" and "bios"? Do those ask for a username and password?
Title: Re: /.attract how to access from windows
Post by: zlretro on January 05, 2017, 10:38:37 PM
I followed your intructions to the T and i am by no means a noob when it comes to this.... And it still asks for a username and password???? Is there anyway to get around that?  Please and thank you
Title: Re: /.attract how to access from windows
Post by: akafox on January 06, 2017, 08:00:47 AM
I am always asked for a user name and password...even on a fresh install accessing over ssh..or putty in windows...that normal behavior doing a remote log in...either that or ANYBODY could get in (oh the days of a commodore64 and no passwords lol )

try using the default name and password

name pi
password raspberry

note that you will not have access to anything below the users home directory (pi) for obvious security reasons most of the time
Title: Re: /.attract how to access from windows
Post by: zlretro on January 06, 2017, 09:16:33 AM
Yeah i tried Pi and raspberry and it just denies it... But in Winscp it works fine, but i cannot access the the attract mode folder in Winscp.  The retropie and kodi files are there, but no attract mode folder???
Title: Re: /.attract how to access from windows
Post by: akafox on January 06, 2017, 10:50:47 AM
the attract mode folder is a "hidden" folder (as designated by the dot. The  folder is actually .attract (notice the dot)

to get into it you type

Code: [Select]
cd .attact
to list it (or any hidden folders) you type

Code: [Select]
ls -a
using ls by itself will not make it appear in the listing (hence the "hidden" attribute). That just keeps your folder listing down so that you don't have to trudge through "unneeded" folders and only get into the ones that are important (Documents.. Pictures.. Downloads.. ect..)..you know because why would you ever want to get in there and edit anything by hand? ;)
Title: Re: /.attract how to access from windows
Post by: zlretro on January 06, 2017, 11:36:52 AM
Awesome thank you!  I just want to access a couple of things but i am mainly trying to change my attractmode default intro screen??
Title: Re: /.attract how to access from windows
Post by: progets on January 06, 2017, 10:44:30 PM
FYI - I have never needed to enter a username or password to access the Pi samba shares from Windows. If you followed the steps above and get prompted for a username and password there are probably network or permission settings in Windows that are preventing access.

For those of you that can't access the ".attract" folder share without a username/password, can you access the other shared folders like "roms" and "bios" without entering a username and password?
Title: Re: /.attract how to access from windows
Post by: akafox on January 08, 2017, 09:06:36 AM
When using the samba from linux I have to enter my password. But I am given three choices.

1. forget password immediately
2. Remember password until you logout
3. Remember forever

now it will list the folders  bios config print$ roms splashscreens without a password..I just can't get into them until I give credentials..

but again this is linux talking to linux....but it is a samba share as it says "smb:" in the path..and i'm connecting to a "windows network"