Skip to content

Instantly share code, notes, and snippets.

@pxdl
pxdl / WindowsTips.md
Created November 8, 2023 02:53
Useful Windows scripts
@pxdl
pxdl / listconvertertsvrap.py
Created December 12, 2019 01:18
Converts the NoPayStation TSV for PS3 Games to pkgi-ps3 format (needs "raps" folder with corresponding rap files)
import csv
import urllib.request
import binascii
from pathlib import Path
def downloadTSV():
print('Downloading PS3_GAMES.tsv...')
url = "http://nopaystation.com/tsv/PS3_GAMES.tsv"
urllib.request.urlretrieve(url, 'PS3_GAMES.tsv')
return 1
@pxdl
pxdl / nps2pkgi.py
Last active January 24, 2023 20:03
Converts the NoPayStation TSV for PS3 Games to pkgi-ps3 format
import csv
import urllib.request
url = "http://nopaystation.com/tsv/PS3_GAMES.tsv"
print('Downloading PS3_GAMES.tsv...')
urllib.request.urlretrieve(url, 'PS3_GAMES.tsv')
newlist = []
with open('PS3_GAMES.tsv', newline='', encoding="utf8") as csvfile:
listreader = csv.reader(csvfile, delimiter=' ', quotechar='"')