View Full Version : [HOW-TO] Hexediting RBF-Files
Copernicus
25th Feb 09, 8:43 AM
You don't have to use hexeditors anymore:
Use this to convert the RBF-files: click (http://forums.relicnews.com/showthread.php?t=216883), if you want a GUI use this one: click (http://forums.relicnews.com/showthread.php?t=216952)
For extracting the RBF-files use this tool: click (http://forums.relicnews.com/showthread.php?t=215443)
---
I assume that know the basics of using hexeditors and already have the RBF-files extracted as I won't explain this here.
You can modify the files with nearly every hex editor, I chose Hex Editor Neo. You can grab a free version of it here (http://www.hhdsoftware.com/Products/home/hex-editor-free.html). There's another hexeditor called XVI32 (see here (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm)) which is cappable of converting normal numbers to floats.
You'll also need SGA-Reader (http://code.google.com/p/modstudio2/downloads/list), which you already must have used to extract the RBF-Files. This tool is capable of displaying the content of RBF-Files.
First we should know which value we want to change. For doing this, open up SGA-Reader, select "File"->"Open File System" and navigate to your extracted RBF-file. Change "Default File Action" to Preview and doubleclick your RBF-file. You should now see a new window popping up; in there navigate to the value you want to change. Let's say you want to change the health-value of an ebps-RBF: This value is located at GameData->health_ext->hitpoints. In my case the value for hitpoints is 4500. Keep this value in mind!
Now we've got to ask ourself a question:
What kind of value is this? Is it...
a) an integer (1,2,3,4,5,6,7 and so on)
b) a float (1.2345, 12666.75676, 4000.000)
c) a string ("This is a string.", "test")
b) a bool (either true or false)
I'd say it's a float. What? You don't believe me? You say it must be an integer?
Well, think about it for a second. From what you see you could say that it is an integer, but you could also enter 4500.78 as a value for hitpoints, so it's a float value. Let's imagine you wanted to change the number of entities in a squad ("loadout") - this would be an integer, 'cause a squad can't have 3.454 Space Marines ;).
Now, open up your hex editor. Do a search for a float (Hex Editor Neo can do this, I'm not sure if all hex editors support searching for floats), just enter the value 4500, it'll automatically convert it into a float value. If you're searching for a integer, you'll have to convert it to a hex-value and search for the corresponding bytes. If you're searching for a bool, you'll have to keep your eyes open for 0100 0000 (= true) and 0000 0000 (= false).
When you've found your value, you can just overwrite it.
Save your file and open it up in SGA-Viewer to see if the values changed.
In my case I replaced 00a0 8c45 (which is the hex value for a float of 4500) with 0000 803f (which is the hex value for a float of 1). If SGA-Viewer still displays the old value, then you edited the wrong hex-offset.
General Tips:
1. Float values are DWords (four bytes = 00 00 00 00).
2. Strings are always at the end of the file.
3. If you edit a string, make sure your new string is NOT longer than the old one, otherwise it won't work. This would only be possible with a proper RBF-Editor.
4. If there are multiple values for your search, try searching for other values that should be near the value you're searching for. E.g. you want to edit the regeneration-value, which is located in GameData->health_ext->regeneration. This is a quite small value and there will be multiple float having this value. Now, we can see, that right next to it is the health-value which might be a more unique value. Search for the health-value and look if there's a float having the value of the regeneration near it.
5. If you've found the rough position of a bool but you're not sure, which of the bools is the right, take the first one.
6. You can convert decimal values into hex values using the WindowsCalculator.
Good luck.
About Floats
So, you wonder how to convert floats? I'll explain it to you:
First, here are some Float/Dec values...
DEC FLOAT
0 00 00 00 00
0.25 00 00 80 3E
1 00 00 80 3F
4 00 00 80 40
As you can see, DEC 1 is FLOAT 0000 803F. If we increment the last byte by 1 (from 3F to 40), DEC 1 turns into DEC 4. This means, it's multiplicated by 4. If we increment the value again (to 41), DEC 4 turns into DEC 16. Again it's multiplicated by 4. If we decrement 3F to 3E it's divided by 4. That's how the system works with the last byte, hope you understand this.
Now we'll take a look at the next byte:
DEC FLOAT
0.5 00 00 00 3F
0.50390625 00 00 01 3F
...........................................
1 00 00 80 3F
If the next byte is 00, then the value of the last byte (in this case 1) is multiplicated with 128/256. If the next byte is 01, then the value of the last byte is multiplicated with 129/256 and so on... This is true until the next byte reaches 81 (at 80 it's multiplicated by 256/256, this is 1).
DEC FLOAT
1.0078125 00 00 81 3F
1.015625 00 00 82 3F
1.9921875 00 00 FF 3F
Now, if the next byte is 81 the multiplicator is NOT 257/256 but 258/256. If the next byte is 82, then the multiplicator is 260/256 and so on. If the next byte is FF, then the multiplicator is 510/256.
Let's take a look at the next byte:
DEC FLOAT
1.000030518 00 01 80 3F
1.000061035 00 02 80 3F
1.00007781982 00 FF 80 3F
If this byte is 01 then the value of the last byte is multiplicated by 65538/65536 and added to the value of the last byte, if the byte is 02, then the multiplicator is 65540/65536 and so on.
The first byte can be neglected, as the values get so small, that it doesn't make any difference (but the system is the same as with the second byte).
-cope.
AdarsTears
25th Feb 09, 8:57 AM
Thank you.
supr3mekill3r
25th Feb 09, 10:27 AM
Keep in mind that searching for floats, I find that it usually won't find what I copy into the search until I convert it to hex and do a search for one of the 4 or 8 bytes individually, and then it turns out just slightly different hex code then the conversion.
Copernicus
25th Feb 09, 10:35 AM
//added some information about floats.
darkelf
25th Feb 09, 10:55 AM
Thanks :)
Quick question, how would you convert floats to the hex value?
Edit: Remind me to refresh my window before posting :)
Corsix
25th Feb 09, 10:58 AM
If you're using XVI32 as your hex editor, then it can convert between floats and numbers for you: Tools -> Encode Number, "as" -> "32 bit IEEE single", "Output" -> "Here".
darkelf
25th Feb 09, 11:07 AM
Using the same one as Cope. Converting is not available apart from the non-free versions :(
supr3mekill3r
25th Feb 09, 11:31 AM
You could use the 14 day trial in the meantime darkelf
AdarsTears
25th Feb 09, 12:02 PM
How do I go about finding a Bool? Say I want to change is_invincible = false to true, false is 0 and true is 1, right?
Copernicus
25th Feb 09, 12:07 PM
Yeah, right. But you'll find thousands of those. Look into the tips I wrote down ;). Tip no4 should help you finding the bool value.
AdarsTears
25th Feb 09, 12:33 PM
Thanks. Another question(they never end, eh?) in DataAttribebps\campaign\playable\race_marine\troops, there's sm_force_commander.rbf this file is for the player's FC in the campaign game correct? In the file he has 4500 hitpoints, but ingame only 118. Changing the value doesn't seem to affect him ingame. What am I missing?
Corsix
25th Feb 09, 12:34 PM
HP is set by squad_leveling_ext or whatever it's called
AdarsTears
25th Feb 09, 12:36 PM
Ahhhhh! Thank you!
Promythyus
25th Feb 09, 2:34 PM
<3 Cope & Corsix! I'll be using this to hopefully increase squad sizes ^.^
Xaero
25th Feb 09, 7:40 PM
Something I'd like to point out... in Hex Editor Neo at least, you can right click in the viewable area and set display as > and there's all the value types there that you would search for, you can then skip converting numbers into hex and just type the value you want to change it to, makes things go alot quicker for me skipping the calculating part :)
AdarsTears
26th Feb 09, 7:58 AM
I can't seem to find the values for base_personnel_cap and max_personnel_cap. I manged to find resource_max_cap and change it from 100 to 500 but the other two values, both 100 elude me. Any advice?
Copernicus
26th Feb 09, 8:05 AM
As you can see, base_personal_cap and max_personal_cap are
a) both integers and
b) very close to each other.
Do a search for 64h (the h after the number means that it's hex, not dec) and look if there's a 64h close to it. For the SpaceMarines' racebp the offsets would be 0x1278 and 0x1290.
AdarsTears
26th Feb 09, 8:28 AM
Right, found it. Now what? do I change that value or the other one, 1F?
Seems like after I edited max pop cap my brain shut down.
Copernicus
26th Feb 09, 8:30 AM
You edit both the 64h values to whatever you like.
AdarsTears
26th Feb 09, 10:21 AM
Thanks. What about larger values, like the ones found in player>starting_res? Since you can have only two digits, do I look for an address with multiple two digit values adding up to say 500, or 10000? What about 0? What if I want to change 0 to a higher number?
Xaero
26th Feb 09, 10:25 AM
larger numbers like that are generally going to be floats
Copernicus
26th Feb 09, 10:28 AM
If you've got 0, then you have to do a lot of searching/trial and error. Those larger values might be floats, check this first. Let's say they're not floats but ints, so you have to convert them to hex... Now, if your hex value is D903 (just some random number) you should search for 03D9, 'cause must of the values are "inverted" (I'm actually searching for the right word...).
Xaero
26th Feb 09, 10:57 AM
There is a way to limit the trial and error with 0's
I've found a pattern to tables in rbfs, they generally have the values you want 3 offsets apart, so for example you want to find a squad's build_button_index so you can change where in the hq's build menu the unit appears, the value for instance is 1 and there's probably alot of integer 1s in the file, find a big number near it in the rbf table for instance the squad_name reference number is just a few values down and is a big number (9025623) then go backwards 3 offsets and it comes to 724 (which is a blank value for minimap_blip_override in the table) and then again back 3 more and you come to a 1, BINGO! The value you were after. Sometimes the 3 offset spacing is 4 although I have yet to determine the reason, however I suspect it depends on how deep into a table's tree of folders you are.
sage
26th Feb 09, 10:59 AM
Hmm... I'm having trouble -- not with the the hex part, but getting the game to load the RBF file. (Yes, have -dev, and it's loading a .lua, so I'm pretty sure it's working).
When I extract the the rbf I'm modding, it goes into:
Archives\Attrib\simulation\attrib\ability\campaign\playable\race_marine\myfile.rbf
It doesn't seem to work either there or if I put it here:
\GameAssets\Attrib\simulation\attrib\ability\campaign\playable\race_marine\myfile.rbf
What am I missing?
Copernicus
26th Feb 09, 11:05 AM
Try this:
\GameAssets\Data\simulation\attrib\ability\campaign\playable\race_marine\myfile.rbf
@Xaero:
I noticed this structure, too, but I thought that most people would get rather confused if I mentioned it ;). Hopefully we don't need to care about hexediting anymore soon :)
AdarsTears
26th Feb 09, 11:17 AM
Problem, the SGA file I created using Corsix's SGA Packager causes the game to crash at the first loading screen. I did convert it to V5.
Should I post my error log? It's pretty big.
sage
26th Feb 09, 11:21 AM
Cool, that new path worked. I can tell because now it crashes on startup. Oh the joys of hex editing...
Copernicus
26th Feb 09, 11:29 AM
@AdarsTears:
Post it using a spoiler.
@sage:
Look into the warnings.txt, it might tell you what the problem is.
AdarsTears
26th Feb 09, 11:37 AM
Here:
dow2.exe caused an Access Violation in module dow2.exe at 0023:0068f9dd. Error occurred at 2/26/2009 21:08:42. dow2.exe, run by user. Microsoft Windows XP?. 2 processor(s), type 586. 4094 MBytes physical memory. Read from location 00000004 caused an access violation. MiniDump saved to file 'C:\Users\user\Documents\My Games\Dawn of War 2\2-26-2009_21_08_42_MiniDump.dmp' Registers: EAX=14192e80 CS=0023 EIP=0068f9dd EFLGS=00010216 EBX=00000000 SS=002b ESP=5353fd68 EBP=5353fd9c ECX=5353fd8c DS=002b ESI=00000000 FS=0053 EDX=24351588 ES=002b EDI=003b5b00 GS=002b Bytes at CS:EIP: 8b 7e 04 3b fb 89 46 04 74 0f 57 e8 23 25 00 00 Call Stack: 0x0068F9DD: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x00439489: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x00439928: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x10AB28DD: (D:\Warhammer 40K - Dawn of War II\Util.dll) 0x0041952B: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x004290E7: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x0042941E: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x00A29CDB: (D:\Warhammer 40K - Dawn of War II\dow2.exe) 0x75A729BB: (C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR80.dll) 0x75A72A47: (C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR80.dll) 0x77D7CFED: (C:\Windows\SysWOW64\ntdll.dll) 0x77D7D1FF: (C:\Windows\SysWOW64\ntdll.dll) Stack dump: 5353ffdc: 75a729e1 3d821f98 00000000 00000000 00000000 00000000 75a729e1 3d821f98 5353fffc: 00000000 Module list: names, addresses, sizes, time stamps and file times: D:\Warhammer 40K - Dawn of War II\steam_api.dll, loaded at 0x00020000 - 87288 bytes - 48c09847 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\STLPort.dll, loaded at 0x001a0000 - 521536 bytes - 49429493 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\Debug.dll, loaded at 0x00230000 - 54592 bytes - 49429476 - file date is 2/15/2009 21:57:02 D:\Warhammer 40K - Dawn of War II\BugSplat.dll, loaded at 0x00260000 - 227408 bytes - 483b5de5 - file date is 2/15/2009 21:57:02 D:\Warhammer 40K - Dawn of War II\Memory.dll, loaded at 0x00340000 - 70976 bytes - 4942947b - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\Filesystem.dll, loaded at 0x00360000 - 267584 bytes - 494294b1 - file date is 2/15/2009 21:57:06 D:\Warhammer 40K - Dawn of War II\Platform.dll, loaded at 0x003b0000 - 99648 bytes - 4942949a - file date is 2/21/2009 23:52:58 D:\Warhammer 40K - Dawn of War II\XThread.dll, loaded at 0x003e0000 - 32576 bytes - 494294b1 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\dow2.exe, loaded at 0x00400000 - 16135488 bytes - 49429d1a - file date is 2/15/2009 21:57:04 D:\Warhammer 40K - Dawn of War II\Spooge.dll, loaded at 0x01410000 - 668992 bytes - 494294e6 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\LuaConfig.dll, loaded at 0x014d0000 - 165184 bytes - 494294b8 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\Profiler.dll, loaded at 0x01520000 - 20800 bytes - 4942949d - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\Util.dll, loaded at 0x10aa0000 - 329024 bytes - 494294d0 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\MathBox.dll, loaded at 0x10b00000 - 165184 bytes - 494294b4 - file date is 2/15/2009 21:57:08 C:\Windows\system32\XINPUT1_3.dll , loaded at 0x10b50000 - 81768 bytes - 46145335 - file date is 4/5/2007 04:53:42 D:\Warhammer 40K - Dawn of War II\DivxMediaLib.dll, loaded at 0x10b70000 - 86016 bytes - 40299282 - file date is 2/15/2009 21:57:02 D:\Warhammer 40K - Dawn of War II\DivxDecoder.dll, loaded at 0x10b90000 - 413696 bytes - 40299280 - file date is 2/15/2009 21:57:02 D:\Warhammer 40K - Dawn of War II\FileParser.dll, loaded at 0x10c00000 - 86016 bytes - 40299281 - file date is 2/15/2009 21:57:06 D:\Warhammer 40K - Dawn of War II\Localizer.dll, loaded at 0x10c20000 - 58688 bytes - 494294b8 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\Shark.dll, loaded at 0x10c40000 - 476480 bytes - 4942953f - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\libacml_mp_dll.dll, loaded at 0x10cd0000 - 7475200 bytes - 46e29b44 - file date is 2/15/2009 21:57:06 D:\Warhammer 40K - Dawn of War II\libifcoremd.dll, loaded at 0x11400000 - 655360 bytes - 44d0c813 - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\libmmd.dll, loaded at 0x114b0000 - 2801756 bytes - 44e46f5e - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\libguide40.dll, loaded at 0x11760000 - 200704 bytes - 448dbcde - file date is 2/15/2009 21:57:08 D:\Warhammer 40K - Dawn of War II\fmodex.dll, loaded at 0x117a0000 - 1054016 bytes - 48e2bc4d - file date is 2/15/2009 21:57:06 D:\Warhammer 40K - Dawn of War II\SimEngine.dll, loaded at 0x119a0000 - 566592 bytes - 49429516 - file date is 2/15/2009 21:57:08 C:\Windows\system32\msidcrl40.dll , loaded at 0x27500000 - 1089440 bytes - 46d35309 - file date is 8/28/2007 01:41:22 C:\Windows\system32\xlive.dll , loaded at 0x68c80000 - 14303392 bytes - 4907b08f - file date is 10/29/2008 03:41:22 C:\Windows\system32\atiumdva.dll , loaded at 0x69f50000 - 4690432 bytes - 48eeb6c2 - file date is 10/10/2008 03:58:28 C:\Windows\system32\atiumdag.dll , loaded at 0x6a3f0000 - 3922944 bytes - 48eebbf8 - file date is 10/10/2008 04:20:44 C:\Windows\system32\winbrand.dll , loaded at 0x6aae0000 - 869376 bytes - 4549be0a - file date is 11/2/2006 11:46:14 C:\Windows\system32\d3dx9_37.dll , loaded at 0x6aca0000 - 3786760 bytes - 47cdef5d - file date is 3/6/2008 01:56:58 C:\Windows\system32\d3dx9_39.dll , loaded at 0x6b060000 - 3851784 bytes - 486ad40c - file date is 7/12/2008 18:18:52 C:\Windows\system32\mscms.dll , loaded at 0x6cb90000 - 391168 bytes - 4791a71d - file date is 1/21/2008 04:49:34 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\MSVCP90.dll, loaded at 0x6ccd0000 - 568832 bytes - 47313dd4 - file date is 11/23/2008 21:16:16 C:\Windows\system32\d3d9.dll , loaded at 0x6d5f0000 - 1788928 bytes - 4791a65d - file date is 1/21/2008 04:49:20 C:\Windows\system32\WINHTTP.dll , loaded at 0x6e1b0000 - 376832 bytes - 4791a7b1 - file date is 1/21/2008 04:50:12 C:\Windows\system32\icm32.dll , loaded at 0x6e530000 - 215040 bytes - 4791a6cc - file date is 1/21/2008 04:49:34 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\MSVCR90.dll, loaded at 0x6e880000 - 655872 bytes - 47313dce - file date is 11/23/2008 21:16:16 C:\Windows\SysWOW64\dxdiagn.dll , loaded at 0x6e950000 - 195072 bytes - 4791a6c3 - file date is 1/21/2008 04:49:20 C:\Windows\SysWOW64\dxgi.dll , loaded at 0x6ea20000 - 171520 bytes - 4791a6c4 - file date is 1/21/2008 04:48:26 C:\Windows\system32\XLive\sqmapi.dll, loaded at 0x6ea60000 - 134144 bytes - 4549bdf0 - file date is 9/19/2007 01:01:02 D:\Warhammer 40K - Dawn of War II\WINTRUST.dll, loaded at 0x6ee70000 - 171520 bytes - 4791a7c9 - file date is 2/23/2009 20:05:14 C:\Windows\system32\faultrep.DLL , loaded at 0x6eee0000 - 147456 bytes - 48d1dded - file date is 9/18/2008 06:56:04 C:\Windows\system32\WindowsCodecs.dll, loaded at 0x6ef70000 - 712704 bytes - 48b61ddc - file date is 8/28/2008 05:40:12 C:\Windows\System32\msxml3.dll , loaded at 0x72cd0000 - 1191936 bytes - 48c0bf8d - file date is 9/5/2008 07:14:06 C:\Windows\system32\dwmapi.dll , loaded at 0x72e00000 - 39936 bytes - 4791a6c1 - file date is 1/21/2008 04:48:56 C:\Windows\system32\audioeng.dll , loaded at 0x72e80000 - 397312 bytes - 4791a639 - file date is 1/21/2008 04:50:38 C:\Windows\system32\AUDIOSES.DLL , loaded at 0x72fe0000 - 116224 bytes - 4791a63b - file date is 1/21/2008 04:50:38 C:\Windows\system32\midimap.dll , loaded at 0x73090000 - 17408 bytes - 4791a714 - file date is 1/21/2008 04:48:16 C:\Windows\SysWOW64\msv1_0.DLL , loaded at 0x73180000 - 210432 bytes - 4791a723 - file date is 1/21/2008 04:49:06 C:\Windows\system32\DSOUND.dll , loaded at 0x73200000 - 444416 bytes - 4791a6b5 - file date is 1/21/2008 04:48:58 C:\Windows\system32\msacm32.drv , loaded at 0x733f0000 - 21504 bytes - 4791a705 - file date is 1/21/2008 04:48:16 C:\Windows\System32\MMDevApi.dll , loaded at 0x73400000 - 149504 bytes - 4791a6ed - file date is 1/21/2008 04:50:24 C:\Windows\system32\dbghelp.dll , loaded at 0x73430000 - 798208 bytes - 4791a665 - file date is 1/21/2008 04:48:32 C:\Windows\system32\credssp.dll , loaded at 0x73510000 - 15872 bytes - 4791a769 - file date is 1/21/2008 04:50:02 C:\Windows\system32\wdmaud.drv , loaded at 0x735a0000 - 166912 bytes - 4791a773 - file date is 1/21/2008 04:50:58 C:\Windows\system32\IconCodecService.dll, loaded at 0x73600000 - 9728 bytes - 4549bcec - file date is 11/2/2006 17:01:42 C:\Windows\system32\POWRPROF.dll , loaded at 0x73610000 - 97280 bytes - 4791a780 - file date is 1/21/2008 04:51:14 C:\Windows\SysWOW64\PROPSYS.dll , loaded at 0x73630000 - 754176 bytes - 483b9976 - file date is 5/27/2008 07:17:48 C:\Windows\system32\AVRT.dll , loaded at 0x737e0000 - 12800 bytes - 4791a655 - file date is 1/21/2008 04:50:38 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6001.18000_none_886786f450a74a05\COMCTL32.dll, loaded at 0x739c0000 - 531968 bytes - 4791a629 - file date is 1/21/2008 04:49:08 C:\Windows\system32\ksuser.dll , loaded at 0x741e0000 - 4608 bytes - 4549bd89 - file date is 11/2/2006 11:46:06 C:\Windows\system32\cryptdll.dll , loaded at 0x74220000 - 57856 bytes - 4791a76f - file date is 1/21/2008 04:50:10 C:\Windows\System32\wship6.dll , loaded at 0x74240000 - 9216 bytes - 4791a7b0 - file date is 1/21/2008 04:48:44 C:\Windows\system32\d3d8thk.dll , loaded at 0x74250000 - 11264 bytes - 4549bcc0 - file date is 11/2/2006 11:46:04 C:\Windows\system32\rasadhlp.dll , loaded at 0x74260000 - 10240 bytes - 4549bda2 - file date is 11/2/2006 11:46:14 C:\Windows\system32\wbem\fastprox.dll, loaded at 0x74270000 - 614400 bytes - 4791a69a - file date is 1/21/2008 04:49:26 C:\Windows\system32\MSACM32.dll , loaded at 0x74370000 - 71680 bytes - 4791a704 - file date is 1/21/2008 04:50:48 C:\Windows\system32\NTDSAPI.dll , loaded at 0x74390000 - 88576 bytes - 4791a7a9 - file date is 1/21/2008 04:51:04 C:\Windows\system32\wbemcomn.dll , loaded at 0x743b0000 - 357888 bytes - 4791a77b - file date is 1/21/2008 04:48:16 C:\Windows\system32\wbem\wbemsvc.dll, loaded at 0x74480000 - 49152 bytes - 4791a781 - file date is 1/21/2008 04:48:14 C:\Windows\system32\pnrpnsp.dll , loaded at 0x74490000 - 62464 bytes - 4791a770 - file date is 1/21/2008 04:52:04 C:\Windows\system32\wbem\wbemprox.dll, loaded at 0x744b0000 - 30208 bytes - 4791a780 - file date is 1/21/2008 04:48:14 C:\Windows\System32\winrnr.dll , loaded at 0x744c0000 - 19968 bytes - 4549be1f - file date is 11/2/2006 11:46:16 C:\Windows\system32\napinsp.dll , loaded at 0x744d0000 - 50176 bytes - 4791a716 - file date is 1/21/2008 04:49:50 C:\Windows\system32\NLAapi.dll , loaded at 0x744e0000 - 48128 bytes - 4791a746 - file date is 1/21/2008 04:51:10 C:\Windows\system32\SAMLIB.dll , loaded at 0x74560000 - 57344 bytes - 4791a74d - file date is 1/21/2008 04:49:50 C:\Windows\system32\NTMARTA.DLL , loaded at 0x74580000 - 121344 bytes - 4791a7b8 - file date is 1/21/2008 04:49:34 C:\Windows\system32\rsaenh.dll , loaded at 0x745b0000 - 242744 bytes - 4791a754 - file date is 1/21/2008 04:50:14 C:\Windows\SysWOW64\schannel.dll , loaded at 0x74630000 - 268288 bytes - 4791a758 - file date is 1/21/2008 04:48:58 C:\Windows\system32\rtutils.dll , loaded at 0x74680000 - 36352 bytes - 4549bdba - file date is 11/2/2006 11:46:14 C:\Windows\system32\TAPI32.dll , loaded at 0x74690000 - 191488 bytes - 4549bdd1 - file date is 11/2/2006 11:46:14 C:\Windows\system32\NETAPI32.dll , loaded at 0x746d0000 - 466944 bytes - 48f6c69e - file date is 10/16/2008 06:47:34 C:\Windows\system32\rasman.dll , loaded at 0x74750000 - 71168 bytes - 4791a755 - file date is 1/21/2008 04:49:08 C:\Windows\system32\RASAPI32.dll , loaded at 0x74770000 - 286720 bytes - 4791a74d - file date is 1/21/2008 04:49:06 C:\Windows\system32\uxtheme.dll , loaded at 0x747c0000 - 234496 bytes - 4791a783 - file date is 1/21/2008 04:51:06 C:\Windows\system32\OLEACC.dll , loaded at 0x74840000 - 215040 bytes - 4791a74d - file date is 1/21/2008 04:48:28 C:\Windows\system32\WINMM.dll , loaded at 0x74880000 - 189952 bytes - 4791a7b6 - file date is 1/21/2008 04:49:08 C:\Windows\system32\WINSPOOL.DRV , loaded at 0x748c0000 - 258048 bytes - 4791a7c4 - file date is 1/21/2008 04:48:20 C:\Windows\system32\SensApi.dll , loaded at 0x755f0000 - 8704 bytes - 4549bdd6 - file date is 11/2/2006 11:46:14 C:\Windows\system32\dhcpcsvc6.DLL , loaded at 0x75600000 - 128000 bytes - 4791a662 - file date is 1/21/2008 04:48:42 C:\Windows\system32\DNSAPI.dll , loaded at 0x75630000 - 165888 bytes - 4791a68e - file date is 1/21/2008 04:49:30 C:\Windows\system32\dhcpcsvc.DLL , loaded at 0x75660000 - 204288 bytes - 4791a661 - file date is 1/21/2008 04:48:42 C:\Windows\system32\mswsock.dll , loaded at 0x756a0000 - 223232 bytes - 4791a72f - file date is 1/21/2008 04:48:40 C:\Windows\System32\wshtcpip.dll , loaded at 0x75700000 - 9216 bytes - 4791a7b6 - file date is 1/21/2008 04:48:44 C:\Windows\system32\WINNSI.DLL , loaded at 0x75710000 - 14848 bytes - 4791a7b7 - file date is 1/21/2008 04:50:16 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll, loaded at 0x75720000 - 1684480 bytes - 4791a752 - file date is 1/21/2008 04:48:08 C:\Windows\system32\iphlpapi.dll , loaded at 0x758c0000 - 91648 bytes - 4791a72b - file date is 1/21/2008 04:49:58 C:\Windows\system32\USERENV.dll , loaded at 0x758e0000 - 108032 bytes - 4791a775 - file date is 1/21/2008 04:49:04 C:\Windows\system32\MSASN1.dll , loaded at 0x75900000 - 59904 bytes - 4549bd41 - file date is 11/2/2006 11:46:08 C:\Windows\system32\CRYPT32.dll , loaded at 0x75920000 - 977408 bytes - 4791a76d - file date is 1/21/2008 04:50:46 C:\Windows\system32\WSOCK32.dll , loaded at 0x75a50000 - 15360 bytes - 4791a7c1 - file date is 1/21/2008 04:48:16 C:\Windows\system32\VERSION.dll , loaded at 0x75a60000 - 20480 bytes - 4791a776 - file date is 1/21/2008 04:49:08 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR80.dll, loaded at 0x75a70000 - 635904 bytes - 4757746d - file date is 1/21/2008 04:49:00 C:\Windows\syswow64\Secur32.dll , loaded at 0x75eb0000 - 76800 bytes - 4791a783 - file date is 1/21/2008 04:49:04 C:\Windows\syswow64\iertutil.dll , loaded at 0x75f10000 - 270336 bytes - 496ed074 - file date is 1/15/2009 08:07:54 C:\Windows\syswow64\WLDAP32.dll , loaded at 0x75f60000 - 289280 bytes - 4791a7de - file date is 1/21/2008 04:49:12 C:\Windows\syswow64\GDI32.dll , loaded at 0x75fb0000 - 303104 bytes - 48fd676e - file date is 10/21/2008 07:24:00 C:\Windows\syswow64\Normaliz.dll , loaded at 0x76040000 - 2560 bytes - 4549ad42 - file date is 11/2/2006 10:33:08 C:\Windows\syswow64\WININET.dll , loaded at 0x760d0000 - 827392 bytes - 496ed17b - file date is 1/15/2009 08:11:18 C:\Windows\syswow64\NSI.dll , loaded at 0x761a0000 - 8192 bytes - 4791a7a4 - file date is 1/21/2008 04:50:16 C:\Windows\syswow64\SHLWAPI.dll , loaded at 0x761b0000 - 351744 bytes - 4791a75c - file date is 1/21/2008 04:50:04 C:\Windows\syswow64\RPCRT4.dll , loaded at 0x76210000 - 677376 bytes - 48002cd4 - file date is 4/12/2008 05:30:30 C:\Windows\syswow64\SETUPAPI.dll , loaded at 0x76300000 - 1590272 bytes - 4791a754 - file date is 1/21/2008 04:50:30 C:\Windows\syswow64\IMM32.dll , loaded at 0x76490000 - 116224 bytes - 4791a781 - file date is 1/21/2008 04:49:26 C:\Windows\syswow64\ADVAPI32.dll , loaded at 0x764f0000 - 798720 bytes - 4791a64b - file date is 1/21/2008 04:49:46 C:\Windows\syswow64\msvcrt.dll , loaded at 0x765c0000 - 680448 bytes - 4791a727 - file date is 1/21/2008 04:50:00 C:\Windows\syswow64\USER32.dll , loaded at 0x76670000 - 648192 bytes - 4791a783 - file date is 1/21/2008 04:49:16 C:\Windows\syswow64\LPK.DLL , loaded at 0x767d0000 - 23552 bytes - 4791a783 - file date is 1/21/2008 04:49:02 C:\Windows\syswow64\urlmon.dll , loaded at 0x767e0000 - 1166336 bytes - 496ed12d - file date is 1/15/2009 08:11:06 C:\Windows\syswow64\ole32.dll , loaded at 0x76910000 - 1315328 bytes - 4791a74c - file date is 1/21/2008 04:51:06 C:\Windows\syswow64\OLEAUT32.dll , loaded at 0x76a60000 - 563200 bytes - 4791a74f - file date is 1/21/2008 04:51:00 C:\Windows\syswow64\kernel32.dll , loaded at 0x76af0000 - 855552 bytes - 4791a81d - file date is 1/21/2008 04:49:00 C:\Windows\syswow64\PSAPI.DLL , loaded at 0x76c00000 - 12288 bytes - 4549bd99 - file date is 11/2/2006 11:46:14 C:\Windows\syswow64\CLBCatQ.DLL , loaded at 0x76c10000 - 523776 bytes - 4791a66f - file date is 1/21/2008 04:49:36 C:\Windows\syswow64\imagehlp.dll , loaded at 0x76ca0000 - 153088 bytes - 4791a709 - file date is 1/21/2008 04:48:38 C:\Windows\syswow64\MSCTF.dll , loaded at 0x76cd0000 - 806912 bytes - 4791a720 - file date is 1/21/2008 04:51:04 C:\Windows\syswow64\WS2_32.dll , loaded at 0x76da0000 - 179200 bytes - 4791a798 - file date is 1/21/2008 04:50:36 C:\Windows\syswow64\USP10.dll , loaded at 0x76dd0000 - 501760 bytes - 4791a776 - file date is 1/21/2008 04:49:14 C:\Windows\syswow64\SHELL32.dll , loaded at 0x76e50000 - 11580928 bytes - 4912ecfb - file date is 11/6/2008 15:14:26 C:\Windows\SysWOW64\ntdll.dll , loaded at 0x77d00000 - 1165688 bytes - 4791a783 - file date is 1/21/2008 04:51:00
Copernicus
26th Feb 09, 11:40 AM
This is the wrong error-log ;)
Go to the logfiles directory (My Games\Dawn of War 2\Logfiles) and post the content of warnings.txt.
Xaero
26th Feb 09, 11:42 AM
@Xaero:
I noticed this structure, too, but I thought that most people would get rather confused if I mentioned it ;). Hopefully we don't need to care about hexediting anymore soon :)
Haha yea, I suppose it is fairly confusing unless you notice it yourself as you're going through stuff :) and definately hopes up for an easier way soon
sage
26th Feb 09, 11:44 AM
The crash easy to find. I had done an insert at some point, instead of a replace. Whooops.
Sweet. I got this working. I am nerfing stimpacks -- currently, I have them so that they only restore 35% health (from 75%), and the radius of effect is 20 (from 60).
I couldn't find a value or a proc responsible for res'ing squad leaders. I would like to remove that too. Any one have any ideas?
AdarsTears
26th Feb 09, 11:53 AM
Warnings.txt is empty... :mecha:
Copernicus
26th Feb 09, 12:03 PM
Well, try to open your archive with SGA-Reader and compare it to the original ones. That's the only advice I can give you with this small amount of information about the problem.
perfectpencil
16th Mar 09, 8:35 PM
I assume that know the basics of using hexeditors and already have the RBF-files extracted as I won't explain this here.
Having never used a hexeditor, or having any idea how to extract RBF files, can you please explain this?
Copernicus
17th Mar 09, 10:42 AM
Explaining how to work with an hexeditor would be too much for this thread. Just try it. But actually you don't have to use hexeditors anymore:
Use this to convert the RBF-files: http://forums.relicnews.com/showthread.php?t=216883, if you want a GUI use this one: http://forums.relicnews.com/showthread.php?t=216952
For extracting the RBF-files use this tool: http://forums.relicnews.com/showthread.php?t=215443
(You should start reading this forum actively. It's not that difficult to find out about these things yourself.)
vBulletin v3.0.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.