|
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.
[2019-3-20. : 12:42 pm] Suicidal Insanity -- Parallax doodads in the fog? So you are replacing the space tileset?[2019-3-20. : 12:43 am] Pr0nogo -- that does seem pretty useful, but thinking about it geographically, the layer before would have to replace the low dirt[2019-3-19. : 11:46 pm] Corbo -- like foggy, not able to see the bottom kind of high. Those doodads are gonna parallax. to give the 3d ness of the height because fuck yeah[2019-3-19. : 11:14 pm] Corbo -- and this is not including the insane ammounts of scrolling one has to do in all that forum list xD[2019-3-19. : 11:13 pm] Corbo -- forum>tools>scmdraft topic>first page click>stormcoast fortress 5 clicks[2019-3-19. : 10:55 pm] Corbo -- damn it SI, you should legit add a link to scmdraft somewhere in your signature xD[2019-3-19. : 6:56 am] Suicidal Insanity -- Cooler than https://www.flickr.com/photos/145804477@N06/47357681622/in/dateposted-public/ ? ![]() [2019-3-18. : 9:10 am] Suicidal Insanity -- jjf28jjf28 shouted: Suicidal Insanity I can't have code saying xIndex for something that's 1-based, to me xIndex is always a 0-based array index specifically, anything else is an identifier ("Id", usually sequential) or key (hash or a fixed-byte abbreviation or something), those are my cues so I don't need to constantly refer to some documentation so I know what to code I'm just saying have your function 'GetMapTitleStringIndex' return realValue - 1[2019-3-18. : 1:41 am] jjf28 -- I think the reason I had it so wrong was cause I could treat it as a 0-based index from section start (offsets actually start after first two bytes of numStrings) so I had my access simplified like that ![]() [2019-3-18. : 1:08 am] jjf28 -- Suicidal InsanitySuicidal Insanity shouted: No you don't. you can just change all the getters that give you a stringID instead I can't have code saying xIndex for something that's 1-based, to me xIndex is always a 0-based array index specifically, anything else is an identifier ("Id", usually sequential) or key (hash or a fixed-byte abbreviation or something), those are my cues so I don't need to constantly refer to some documentation so I know what to code[2019-3-17. : 8:58 pm] Suicidal Insanity -- No you don't. you can just change all the getters that give you a stringID instead[2019-3-17. : 6:28 pm] jjf28 -- great, had been operating under the assumption strings were zero based in a ton of my refactored code, gotta go rename all the "stringIndex"'s to stringIds ![]() [2019-3-15. : 7:27 pm] Suicidal Insanity -- DWORD ret = TotalFileSize + reinterpret_cast<unsigned __int8*>( srcData )[5] - 0x40;[2019-3-15. : 7:24 pm] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: oh, the code I have does outsize = (size-8) + buf[size-3] - 0x40; maybe that's why lol That would be it. I just have size -=8 and have other code that ignores the null padding[2019-3-15. : 7:10 pm] O)FaRTy1billion[MM] -- oh, the code I have does outsize = (size-8) + buf[size-3] - 0x40; maybe that's why lol[2019-3-15. : 7:06 pm] O)FaRTy1billion[MM] -- or do you mean the encrypted ones in stardat without decrypting them?[2019-3-15. : 6:55 pm] O)FaRTy1billion[MM] -- I just screenshotted that file because it is smaller and easier to immediately read than a binary file lol[2019-3-15. : 10:52 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: https://i.imgur.com/6SBYyJ3.png That is just what comes out to verify decryption was successful. I mean when you decrypt the font data the files are different than the copy on the CD[2019-3-15. : 10:51 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: Suicidal Insanity unless the decrypting code I have removes that, I don't see that either I'll upload what I mean when I get home - my code is from like 2002 and half of it still looks like assembler[2019-3-15. : 1:27 am] O)FaRTy1billion[MM] -- Suicidal InsanitySuicidal Insanity shouted: FaRTy1billion If you decrypt the font files from stardat.mpq instead of taking it from the CDs, then they are padded to multiples of 8?16?64? bytes and have a trailing 8 byte sequence which looks like a checksum and an empty DWORD unless the decrypting code I have removes that, I don't see that either[2019-3-15. : 12:53 am] Oh_Man -- I think therr was a crash with the autosave featute. Did that gwt fi,ed?[2019-3-14. : 11:00 pm] Suicidal Insanity -- but now the copy / paste brush will hide units again properly when the filter is selected ![2019-3-14. : 10:59 pm] Suicidal Insanity -- I keep getting distracted by various minor issues / changes whil doing fog of war. hopefully I cna finish it soon ![]() [2019-3-14. : 10:32 pm] Suicidal Insanity -- And the decryption routines I use end up increasing the font data size to fill the final blocks[2019-3-14. : 10:31 pm] Suicidal Insanity -- AhliAhli shouted: today was a good day because I noticed that I've caused a version control code to write the commit timestamp to form 03/13 13:33:37... I shall never edit that DB restore script again! Oh nice ! |