View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000733 | FSSCP | launcher | public | 2006-01-20 05:49 | 2006-01-29 22:06 |
| Reporter | WMCoolmon | Assigned To | phreak | ||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000733: Launcher defaults to C:\games\freespace2 | ||||
| Description | Whenever one is selecting an EXE, the Launcher always defaults to C:\games\freespace2 (Asssuming it exists) even if the last used directory exists. | ||||
| Tags | No tags attached. | ||||
|
|
i am at school right now, but in LauncherDlg.cpp, comment out this line in CLauncherDlg::OnBrowse() details.lpstrInitialDir = "C:\\Games\\Freespace2"; |
|
|
If i comment out that line, the launcher will default to the current directory if there are any EXEs in that directory that match the string "*fs2_open*.exe", with stars being wildcards. If there are none, it would default to the user's "My documents" folder, which i don't think is able to be changed. |
|
|
Perhaps what we should do is default to C:\Games\Freespace2 if this is the first time using the launcher, but if the launcher was previously used and chose an EXE from a different directory, that directory should be saved in the launcher settings and loaded upon startup. |
|
|
Sounds like a plan. edit: looking through the code, there is a popup window that will appear if the launcher isn't in the same directory as the FS2 file you select. We could always just force it to go to the current directory its located in. By calling GetCurrentDirectory() and using the output of that for lpstrInitialDir. Doing some tests, it doesn't default to "My documents" if no FSO exes are found. edited on: 01-28-06 16:15 edited on: 01-28-06 16:16 |
|
|
fixed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-01-20 05:49 | WMCoolmon | New Issue | |
| 2006-01-24 15:36 | phreak | Note Added: 0004454 | |
| 2006-01-28 19:55 | phreak | Note Added: 0004530 | |
| 2006-01-28 20:39 | Goober5000 | Note Added: 0004533 | |
| 2006-01-28 20:57 | phreak | Note Added: 0004536 | |
| 2006-01-28 21:15 | phreak | Note Edited: 0004536 | |
| 2006-01-28 21:16 | phreak | Note Edited: 0004536 | |
| 2006-01-29 22:06 | phreak | Status | new => resolved |
| 2006-01-29 22:06 | phreak | Resolution | open => fixed |
| 2006-01-29 22:06 | phreak | Assigned To | => phreak |
| 2006-01-29 22:06 | phreak | Note Added: 0004553 |