I've been throwing around this idea for a while and finally decided to post it.
I'm wondering if it's feasible to design an addon that sends files through wow by encoding them to text and broadcasting them to other users. Here's a little more info:
Encoding Binary to text
- first some background on this:
http://en.wikipedia.org/wiki/Binary-to-text_encoding
- there are hundreds of ways to do this but I was thinking of something along the lines of basE91 (
http://base91.sourceforge.net/)
- basicly it's all about turning normal files into ASCII (normal text) that you can even type into the chatbox (as a crude example) for anyone to decode on the other end
- the encoding part wouldn't necessarily need to be done inside the game if it's too tricky, you could just do it before-hand (using a separate program) and store the results in txt files ready to copy-paste or read with the addon.
- most of these algorithms produce a medium amount of data for images, so a smily-sized color gif file would be 10-20 lines of text which is totally manageable bandwidth-wise
Sending
- there are loads of libs for sending data between addons so it's no real problem there
Decoding
- after receiving the data from someone the addon would then have to decode it back into binary and interpret it as an image to display
- another (even more complicated) possibility would be to interpret the data and draw it up pixel by pixel in the interface (similar to some of those whiteboard-ish addons I've seen for drawing tactics for raids)
I'm not really versed in LUA or the wow interface so I'm curious to see if you guys actually think it can be done on any level. I'm certain it can be at least facilitated (like sending the data using the addon and having an external program encode-decode etc.), but curious to see how much of it can be done inside the wow client and if anyone else would be interested in it.
There's a pretty nifty java encoder-decoder on the basE91 sourceforge site you can use to mess around, if you send the text through whatever means (messenger, wow whatever) and paste it in a txt file on the other side you should be able to decode it back into the original file.