Anyway, given that I use 8 verts per cube my UV mapping capabilities will be a tad limited (I can't do separate islands per cube, even if I could I wouldn't know how), but I should be able to do overlapping UVs and specify the folding in such a way that they end up like this

Which is of course
TOP - SIDES (folded over each other) - BOTTOM
I'd like to map this out, if at all possible, using code (if there's a memory efficient way to do this, if not I'll just not use textures) but I've got literally no clue how I'd even do that.