|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-4-19. : 6:07 am] O)FaRTy1billion[MM] -- So I'll increase the F4. Or should I just make it always the new number? xD[2016-4-19. : 6:07 am] O)FaRTy1billion[MM] -- ya, it's doing neg EAX / and EAX,F4 / Add 2F3. So it's the one you said[2016-4-19. : 6:05 am] O)FaRTy1billion[MM] -- The part that was confusing though is it is AND that number + 2F3[2016-4-19. : 6:04 am] O)FaRTy1billion[MM] -- That makes a lot of sense. since 999-the first one gives 755, which is the first twilight doodad sprite[2016-4-19. : 6:02 am] Neiv -- Wild guess: Maybe they are amount of images in sc and amount of images added in bw[2016-4-19. : 6:01 am] O)FaRTy1billion[MM] -- I found some functions where there were two constants that added up to 3E7, but I couldn't figure out what for ;o[2016-4-19. : 5:59 am] O)FaRTy1billion[MM] -- I found the function, but the most I looked at it was "yup, there's a 3E7" *copy+paste address"[2016-4-19. : 5:58 am] O)FaRTy1billion[MM] -- It's something like that, I just didn't figure out how it was generated (but I also didn't look that much in to it)[2016-4-19. : 5:58 am] Neiv -- 005240D0 ? I think it decided how many different "burning states" the building has[2016-4-19. : 5:56 am] O)FaRTy1billion[MM] -- i dunno what the building overlay array is, I just know it's there ![]() [2016-4-19. : 5:56 am] O)FaRTy1billion[MM] -- for images I got the grp array, all 6 lo? arrays, and the building overlay thing array[2016-4-19. : 5:55 am] Neiv -- Hm, images seem to be a bit worse. Also units have similar arrays that assume 228 units as well..[2016-4-19. : 5:54 am] O)FaRTy1billion[MM] -- basically new number of entries = (filesize + 130*3) / however big 1 entry is[2016-4-19. : 5:53 am] O)FaRTy1billion[MM] -- except with sprites.dat how I have it right now it just adds more ignoring the first 130[2016-4-19. : 5:52 am] O)FaRTy1billion[MM] -- clokr was suggesting just extend them to cover every entry, since that will make it way easier to guess the new number of entries (if not the default size) and there's no need to save a few bytes of memory[2016-4-19. : 5:51 am] Neiv -- Oh, have you decided what you'll do with the sprites.dat/units.dat fields that don't exist for every entry?[2016-4-19. : 5:51 am] O)FaRTy1billion[MM] -- o, but if I do extend images.dat successfully I don't know how to pass along the pointers to the GRP and LO arrays[2016-4-19. : 5:49 am] O)FaRTy1billion[MM] -- but those tables are a good way for your plugin to detect mine ![]() [2016-4-19. : 5:47 am] Neiv -- But sc doesn't care about that table after loading the files, you'll have to patch the code anyways D:[2016-4-19. : 5:46 am] O)FaRTy1billion[MM] -- I just overwrite that table because why write code that is already in SC?[2016-4-19. : 5:46 am] Neiv -- I've been planning to do that anyways to reduce the amount of version-specific offsets I have ![]() [2016-4-19. : 5:44 am] O)FaRTy1billion[MM] -- Oh, I modify the dat loading tables. You could just reference those![2016-4-19. : 5:43 am] Neiv -- Yea, if you just change the addresses without editing the code around it, it should be really simple to support[2016-4-19. : 5:41 am] O)FaRTy1billion[MM] -- NeivNeiv shouted: FaRTy1billion Hm, I doubt it? I have the plugin currently assume that flingy top speed array is at 006C9EF8, but it'd be trivial to change it to read the array pointer from 00454337 instead I just allocate a big block of memory and then overwrite references to the old arrays[2016-4-19. : 5:40 am] Neiv -- CorboCorbo shouted: You guys do so many cool stuff FaRTy1billion![]() FaRTy1billion shouted: Corbo I can't speak for anyone else, but I'm neglecting a lot to do it I haven't done anything cool bw-related during this year at all ![]() ![]() [2016-4-19. : 5:39 am] Neiv -- Assuming the patches aren't more complicated, though increasing the units.dat flingy id to 2 bytes is[2016-4-19. : 5:38 am] Neiv -- FaRTy1billionFaRTy1billion shouted: Neiv cool, but it might be easier to do it the other way around. Hm, I doubt it? I have the plugin currently assume that flingy top speed array is at 006C9EF8, but it'd be trivial to change it to read the array pointer from 00454337 instead![]() [2016-4-19. : 5:37 am] O)FaRTy1billion[MM] -- CorboCorbo shouted: You guys do so many cool stuff I can't speak for anyone else, but I'm neglecting a lot to do it ![]() ![]() [2016-4-19. : 5:35 am] O)FaRTy1billion[MM] -- Maybe I should put it on git. xD Right now at least flingy.dat mods are still totally functional[2016-4-19. : 5:31 am] O)FaRTy1billion[MM] -- I easily edited DatEdit to read the modified .dat files[2016-4-19. : 5:31 am] O)FaRTy1billion[MM] -- PyDat doesn't seem to have any definition files for the dat files ;o[2016-4-19. : 5:29 am] O)FaRTy1billion[MM] -- Also as mentioned in your topic, units.dat is indeed the most painful ><[2016-4-19. : 5:29 am] O)FaRTy1billion[MM] -- NeivNeiv shouted: I'm definitely going to update it to work with the dat expander plugin, just get it done cool, but it might be easier to do it the other way around. ![]() ![]() [2016-4-19. : 5:09 am] Neiv -- I'm definitely going to update it to work with the dat expander plugin, just get it done ![]() [2016-4-19. : 5:06 am] O)FaRTy1billion[MM] -- poiuy_qwertpoiuy_qwert shouted: you should make sure it works with http://www.staredit.net/topic/16823/ as it is, it won't work with that and I'm not sure how I'd find that to overwrite the code .. unless I made a modified version of that to accept the pointer to my plugin's buffer(s)![]() [2016-4-19. : 4:58 am] O)FaRTy1billion[MM] -- I don't really know what I'm modifying, though. I just highlighted huge blocks of memory and did "find references" in olly and then pasted the resulting table in to some arrays ![]() [2016-4-19. : 4:56 am] poiuy_qwert -- you should make sure it works with http://www.staredit.net/topic/16823/ ![]() [2016-4-19. : 4:54 am] O)FaRTy1billion[MM] -- Even though I'm running vanilla BW with no mods, plugins, or otherwise |