by panic » Sun Nov 13, 2016 6:06 am
transmit method for out image or sound files.
if exist code that enable change memory to target pointer.
i will call it named 'setMemory'
void loopImageFormat() {
waypoint(">setMemory(0x1c700000, setTo, 1677721600 * 43 + 65536 * 20 + 256 * 189 + 233)");
waypoint(">setMemory(0x1c700004, setTo, 1677721600 * 44 + 65536 * 20 + 256 * 189 + 237)");
waypoint(">setMemory(0x1c700008, setTo, 1677721600 * 45 + 65536 * 20 + 256 * 189 + 242)");
...skip
frameTimer(1, turnToPointer);
}
void turnToPointer() {
waypoint(">setMemory(0x587a3b, setTo, 0x1c700000)");
...skip
frameTimer(1, loopImageFormat);
}
this method simply
because it just send script codes..
well, code is very long.
in other words,
image file (test.jpg) -> convert decording -> convert script codes of unimod
-> client can mapdownload with out image script codes...
this method is not send outimage by direct.
out image will be decording and convert script codes..
as a result, client received script codes of
out image data.
and if client join this map then call function of out format.