will you be commiting these changes to our github . if not where can we find them?
I implementing text manager to work with localized dialogs now. After that i hope to add counter and it's done. I will add texts for first 3 location to test how it's work )
I've updated the build to use CPack to build a DEB file if on Linux or build an MSI on windows. Still needs some work, license needs adding, MSI banner image, include the OGRE config for qgears.exe include OGRE DLLs on Windows etc.
Text manager finished. Language changing finished. Now it's time for some variables in text (like names of characters)
<text name="item_potion">Potion</text> <text name="item_potion">ポーション</text> <dialog name="receive_potion" width="138" height="25">Received “<include name="item_potion" />”!</dialog> <dialog name="receive_potion" width="164" height="25">『<include name="item_potion" />』を手にいれた!</dialog> message:show_dialog( 2 , "receive_potion", 200, 140 )
Its possibly to specify which executables to include in the package too, if you do that LUA won't appear.Edit: Saw what you guys where saying in IRC. I don't think we should use IS because it isn't free and isn't supported by CPack, we need anyone to be able to compile the installer and to only maintain one CPack script for all platforms. For NSIS VS WIX is more native than NSIS too, see:http://stackoverflow.com/questions/1903145/nsis-vs-wix-vs-anyother-installation-packageunless there is some other reason to use NSIS over WIX? Also the intention is that the scripts will be converted automatically - without any goto's. I'm working on the script decompiler that should generate structured code (no goto's). It will be a while before this works though.
Akari how is dialog support coming along?
00000000: SETBYTE 80, 20, 6600000004: SETBYTE 80, 21, 6600000008: SETBYTE 80, 22, 660000000c: SETBYTE 80, 23, 25500000010: RET00000011: STPAL 0, 13, 0, 25500000016: IFUB 80, 20, 98, 3, 38 (False target address: 0x41)0000001c: PLUS 80, 20, 1600000020: PLUS 80, 21, 1600000024: PLUS 80, 22, 1600000028: MPPAL2 0, 85, 80, 0, 16, 20, 21, 22, 25500000032: WAIT 25600000035: CPPAL 0, 0, 16, 00000003a: LDPAL 0, 16, 13, 2550000003f: JMPB 41 (Jump target address: 0x16)00000041: IFUB 80, 20, 4, 2, 38 (False target address: 0x6c)00000047: MINUS 80, 20, 240000004b: MINUS 80, 21, 240000004f: MINUS 80, 22, 2400000053: MPPAL2 0, 85, 80, 0, 16, 20, 21, 22, 2550000005d: WAIT 25600000060: CPPAL 0, 0, 16, 000000065: LDPAL 0, 16, 13, 2550000006a: JMPB 41 (Jump target address: 0x41)0000006c: JMPB 86 (Jump target address: 0x16)
00000000: UnknownKernelFunction_128();00000000: UnknownKernelFunction_128();00000000: UnknownKernelFunction_128();00000000: UnknownKernelFunction_128();00000000: UnknownKernelFunction_0();00000000: SetPalette();00000016: do {00000016: while (!foo) {0000001C: UnknownKernelFunction_234();0000001C: UnknownKernelFunction_36();0000001C: UnknownKernelFunction_231();0000001C: UnknownKernelFunction_230();00000041: }00000041: while (!foo) {00000047: UnknownKernelFunction_135();00000047: UnknownKernelFunction_135();00000047: UnknownKernelFunction_135();00000047: UnknownKernelFunction_234();00000047: UnknownKernelFunction_36();00000047: UnknownKernelFunction_231();00000047: UnknownKernelFunction_230();0000006C: }0000006C: } while(true);
var_80_20=66;var_80_21=66;var_80_22=66;var_80_23=255;return;SetPalette(0,13,0,255);do { while (var_80_20 < 98) { var_80_20 += 16 var_80_21 += 16 var_80_22 += 16 MulitplyPallete(); Wait(256); CopyPallete(); LoadPallete(); } while (var_80_20 > 4) { var_80_20 -= 24 var_80_21 -= 24 var_80_22 -= 24 MulitplyPallete(); Wait(256); CopyPallete(); LoadPallete(); }} while(true);
00000202: reset stack (0)00000203: push byte from bank 0 897 (2)00000205: jump if false 25 (0)00000207: reset stack (0)00000208: push byte from bank 0 897 (2)0000020a: push byte from bank 0 897 (2)0000020c: push constant 1 (2)0000020e: push sub (2)0000020f: write bank (0)00000210: reset stack (0)00000211: push byte from bank 0 897 (2)00000213: push constant 0 (2)00000215: push equal (2)00000216: jump if false 25 (0)00000218: unknown 320 (0)00000219: return (0)00000203: if (!897) {00000211: if (!897 0) {00000218: kernel_unknown_800();00000219: }00000219: }00000219: return;
Akari: Have you progressed with dialogue support?