Files
birth1mark 29a17766a1 Add in-app Lexaloffle BBS Store and cartridge downloader
- Added integrated 🌐 BBS Store tab to arcade BIOS interface (DefaultCart.h)
- Implemented C++ Lua API bindings: __bbs_listfeatured, __bbs_download, __bbs_isdownloaded, __refreshcarts
- Curated top-rated community games catalog with 1-click download & play
- Added custom BBS Cartridge ID downloader with on-screen character picker
- Added robust magic-byte verification (PNG/p8) on downloaded cartridges
- Updated README.md and ARCHITECTURE.md documentation
2026-10-22 19:12:10 +01:00

25 lines
798 B
C++

#pragma once
#include <string>
#include <vector>
struct BBSCartItem {
std::string id;
std::string title;
std::string author;
std::string category;
std::string filename;
std::string url;
bool downloaded;
};
class BBSClient {
public:
static std::string CleanLid(const std::string& rawLid);
static std::string GetCartUrlFromLid(const std::string& lid);
static bool DownloadCart(const std::string& url, const std::string& destinationPath);
static std::vector<BBSCartItem> GetFeaturedCarts(const std::string& cartsDirectory);
static bool DownloadCartByLid(const std::string& lid, const std::string& targetFilename, const std::string& cartsDirectory);
static bool IsCartDownloaded(const std::string& filename, const std::string& cartsDirectory);
};