Skip to main content

TapTap SCE小游戏自动发布工具

Project description

auto-publish

TapTap SCE小游戏自动发布工具,用于自动化发布和管理小游戏项目。

功能特点

  • 自动化处理游戏资源(图片、文件夹等)
  • 支持批量上传游戏文件
  • 自动将图片转换为 base64 编码
  • 支持自定义配置参数
  • 提供详细的错误处理和日志输出

使用方法

  1. 配置 minigame_config.json 文件,设置相关参数
  2. 将游戏资源文件放置在指定位置
  3. 运行主程序:
    python minigame.py
    

配置文件说明

配置文件 minigame_config.json 包含以下主要部分:

{
    "token": "your-auth-token",
    "data": {
        "project_id": "your-project-id",
        "tap_id": 123456,
        "title": "游戏标题",
        "description": "游戏描述",
        "tags": ["标签1", "标签2"],
        "version_name": "1.0.0",
        "banner": ["path/to/banner.png"],
        "icon": ["path/to/icon.png"],
        "screenshots": ["path/to/screenshot1.png", "path/to/screenshot2.png"],
        "folder": "path/to/game/folder"
    }
}

注意事项

  1. 确保所有图片文件都存在且格式正确
  2. 游戏资源文件夹中的文件将被自动转换为 base64 编码
  3. 请妥善保管 API token,不要泄露
  4. 认证令牌必须在配置文件中通过 token 字段设置
  5. 建议在发布前先进行测试

常见问题解决

如果您在发布过程中遇到问题,请检查:

  1. 配置文件是否正确
  2. token 是否有效
  3. 图片路径是否正确
  4. 游戏文件夹是否存在

依赖项

  • Python 3.6+
  • requests

许可证

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sce_minigame_publisher-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sce_minigame_publisher-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sce_minigame_publisher-0.1.0.tar.gz.

File metadata

  • Download URL: sce_minigame_publisher-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for sce_minigame_publisher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad225bdcf7b506fbf83ef57e3265032a212a50e08d1f353804a11778ad3bebfc
MD5 aadd6c2507980f7d278661684e2dba6e
BLAKE2b-256 8c67b19bf2df3bd284c3f51893ab8718048166fa3eb69cbfad4263638f455f49

See more details on using hashes here.

File details

Details for the file sce_minigame_publisher-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sce_minigame_publisher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caa1d69f97c2d9ee013c74b72de3b83e8c82630050dfefe9ca114cbacb347351
MD5 981860cf81fde67ed3a47175fd4f1b57
BLAKE2b-256 12b1230b8d03b65704c35d9cea960f6e4e2a6487aa0c119ef9be03db3d415192

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page