Register new account
Edit account
Search

Ancient Domains Of Mystery, forum overview / General / adom v.1.0.0 crc-cracked

Online users ( Unknown)
Application object not working properly at the moment, no clue who is online...

* Numbers in parentheses are the number of minutes since the user last loaded a page. Logged-in users time out after 40 minutes (unless they manually log out), lurkers and anonymous posters after 20.

Stas (unlogged)
Unregistered user
Posted on Thursday, September 05, 2002 at 07:15 (GMT -5)

open adom.exe (v 1.0.0.0) in hexeditor.
go to offset 0x0022AC35
overwrite bytes from 0x0022AC45 to 0x0022B02F with zeroes.
Now ADOM generates save files, which can be modified without "run out of luck" message. Now we only have to write wadomf for 1.0.0
how did I found out this? Since crc-patch exists for g16pr2, I just looked what it changed in the g16pr2 adom.exe, and searched it in v1.0.0 adom.exe (look at http://www.geocities.com/adomf/dbrady/adomcrc.htm for info)
full adom crc32_lookup_table (which is the same in all versions, using crc32) is this:
963007772C610EEEBA51099919C46D078FF46A7035A563E9A395649E3288DB0EA4B8DC791EE9D5E088D9D2972B4CB609BD7CB17E072DB8E7911DBF906410B71DF220B06A4871B9F3DE41BE847DD4DA1AEBE4DD6D51B5D4F4C785D38356986C13C0A86B647AF962FDECC9658A4F5C0114D96C0663633D0FFAF50D088DC8206E3B5E10694CE44160D5727167A2D1E4033C47D4044BFD850DD26BB50AA5FAA8B5356C98B242D6C9BBDB40F9BCACE36CD832755CDF45CF0DD6DC593DD1ABAC30D9263A00DE518051D7C81661D0BFB5F4B42123C4B3569995BACF0FA5BDB89EB802280888055FB2D90CC624E90BB1877C6F2F114C6858AB1D61C13D2D66B69041DC760671DB01BC20D2982A10D5EF8985B1711FB5B606A5E4BF9F33D4B8E8A2C9077834F9000F8EA8099618980EE1BB0D6A7F2D3D6D08976C6491015C63E6F4516B6B62616C1CD83065854E0062F2ED95066C7BA5011BC1F4088257C40FF5C6D9B06550E9B712EAB8BE8B7C88B9FCDF1DDD62492DDA15F37CD38C654CD4FB5861B24DCE51B53A7400BCA3E230BBD441A5DF4AD795D83D6DC4D1A4FBF4D6D36AE96943FCD96E34468867ADD0B860DA732D0444E51D03335F4C0AAAC97C0DDD3C710550AA41022710100BBE86200CC925B56857B3856F2009D466B99FE461CE0EF9DE5E98C9D9292298D0B0B4A8D7C7173DB359810DB42E3B5CBDB7AD6CBAC02083B8EDB6B3BF9A0CE2B6039AD2B1743947D5EAAF77D29D1526DB048316DC73120B63E3843B64943E6A6D0DA85A6A7A0BCF0EE49DFF099327AE000AB19E077D44930FF0D2A3088768F2011EFEC206695D5762F7CB67658071366C19E7066B6E761BD4FEE02BD3895A7ADA10CC4ADD676FDFB9F9F9EFBE8E43BEB717D58EB060E8A3D6D67E93D1A1C4C2D83852F2DF4FF167BBD16757BCA6DD06B53F4B36B248DA2B0DD84C1B0AAFF64A0336607A0441C3EF60DF55DF67A8EF8E6E3179BE69468CB361CB1A8366BCA0D26F2536E2685295770CCC03470BBBB91602222F260555BE3BBAC5280BBDB2925AB42B046AB35CA7FFD7C231CFD0B58B9ED92C1DAEDE5BB0C2649B26F263EC9CA36A750A936D02A906099C3F360EEB8567077213570005824ABF95147AB8E2AE2BB17B381BB60C9B8ED2920DBED5E5B7EFDC7C21DFDB0BD4D2D38642E2D4F1F8B3DD686E83DA1FCD16BE815B26B9F6E177B06F7747B718E65A0888706A0FFFCA3B06665C0B0111FF9E658F69AE62F8D3FF6B6145CF6C1678E20AA0EED20DD75483044EC2B30339612667A7F71660D04D476949DB776E3E4A6AD1AEDC5AD6D9660BDF40F03BD83753AEBCA9C59EBBDE7FCFB247E9FFB5301CF2BDBD8AC2BACA3093B353A6A3B4240536D0BA9306D7CD2957DE54BF67D9232E7A66B3B84A61C4021B685D942B6F2A37BE0BB4A18E0CC31BDF055A8DEF022D
Stas (unlogged)
Unregistered user
Posted on Thursday, September 05, 2002 at 07:21 (GMT -5)

th numbers are 255 long values (1 long = 4 bytes, 1 byte = 2 letters, so 1 long = 8 letters)
Portrait
Jan Erik
Administrator

Last page view:

3 days, 10 hours, 25 minutes and 33 seconds ago.
Posted on Thursday, September 05, 2002 at 10:00 (GMT -5)

Yeah, that is a LONG value alright (sorry couldn't resist :))

I have managed to alter my stats using AXE, so a simple stat editor would not be so hard...

The tricky part is to figure out the values that represent items and such. I'm afraid I'm not to knowlegable about reading binary files (the scrore file is childs play compared to this, it only contian two types of values and to find the next entry simply skip ahead <file_size> / 100 bytes from the start of the previous entry).


Jan Erik Mydland
HoF admin
Stas (unlogged)
Unregistered user
Posted on Thursday, September 05, 2002 at 14:42 (GMT -5)

heh heh!! *lol*

Well, I've already found some offsets in save file, which affect something:
x00000000-0x00000003 Version sig
0x00000004-0x00000011 Name
0x00000014 Race: 00 human, 01 Troll etc
0x00000018 Profession: 00 Fighter, 01 Paladin etc
0x0000001C Gender
0x00000020 First two numbers in temp file name
0x00000024 Last number in temp file name
0x00003A04-0x00003A07 Exp, reversed order (eg. 12340d exp points-> 0x00003034h exp points, but in svg file it's 0x34300000h)
0x00003A2C-0x00003A4C Current stats
0x00003A50-0x00003A70 Max stats
0x00003A74-0x00003A94 Tmp stats
0x00003A98-0x00003AB8 Spc stats
0x0000828C-0x0000828F complexion (long)
0x00008290-0x00008293 hair colour (long)
0x00008294-0x00008297 eye colour (long)
0x00008298-0x0000829B height (long)
0x0000829C-0x0000829F weight (long)
0x000087C0 screen height
0x000087C4 screen width

BTW, Jan, which ENDIAN is ADOM used, when exp value is reversed (see above)
Stas (unlogged)
Unregistered user
Posted on Thursday, September 05, 2002 at 14:44 (GMT -5)

in first post, it's not 0x0022AC35, but 0x0022AC34
Portrait
Jan Erik
Administrator

Last page view:

3 days, 10 hours, 25 minutes and 33 seconds ago.
Posted on Thursday, September 05, 2002 at 19:19 (GMT -5)

I keep confusing the two, but I believe it's called little-endian (most significant byte is stored first). It's the standard "format" used by most C versions aparently.

Had some trouble with that on the score merger because Java use big-endian for all it's read and write functions (have to read it byte by byte and then "flip" it around).


Jan Erik Mydland
HoF admin
Stas (unlogged)
Unregistered user
Posted on Friday, September 06, 2002 at 00:51 (GMT -5)

And little-endian files are a bit annoying to hex-edit :)

BTW, found out item structure:
160 bytes, of which 32 to the name of an item,
also some other info

BTW2, what's AXE?

and isn't int 2 bytes, and long 4 bytes in C (and double 8 bytes)?

[Edited 2 times, last edit on 9/6/2002 at 00:53 (GMT -5) by its author]
Portrait
Jan Erik
Administrator

Last page view:

3 days, 10 hours, 25 minutes and 33 seconds ago.
Posted on Friday, September 06, 2002 at 11:38 (GMT -5)

AXE is a Hex editor.

IIRC a int is 4 byte on a 8 bit system, 8 byte on a 16 bit system and 16 byte on a 32 bit system...

ADOM (beeng a 16 bit DOS application) use 8 byte integers.

Not entierly sure how big a long or double value would be though...


Jan Erik Mydland
HoF admin
Stas (unlogged)
Unregistered user
Posted on Saturday, September 07, 2002 at 12:08 (GMT -5)

I confirmed, long is 16 byte.

BTW, IIRC you can open little-endian files using already made function in JAVA... just set some value to LITTLE_ENDIAN, and you don't have to write the flipping code yourself...
feilos
Unregistered user
Posted on Thursday, October 03, 2002 at 17:34 (GMT -5)

are u guys telling me in plain english, that u guys are able to MOD, the temp files and edit your character?
Portrait
Ryan Klein
Registered user
Because I said so is why!


Last page view:

1657 days, 20 hours, 31 minutes and 26 seconds ago.
Posted on Thursday, October 03, 2002 at 17:36 (GMT -5)

That's what they're saying. Don't cheat though. It takes the fun out of the game.

Ulpian...
Unregistered user
Posted on Friday, November 15, 2002 at 12:50 (GMT -5)

Can anyone tell me how to crack CRC in ADOM 1.1.0?
Portrait
Jan Erik
Administrator

Last page view:

3 days, 10 hours, 25 minutes and 33 seconds ago.
Posted on Friday, November 15, 2002 at 14:55 (GMT -5)

Well if you understood any of this I guess it would be more or less to just repeat the process...

Though there are aparently a number of new "anti cheat" mechanisms in the game, meaning he might have used a diffenret key or algorithm...

Spesificaly the temp files are supposed to be more secure now, guess that means you can't just plain copy them anymore to duplicate stuff...

I barely have time to play though, so I won't loose any sleep over trying to figure it out in the near future...


Jan Erik Mydland
HoF admin
Ulpian...
Unregistered user
Posted on Friday, November 15, 2002 at 15:04 (GMT -5)

"anti cheat" mechanisms are no too good. I know how to enlarge XP, memorization and money.

I don`t know what are "anti cheat" mechanisms for? If someone want to take fun out of game, it`s HIS choose...
Caladriel
Registered user
ReGiStErEd UsEr


Last page view:

4700 days, 1 hour, 4 minutes and 3 seconds ago.
Posted on Friday, November 15, 2002 at 18:17 (GMT -5)

Has TB fixed the "repeating level" scum? If not, all you need to do is play once until you get a ring of Djinn summoning

Unregistered user
Posted on Friday, November 15, 2002 at 21:21 (GMT -5)

Yeah he has, I can't copy the levels, no cheating this time around.
Portrait
C
Registered user

Last page view:

6296 days, 6 hours, 46 minutes and 58 seconds ago.
Posted on Friday, December 27, 2002 at 15:01 (GMT -5)

Hey where can I get AXE? Wnbroze is good for browsing and for editing it is about as good as notepad.

Portrait
Prickle Pear
Registered user
Killer fruit


Last page view:

7200 days, 23 hours, 52 minutes and 3 seconds ago.
Posted on Saturday, December 28, 2002 at 13:29 (GMT -5)

Look for it on the internet C, like they'll tell you, its a harsh world.


The new and improved MTV...my ass! Where's Bevis & Butthead?
Frewor
Unregistered user
Posted on Tuesday, November 30, 2010 at 03:08 (GMT -5)

Yea, hello. I don't belong to this community, but I'd like to present a fairly modest request for guidance. All this doesn't make much sense to me as I've never touched any hex editors or the like. But I would really like to get that CRC off my back and to play ADOM just the way I like it. Save & Load how I see fit. I thought I was smart making batch files to copy paste, but then I learned about this CRC business.

So my request is this: Could anyone of you, please, explain to me in layman's terms how this is actually done. You're speaking of these offsets. How do I find them in the hex editor?

I know this might be fairly annoying to any of you people who are good with this, but I'm getting desperate as practically no one explains this plainly for me to understand.

Color mixer:
Red: Green: Blue: HTML color code: result:      
Your Name: Check to login:

Your Message:


Read the
formating help
Are you a spambot? Yes No Maybe Huh?
Create poll? Yes No   What is this?
Poll question: