Pynps

Latest version: v1.6.2.post2

Safety actively analyzes 613797 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.6.2

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Good news for windows users this release. As always, for any bug refer to [issues](https://github.com/evertonstz/pynps/issues)

*PSA: Keep in mind windows has a hard time with japanese characters, that's a problem with cmd and I'm not sure if I can do something to mitigate it. But I'm looking into it. Anyone with more information about this can also refer to [issues](https://github.com/evertonstz/pynps/issues)*

Changelog
Windows binaries are available again
You read it right, "are", pynps is now shipped in two flavors for windows:

**Windows installer:**
This is the best way for noobs to get everything runing, pynps is installed at `C:\Program Files (x86)\pyNPS`, this installer ships with wget.exe and pkg2zip.exe bundled within, the installer will also add pynps into the PATHS (only if installed as administrator, aka "For all users in this computer", tho). **For people that don't care about these technicalities, basically this means you only need to install pynps and it'll work out of the box: just open cmd and type "pynps".**

For the installer, pynps uses this directory `C:\Users\USERNAME\Documents\pyNPSbin` to store everything:
-there's no `lib` folder, since it's bundled with the installer
-settings file is at `pyNPSbin\settings.ini`
-database is located at `pyNPSbin\database\pynps.db`

The download folder is `C:\Users\USERNAME\Downloads\pyNPS`

**Windows portable exe file:**
This is a one file executable shipped inside a zip, compared to the Windows installer, the portable release should have a startup time that's a little slower; You'll still need to look for a `pkg2zip.exe` and a `wget.exe` file and put it in the lib folder inside `place_where_you_extracted_zip\pynps\pynps_config\lib`. You'll also need to add the `pynps.exe` into your PATH if you want to run it easily from cmd, double clicking the file don't work.

For the portable release, **everything** is done inside `place_where_you_extracted_zip\pynps`
- `wget.exe` and `pkg2zip.exe`, as already explaned, have to be inside `pynps_config\lib\`
-settings file is at `pynps_config\settings.ini`
-database is located at `pynps_database\pynps.db`

The download folder is `pynps_downloads`, also inside `place_where_you_extracted_zip\pynps`

Support for pip on windows 14
Windows users that are familiar with python can now install pynps using pip!
On WIndows, pynps uses this directory `C:\Users\USERNAME\Documents\pyNPS` to store everything:
- `wget.exe` and`pkg2zip.exe` have to be inside `pyNPS\lib\`
-settings file is at `pyNPS\settings.ini`
-database is located at `pyNPS\database\pynps.db`

The download folder is `C:\Users\USERNAME\Downloads\pyNPS`


Windows user **not** using the installer can get [pkg2zip from lusi1](https://github.com/lusid1/pkg2zip/releases) and a wget build [from here](https://eternallybored.org/misc/wget/)

BUG fixes
- fixes 22 845ee5e914962d72b7a757482bf21900cb0b4410

binaries are packed with [pyinstaller](https://www.pyinstaller.org/) and python 3.7.8. The installer is compiled with [Inno Setup](https://jrsoftware.org/isinfo.php)

1.6.1

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Binaries won't be available until pyinstaller starts working on python 3.8, anyone interested can track it [here](https://github.com/pyinstaller/pyinstaller/issues/4311)

Changelog
Support for downloading PS3 avatars 18, implemented by smvueno at 21
Users can now download avatars for PS3, as any other PS3 pkg these will also not be extracted, but `.rap` will be downloaded when available. Users should use the flags `-A`, `--avatars` or `-da` to download pkgs from this category:

this will search for Ratchet and Clank avatars
pynps -Ac ps3 'Ratchet and Clank'

As always, everything related to this console is saved inside a `PS3` directory located in your download's folder.

d7d21e80ce9e99ec938d95cab151b5e99782188c

BUG fixes
- fixes flags not being checked for PSM 845ee5e914962d72b7a757482bf21900cb0b4410
- fixes force exit when using an unsupported flag alongside a supported one 3ac6ed5732bafc04ab0991113243c2157e6a1624
- fixes user being able to use `-zip` alongside `-cso` or `-eb` 41f0bf07f98b5b020c461bb10c3f7e6bf5424db2
- fixes flags' description, adds PS3 to all supported flags and fixes description for download resume 5d9ac9ea6a8601c27276842a35b6d81f03a604d0
- allow users to call `--version` with `-v` 7e0792f9372c9132515755dc974840a01fe778c7

1.6.0

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Binaries won't be available until pyinstaller starts working on python 3.8, anyone interested can track it [here](https://github.com/pyinstaller/pyinstaller/issues/4311)

ATTENTION (Updating users ONLY)!
Users coming from any past version will need to update the configuration file to add links related to the PS3 system, the easiest way of doing this is by removing the old settings.ini (located at ~/.config/pyNPS/settings.ini) and running pyNPS again to recreate the file.

Some users may want to do it manually for some reason, all you'll need to do is go to your settings.ini (located at ~/.config/pyNPS/settings.ini) and add the following section anywhere (respecting other sections of course):

[PS3_Links]
games = https://nopaystation.com/tsv/PS3_GAMES.tsv
dlcs = https://nopaystation.com/tsv/PS3_DLCS.tsv
themes = https://nopaystation.com/tsv/PS3_THEMES.tsv
demos = https://nopaystation.com/tsv/PS3_DEMOS.tsv
avatars = https://nopaystation.com/tsv/PS3_AVATARS.tsv

Users fixing their settings manually should also consider moving their old links from `http` to `https`.

Changelog
PS3 Support 10
Users can now download PS3 pkgs:

this will search for GTA V for the PS3
pynps -Gc ps3 'Grand Theft Auto V'

There's no pkg2zip extraction going on for PS3 (therefore `-eb`, `-cso` and `-zip` flags will be ignored). Packages are saved as `.pkg` (inside the `packages` subfolder) and `.rap` (inside the `exdata` subfolder) when available. Everything related to this console is saved inside a `PS3` directory located in your download's folder.
For now downloading avatar files isn't supported by pynps, but it'll be implemented eventually.

EBOOT.pbp identification 11
In version [1.4.3](https://github.com/evertonstz/pynps/releases/tag/1.4.3) I started efforts to find a way make identification easier for eboot games. At that release I started scanning the eboot file for the game's name and making a `.txt` file in the same folder as the eboot with the found name, it also only worked for PSX games... well, I was dumb, I have all the information needed for any game available at hand since this data is inside the database already, so scanning the file for a name is just not necessary and specially not performance friendly. So it changed it in this release:

In this version every bit of information is retrieved from the database, the `.txt` file inside the folder will be named using a pattern like this: `Name (Region) [Tittle ID].txt`. The file isn't empty anymore, instead I dump all the info for the pkg inside as json. This feature is also available for both PSP and PSX eboots.

Here's an example: [Crossroad Crisis (US) [NPUJ01342].txt](https://pastebin.com/raw/8VcKrQhh)
Here's how it looks indide the folder:
![image](https://user-images.githubusercontent.com/1169768/84305217-0cd09e80-ab30-11ea-8ef0-bf789cf40adc.png)


**Why not rename the folder instead of making a text file?** Well, PSP/Adreanline don't handle well name modification in the eboot's folder, instead of creating more problems just putting a text file there so the user can check it in the console/PC is more reasonable. I'm open to ideas on better ways to solve this, tho.

2b66757c3192d7d494458571b8af61609a127524

BUG fixes
- fixes a bug where PSP ISOs weren't being saved 46cfca1fd921c66b1c77d32698d05483926d86a3
- migrate all links to https de364ce3ea9e6488e3e9770c767201d80114073c

1.5.0

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Binaries won't be available until pyinstaller starts working on python 3.8, anyone interested can track it [here](https://github.com/pyinstaller/pyinstaller/issues/4311)

Changelog
Multisearch
You can now do multisearch by joining multiple keywords together with `+`. An example

searching for Spyro, Crash Bandcoot and Harvest Moon games on psx
pynps -cG psx "spyro+crash bandcoot+harvest moon"

d5aab019afd529c8ab6dcc388ae9f5505e2b2d8b

Sorting search results
You're now able to sort the search output with a string by using the flag `-s` or `--sort`. Available options for sorting are: console or c, title_id or id, region or r, type or t, game_name or n, size or s.
You can use multiple options with a comma, when doing so there's hierarchy and the more to the left the option is, the more priority it has in sorting items.
When this flag is not used, pynps will default to `"c,t,r,n"` for sorting.
Example:

the example below will sort the search by "type" and "size", "type" will take priority over "size"
pynps --sort "t,s" -zip -r usa -c psx -c psv "crash"

d5aab019afd529c8ab6dcc388ae9f5505e2b2d8b

Extract PKG to a ZIP file 12
Option to extract the pkg into a zip file, instead of a folder, this is good for people looking to download a bunch of games for preservation sake. When downloading multiple games, each game will be their own zip file.
To use this option just call the flag `-zip` or `--compress_zip` like so:

pynps -zip -c psx "Umi no Nushi Tsuri"

PSA: zip files are stored inside a "ZIP" folder in your downloads, instead of "Extracted".

9d7ce5e3aa4fd23d720664ef10996923fccfbcc6

1.4.3

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Binaries won't be available until pyinstaller starts working on python 3.8, anyone interested can track it [here](https://github.com/pyinstaller/pyinstaller/issues/4311)

Changelog

- when downloading a PSX game, pynps will now create a .txt file inside the eboot folder with the game's name, making them easy to identify. This is done by reading the name from the .pbp file and is a straight copy of BertrandHustle's implementation in [psx_scraper](https://github.com/BertrandHustle/psx_scraper) 8cdb9718ca36ef1e81307b93d62ad77fae4d4420

1.4.2

Pypi release is updated. Upgrade with pip using:
>pip install pynps --upgrade

Changelog

- fixes 7 0098e2f4705aebd37969d165273de24783652581

binaries will be available once I get pyinstaller working again.

Be safe and wash your hands! Let's fight COVID19 together.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.