MAREK17 How do I cheat?
Reputation: 0
Joined: 14 Sep 2010 Posts: 2
|
Posted: Sat Mar 26, 2016 5:17 am Post subject: NFSW How to find performance tuning algorithm? |
|
|
I want to find the formula which calculates the tuning, but do not know how he found out.
Disassemble content will not help me.
I need to find out certain parts of the assembler code, where the game will give the car parts with the same value (eg 4-4-4% 4-4-4% a)
This is a Rich Text, it will not help me.
Adding the same performance part result is always different.
1.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 C0 - add al,al
17E01391 - ED - in eax,dx
17E01392 - A8 18 - test al,18 { 24 }
17E01394 - 50 - push eax
17E01395 - A0 CA18C0E5 - mov ax,[E5C018CA] { -440395574 }
17E0139A - C4 12 - les edx,[edx]
17E0139C - 00 00 - add [eax],al
17E0139E - 00 00 - add [eax],al
17E013A0 - 20 F6 - and dh,dh
17E013A2 - DF 17 - fist word ptr [edi]
17E013A4 - 50 - push eax
|
2.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 50 A0 - add [eax-60],dl
17E01392 - CA 18C0 - ret C018 { 49176 }
17E01395 - ED - in eax,dx
17E01396 - A8 18 - test al,18 { 24 }
17E01398 - C0 E5 C4 - shl ch,-3C { 196 }
17E0139B - 12 00 - adc al,byte ptr [eax]
17E0139D - 00 00 - add [eax],al
17E0139F - 00 20 - add [eax],ah
17E013A1 - F6 DF - neg bh
17E013A3 - 17 - pop ss
17E013A4 - 50 - push eax
|
3.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 10 - add [eax],dl
17E01391 - 99 - cdq
17E01392 - 2F - das
17E01393 - 18 50 A0 - sbb [eax-60],dl
17E01396 - CA 18C0 - ret C018 { 49176 }
17E01399 - E5 C4 - in eax,-3C { 196 }
17E0139B - 12 00 - adc al,byte ptr [eax]
17E0139D - 00 00 - add [eax],al
17E0139F - 00 20 - add [eax],ah
17E013A1 - F6 DF - neg bh
17E013A3 - 17 - pop ss
17E013A4 - 50 - push eax
|
4.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 80 922F1810 - add [eax+10182F92],al
17E01395 - 99 - cdq
17E01396 - 2F - das
17E01397 - 18 C0 - sbb al,al
17E01399 - E5 C4 - in eax,-3C { 196 }
17E0139B - 12 00 - adc al,byte ptr [eax]
17E0139D - 00 00 - add [eax],al
17E0139F - 00 20 - add [eax],ah
17E013A1 - F6 DF - neg bh
17E013A3 - 17 - pop ss
17E013A4 - 50 - push eax
|
5.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 10 - add [eax],dl
17E01391 - 99 - cdq
17E01392 - 2F - das
17E01393 - 18 80 922F18C0 - sbb [eax-3FE7D06E],al
17E01399 - E5 C4 - in eax,-3C { 196 }
17E0139B - 12 00 - adc al,byte ptr [eax]
17E0139D - 00 00 - add [eax],al
17E0139F - 00 20 - add [eax],ah
17E013A1 - F6 DF - neg bh
17E013A3 - 17 - pop ss
17E013A4 - 50 - push eax
|
6.
Code: |
17E01380 - 36 00 39 - add ss:[ecx],bh
17E01383 - 00 34 00 - add [eax+eax],dh
17E01386 - 00 00 - add [eax],al
17E01388 - C0 E5 C4 - shl ch,-3C { 196 }
17E0138B - 12 00 - adc al,byte ptr [eax]
17E0138D - 00 00 - add [eax],al
17E0138F - 00 80 922F1810 - add [eax+10182F92],al
17E01395 - 99 - cdq
17E01396 - 2F - das
17E01397 - 18 C0 - sbb al,al
17E01399 - E5 C4 - in eax,-3C { 196 }
17E0139B - 12 00 - adc al,byte ptr [eax]
17E0139D - 00 00 - add [eax],al
17E0139F - 00 20 - add [eax],ah
17E013A1 - F6 DF - neg bh
17E013A3 - 17 - pop ss
17E013A4 - 50 - push eax
|
Description: |
|
Filesize: |
212.1 KB |
Viewed: |
3712 Time(s) |

|
|
|