Email or username:

Password:

Forgot your password?
Devil Lu Linvega

The html5 emulator for Varvara encodes roms in the url so they can be easily shared. The encoding is twofold:

a) A running length compression pass, so series of bytes that look the same are combined:
wiki.xxiivv.com/site/ulz_forma

b) A base64 encoding so the binary data can be represented with readable characters:
wiki.xxiivv.com/site/base64.ht

Both schemes have been implemented in uxn natively:

ulzenc: git.sr.ht/~rabbits/uxn-utils/t
b64enc: git.sr.ht/~rabbits/uxn-utils/t

2 comments
wakest ⁂

@neauoire so how many Kb can the ROMs be if they have to fit in a URI?

Devil Lu Linvega

@liaizon it depends on the browser but it definitely can fit the longest roms(64kb) without issue.

Go Up