Author Topic: /.attract how to access from windows  (Read 18456 times)

weller96c

  • Newbie
  • *
  • Posts: 8
    • View Profile
/.attract how to access from windows
« 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 :)

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: /.attract how to access from windows
« Reply #1 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?
People want life easy..then complain about it

weller96c

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: /.attract how to access from windows
« Reply #2 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 :)

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: /.attract how to access from windows
« Reply #3 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.

weller96c

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: /.attract how to access from windows
« Reply #4 on: June 20, 2016, 06:39:14 AM »
Thanks so much progets!
Really appreciate the info, I'll give this a whirl :)

Thanks again

iamscottyb

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: /.attract how to access from windows
« Reply #5 on: November 30, 2016, 09:37:26 PM »
Thank a lot

iamscottyb

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: /.attract how to access from windows
« Reply #6 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

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: /.attract how to access from windows
« Reply #7 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"

« Last Edit: December 01, 2016, 04:48:37 PM by progets »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: /.attract how to access from windows
« Reply #8 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?

zlretro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: /.attract how to access from windows
« Reply #9 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

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: /.attract how to access from windows
« Reply #10 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
« Last Edit: January 06, 2017, 08:03:23 AM by akafox »
People want life easy..then complain about it

zlretro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: /.attract how to access from windows
« Reply #11 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???

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: /.attract how to access from windows
« Reply #12 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? ;)
People want life easy..then complain about it

zlretro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: /.attract how to access from windows
« Reply #13 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??

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: /.attract how to access from windows
« Reply #14 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?