segra Posted April 27, 2009 Author Share Posted April 27, 2009 Kinda doesn't surprise me, all throughout the game code exists segments such as thisseg007:05B6 C4 1E C0 84 les bx, buildingGamePtrCurrentseg007:05BA 26 80 7F 02 0A cmp es:[bx+_buildingGame.TypeIndex], 0Ah ; Barracksseg007:05BF 74 72 jz short BarracksWORseg007:05C1 C4 1E C0 84 les bx, buildingGamePtrCurrentseg007:05C5 26 80 7F 02 07 cmp es:[bx+_buildingGame.TypeIndex], 7 ; WORseg007:05CA 74 67 jz short BarracksWORseg007:05CCThe "TypeIndex" field is actually the index into the data table (this code jumps to a location if its in the WOR/BARRACKS data position)... alot of code is like this Quote Link to comment Share on other sites More sharing options...
MrFlibble Posted April 28, 2009 Share Posted April 28, 2009 Is this the same kind of code that makes tech tree alterations (like Trikes being replaced with Raider Trikes for the Ordos etc.)? Quote Link to comment Share on other sites More sharing options...
segra Posted May 18, 2009 Author Share Posted May 18, 2009 not sure actually, i havnt looked at the code in awhile so i cant remember :Pi posted my IDA db in the other post, go do some digging ;)also updated DST today, had a minor bug Quote Link to comment Share on other sites More sharing options...
segra Posted July 7, 2009 Author Share Posted July 7, 2009 mediafire had removed my file it seems, reposted Quote Link to comment Share on other sites More sharing options...
MrFlibble Posted July 8, 2009 Share Posted July 8, 2009 Thanks :) I've still got to check out your stuff, haven't had time for that yet. BTW, the other package you uploaded also got removed, maybe you'd re-upload it too? Quote Link to comment Share on other sites More sharing options...
Nyerguds Posted July 9, 2009 Share Posted July 9, 2009 I still got that. Both are uploaded here now ;)http://nyerguds.arsaneus-design.com/dune/segra/ Quote Link to comment Share on other sites More sharing options...
segra Posted July 10, 2009 Author Share Posted July 10, 2009 figures, those bastards... lolthanks Nyergudshave you found out anything interesting from the db? Quote Link to comment Share on other sites More sharing options...
Nyerguds Posted July 12, 2009 Share Posted July 12, 2009 haven't had a chance to dig into it yet... got school stuff to do, am working on upgrading C&C (which is easier because Hyper added new sections to the exe file, giving me tons of new space to write new code in), and my PC is giving me problems... Quote Link to comment Share on other sites More sharing options...
XTF Posted July 12, 2009 Share Posted July 12, 2009 You may need the Visual C++ 2008 Redistributables'http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=enIf you use the static runtime, you can avoid that dependency. Quote Link to comment Share on other sites More sharing options...
segra Posted October 5, 2009 Author Share Posted October 5, 2009 Link changed to 1.2,named a whole bunch of functions which where previously wrong, or sub_blah Quote Link to comment Share on other sites More sharing options...
Nyerguds Posted October 5, 2009 Share Posted October 5, 2009 File added to my site :) Quote Link to comment Share on other sites More sharing options...
dvalin Posted October 12, 2009 Share Posted October 12, 2009 I'm in the process of wrapping things up for doing a new release of libeastwood now and looking into switching to usedata from the dune 2 demo for my test suite to make it distributable.With the EMC files being different in the demo, it made the EMC unit tests fail and I looked closer into what caused it.It turned out to be the unknown values hardcoded in the header when assembling being the culprit, so I tried figuringout what these values actually are.Turned out to be pretty trivial, it's just the file size as big endian. :)Here's the change of mine: http://bazaar.launchpad.net/~doonlunacy/libeastwood/trunk/revision/645(For anyone else perhaps wondering what this is about, I've merged segra's code into my library;) Quote Link to comment Share on other sites More sharing options...
segra Posted October 13, 2009 Author Share Posted October 13, 2009 thanks dude, hahaha thats pretty funny :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.