Open OSCAR Server

BART / Buddy ART Guide

What BART assets are, how type IDs and hashes work, and how to manage them on the server and in OSCAR clients.

Accuracy note: This is a practical guide. Type IDs/names/descriptions reflect common OSCAR BART documentation and the catalog used by this admin UI. Management API endpoint details are based on Open OSCAR Server api.yml. NINA wiki was offline during this update, so protocol details were not re-verified live. Verify implementation-specific behavior against the sources below.

What is BART?

BART stands for Buddy ART. It's the OSCAR asset system used for buddy icons, sounds, emoticon sets, IM chrome, status strings, and other client art.

Identified by type + hash

Each asset has a type ID (what it is) and a hash (usually MD5 hex of the file content). Together they identify the asset.

Stored on the server

The OSCAR server stores BART assets. Clients upload/download through the BART foodgroup (0x0010), and admins can manage them through the Management API.

Used by clients

Clients reference BART assets for buddy icons, arrival/depart sounds, IM chrome, emoticons, and other features. Support varies by client version.

Common BART type IDs

Type IDs tell the server and client what the asset is for. These are the known types shown in the admin catalog.

IDNameGroupWhat it's for / notes
0Buddy icon (small)IconsSmall buddy icon. GIF/JPEG/BMP/PNG, <= 32x32, <= 2KB.
1Buddy iconIconsStandard buddy icon. GIF/JPEG/BMP/PNG, <= 64x64, <= 7KB.
12Buddy icon (big)IconsLarge buddy icon. GIF/JPEG/BMP/PNG, <= 1024x1024, <= 64KB.
2Status stringStatusStatus text in StringTLV format (DATA flag always set).
13Status string timeStatusTime when the status string was set.
3Arrive soundSoundsSound played when a buddy comes online. WAV/MP3/MID, <= 10KB.
96Depart soundSoundsSound played when a buddy goes offline. WAV/MP3/MID, <= 10KB.
131IM soundSoundsInstant message sound. WAV/MP3, <= 10KB.
4Rich textText & UIRich text formatting codes (DATA flag always set).
129IM chromeText & UIIM window wallpaper/background. GIF/JPG/BMP.
136IM chrome XMLText & UIIM chrome XML definition.
137IM chrome immersiveText & UIImmersive Expressions for IM chrome.
5SuperBuddy iconOtherSuperBuddy icon XML.
6Radio stationOtherRadio station opaque struct (DATA flag always set).
15Current AV trackOtherCurrent audio/video track XML.
1024Emoticon setOtherSet of default emoticons.
1026Encryption cert chainSecurityCertificate chain for encryption certs.
1027Signing cert chainSecurityCertificate chain for signing certs.
1028Gateway certSecurityCertificate for enterprise gateway.

How to use BART in the admin panel

The BART tab talks to the Open OSCAR Management API. Pick a type, browse existing assets, or upload a new one.

1Pick a type

Select a type card in the left catalog. The selected type is used for browsing and uploading, and the upload banner explains what that type is for.

2Browse assets

  • List this type - fetch assets for the selected type ID.
  • Load all assets - scan known types and merge results so you can search by hash, type ID, or type name.
  • Preview/Use - preview an asset or copy its hash/type into forms.

3Upload or delete

  • Upload - choose a file, auto-generate MD5 hash, then upload to POST /bart/{hash}?type=....
  • Delete - remove an asset by hash via DELETE /bart/{hash}.

On the server

  • Assets are stored by hash/type in the server's BART store.
  • Management API endpoints: GET /bart?type=, GET /bart/{hash}, POST /bart/{hash}?type=, DELETE /bart/{hash}.
  • Feedbag entries can reference BART items (e.g. buddy icons). The admin Feedbag tab can set/remove a user's feedbag BART item.

In OSCAR clients

  • Clients use the BART foodgroup (0x0010) to upload/download art assets.
  • Buddy icons are typically uploaded, hashed, and referenced in presence/feedbag data so other clients can fetch them.
  • Feature support varies by client and server version. A 404/unsupported response may mean the running server build doesn't expose that endpoint.

Sources & references

Use these for authoritative or implementation-specific details.