Carmageddon 2: Carpocalypse Now

Carmageddon 2: Carpocalypse Now

rayyydudeee Aug 25, 2021 @ 3:02am
Carmageddon 2 controls
hello i have question how change controls for wsad
Last edited by rayyydudeee; Aug 25, 2021 @ 3:21am
< >
Showing 1-14 of 14 comments
rc2sm Aug 25, 2021 @ 5:52am 
Hello, look "Can't reassign my controls..." topic ;-)
rayyydudeee Aug 25, 2021 @ 6:04am 
Originally posted by rc2sm:
Hello, look "Can't reassign my controls..." topic ;-)
oh i need to download carma key binder?
Last edited by rayyydudeee; Aug 25, 2021 @ 6:12am
rc2sm Aug 25, 2021 @ 6:14am 
Carma Key Binder.
rayyydudeee Aug 25, 2021 @ 6:15am 
Originally posted by rc2sm:
Carma Key Binder.
link plis and its virus?
Last edited by rayyydudeee; Aug 25, 2021 @ 6:16am
rc2sm Aug 25, 2021 @ 6:30am 
Oh, links are in the topic I have pointed to: https://steamcommunity.com/app/282030/discussions/0/3050607936301266978/
rayyydudeee Aug 25, 2021 @ 6:37am 
Originally posted by rc2sm:
Oh, links are in the topic I have pointed to: https://steamcommunity.com/app/282030/discussions/0/3050607936301266978/

its show me its an virus
rc2sm Aug 25, 2021 @ 3:33pm 
The link I provided leads to where I published the CKB program, the program has not been modified by anyone outside, its only functionality is to assign keys to all available functions in C1/SP/C2. The exec is compressed with UPX. Maybe UPX is the reason that a false alarm is reported, because the exec is unpacking itself into memory, so it cannot be checked before unpacking/running.

Try the same, only uncompressed exec: http://qtz.cwaboard.co.uk/CarmaKeyBinderNoUPX.zip

Please let me know if the uncompressed program also causes problems with your software and which software generate false alert.

If the unpacked version does not cause a problem, it indicates that the software you are using cannot unpack UPX and assumes without checking that programs packed using UPX are potentially dangerous.
Last edited by rc2sm; Aug 25, 2021 @ 4:09pm
rayyydudeee Aug 27, 2021 @ 2:41am 
Originally posted by rc2sm:
The link I provided leads to where I published the CKB program, the program has not been modified by anyone outside, its only functionality is to assign keys to all available functions in C1/SP/C2. The exec is compressed with UPX. Maybe UPX is the reason that a false alarm is reported, because the exec is unpacking itself into memory, so it cannot be checked before unpacking/running.

Try the same, only uncompressed exec: http://qtz.cwaboard.co.uk/CarmaKeyBinderNoUPX.zip

Please let me know if the uncompressed program also causes problems with your software and which software generate false alert.

If the unpacked version does not cause a problem, it indicates that the software you are using cannot unpack UPX and assumes without checking that programs packed using UPX are potentially dangerous.
This version also shows me that it was a Trojan I scanned on virustotal
rc2sm Aug 28, 2021 @ 5:00am 
Thank you for the info.

I do not write malicious code and I do not include such third party code.
All the tools I use are commonly available and widely used.
The only thing that could happen is malware interference without my knowledge.
But I also exclude that case because I check published files and I wrote this program several years ago and nobody reported any problems caused by using it.
CKB was also used by Nobby :)
As for the false alarms there were such report and people confirmed that it's fake.
Today I additionally checked in a few online file scanners and the vast majority of programs find nothing (51 tests = 48 negative and 3 suspicious - https://r.virscan.org/language/pl/report/793c7cc01fe9bbc5c4e4eff9f4c95ad2 - all suspicious results are differents).

So you have a choice: trust me and the other users; or edit the files manually (there's a description on gog.com but with corrupted files so you have to prepare your own); or use my predefined files for the laptop that I've made (also editable) available in the CKB package - copy (overwrite) the KEYMAP_2.TXT and KEYMAP_3.TXT files from the DATA_C2 directory to the game's DATA directory and select one of them in the game.

The keyboard description for the KEYMAP_3.TXT file for C2:

Carmageddon 2 controls help

W Accelerate forward
S Brake when going forwards
A Steer left
D Steer Right
Z Turn tightly
Space Handbrake
C Toggle between internal and external views
X Change Camera during race
Arrow Up Move external camera forward
Arrow Down Move external camera back
Arrow Left Move external camera around left
Arrow Right Move external camera around right
T Target lock toggle on and off
Y Cycle Target
H Horn
M Mini-map toggle on and off
V Toggle sound on and off
Tab Show/Hide map
Esc Go to menu
Backspace Repair car
Insert Recover vehicle if it's on its roof or side
Delete Buy armour
End Buy power
Page Down Buy offensive
` Send message
N View net players
Any Alt Activate powerup
; Powerup inventory
[ Select previous powerup
] Select next powerup
Enter Flap doors
- Screen smaller
= Screen bigger
Any Shift+E Screen dump
F9 Cycle headups
Any Control (C.+Home Abort race
Any Control.+Page Up Quit
\ Toggle between live action and action replay modes

When in action replay mode, use the mouse or these keys:

Keypad 5 Cent./Space Pause/unpause
Keypad 0./Backspace Flip direction of playing
, Play backwards
. Play forwards
Keypad * Cycle through different camera modes
Keypad 4 Le./Page Up Rewind
Keypad 6./Page Down Fast forward
Keypad 7 Home/Home Go straight back to the start of the 'tape'
Keypad 9 Pg Up/End Go straight to the end of the 'tape'
Keypad 1 End Frame advance backwards
Keypad 3 Pg Dn Frame advance forwards
Any Control (Comman. Manual mode camera movement modifier up/down
Keypad / Record quick time movie
Last edited by rc2sm; Aug 28, 2021 @ 5:21am
rayyydudeee Aug 28, 2021 @ 5:22am 
Originally posted by rc2sm:
Thank you for the info.

I do not write malicious code and I do not include such third party code.
All the tools I use are commonly available and widely used.
The only thing that could happen is malware interference without my knowledge.
But I also exclude that case because I check published files and I wrote this program several years ago and nobody reported any problems caused by using it.
CKB was also used by Nobby :)
As for the false alarms there were such report and people confirmed that it's fake.
Today I additionally checked in a few online file scanners and the vast majority of programs find nothing (48 negative/51 tests - https://r.virscan.org/language/pl/report/793c7cc01fe9bbc5c4e4eff9f4c95ad2 - all negative results are differents).

So you have a choice: trust me and the other users; or edit the files manually (there's a description on gog.com but with corrupted files so you have to prepare your own); or use my predefined files for the laptop that I've made (also editable) available in the CKB package - copy (overwrite) the KEYMAP_2.TXT and KEYMAP_3.TXT files from the DATA_C2 directory to the game's DATA directory and select one of them in the game.

The keyboard description for the KEYMAP_3.TXT file for C2:

Carmageddon 2 controls help

W Accelerate forward
S Brake when going forwards
A Steer left
D Steer Right
Z Turn tightly
Space Handbrake
C Toggle between internal and external views
X Change Camera during race
Arrow Up Move external camera forward
Arrow Down Move external camera back
Arrow Left Move external camera around left
Arrow Right Move external camera around right
T Target lock toggle on and off
Y Cycle Target
H Horn
M Mini-map toggle on and off
V Toggle sound on and off
Tab Show/Hide map
Esc Go to menu
Backspace Repair car
Insert Recover vehicle if it's on its roof or side
Delete Buy armour
End Buy power
Page Down Buy offensive
` Send message
N View net players
Any Alt Activate powerup
; Powerup inventory
[ Select previous powerup
] Select next powerup
Enter Flap doors
- Screen smaller
= Screen bigger
Any Shift+E Screen dump
F9 Cycle headups
Any Control (C.+Home Abort race
Any Control.+Page Up Quit
\ Toggle between live action and action replay modes

When in action replay mode, use the mouse or these keys:

Keypad 5 Cent./Space Pause/unpause
Keypad 0./Backspace Flip direction of playing
, Play backwards
. Play forwards
Keypad * Cycle through different camera modes
Keypad 4 Le./Page Up Rewind
Keypad 6./Page Down Fast forward
Keypad 7 Home/Home Go straight back to the start of the 'tape'
Keypad 9 Pg Up/End Go straight to the end of the 'tape'
Keypad 1 End Frame advance backwards
Keypad 3 Pg Dn Frame advance forwards
Any Control (Comman. Manual mode camera movement modifier up/down
Keypad / Record quick time movie
Oh ok thanks, but i have question, you know how to change resolution in carma2?
rc2sm Aug 28, 2021 @ 5:36am 
I have edited previous post - is "all negative results are differents", should be "all suspicious results are differents".
Here is also a scan from virustotal page: https://www.virustotal.com/gui/file/6da94c168c389c400fd965e6300bb8ab90430639c007230ebe824a12007a97a7/detection

For the second question, I think you need external software as some using for C1 in 3Dfx mode, but don't know exactly. Search here, gog.com and the https://cwaboard.co.uk/. Then eventually ask in new topic.
λπ Jan 7, 2022 @ 1:43pm 
I've found another way to change the controls;

1. Go to your Steam Library and Right-Click the Game and find "Browse Local Files",
2. Under "Carmageddon2/data" there is "Keymap_0.txt", open it and delete everything inside. (0 is Controls A, 1 is Controls B and so on)
3. Launch the game as usual and go to Control Configurations, pick the Controls A if it isn't already.
4. You will see that every single button has changed to "Shift" key, bind them one by one. (You need to be able to click Ok and go back to options screen, otherwise your key bindings will not be saved. Saying this because game can lock itself up and you won't be able to click Ok. To solve this Bind some of the keys and press Ok to save it, then resume until you are done. Make sure you Bind all the keys, because if you leave more than 2 keys on Shift, your game will crash whenever you press it in-game.)

Enjoy
rc2sm Jan 8, 2022 @ 5:42am 
@Alpi The reason I wrote the Carma Key Binder is because in the game it is impossible to assign keys to all the options available in the KEYMAP_#.TXT file. So you can't select already assigned keys that are assigned to functions that you can't change in the game. Hence the locking of the "S" key, which is assigned to the function of turning off the sound that is not available for setting in the game. By default, the F1 key is also a problem in C2.

As you write, deleting the contents of the KEYMAP_#.TXT file will assign all functions to the Shift key, including those not available in the game configuration, so there is no way to change them in the game. There are a lot of these functions, assigning Shift to all of them deprives you of access to them (look KEYMAP_#.TXT how many zeros is there). The game exits after pressing the Shift because, among other things, the Shift has been assigned to the "Quit Game" function.

So using your method you won't assign keys to all functions, and functions not available to configure in the game will all be assigned to the Shift key at once.
CKB allows you to change the keys assigned to *all* available functions in the game.

[Not all of the assignments work because, despite being configurable in the file, the game has some keys assigned permanently - these are the keys that work in replay mode. Of course keys assigned to functions removed from C2 don't work either].
Last edited by rc2sm; Jan 8, 2022 @ 5:50am
garritanobl Jul 16, 2022 @ 10:48am 
Just posting a comment of universenz on gog
Link:
https://www.gog.com/forum/carmageddon_series/how_to_binding_keys_in_carmageddon_2

OK, so, downloaded Carma 2 onto my Laptop - knew this was going to be a lot of fun. Until I realised that a) for some weird reason you can't bind Arrow Keys or WASD using the Control Configurator inside the game and b) S is hardbound to turn "Sound" off and on.

Thanks to a tip off on another thread, I started having a look to see what I could find and did some testing.. I think I've cracked the offset used in the key mappings.

Here is a list and map of all of the keys within the Game.

0. Shift
1. Alt
2. Control
3. Command
4. Caps lock
5. R-Shift
6. R-Alt
7. R-Control
8. L-Shift
9. L-Alt
10. L-Control
11. 0
12. 1
13. 2
14. 3
15. 4
16. 5
17. 6
18. 7
19. 8
20. 9
21. a
22. b
23. c
24. d
25. e
26. f
27. g
28. h
29. i
30. j
31. k
32. l
33. m
34. n
35. o
36. p
37. q
38. r
39. s
40. t
41. u
42. v
43. w
44. x
45. y
46. z
47. `
48. -
49. =
50. backspace
51. return
52. enter
53. tab
54. /
55. \
56. ;
57. '
58. .
59. ,
60. [
61. ]
62. #
63. esc
64. insert
65. delete
66. home
67. end
68. pg-up
69. pg-down
70. crsr-left (left arrow)
71. crsr-right (right arrow)
72. crsr-up (up arrow)
73. crsr-down (down arrow)
74. num-lock
75. Keypad /
76. Keypad *
77. Keypad -
78. Keypad +
79. Keypad .
80. Keypad =
81. Keypad 0
82. Keypad 1
83. Keypad 2
84. Keypad 3
85. Keypad 4
86. Keypad 5
87. Keypad 6
88. Keypad 7
89. Keypad 8
90. Keypad 9
91. f1
92. f2
93. f3
94. f4
95. f5
96. f6
97. f7
98. f8
99. f9
100. f10
101. f11
102. f12
103. print sc
104. scroll lk
105. pause
106. space

Using the numbers above, I was able to find where the "Controls" were mapped in the Keymap_0.txt file in the Data directory. By searching for 89 I was able to find Accelerate, for example.

I have created a new mapping file to use the Arrow keys.. I've also disabled camera control (which is what the arrow keys were forcibly bound to). I'm not sure what this will mean later down the track, I'm just glad to be able to play the game on my Laptop.

Make sure you back up your copy of the Keymap_0.txt file before you replace it with this one.

Files go into the: "C:\GOG Games\Carmageddon 2 Carpocalypse Now\data" directory.

https://dl.dropboxusercontent.com/u/2803365/Keymap_0.txt <-- reverse all of the slashes for the correct link.
< >
Showing 1-14 of 14 comments
Per page: 1530 50