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

Hi all! I'm just going to hop in and say I would also love this!

Currently we have LOAD #PICOWARE, this is very useful because PICOWARE is a multicart and it's pretty time consuming to download each p8.png

The issue is LOAD #CART puts it in some form of a cache instead of permanent storage. I have a small but growing collection of pico games I want to all have together, and a cache won't cut it (not to mention offline)

Instead, I propose SAVE #CART. This feature will download the cart and all the carts it loads to your current folder.

Yay! Saving a few seconds!

P#107991 2022-03-03 21:33
:: dw817

@ewwn. One of the problems I see with save #cart is that it might be possible for someone to either deliberately or accidentally overwrite someone else's online posted cart.

Let's say Frampton uploaded "Alien Incident" as "ai"

Now Peterson is ready to upload his cart, "Anonymous Ink" so he types in immediate mode, "save #ai" Who is to tell who is the correct author that uploaded it ?

P#108008 2022-03-04 02:58
:: ewwn

@dw817 This is meant to save carts on the BBS to your computer, not carts on your computer to the BBS

P#108009 2022-03-04 03:00
:: dw817

Well now, @ewwn, can't you just do this currently via:

load #game
save game

?

P#108012 2022-03-04 03:40
:: merwok

Re-read my second post + the sub-request about launcher carts + loaded carts.

P#108029 2022-03-04 11:21
:: dw817

Ohh ... You want SPLORE to save the cart, @merwok. Hmm ... That shouldn't be that difficult. In fact it could be saved in a folder:

sploresave

Yes when you load a cart in SPLORE it is saved to the cache, but so is everything else. I see what you're getting at.

P#108031 2022-03-04 13:33
:: ewwn

> load #game
> save game

@dw817

This all falls apart with multicarts, the save step only saves the current cart, despite the fact that when using load # it downloads carts as needed

P#108054 2022-03-04 20:17

If you have a cart open in splore, press escape and choose "exit to splore", then press escape again to go to the command prompt (if you press escape again you'll see you still have the cart loaded up). Then navigate to whatever folder you want to put it in and type:
save [desired cart name]
...and you'll have a renamed local file. Easy peasy mac-n-cheesy.

I just did this to make sure, and yes it works.

P#108055 2022-03-04 20:30 ( Edited 2022-03-04 20:37)
:: merwok

Please read title and original post: not all consoles have keyboard!
And there is a sub-request about handling loader carts.

P#108059 2022-03-04 21:51 ( Edited 2022-03-04 21:51)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-09-26 16:49:05 | 0.042s | Q:37