Log In  

Hi! It would be convenient to have an option in the cart submenu to save a file from BSS to local carts, for systems that are not always connected.

For the carts that only have numerical IDs or generated names, it would be great to have a new RENAME command in the console :)

P#77341 2020-05-28 23:25

I thought they already do get saved locally? In the BBS folder? (Not to mention just being able to go back to command line and type save cartname.png to save into your carts folder.)

P#77343 2020-05-29 00:52
:: merwok

That’s more a cache than a save, and I’m not sure how easy it is to browse these offline.

About saving in console mode: the request is for no-keyboard devices!

P#77344 2020-05-29 01:42

Yeah seems like a fun feature request to me. Could be a different mechanism like guaranteeing that favorited carts stay cached, maybe even update if network is available (whatever update mechanism there is today). Good for portable players on car rides.

P#77354 2020-05-29 07:03
:: merwok

Bumping this in case the gods smile upon us for a future version

P#93834 2021-06-21 23:40
2

Copy favourites.txt to a new folder, copy the following python program to a new file called downloader.py, then run downloader.py in the same folder. You're welcome. :)

import urllib.request

def sanitize_title(title):
    new_title = ""
    allowed_characters = "_',abcdefghijklmnopqrstuvwxyz0123456789"
    for c in title:
        if c not in allowed_characters:
            new_title = new_title + "_"
        else:
            new_title = new_title + c
    return new_title

input_file="favourites.txt"

lines = []
with open(input_file) as f:
    lines = f.readlines()

for line in lines:
    split_line = line.split('|')
    cart_id = split_line[1].strip()
    cart_title = sanitize_title(split_line[6].strip())
    chars = 2
    if cart_id[0] in "0123456789" and cart_id[1] in "0123456789": chars = 1
    url = "https://www.lexaloffle.com/bbs/cposts/%s/%s.p8.png" % (cart_id[0:chars], cart_id)

    print("Now downloading:")
    print("cart id: %s" % cart_id)
    print("cart title: %s" % cart_title)
    print()
    fname = "%s.p8.png" % cart_title
    urllib.request.urlretrieve(url, fname)
P#93838 2021-06-22 02:17 ( Edited 2021-06-22 02:23)

So yeah, save locally or maybe even "export all favorites as cartridge collection" or something...for now that python program works for curating my png cartridge collection via my favorites list.

P#93839 2021-06-22 02:23

The easiest method for grabbing everything is probably MBoffin's suggestion of going to the pico-8/bbs/carts folder and copying all the .p8.png files, but I'll also note that if you load a cart, exit to Splore, and then exit Splore, the cart will remain loaded. It'd be a struggle to save a lot of carts this way but if you just want to grab one, you can save it to your hard drive and have it.

P#93871 2021-06-23 00:37 ( Edited 2021-06-23 00:38)

If this feature somehow gets put into official pico8, allow ability to make folders and save to specific folders. I save local copies like no tomorrow and use a folder system that organizes by genre. Also, saving local should also allow multicart saves, which are difficult/impossible even dropping out to command prompt. I have to get these outside of pico8. Just some input on this feature, but I do use a handheld with a keyboard, so for me this'd just be a shortcut rather than addition.

P#93873 2021-06-23 01:31

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-07-24 00:59:57 | 0.014s | Q:20