2013-07-26T00:33:06 *** tosiaki has quit IRC 2013-07-26T00:33:26 *** tosiaki has joined #thcrap 2013-07-26T00:34:07 *** nortti_ has joined #thcrap 2013-07-26T00:34:33 *** nortti has quit IRC 2013-07-26T02:47:10 *** magictape has quit IRC 2013-07-26T03:02:10 *** tosiaki has quit IRC 2013-07-26T03:16:35 *** Nmlgc has quit IRC 2013-07-26T03:31:33 *** tosiaki has joined #thcrap 2013-07-26T03:31:36 *** Nmlgc has joined #thcrap 2013-07-26T03:32:29 *** Nmlgc has joined #thcrap 2013-07-26T03:57:52 *** tosiaki has quit IRC 2013-07-26T03:58:01 *** tosiaki has joined #thcrap 2013-07-26T04:17:55 *** magictape has joined #thcrap 2013-07-26T04:25:02 *** magictape has quit IRC 2013-07-26T04:28:06 *** tosiaki has quit IRC 2013-07-26T04:38:21 *** tosiaki has joined #thcrap 2013-07-26T04:51:27 *** toshiaki has joined #thcrap 2013-07-26T04:55:11 *** tosiaki has quit IRC 2013-07-26T05:23:13 *** toshiaki has quit IRC 2013-07-26T05:24:38 *** toshiaki has joined #thcrap 2013-07-26T05:25:54 *** toshiaki has quit IRC 2013-07-26T05:26:19 *** toshiaki has joined #thcrap 2013-07-26T06:11:07 *** tosiaki has joined #thcrap 2013-07-26T06:12:56 *** toshiaki has quit IRC 2013-07-26T06:36:16 *** KyoriAsh has quit IRC 2013-07-26T07:03:54 *** justakealook has joined #thcrap 2013-07-26T07:05:00 *** justakealook has left #thcrap 2013-07-26T07:12:38 *** KyoriAsh has joined #thcrap 2013-07-26T07:28:39 *** Ibaraki_Ibuki has quit IRC 2013-07-26T09:39:08 *** Rifle has joined #thcrap 2013-07-26T11:02:29 *** Rifle has quit IRC 2013-07-26T11:43:28 *** nortti_ is now known as nortti 2013-07-26T12:14:17 *** Ramnik has joined #thcrap 2013-07-26T13:16:50 *** koopie has joined #thcrap 2013-07-26T13:37:16 *** Ramnik has quit IRC 2013-07-26T13:45:19 *** Nmlgc has quit IRC 2013-07-26T14:01:26 *** Nmlgc has joined #thcrap 2013-07-26T14:01:36 *** Nmlgc has quit IRC 2013-07-26T14:24:58 *** youmu2 has joined #thcrap 2013-07-26T14:24:59 youmu2: I got PyTouhou working against PCB again! But it’s still far from playable… 2013-07-26T14:25:00 hi 2013-07-26T14:25:06 awesome! 2013-07-26T14:25:32 linkmauve1: I tried your thtk-names but I didnt see any difference in the ecl dump output? 2013-07-26T14:25:47 Maybe I only included EoSD names at that time. 2013-07-26T14:26:23 But you can easily pick PyTouhou’s names (in pytouhou/formats/ecl.py) and put them in thfmts.h for PCB. 2013-07-26T14:27:18 okay, I will try it! 2013-07-26T14:56:16 I found thtk/fmts.h 2013-07-26T14:56:28 I tried this: 2013-07-26T14:56:51 static const id_format_pair_t th07_fmts[] = { { 0, "", "a" }, { 1, "", "b" }, 2013-07-26T14:56:59 I added the a and b, it wwas just "" before 2013-07-26T14:57:17 but the dump still says ins_1(); rather than ins_a(); 2013-07-26T14:58:09 wait i have an idea 2013-07-26T14:59:51 I dont understand why thmsg06.c has id_format_pair_t for 06 08 09 10 11 12 125 128 13 but not 07! 2013-07-26T15:00:02 maybe it uses th06_msg_fmts 2013-07-26T15:10:18 *** tosiaki has quit IRC 2013-07-26T15:17:41 2: ('Ii', 'relative_jump'), 2013-07-26T15:17:45 what is the difference between I and i here? 2013-07-26T15:17:56 in fmts.h both are translated as S 2013-07-26T15:21:57 118: ('iIbbbb', 'drop_particles'), 2013-07-26T15:22:02 { 118, "SSss", "" }, 2013-07-26T15:22:06 thats worrisome though 2013-07-26T15:22:17 doesnt match up 2013-07-26T15:25:02 *** tosiaki has joined #thcrap 2013-07-26T15:28:38 Sorry, I was eating. 2013-07-26T15:29:18 *** Ramnik has joined #thcrap 2013-07-26T15:29:29 For your first question, in commit fd2a96211e31 I had to hardcode th06_fmts in ecsscan.l, replace it with th07_fmts or better, fix that to make it retrieve it from the options. 2013-07-26T15:29:51 Same in thecl06.c. 2013-07-26T15:30:22 At line 378, it seems. 2013-07-26T15:30:51 For our second question, I is unsigned int, and i is signed int. 2013-07-26T15:31:16 s in thtk is short int, so they actually match. 2013-07-26T15:31:28 ss is four bytes. 2013-07-26T15:48:54 *** koopie has quit IRC 2013-07-26T15:49:07 *** koopie has joined #thcrap 2013-07-26T16:04:26 *** Ramnik has quit IRC 2013-07-26T16:11:41 http://pastebin.com/raw.php?i=Ebx8rXqW ecldata4 (prismriver stage) with names! 2013-07-26T16:11:48 this is great! 2013-07-26T16:11:53 thanks a lot 2013-07-26T16:12:13 it will make possible editing details of the game 2013-07-26T16:12:26 Err, it seems off. 2013-07-26T16:12:28 also I think this conforms that there is an offby1 in the way numbers are printed 2013-07-26T16:12:46 Are you sure you didn’t invert th06 with th07? 2013-07-26T16:12:47 e.g. if you look Sub10, the ins_41's are really calling Sub11 2013-07-26T16:13:05 I modified my thecl to number subs starting with 0. 2013-07-26T16:13:06 maybe I did :( 2013-07-26T16:13:19 well what I did was 2013-07-26T16:13:28 I filled up static const id_format_pair_t th07_fmts[] = { 2013-07-26T16:13:29 I really should fix my changes and commit them… 2013-07-26T16:13:30 with names 2013-07-26T16:13:43 and it didnt change anything 2013-07-26T16:13:59 so then i copied all that over th06 2013-07-26T16:14:02 an then i got names 2013-07-26T16:14:31 *** tosiaki has quit IRC 2013-07-26T16:14:56 Did you use the names in http://pytouhou.linkmauve.fr/patches/ecl-vm.patch ? 2013-07-26T16:14:56 I guess I did something wrong :( 2013-07-26T16:15:01 no 2013-07-26T16:15:08 Currently there are only EoSD names in PyTouhou. 2013-07-26T16:15:11 ah 2013-07-26T16:15:13 okay! 2013-07-26T16:15:29 *** tosiaki has joined #thcrap 2013-07-26T16:15:31 I will push PCB ANM support very soon, I have only a few missing instructions. 2013-07-26T16:15:39 so ill apply this patch to my ecl.py from pytouhou 2013-07-26T16:15:46 then use these new names right? 2013-07-26T16:15:56 how on earth did yoy know just from looking at my paste!! 2013-07-26T16:16:05 you must be really familiar with these 2013-07-26T16:16:32 I know most opcodes numbers by heart, yeah. :( 2013-07-26T16:16:39 They are like pokémons! 2013-07-26T16:16:50 that's awesome :D 2013-07-26T16:16:55 I’m not sure that patch will apply right now. ^^' 2013-07-26T16:17:03 I only know one opcode 2013-07-26T16:17:24 Just remove the lines starting with -, and use the resulting file like that. 2013-07-26T16:17:27 Or no, wait. 2013-07-26T16:17:28 could you give me the PCB ecl.py file some time when that is convenient for you then? 2013-07-26T16:18:38 http://pytouhou.linkmauve.fr/youmu.txt 2013-07-26T16:18:41 http://pytouhou.linkmauve.fr/youmu2.txt 2013-07-26T16:18:47 (The second one.) 2013-07-26T16:18:56 thank you! 2013-07-26T16:19:13 is there supposed to missing stuff from 143 to 151 2013-07-26T16:19:54 143: ('f', None), 2013-07-26T16:19:54 … 2013-07-26T16:19:55 151: ('ffff', None), 2013-07-26T16:20:45 Yeah, because everything is still None. 2013-07-26T16:21:18 okay great 2013-07-26T16:22:37 When I’m finished with PCB ANM, I’m going back to the reverse-engineering of the ECL. 2013-07-26T16:28:19 nice 2013-07-26T16:31:57 http://pastebin.com/raw.php?i=H7i2T9z2 I think thats correct now ^^ 2013-07-26T16:34:52 its a huge huge help to me thanks a lot for helping me sort this out! 2013-07-26T16:37:55 Yes, it looks good. :) 2013-07-26T16:40:57 Look at the source code if you want to know what an instruction does, and I’ve pushed my wip branch here: http://hg.linkmauve.fr/touhou-pcb-wip 2013-07-26T16:40:59 <[Bot]MagicStone> Title: touhou-pcb-wip: Summary (at hg.linkmauve.fr) 2013-07-26T16:41:35 The instructions are in pytouhou.vm.eclrunner, described with a @instruction(number, 7) for PCB. 2013-07-26T17:55:55 *** tosiaki has quit IRC 2013-07-26T18:18:21 *** youmu2 has quit IRC 2013-07-26T18:30:26 *** magictape has joined #thcrap 2013-07-26T19:05:50 *** GasaiYuno has quit IRC 2013-07-26T19:05:53 *** koopie has quit IRC 2013-07-26T19:06:06 *** KyoriAsh has quit IRC 2013-07-26T19:07:23 *** KyoriAsh has joined #thcrap 2013-07-26T19:07:43 *** GasaiYuno has joined #thcrap 2013-07-26T19:08:44 *** tosiaki has joined #thcrap 2013-07-26T19:37:40 *** tosiaki has quit IRC 2013-07-26T20:18:48 *** Rifle has joined #thcrap 2013-07-26T20:18:55 *** Twidona has quit IRC 2013-07-26T20:26:13 *** tosiaki has joined #thcrap 2013-07-26T21:03:13 *** Twidona has joined #thcrap 2013-07-26T21:16:46 *** natsurou has quit IRC 2013-07-26T21:19:00 *** koopie has joined #thcrap 2013-07-26T21:44:50 *** Ibaraki_Ibuki has joined #thcrap 2013-07-26T23:21:03 *** natsurou has joined #thcrap 2013-07-26T23:27:42 *** tosiaki has quit IRC 2013-07-26T23:32:47 *** Nmlgc has joined #thcrap 2013-07-26T23:43:46 *** koopie has quit IRC