Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Upload of everything
  • Loading branch information
idearum authored Jul 23, 2017
1 parent 8cdea48 commit 03baf4e
Show file tree
Hide file tree
Showing 46 changed files with 385 additions and 0 deletions.
Binary file added ASM2Launcher.exe
Binary file not shown.
Binary file added Settings/1. Language/English (UK).reg
Binary file not shown.
4 changes: 4 additions & 0 deletions Settings/1. Language/English (US).reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Install]
"Language"=dword:00000003
Binary file added Settings/1. Language/French (CA).reg
Binary file not shown.
Binary file added Settings/1. Language/French (FR).reg
Binary file not shown.
Binary file added Settings/1. Language/German.reg
Binary file not shown.
Binary file added Settings/1. Language/Italian.reg
Binary file not shown.
Binary file added Settings/1. Language/Russian.reg
Binary file not shown.
Binary file added Settings/1. Language/Spanish (SP).reg
Binary file not shown.
Binary file added Settings/2. Fullscreen/Disable.reg
Binary file not shown.
Binary file added Settings/2. Fullscreen/Enable.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-10/1280x800.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-10/1680x1050.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-10/1920x1200.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-10/2560x1600.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-9/1280x720.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-9/1600x900.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-9/1920x1080.reg
Binary file not shown.
Binary file added Settings/3. Resolution/16-9/2560x1440.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/1024x768.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/1280x960.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/1600x1200.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/1920x1440.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/640x480.reg
Binary file not shown.
Binary file added Settings/3. Resolution/4-3/800x600.reg
Binary file not shown.
7 changes: 7 additions & 0 deletions Settings/3. Resolution/5-4/1280x1024.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Settings\Display]
"Height"=dword:00000400
"Width"=dword:00000500
"AspectRatio"=dword:00000000

16 changes: 16 additions & 0 deletions Settings/3. Resolution/Custom Resolutions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Custom resolutions can easily be chosen by editing the Windows registry directly.

Path:
HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Settings\Display

Keys: (all are DWORDs containing the appropriate value in hexadecimal)
* Width
* Height
* AspectRatio
- 0 = 5:4
- 1 = 4:3
- 2 = 16:10
- 3 = 16:9
- 4 = Unknown
- 5 = Custom/Unknown (seen used for both 3:2 and 9:5 aspect ratios)

Binary file added Settings/3. Resolution/Other/3-2 - 720x480.reg
Binary file not shown.
Binary file added Settings/3. Resolution/Other/9-5 - 2160x1200.reg
Binary file not shown.
Binary file added Settings/4. Graphics Preset/0. Very Low.reg
Binary file not shown.
Binary file added Settings/4. Graphics Preset/1. Low.reg
Binary file not shown.
Binary file added Settings/4. Graphics Preset/2. Medium.reg
Binary file not shown.
Binary file added Settings/4. Graphics Preset/3. High.reg
Binary file not shown.
Binary file not shown.
Binary file added Settings/4. Graphics Preset/4. Amazing.reg
Binary file not shown.
Binary file added Settings/4. Graphics Preset/5. Custom.reg
Binary file not shown.
26 changes: 26 additions & 0 deletions Settings/4. Graphics Preset/Notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
|-------------------------------------------------------------------------------|
| Graphics Preset: | Very Low | Low | Medium | High | Amazing |
|-------------------------------------------------------------------------------|
| Vertical Sync: | Off | Off | On | On | On |
| Depth of Field: | Off | Off | Off | On | On |
| Motion Blur: | Off | Off | On | On | On |
| Texture Quality: | Low | Low | Medium | Medium | High |
| Anisotropic Filtering: | None | 2x | 4x | 8x | 16x |
| Anti-Aliasing: | None | Low | Low | Medium | High |
| FX: | Low | Low | Medium | High | Amazing |
| Lighting: | Very Low | Low | Medium | High | Amazing |
| Shadows: | Very Low | Low | Medium | High | Amazing |
| City Life Density: | Low | Low | Medium | Medium | High |
| Draw Distance: | Low | Low | Medium | Medium | High |
|-------------------------------------------------------------------------------|

Notes:
* These registry files changes vertical sync as well.

* The game is locked to 30 FPS with in-game Vertical Sync enabled, and 62 FPS with Vertical Sync disabled. It's therefore recommended to disable Vertical Sync using the separate registry files included in folder "5. Vertical Sync" and force vertical sync through the display drivers instead. This will ensure locked 60 FPS

* Setting Graphics Preset to Custom only changes a single thing: GraphicsPreset = 5. I have no idea what this is for, but it's possible that it tells the game to follow the QualitySettings registry key and ignore internal safety performance checks.

* Draw Distance can be raised to Amazing. This is EXTREMELY PERFORMANCE INTENSE, even on a high-end computer in 2017 on all resolutions. Because this setting is changed through the QualitySettings registry key, I've included "4. Amazing (inc. Draw Distance) - EXTREMELY TAXING!" which sets Amazing in everything including in Draw Distance.

* Minor Note: CityLifeDensity goes from 1->3 in GraphicsPreset.xml but from 0->2 in the registry, which is why Amazing sets the registry to 2.
Binary file added Settings/5. Vertical Sync/Disable.reg
Binary file not shown.
Binary file added Settings/5. Vertical Sync/Enable.reg
Binary file not shown.
Binary file added Settings/Keybindings/Default/Default_Combat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Settings/Keybindings/Default/Default_HUD_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Settings/Keybindings/Default/Default_HUD_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions Settings/Keybindings/Default/input.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
0,False,Keyboard.10,False,False,False
0,True,Keyboard.13,False,False,False
1,True,Keyboard.28,False,False,False
1,False,Keyboard.32,False,False,False
4,True,Keyboard.52,False,False,False
5,True,Mouse.2,False,False,True
6,True,Mouse.0,False,False,True
9,True,Keyboard.27,False,False,False
10,True,Mouse.2,False,False,False
22,True,Keyboard.27,False,False,False
95,True,Keyboard.56,False,False,False
96,True,Keyboard.29,False,False,False
99,True,Keyboard.27,False,False,False
7,True,Keyboard.15,False,False,False
15,False,Keyboard.10,False,False,False
15,True,Keyboard.13,False,False,False
16,False,Keyboard.32,False,False,False
16,True,Keyboard.28,False,False,False
18,True,Keyboard.14,False,False,False
19,True,Keyboard.26,False,False,False
38,True,Mouse.0,False,False,False
39,True,Mouse.2,False,False,False
41,True,Keyboard.26,False,False,False
42,True,Keyboard.26,False,False,False
48,True,Keyboard.17,False,False,False
24,True,Keyboard.12,False,False,False
27,True,Keyboard.52,False,False,False
30,True,Keyboard.28,False,False,False
30,False,Keyboard.32,False,False,False
32,True,Keyboard.27,False,False,False
51,True,Keyboard.52,False,False,False
52,True,Keyboard.52,False,False,False
54,True,Keyboard.52,False,False,False
61,False,Keyboard.10,False,False,False
61,True,Keyboard.13,False,False,False
62,True,Keyboard.28,False,False,False
62,False,Keyboard.32,False,False,False
63,True,Keyboard.52,False,False,False
64,True,Keyboard.54,False,False,False
68,True,Keyboard.26,False,False,False
69,True,Keyboard.14,False,False,False
72,True,Keyboard.27,False,False,False
73,True,Keyboard.15,False,False,False
76,False,Keyboard.10,False,False,False
76,True,Keyboard.13,False,False,False
77,True,Keyboard.28,False,False,False
77,False,Keyboard.32,False,False,False
78,True,Keyboard.56,False,False,False
90,True,Keyboard.10,False,False,False
91,True,Keyboard.13,False,False,False
92,True,Keyboard.32,False,False,False
93,True,Keyboard.28,False,False,False
34,True,Keyboard.52,False,False,False
35,True,Mouse.0,False,False,False
36,True,Mouse.2,False,False,False
37,True,Keyboard.15,False,False,False
40,True,Keyboard.15,False,False,False
55,True,Keyboard.52,False,False,False
56,False,Keyboard.10,False,False,False
56,True,Keyboard.13,False,False,False
57,False,Keyboard.32,False,False,False
57,True,Keyboard.28,False,False,False
59,False,Keyboard.10,False,False,False
59,True,Keyboard.13,False,False,False
60,False,Keyboard.32,False,False,False
60,True,Keyboard.28,False,False,False
65,True,Keyboard.54,False,False,False
66,True,Keyboard.54,False,False,False
67,True,Keyboard.31,False,False,False
79,False,Keyboard.10,False,False,False
80,True,Keyboard.13,False,False,False
81,False,Keyboard.32,False,False,False
82,True,Keyboard.28,False,False,False
220 changes: 220 additions & 0 deletions Settings/Keybindings/input.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
These are the actions that are rebindable through ASM2Launcher.exe and stored in input.dat. See further down for a table of all known keybindings.

The format of input.dat is the following:
logicInput, isPositive, keybinding, holdAlt, holdCtrl, holdShift

Notes:
* The modifier keys refer to the left ones on the keyboard, meaning Left Alt/Ctrl/Shift
* In the below "Li,iP" refers to "LogicInput,isPositive"
* Think gamepad axis, so X+/X- etc in regards to the "isPostive" parameter.


How to rebind the keys:
1. Locate the action you want to rebind in the below tables, by searching either on a) the Li,iP (eg. "0,False" for "move left") or b) the current keybinding (eg. "Keyboard.10" for actions bound to "a").
2. Use the keybindings table further down below to locate the wanted keycode for the new key.
3. Change holdAlt,holdCtrl,holdShift at the end of the row (normally "False,False,False") in input.dat to true or false depending on wanted keybind.


Examples:
0,False,Keyboard.10,False,False,False - Move left using A
0,True,Keyboard.13,False,False,False - Move right using D
0,False,Keyboard.16,False,True,False - Move left using Ctrl+G
0,True,Keyboard.22,False,False,True - Move right using Shift+M

----------------------------------------------------------------------------------------------------------------------

Rebindable Actions

| Navigation
|-------------------------------------|
| Li,iP | Action |
|-------------------------------------|
| 0,False | Move Left |
| 0,True | Move Right |
| 1,True | Move Backwards |
| 1,False | Move Forward |
| 4,True | Jump |
| 5,True | WebSwing (right hand) |
| 6,True | WebSwing (left hand) |
| 9,True | Toggle wall crawl |
| 10,True | Interact |
| 22,True | Reset camera |
| 95,True | Peter Parker run |
| 96,True | Spider-Sense |
| 99,True | Crawl |
|-------------------------------------|

| Combat
|-------------------------------------|
| Li,iP | Action |
|-------------------------------------|
| 7,True | WebShot |
| 15,False | WebRush select left |
| 15,True | WebRush select right |
| 16,False | WebRush select down |
| 16,True | WebRush select up |
| 18,True | WebRush |
| 19,True | Takedown |
| 38,True | Attack |
| 39,True | Dodge attack |
| 41,True | Web Pull |
| 48,True | Heal |
|-------------------------------------|

| HUD
|-------------------------------------|
| Li,iP | Action |
|-------------------------------------|
| 24,True | Photo mode |
| 27,True | Take photo |
| 30,True | Photo zoom out |
| 30,False | Photo zoom in |
| 32,True | Photo zoom reset |
| 51,True | Start |
| 52,True | Skip movie |
| 54,True | Skip cutscene |
| 61,False | Menu scroll Left |
| 61,True | Menu scroll Right |
| 62,True | Menu scroll Down |
| 62,False | Menu scroll Up |
| 63,True | Menu select |
| 64,True | Back in menu |
| 68,True | Cellphone previous page |
| 69,True | Cellphone next page |
| 72,True | Menu option 1 |
| 73,True | Menu option 2 |
| 76,False | Move the map left |
| 76,True | Move the map right |
| 77,True | Move the map down |
| 77,False | Move the map up |
| 78,True | Center on player |
| 90,True | Dialog Left choice |
| 91,True | Dialog Right choice |
| 92,True | Dialog Up choice |
| 93,True | Dialog Down choice |
| 67,True | Open cellphone |
|-------------------------------------|


----------------------------------------------------------------------------------------------------------------------

Keybindings

|-------------|----------------------------|
| KB+M_Input | Key |
|-------------|----------------------------|
| (none) | None |
| Keyboard.0 | 0 |
| Keyboard.1 | 1 |
| Keyboard.2 | 2 |
| Keyboard.3 | 3 |
| Keyboard.4 | 4 |
| Keyboard.5 | 5 |
| Keyboard.6 | 6 |
| Keyboard.7 | 7 |
| Keyboard.8 | 8 |
| Keyboard.9 | 9 |
| Keyboard.10 | a |
| Keyboard.11 | b |
| Keyboard.12 | c |
| Keyboard.13 | d |
| Keyboard.14 | e |
| Keyboard.15 | f |
| Keyboard.16 | g |
| Keyboard.17 | h |
| Keyboard.18 | i |
| Keyboard.19 | j |
| Keyboard.20 | k |
| Keyboard.21 | l |
| Keyboard.22 | m |
| Keyboard.23 | n |
| Keyboard.24 | o |
| Keyboard.25 | p |
| Keyboard.26 | q |
| Keyboard.27 | r |
| Keyboard.28 | s |
| Keyboard.29 | t |
| Keyboard.30 | u |
| Keyboard.31 | v |
| Keyboard.32 | w |
| Keyboard.33 | x |
| Keyboard.34 | y |
| Keyboard.35 | z |
| Keyboard.36 | F1 |
| Keyboard.37 | F2 |
| Keyboard.38 | F3 |
| Keyboard.39 | F4 |
| Keyboard.40 | F5 |
| Keyboard.41 | F6 |
| Keyboard.42 | F7 |
| Keyboard.43 | F8 |
| Keyboard.44 | F9 |
| Keyboard.45 | F10 |
| Keyboard.46 | F11 |
| Keyboard.47 | F12 |
| Keyboard.48 | Left |
| Keyboard.49 | Right |
| Keyboard.50 | Up |
| Keyboard.51 | Down |
| Keyboard.52 | Space |
| Keyboard.53 | Enter |
| Keyboard.54 | Escape |
| Keyboard.55 | Tab |
| Keyboard.56 | Left Shift |
| Keyboard.57 | Backspace |
| Keyboard.58 | Plus/Add (+) |
| Keyboard.59 | Minus/Substract (-) |
| Keyboard.60 | |
| Keyboard.61 | |
| Keyboard.62 | |
| Keyboard.63 | |
| Keyboard.64 | |
| Keyboard.65 | |
| Keyboard.66 | |
| Keyboard.67 | |
| Keyboard.68 | |
| Keyboard.69 | |
| Keyboard.70 | |
| Keyboard.71 | |
| Keyboard.72 | |
| Keyboard.73 | |
| Keyboard.74 | |
| Keyboard.75 | |
| Keyboard.76 | |
| Keyboard.77 | Insert |
| Keyboard.78 | Delete |
| Keyboard.79 | Page Up |
| Keyboard.80 | Page Down |
| Keyboard.81 | Home |
| Keyboard.82 | End |
| Keyboard.83 | Numpad / |
| Keyboard.84 | Numpad * |
| Keyboard.85 | Numpad - |
| Keyboard.86 | Numpad + |
| Keyboard.87 | Numpad . |
| Keyboard.88 | Numpad Enter |
| Keyboard.89 | Numpad 0 |
| Keyboard.90 | Numpad 1 |
| Keyboard.91 | Numpad 2 |
| Keyboard.92 | Numpad 3 |
| Keyboard.93 | Numpad 4 |
| Keyboard.94 | Numpad 5 |
| Keyboard.95 | Numpad 6 |
| Keyboard.96 | Numpad 7 |
| Keyboard.97 | Numpad 8 |
| Keyboard.98 | Numpad 9 |
| Mouse.0 | Mouse Left |
| Mouse.1 | Mouse Middle (Mouse Wheel) |
| Mouse.2 | Mouse Right |
| Mouse.3 | Mouse X Axis |
| Mouse.4 | Mouse Y Axis |
| Mouse.5 | Mouse Z Axis |
| Mouse.6 | Mouse Button 4 |
| Mouse.7 | Mouse Button 5 |
| Mouse.8 | Mouse Button 6 |
| Mouse.9 | Mouse Button 7 |
| Mouse.10 | Mouse Button 8 |
|-------------|----------------------------|


----------------------------------------------------------------------------------------------------------------------
39 changes: 39 additions & 0 deletions Settings/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
------------------------------

These are separate registry files that changes various settings for the game. Please select one under each folder, from 1 to 5.

The registry files are mostly independent except for folder 4 and 5, since the graphics presets includes pre-defined values for vertical sync. So always enable/disable vertical sync manually through the registry files under folder 5 after having selected a graphics preset.

These aren't all the registry keys the game uses, but these seem to be the most important ones.

------------------------------

ASM2Launcher.exe and Game.exe also sets a couple of other register keys as well, which are mentioned below:

----------------------------------------------------------------------------------------------------------------------
Set by Game.exe itself:
----------------------------------------------------------------------------------------------------------------------
[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Settings\Display]
"PerfHUD"=dword:00000000
"Brightness"=dword:00000000
"Gamma"=dword:00000000
"Contrast"=dword:00000000
"AutoFlushShaders"=dword:00000001
"RefreshRate"=dword:00000000
"Cameras"=hex:01,00,00,0a,a0,05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,04,00

[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Settings\Game]
"CleanQuit"=dword:00000001

----------------------------------------------------------------------------------------------------------------------
Set by ASM2Launcher.exe: (Seems to be useless?)
----------------------------------------------------------------------------------------------------------------------
[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\GameConfig]
"AlreadyRun"=dword:00000001

[HKEY_CURRENT_USER\Software\Activision\The Amazing Spider-Man 2 (TM)\Settings]
"AssertIgnorePrefix"=""
"WinX"=dword:00000000
"WinY"=dword:00000000

0 comments on commit 03baf4e

Please sign in to comment.