Skip to content

Releases: evertonstz/pynps

pynps 1.2.1

05 Dec 04:32
Compare
Choose a tag to compare

Bugfix release

Pypi release is updated. Upgrade with pip using:

pip install pynps --upgrade

Changelog

  • fixes bug were the lib folder would be created at /home/$USER/.config/pyNPSlib instead of /home/$USER/.config/pyNPS/lib b5607a0
    • Make sure to remove /home/$USER/.config/pyNPSlib in case you were affected.
  • adds a workaround for a current bug in prompt toolkit were some symbols like "&" would break the HTML implementation for colors 6f6b919
  • prevent app from runing without a database file c6681be
  • gracefully exit with control+c when wget is downloading, explain to the user about paused download

binary packed with pyinstaller

pynps 1.2.0

03 Dec 01:15
Compare
Choose a tag to compare

Atention

Distro specific releases deprecated

I won't be doing distro specific releases anymore (aka no .rpm and .pacman packages anymore), but pynps will still be distributed as binary here and it's now available at pypi, therefore it can also be installed with pip:

pip install pynps

New database system

Starting with this release pynps will use SqliteDict for all its database operations.

Strides were made in improving database performance in this release, with some drawbacks:

TL;DR: search is now way faster, updating database is now slower.

  • Cons
    • updating database 6x slower: updating the entire database will take ~172 seconds versus ~30 seconds in last release.
  • Pros
    • reading from the database is 17x faster: reading the entire database will take ~0.3 seconds versus ~4.9 seconds in last release;
    • reading and printing the database is 8x faster: reading the entire database will take ~8 seconds versus ~60 seconds in last release;

The entire database now resides in a single file inside /home/$USER/.config/pyNPS/database/pynps.db

Optional manual intervention needed

The user should delete every folder inside /home/$USER/.config/pyNPS/database/, since the .tsv files there are deprecated.

Changelog

Note: the README.md got updated to document the new features.

  • new arguments
--games   could be called with  -dg, now you can also use -G
--dlcs    could be called with  -dd, now you can also use -D
--themes  could be called with  -dt, now you can also use -T
--updates could be called with  -du, now you can also use -U
--demos   could be called with -dde, now you can also use -E

# Now the user can more easily do searches like this (more info on README.md):
# this searches for sonic games and demos in the psvita database
>pynps -GEc psv sonic
  • add support for multiple region inputs e41058b
# the following command was how the app worked before this update, this still applies for this new version
# this will search for sonic in the psvita american database
>pynps -c psv -r usa sonic 

# this is new, the --region/-r argument can be called multiple times
# this will search for sonic in the psvita american and japanese database
>pynps -c psv -r usa -r jap sonic  
# the following command was how the app worked before this update, this still applies for this new version
# this will update the entire database, for every system
>pynps -u

# this is kinda new, before you could update a single system at a time
# this will update the entire database, for psp and psv
>pynps -u -c psp -c psv

# this is new
# this will update only the game and dlc database for psvita
>pynps -u -c psv -G -T
Or:
>pynps -GTuc psv
  • implements SqliteDict c80e390 to 558dd14
  • remove support for search after updating database for security reasons 47acbab

binary packed with pyinstaller

pynps 1.1.0

29 Nov 22:32
Compare
Choose a tag to compare

Nopaystation beta ended, this update fixes the migration, but their https certification is currently broken, therefore pyNPS is using http until the Nopaystation team fixes the issue.

For users coming from version 1.0.0

If you're getting the following error when trying to updated your database:

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpo5vjiom_/PSV_GAMES.tsv'

Make sure to fix your links at /home/$USER/.config/pyNPS/settings.ini, they'll neet to look like this:

[PSV_Links]
games = http://nopaystation.com/tsv/PSV_GAMES.tsv
dlcs = http://nopaystation.com/tsv/PSV_DLCS.tsv
themes = http://nopaystation.com/tsv/PSV_THEMES.tsv
updates = http://nopaystation.com/tsv/PSV_UPDATES.tsv
demos = http://nopaystation.com/tsv/PSV_DEMOS.tsv

[PSP_Links]
games = http://nopaystation.com/tsv/PSP_GAMES.tsv
dlcs = http://nopaystation.com/tsv/PSP_DLCS.tsv
themes = http://nopaystation.com/tsv/PSP_THEMES.tsv
updates = http://nopaystation.com/tsv/PSP_UPDATES.tsv

[PSX_Links]
games = http://nopaystation.com/tsv/PSX_GAMES.tsv

[PSM_Links]
games = http://nopaystation.com/tsv/PSM_GAMES.tsv

Changelog

  • adds dynamic print, this means output line will adapt and fill your terminal line nicely :) 2c9bd7a
  • adds support for international (int) region, this region is used for sony's apps 1cfc257
  • adds setup.py 590acef
  • reworket how wget and pkg2zip is detected in the system 5340cc7
  • migration from beta.nopaystation.com to nopaystation.com 2f7d1d7
  • cleaned a bunch of code c251507

binary packed with pyinstaller

pynps 1.0.0

23 Nov 20:53
Compare
Choose a tag to compare

This is the first stable release, there's basically no changes from the last one, so there's no changelog. The main purpose of this release is to fix my tag/release numbers to a better format and changing the repository name to remove capitalization. This is being done in order to make the multiple builds I'm planing to release less messy to make :)

From now on the release pattern will be: A.B.C-D, where:

  • A number will go up with a major update lands or B runs out;
  • B number will go up with normal features updates, or when C runs out;
  • C number will go up with bugfixes;
  • D is the version of package, has no relation with the app version itself.

pynps v0.6

23 Nov 08:30
Compare
Choose a tag to compare
pynps v0.6 Pre-release
Pre-release

Changelog

  • show the exact extracting location when possible 53d4186
  • fix zrif being printed for debug introduced on last release 7d15c24
  • print --help when no search is provided 1477df6

binary packed with pyinstaller
binary checksum: 1e98f10801bd84c5908643b791d9d0f78e20199f8c841ba7c5e66b73ef9e210d

pynps v0.5

21 Nov 02:29
Compare
Choose a tag to compare
pynps v0.5 Pre-release
Pre-release

Changelog

  • rewrite how the app handles the --console/-c, some examples below 01e88df
# the following command was how the app worked before this update, this still applies for this new version
# this will search for sonic in the psvita database
>pynps -c psv sonic 

# this is new, the --console/-c argument can be called multiple times
# this will search for sonic in the psvita and psp database
>pynps -c psv -c psp sonic 

# this is also new, now the user can just omit the --console/-c argument
# this will search for sonic in all console's databases
>pynps sonic 

# the example above can also be archieved by calling every console with the --console/-c argument
# this will also search for sonic in all console's databases
>pynps -c psv -c psp -c psx -c psm sonic 
  • add support for unpacking psp games as EBOOT.PBP 7ffa2cf f085130
  • fixes error were psvita games without zrif would not extract f085130
  • add more colors
  • add new argument --version to output the current version being run

binary packed with pyinstaller
binary checksum: d3d8ca7c93ed8298443e80a69c478bcee4924fa04a64eaf0a0738a3f407ad4d7

pynps v0.4

14 Nov 18:37
Compare
Choose a tag to compare
pynps v0.4 Pre-release
Pre-release

Bugfix release

  • this release fixes a bug that was making cso compression not work, thank you @framki for pointing it out in #3

binary packed with pyinstaller
binary checksum: ab4f7654393c8ce5e0ceae93ccf130d004be3d18797cfd39899c9a9d7dcf96f4

pynps v0.3

14 Nov 01:11
Compare
Choose a tag to compare
pynps v0.3 Pre-release
Pre-release

Attention

New users can ignore this warning!

The user coming from any past version will need to update the configuration file to add links related to the PSM system, the easiest way of doing this is by removing the old settings.ini (located at ~/.config/pyNPS/settings.ini) and runing pyNPS again to recreate settings.ini.

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):

[PSM_Links]
games = https://beta.nopaystation.com/tsv/PSM_GAMES.tsv

Changelog

  • add support for PSM games efa1335
  • add support for packing PSP games as .cso files with multiple levels of compression available ( requested by #1 ) ec9f15c
  • fixes script ignoring user selection to not download selected content 0ff8301
  • use a less verbose method to call wget 80dbebd
  • gracefully exit with control+c when this option is presented to users (on inputs) 0ff8301
  • removes mandatory order for information in the settings.ini file 1f607b9
  • some bugfixes, full changelog can be found in the commits

binary packed with pyinstaller
binary checksum: 992a9a5b7ac2c175609eabc18c7b027411cf849f3117d2870eaa4c06d6a16b8c

pynps v0.2

13 Nov 00:34
Compare
Choose a tag to compare
pynps v0.2 Pre-release
Pre-release

Changelog

  • started using python prompt toolkit for print and input
  • added some color and cleaned some of the output
  • removed output parsing for wget, since it was only working for English speaking users
  • fixed bug were wget would leave a bunch of logfiles everywhere
  • fixed exit error
  • full changelog can be checked at commits

binary packed with pyinstaller
binary checksum: 59de15055f6a155eae4ac5fadeda4af552e25bb3196aa38894b1b9bfa8e6cfb0

pynps v0.1

07 Nov 18:38
Compare
Choose a tag to compare
pynps v0.1 Pre-release
Pre-release

Initial release.

binary packed with pyinstaller
binary checksum:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855