Vindikorr Posted April 10, 2013 Share Posted April 10, 2013 Hi all, I'm having trouble decompiling a script, k_pebo_skybox.ncs It's the onenter script for the Ebon Hawk in K1 and I'm guessing DeNCS is having problems with it as it had #include scripts. So my question is, if anyone has any experience decompiling from byte code and would be willing to do this you would have my greatest thanks. Also, I know Stoffe was able to decompile the onenter for TSL, but I've been unable to find one for K1, does anyone know if she, or anyone else has already decompiled the script? Thanks everyone, I'll leave the byte code below. 00000008 42 0000048C T 0000048C 0000000D 1E 00 00000008 JSR fn_00000015 00000013 20 00 RETN 00000015 1E 00 00000008 JSR fn_0000001D 0000001B 20 00 RETN 0000001D 02 03 RSADDI 0000001F 04 05 0010 str CONSTS "K_CURRENT_PLANET" 00000033 05 00 0244 01 ACTION GetGlobalNumber(0244), 01 00000038 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004 00000040 1B 00 FFFFFFFC MOVSP FFFFFFFC 00000046 04 05 0011 str CONSTS "K_SPACE_SKYBOX_ON" 0000005B 05 00 0242 01 ACTION GetGlobalBoolean(0242), 01 00000060 04 03 00000001 CONSTI 00000001 00000066 0B 20 EQUALII 00000068 1F 00 0000008B JZ off_000000F3 0000006E 04 05 0018 str CONSTS "Firing Anim 09 for Space" 0000008A 1E 00 000003C1 JSR fn_0000044B 00000090 04 05 001B str CONSTS "New Print Line Confirmation" 000000AF 1E 00 0000039C JSR fn_0000044B 000000B5 04 03 00000009 CONSTI 00000009 000000BB 04 05 0009 str CONSTS "m12aa_01q" 000000C8 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 000000CD 04 03 00000000 CONSTI 00000000 000000D3 04 05 0011 str CONSTS "K_SPACE_SKYBOX_ON" 000000E8 05 00 0243 02 ACTION SetGlobalBoolean(0243), 02 000000ED 1D 00 00000356 JMP off_00000443 000000F3 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 000000FB 04 03 0000000F CONSTI 0000000F 00000101 0B 20 EQUALII 00000103 1F 00 0000004A JZ off_0000014D 00000109 04 05 001C str CONSTS "Firing Anim 02 for Dantooine" 00000129 1E 00 00000322 JSR fn_0000044B 0000012F 04 03 00000002 CONSTI 00000002 00000135 04 05 0009 str CONSTS "m12aa_01q" 00000142 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000147 1D 00 000002FC JMP off_00000443 0000014D 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 00000155 04 03 00000014 CONSTI 00000014 0000015B 0B 20 EQUALII 0000015D 1F 00 00000049 JZ off_000001A6 00000163 04 05 001B str CONSTS "Firing Anim 01 for Kashyyyk" 00000182 1E 00 000002C9 JSR fn_0000044B 00000188 04 03 00000001 CONSTI 00000001 0000018E 04 05 0009 str CONSTS "m12aa_01q" 0000019B 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 000001A0 1D 00 000002A3 JMP off_00000443 000001A6 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 000001AE 04 03 00000019 CONSTI 00000019 000001B4 0B 20 EQUALII 000001B6 1F 00 00000047 JZ off_000001FD 000001BC 04 05 0019 str CONSTS "Firing Anim 06 for Manaan" 000001D9 1E 00 00000272 JSR fn_0000044B 000001DF 04 03 00000006 CONSTI 00000006 000001E5 04 05 0009 str CONSTS "m12aa_01q" 000001F2 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 000001F7 1D 00 0000024C JMP off_00000443 000001FD 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 00000205 04 03 0000001E CONSTI 0000001E 0000020B 0B 20 EQUALII 0000020D 1F 00 00000049 JZ off_00000256 00000213 04 05 001B str CONSTS "Firing Anim 05 for Korriban" 00000232 1E 00 00000219 JSR fn_0000044B 00000238 04 03 00000005 CONSTI 00000005 0000023E 04 05 0009 str CONSTS "m12aa_01q" 0000024B 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000250 1D 00 000001F3 JMP off_00000443 00000256 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 0000025E 04 03 00000023 CONSTI 00000023 00000264 0B 20 EQUALII 00000266 1F 00 00000049 JZ off_000002AF 0000026C 04 05 001B str CONSTS "Firing Anim 04 for Tatooine" 0000028B 1E 00 000001C0 JSR fn_0000044B 00000291 04 03 00000004 CONSTI 00000004 00000297 04 05 0009 str CONSTS "m12aa_01q" 000002A4 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 000002A9 1D 00 0000019A JMP off_00000443 000002AF 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 000002B7 04 03 00000028 CONSTI 00000028 000002BD 0B 20 EQUALII 000002BF 1F 00 0000004A JZ off_00000309 000002C5 04 05 001C str CONSTS "Firing Anim 08 for Leviathan" 000002E5 1E 00 00000166 JSR fn_0000044B 000002EB 04 03 00000008 CONSTI 00000008 000002F1 04 05 0009 str CONSTS "m12aa_01q" 000002FE 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000303 1D 00 00000140 JMP off_00000443 00000309 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 00000311 04 03 0000002D CONSTI 0000002D 00000317 0B 20 EQUALII 00000319 1F 00 0000004E JZ off_00000367 0000031F 04 05 0020 str CONSTS "Firing Anim 07 for Unknown World" 00000343 1E 00 00000108 JSR fn_0000044B 00000349 04 03 00000007 CONSTI 00000007 0000034F 04 05 0009 str CONSTS "m12aa_01q" 0000035C 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000361 1D 00 000000E2 JMP off_00000443 00000367 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 0000036F 04 03 00000032 CONSTI 00000032 00000375 0B 20 EQUALII 00000377 1F 00 0000004B JZ off_000003C2 0000037D 04 05 001D str CONSTS "Firing Anim 03 for Star Forge" 0000039E 1E 00 000000AD JSR fn_0000044B 000003A4 04 03 00000003 CONSTI 00000003 000003AA 04 05 0009 str CONSTS "m12aa_01q" 000003B7 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 000003BC 1D 00 00000087 JMP off_00000443 000003C2 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004 000003CA 04 03 00000032 CONSTI 00000032 000003D0 0E 20 GTII 000003D2 1F 00 00000059 JZ off_0000042B 000003D8 04 05 002B str CONSTS "Firing Anim 10 for all live content planets" 00000407 1E 00 00000044 JSR fn_0000044B 0000040D 04 03 0000000A CONSTI 0000000A 00000413 04 05 0009 str CONSTS "m12aa_01q" 00000420 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000425 1D 00 0000001E JMP off_00000443 0000042B 04 03 00000009 CONSTI 00000009 00000431 04 05 0009 str CONSTS "m12aa_01q" 0000043E 05 00 02E2 02 ACTION PlayRoomAnimation(02E2), 02 00000443 1B 00 FFFFFFFC MOVSP FFFFFFFC 00000449 20 00 RETN 0000044B 04 05 0026 str CONSTS "RENDER/STUNT Debug ****************** " 00000475 03 01 FFFFFFF8 0004 CPTOPSP FFFFFFF8, 0004 0000047D 14 23 ADDSS 0000047F 05 00 0001 01 ACTION PrintString(0001), 01 00000484 1B 00 FFFFFFFC MOVSP FFFFFFFC 0000048A 20 00 RETN Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.