The Decoding News

See what Deadlock fans are creating, whether it be fan games, art or scenarios.
User avatar
Tggtt
Mighty Colony Leader
Mighty Colony Leader
Posts: 200
Joined: Sun Oct 06, 2013 8:08 pm

Re: The Decoding News

Post by Tggtt » Fri Dec 07, 2018 12:32 pm

After questions on abilities, I decided to post this.

I do not know the meaning of every row. I am sorry.
From 1 to 25, they are multiplying percents (so you multiply them and divide by 100).
Rows that have -1 numbers are additive (so you just add them).
I hope this clarifies some questions at least.

How to find:
Open the executable with hex editor.
There are a sequence of 8 d's, like
"d d d d d d d d" | 64 00 64 00 64 00 64 00 64 00 64 00 64 00 64 00

64 means 100. They are signed short integers.
Each one of the 8 are for one race plus the "no special ability" setting (last).
There are 54 rows.

Example from Deadlock 1, 1.31, at 0x499184 of Base address, 0x7F584 of container address (.EXE)
So, if you use the editor to show them as a table of signed short values aligned in 8:

Code: Select all

#      A	B	C	D	E	F	G	H		
1	100	100	100	100	100	100	100	100	
2	100	100	100	100	100	100	100	100	
3	120	100	100	100	100	100	100	100	
4	100	100	100	100	100	100	150	100	
5	100	100	100	100	100	100	150	100	
6	75	100	100	150	100	100	100	100	
7	100	100	100	150	100	100	100	100	
8	100	100	100	100	100	100	100	100	
9	100	100	150	100	100	100	100	100	
10	100	100	100	100	100	100	100	100	
11	100	100	100	100	100	100	100	100	
12	110	100	100	125	100	100	100	100	
13	100	100	100	100	100	150	125	100	
14	100	100	100	100	100	100	150	100	
15	100	100	150	100	100	100	100	100	
16	100	100	100	100	100	100	150	100	
17	100	100	100	100	100	100	100	100	
18	100	100	100	100	100	100	100	100	
19	200	100	100	100	100	100	100	100	
20	150	100	100	100	100	100	100	100	
21	70	75	125	100	100	100	80	100	
22	20	0	20	30	20	20	20	20	
23	10	0	10	15	10	10	10	10	
24	0	0	0	0	0	1	0	0	
25	-1	0	0	0	0	1	0	0	
26	0	3	0	0	0	0	0	0	
27	0	0	0	0	9	0	0	0	
28	0	0	100	0	0	0	0	0	
29	0	0	0	0	0	1	0	0	
30	0	0	0	0	0	0	0	0	
31	0	0	0	0	-1	2	0	0	
32	0	0	0	0	0	0	0	0	
33	0	0	0	0	0	0	0	0	
34	0	0	0	0	0	-1	0	0	
35	0	0	0	0	0	-2	0	0	
36	0	0	0	0	0	0	0	0	
37	0	0	0	0	0	0	0	0	
38	0	0	0	0	-1	1	0	0	
39	0	0	0	0	-1	1	0	0	
40	0	0	0	0	0	0	0	0	
41	-1	0	0	0	0	0	0	0	
42	0	0	0	0	1	0	0	0	
43	10	10	10	10	10	30	10	10	
44	0	0	0	10	0	0	0	0	
45	20	20	20	20	20	20	20	20	
46	100	100	150	100	100	100	100	100	
47	0	0	0	0	1	0	0	0	
48	0	0	-1	0	0	0	0	0	
49	0	0	0	0	0	0	1	0	
50	0	0	0	1	0	0	0	0	
51	0	1	0	0	0	0	0	0	
52	0	0	0	0	0	0	50	0	
53	0	0	0	1	0	0	0	0	
54	1	0	0	0	0	0	0	0	
A:ChCh't
B:Cyth
C:Human
D:Maug
E:Re'lu
F:Tarth
G:Uva Mosk
H:No Racial Ability

Known rows:
3: Building construction modifier.
4: Iron mining modifier.
5: Endurium mining modifier.
6: Research modifier.
15: Trading income modifier.
16: Morale (unsure how it multiplies).
19: Housing population capacity
20: Population Growth Modifier
21: Tax income modifier.
24: Ground unit attack bonus.
25: Ground unit defense bonus.
34: Naval unit attack bonus.
35: Naval unit defense bonus.

I might add more known rows later. Thanks.
Best 20x20 Map is elected.
Follow @OpenDeadlock.
Please help Deadlock Wikis by documenting buildings.
Note: OpenDeadlock Knowledge Gathering has been updated. Translation and Build Tools might fail. Send me a PM if you need help.

sdu754
Colonist
Colonist
Posts: 37
Joined: Mon Nov 28, 2011 4:50 pm
Favourite Race: Re'Lu

Re: The Decoding News

Post by sdu754 » Sat Feb 16, 2019 1:38 am

7 Electronic, Maug +50%
12 unit build modifier, ChCh't +10% Maug +25%
13 food, Tarth get, +50% & Uva Mosk +25%
26 is the Cyth mind blast
27 Re'Lu Mind Control
28 Human berserk
29 Tarth Juggernaut
31 Vehicle defense (30 is most likely vehicle attack)
22 & 23 Have to do with morale as the Cyth have a 0 & 0 and the Maug have a 30 & 15 and everyone else has a 20 & 10. The Maug recover Morale more slowly, and the Cyth recover instantaneously.
4, 5, 14 & 16 Are the +50% Uva Mosk multipliers. 14 is most likely wood & 16 is most likely energy
43 & 44 have to do with spying 43 is most likely "get caught" & 44 is probably a multiplier for Maug having the best spies
9, 15 & 46 all have a +50% for humans, could it be trade in the various buildings?
47 Re'Lu Subvert Morale
48 Human -1 transportation cost
49 Uva Mosk infantry spy order or Shaman Dance
50 Maug Sabotage or better at stealing technology
51 Cyth Poison Land
52 Uva Mosk infantry spy order or Shaman Dance
53 Maug Sabotage or better at stealing technology
54 ChCh't steal resources


These are what the various lines could be or have to be from what I know

User avatar
Tggtt
Mighty Colony Leader
Mighty Colony Leader
Posts: 200
Joined: Sun Oct 06, 2013 8:08 pm

Re: The Decoding News

Post by Tggtt » Sat Feb 23, 2019 5:38 pm

sdu754 wrote:These are what the various lines could be or have to be from what I know
Sorry for late reply, I have been really busy.
Many thanks sdu754,
This is a very nice contribution to add.

I will try to confirm these values, however, remember that we often use the guide book instead (I cannot post the pages here due to copyright).

I can add more table dumps later as well, I am currently interested on building and resource processing now, I have almost everything covered, so it should be interesting for the community to see it as well.

This is my post number 200, I didn't expect to pass everyone else here.

[edit]

Here I have a new table for you:
Unit cost table, it's a signed integer (32 bit) table.
Container Offset: 7EB98 (DL1 1.31)
There are 11 Columns, 24 Rows, 4 Bytes each element, total: 1056 Bytes.
What is interesting here: There might have been CANCELLED UNITS, check numbers 19 to 21.
There is another hypothesis: They might represent the defense towers, which are treated as buildings.

Columns:
A: Credits
B: Food
C: Energy
D: Wood
E: Iron
F: Steel
G: Endurium
H: Triidium
I: Electronics
J: Anti-Matter Pods
K: Art Objects

Rows:
00: No Unit
01: Laser Squad
02: SAM Trooper
03: Battle Trooper
04: Assault Trooper
05: Laser Cannon
06: Fusion Cannon
07: Disruptor Cannon
08: Holocaust Cannon
09: Turbo Wing Fighter
10: Starflare Bomber
11: Supernova Spyjet
12: Sea Transport
13: Shockwave Dreadnought
14: Shockwave Carrier
15: Command Corps
16: Scatterpack Warhead
17: Groundbreaker Warhead
18: Supernova Warhead
19: ?
20: ?
21: ?
22: Militia
23: Scout
24: Colonizer

Code: Select all

                 A           B           C           D           E           F           G           H           I           J           K
00:              0           0           0           0           0           0           0           0           0           0           0
01:             35           0           0           0           0           0           0           0           0           0           0
02:             60           0           0           0          10           0           0           0           5           0           0
03:            100           0           0           0          25           0           0           0           8           0           0
04:            200           0           0           0          50           0           0           0          10           0           0
05:             75           0           0           0          25           0           0           0           0           0           0
06:            100           0           0           0          50           0           0           0           0           0           0
07:            200           0           0           0         100           0           0           0           5          10           0
08:            500           0           0           0         250           0           0           0          10          20           0
09:             75           0           0           0          50           0           0           0           0           0           0
10:            100           0           0           0         100           0           0           0          10           0           0
11:            250           0           0           0         250           0           0           0          20          10           0
12:             50           0           0           0          25           0           0           0           0           0           0
13:            150           0           0           0         100           0           0           0           0           0           0
14:            350           0           0           0         200           0           0           0           0          10           0
15:            250           0           0           0           5           0           0           0           5           0           0
16:            100           0           0           0          25           0           0           0           0           0           0
17:            125           0           0           0          50           0           0           0           5          10           0
18:            150           0           0           0         100           0           0           0          10          20           0
19:              0           0           0           0           0           0           0           0           0           0           0
20:              0           0           0           0           0           0           0           0           0           0           0
21:              0           0           0           0           0           0           0           0           0           0           0
22:              0           0           0           0           0           0           0           0           0           0           0
23:            100           0           0           0          10           0           0           0           1           0           0
24:             50           0           0          10           0           0           0           0           0           0           0  
Best 20x20 Map is elected.
Follow @OpenDeadlock.
Please help Deadlock Wikis by documenting buildings.
Note: OpenDeadlock Knowledge Gathering has been updated. Translation and Build Tools might fail. Send me a PM if you need help.

Post Reply