Skip to content

Commit

Permalink
Fix Adult Only screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ScienceDiscoverer committed Mar 19, 2024
1 parent eb3290d commit d787443
Show file tree
Hide file tree
Showing 19 changed files with 4,167 additions and 3,819 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.cod
*.res
*.exp
*.ilk

# Test Files Directory
tstf/
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Usage: steamscrd [user_id] [options]
Options:
[-app=XXXX] --> game ID to download screenshots from
[-spage=XX] --> number of page to start download from
[-sls=XXX...XXX] --> steamLoginSecure Cookie
[-sid=XXX...XXX] --> sessionid Cookie
```

### Direct input
Expand All @@ -45,6 +47,31 @@ You can use this number instead.
https://store.steampowered.com/app/[>>>292030<<<]/_3/
```

## Screenshots from "Adult Only" games

Due to specifics of Steam's age restriction implementation it is not possible to download all restricted screenshots without being logged in. Only screenshots from games that are not marked as "Adult Only" can be downloaded this way.

In order to also download screenshots from "Adult Only" games you will need to extract some cookies from your browser of choice. This can be done in 2 ways. Either by using command line arguments `-sls` and `-sid` or by inputting the cookies directly, when the program detects failure of the no-login method. This cookies are stored only in RAM while the program runs and discarded after you close it.

Also be sure to ensure that your `Adult Only Sexual Content` options are ticked in the Steam's `Store preferences`.

Here is instruction of how to get this cookies from Firefox:

![Firefox Instruction](readme/ff_cookies.png)

Login to Steam -> Go to any `steamcommunity.com` page -> Open developer tools `F12` -> `Storage` -> `Cookies` -> `steamcommunity.com`.

* Double-click and copy `steamLoginSecure` value and paste it into the program, press `Enter`.
* Repeat the same for `sessionid` cookie.

Here is instruction for Edge:

![Edge Instruction](readme/edge_cookies.png)

Login to Steam -> Go to any `steamcommunity.com` page -> Open developer tools `F12` -> `Application` -> `Cookies` -> `steamcommunity.com`.

Chrome should be pretty similar.

## Tips

* You can view screenshot comments by enabling `Comments` column in the Explorer. Switch to `View -> Details`, right-click on any column title and press `More...`, tick `Comments`, press `OK`. You can also use image viewr like [IrfanView](https://www.irfanview.com/main_download_engl.htm) to view comment while actually enjoying the image itself. Use [this instructions](https://irfanview-forum.de/forum/program/feature-requests/11035-) to enable the comment.
Expand Down
Loading

0 comments on commit d787443

Please sign in to comment.