Commit Graph

54 Commits

Author SHA1 Message Date
Jonathan Young 22ca1cec42 Moved Q3A utility function - path and home path detection, config reading - to their own static class. 2014-05-17 17:00:38 +10:00
Jonathan Young f39872b24e Fixed file transaction handling when the destination file doesn't exist. 2014-05-17 14:26:26 +10:00
Jonathan Young 5897c21ddc Use a primitive form of file transactions when copying pk3 files from a CD or Steam. 2014-05-16 22:41:57 +10:00
Jonathan Young fdb1b8144f Moved the file copy worker to its own files. 2014-05-16 21:33:57 +10:00
Jonathan Young 48d13fb321 Fix hang if patch download fails. 2014-05-15 20:01:31 +10:00
Jonathan Young c9f1422f4a Clear wizard copy files before adding so the back button works. 2014-05-15 19:53:17 +10:00
Jonathan Young 70dbf58f44 "copy" wizard page: show the name of the file being copied. 2014-05-15 19:42:42 +10:00
Jonathan Young c09b876566 Store the wizard Q3A path in InstallWizard instead of a field. 2014-05-15 17:21:13 +10:00
Jonathan Young 8e5e041322 Fixed install from CD page layout. 2014-05-15 17:07:25 +10:00
Jonathan Young 64a060fcf6 When installing from CD, have the user select a drive/directory instead of making them find pak0.pk3 on the CD. 2014-05-15 17:06:20 +10:00
Jonathan Young 0837c47531 Don't install the patch when installing from Steam. 2014-05-15 16:40:17 +10:00
Jonathan Young 294afa1066 Rename "installtype" wizard page to "setup". 2014-05-15 16:29:22 +10:00
Jonathan Young 616b422e3b Make installing from Steam a separate option than installing from CD. Copy all pk3 files instead of just pak0.pk3. 2014-05-15 15:03:16 +10:00
Jonathan Young 36883f0eee Have the "copy" wizard page take a list of files to copy, rather than copying a predefined file. 2014-05-15 14:20:50 +10:00
Jonathan Young 91d101dee1 Automatically go to the next wizard page when copying or patching completes. 2014-05-15 13:54:18 +10:00
Jonathan Young c32abd47f8 Merge the installtype, install and locate wizard pages into one page with a QStackedWidget. 2014-05-15 13:51:35 +10:00
Jonathan Young 6da3a4113e On first run, try to get the Q3A path on Windows by reading it from the registry. 2014-05-14 22:53:01 +10:00
Jonathan Young 05e1610bf7 Added "copy" wizard page for copying pak0.pk3 to the Q3A destination directory. 2014-05-14 22:33:47 +10:00
Jonathan Young 37b0276f64 Added "install" wizard page for selecting pak0.pk3 location and Q3A destination directory. 2014-05-14 19:03:18 +10:00
Jonathan Young 7bbffd9cfc Added patch EULA page to the install wizard. 2014-05-13 20:15:00 +10:00
Jonathan Young 79f2c1fbd4 Install Q3A patch. 2014-05-13 19:34:15 +10:00
Jonathan Young c10e713215 Unzip Q3A patch. 2014-05-13 17:23:47 +10:00
Jonathan Young 7c5306c507 Fix crash when canceling wizard after patch download is complete. 2014-05-13 15:29:54 +10:00
Jonathan Young 82854ab6e9 When downloading linuxq3apoint-1.32b-3.x86.run, skip writing the first 8251 bytes so a valid tar.gz file is written. 2014-05-13 14:24:23 +10:00
Jonathan Young 8f22984ca1 Basic Q3A patch downloading. 2014-05-13 13:28:20 +10:00
Jonathan Young 4c88912a0e Rename locatepage to locate. 2014-05-12 19:38:18 +10:00
Jonathan Young 0e96fa145e Added a simple MD5 hash check to determine whether Q3A data is up to date. This determines how the install wizard selects the next page. 2014-05-12 19:35:28 +10:00
Jonathan Young 558d673ef0 Added installation type page to the install wizard. Doesn't do anything yet. 2014-05-12 19:00:36 +10:00
Jonathan Young dc4563dd6a Added install wizard. So far it only has the user select their q3a location on windows. 2014-05-12 18:49:59 +10:00
Zachary J. Slater f0a58961d3 Merge pull request #6 from jpcy/settings
Settings
2014-05-10 22:05:06 -07:00
Jonathan Young a3a9d199e9 Accidentally changed default tab to settings instead of main. 2014-05-09 17:45:38 +10:00
Jonathan Young 78d3bd02c3 Disable resolution spinboxes when "Custom" resolution is not set. 2014-05-09 17:41:45 +10:00
Jonathan Young 3ea451a168 Handle r_modes outside what ioquake3 recognize. 2014-05-09 17:38:28 +10:00
Jonathan Young 81787fb72e Don't need default GUI settings anymore, since defaults are read from q3config.cfg. This simplifies things quite a bit. 2014-05-09 17:06:21 +10:00
Jonathan Young 19d1d56983 Save/load resolution settings. 2014-05-09 16:17:35 +10:00
Jonathan Young 6686a5579f Parse q3config.cfg in the home directory when first run to get setting defaults. 2014-05-09 15:17:33 +10:00
Jonathan Young 701ddd5c10 Calculate the ioquake3 home path on startup. 2014-05-09 12:56:11 +10:00
Jonathan Young 8a231f0b0b Save Quake 3 path to settings on Windows. QSettings is wrapped to keep error-prone stringly typed code in one place (QSettings uses string keys). 2014-05-09 12:21:42 +10:00
Zachary J. Slater 633e2fbd6c Merge pull request #5 from jpcy/misc-fixes
Misc fixes
2014-05-08 10:20:58 -07:00
Jonathan Young 0e249476fe Use the iol icon for the windows exe file. 2014-05-08 21:49:31 +10:00
Jonathan Young 28cb81fccd Silence unused arg warning. 2014-05-08 21:38:50 +10:00
Jonathan Young 189d9b88ca Start the ioq3 process detached, so you can close the launcher while ioq3 is running. 2014-05-08 21:37:32 +10:00
Jonathan Young bad8358d46 Windows: enclose the ioq3 path in quotes instead of escaping individual spaces. 2014-05-08 21:22:51 +10:00
Jonathan Young f1e8bbe2de Fixed uninitialized memory and one small typo. 2014-05-08 21:14:30 +10:00
Zachary J. Slater b11ebf35b3 Merge pull request #4 from zturtleman/fix_linux
Fix launching ioq3 on Linux
2014-03-24 13:24:16 -07:00
Zack Middleton c1e80ab502 Fix launching ioq3 on Linux
Q_OS_X11 does not exist (it was a Qt documentation error).
Q_OS_UNIX is also defined on Mac, so move Unix block after Mac.
There is a specific Q_OS_LINUX, but it's a general Unix style command.

Also added error message for unhandled platforms.
2014-03-24 15:15:29 -05:00
Zachary J. Slater 3bb2a5c97c Merge pull request #3 from zturtleman/readme_formating
Fix lists in README being a single (wrapped) line
2013-12-01 18:22:51 -08:00
Zack Middleton 54e33618c2 Fix lists in README being a single (wrapped) line 2013-12-01 20:21:55 -06:00
Zachary J. Slater 0872b6064f Merge pull request #2 from zturtleman/fix_osx
Add missing project, fix Qt5, fix OS X
2013-12-01 17:58:25 -08:00
Zack Middleton 27c6e28500 Fix compiling/running on OS X 2013-12-01 19:50:15 -06:00