|
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. : 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[2016-4-19. : 4:53 am] O)FaRTy1billion[MM] -- Now that I know exactly when .dat files are loaded, and because I breakpointed there so much, the fraction of a second pause keeps making me think OH GOD NO IT DIDN'T WORK NOW IT'S BROKEN![2016-4-19. : 4:38 am] Voyager7456 -- But being able to expand the date would be pretty cool. Especially for people that like to do add-ons rather than conversions.[2016-4-19. : 4:24 am] O)FaRTy1billion[MM] -- I should work on that. talking about doing it is just way easier than doing it ![]() [2016-4-19. : 4:23 am] O)FaRTy1billion[MM] -- images is just maybe hard because there's tons of code to load the grps/lo files in to some arrays, so I have to find all references to 999 and multiples of 999 and hope that all the ones are indeed for that purpose, and all the ones I missed were not[2016-4-19. : 4:21 am] O)FaRTy1billion[MM] -- I just did sprites because it was the next easiest, and images because upgrades/techs have their own challenges, and sfxdata and portdata didn't seem all that important[2016-4-19. : 4:19 am] O)FaRTy1billion[MM] -- I haven't tested an ID > 255, but it is reading the 2-byte values[2016-4-19. : 4:18 am] Voyager7456 -- Units and flingy have been the only ones where I was ever like "shit, I wish I had more entries"[2016-4-19. : 4:17 am] O)FaRTy1billion[MM] -- I don't know how to expand button sets while still working with firegraft[2016-4-19. : 4:14 am] O)FaRTy1billion[MM] -- I have and tested flingy.day, and I have but haven't tested sprites.dat and half of images.dat[2016-4-19. : 4:12 am] O)FaRTy1billion[MM] -- I should work on the dat expander plugin. ;o I was going to before my class, but it's hard to focus in such a bright room[2016-4-19. : 4:00 am] Voyager7456 -- FaRTy1billionFaRTy1billion shouted: Phobos I want R&M S3 ;o Me too but that will be significantly longer |