You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit da9c23a
Browse filesBrowse the repository at this point in the historyBrowse files
The app checks the file at startup and says so instead of crashing;
166
-
`NFSU2_ANY_EXE=1` skips the check.
164
+
The app checks the file at startup, picks the matching engine and says so
165
+
instead of crashing on any other file; `NFSU2_ANY_EXE=1` skips the check.
167
166
168
167
### Game versions
169
168
170
-
The recompiled code and the addresses in the runtime belong to one executable,
171
-
so every other build of `SPEED2.EXE` needs its own lifting pass and address
172
-
table. The game *data* is a separate matter (see the note under the table).
169
+
The recompiled code belongs to one executable, so every build of `SPEED2.EXE`
170
+
gets its own lifting pass and engine. The game *data* is a separate matter (see
171
+
the note under the table).
173
172
174
173
|`SPEED2.EXE`| Size | SHA-256 | Status |
175
174
|---|---|---|---|
176
-
| European v1.2, no CD check | 4,788,224 |`8f6a9ae2c4cfa01181d2fd755d99c6f4b7103f60273908ea1de1e719dfe2a297`|**Supported**|
177
-
| North American v1.2, no CD check (the build most PC mods target) | 4,800,512 |`f9dd86c054878ce6276beb07c1fd61874f7a1e4bf1f241b084c65b73e24168a7`|Not supported yet. Same Feb 9 2005 build; the data addresses match ours, the code is shifted by small amounts. Planned. |
175
+
| European v1.2, no CD check | 4,788,224 |`8f6a9ae2c4cfa01181d2fd755d99c6f4b7103f60273908ea1de1e719dfe2a297`|**Supported**(the reference build) |
176
+
| North American v1.2, no CD check (the build most PC mods target) | 4,800,512 |`f9dd86c054878ce6276beb07c1fd61874f7a1e4bf1f241b084c65b73e24168a7`|**Supported** (engines `nfsu2-engine-na`, `-na-hd`). Tested on US disc data from the menus into a Quick Race, original and HD. |
178
177
| US v1.0 retail disc | 5,987,981 |`2cbd698fee8338a13d1891bc17d27e6641b4b9dd40580de818594b9140222899`|**Cannot be supported.** Protected by SafeDisc: the code section is encrypted on disc and only decrypted at run time, so there is nothing to recompile. |
179
178
180
179
The retail disc executable carries the disc's copy protection, and the official
Copy file name to clipboardExpand all lines: launcher/Views.swift
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,15 @@ struct GameCard: View {
74
74
return(Theme.warn,"Game files not found",
75
75
"Choose the folder where Need for Speed Underground 2 is installed (the folder with SPEED2.EXE in it). Your own copy of the PC game is needed.")
76
76
case.ready(letl):
77
-
return(Theme.accent,l.embedded?"Ready · the game is inside this app":"Ready · supported version",
77
+
return(Theme.accent,l.embedded?"Ready · the game is inside this app":"Ready · \(l.build?.name??"supported version")",
78
78
l.embedded?"This is a portable copy: it needs no separate game folder.":l.folder.path)
79
79
case.unsupported(letl,letsize):
80
+
ifletb=l.build{
81
+
return(Theme.bad,"No engine for this version in this app",
82
+
"\(l.folder.path) has the \(b.name) SPEED2.EXE, but this copy of the app has no engine for it. Use a release that includes it.")
83
+
}
80
84
return(Theme.bad,"This SPEED2.EXE is a different version",
81
-
"Found \(formatBytes(Int64(size))) at \(l.folder.path). The port runs only the European v1.2 SPEED2.EXE without the CD check (4,788,224 bytes); other versions, such as the US one, would crash.")
85
+
"Found \(formatBytes(Int64(size))) at \(l.folder.path). The port runs the European v1.2 (4,788,224 bytes) and North American v1.2 (4,800,512 bytes) SPEED2.EXE without the CD check; other versions, such as the US disc one, would crash.")
0 commit comments