View Single Post
03/27/15, 08:37 AM   #1
04348
Join Date: Feb 2015
Posts: 4
[WIP] Communicate with external program - Demo with playlist player

Hi !
Recently, I've search a way to play custom soundtrack in ESO (The original is fine, I just want to add some track ). But I quickly realised that it was impossible with this API... So I decided to use a very VERY awfull and uncertain way, but finally I got something working

The program is in two parts :
The ESO addon, which read the current map num, convert it to a binary array, and then use ten pixels (9 for data + one for read the correct color) in the left up corner (so 0*0 to 9*0) to display this number.
And the win program, which read the pixels, convert it to binary and to decimal, and then do anything with it

Nevertheless, I'm a very noob with the ESO API, and the addon part is even more ugly than the program :3



The terrible addon source : http://pastebin.com/haP5EtQL
(For battle and boss Battle, atm I use key to bind , it's not automatic ^^" )
And the certainly non-less terrible C++ program source : http://pastebin.com/s1Sas1n7 (Using Fmodex for play sounds)

The win program can certainly work for anyone, but for the addon I'm very doubtful about that, since I don't test it with other resolution than 1080*1920 ^^'

If someone want to try this draft, here's a zip : http://www.mediafire.com/download/i9...x4/ESO+CMP.zip
But It's certainly very buggy at the moment