Hard Light Productions Forums
General FreeSpace => FreeSpace Discussion => Topic started by: Mongoose on October 28, 2013, 08:21:39 pm
-
Not that I want to dump more work on anyone, but we do have multiple people in the community that are native German speakers, as well as French and Polish off the top of my head. If they aren't already floating around out there, having multiple translations of the installation instructions could be a huge plus.
-
The new version of the installer will have support for translations.
-
Goober, do you plan to have your installer automatically update FS2 installations to 1.20? If so, how will that be done?
-
No, that I don't -- mostly because I don't know what is involved, aside from a new root_fs2.vp. (I would assume most of the new installations would be from GOG anyway, which is 1.2.)
-
How about at least a version check, that way if it's not 1.20, an error message will be displayed?
-
It's the same question: how do you check that the version is 1.2? (Though I suppose you could use an MD5 for that.)
-
I'm pretty sure that the EXEs (all three) and the readme are also changed.
In order for us to be sure, someone will have to:
- Perform a full installation of the original English disc release
- Get an MD5 checksum of every file in the root FS2 folder
- Install the 1.20 patch (using the official installer (http://www.freespacemods.net/download.php?view.352), not Karajorma's manual patch)
- Perform step 2 again with the patched installation
Those two hash lists will tell us which files are added or changed in the 1.20 patching process. Perhaps then these files (which must come from a patched disc installation, not the Sim of the Year or GOG.com version) could be packaged and uploaded somewhere. The installer could then use that for patching.
(I'd do this myself, but I only have the Sim of the Year and GOG.com versions, both of which are already patched to 1.20.)
It's the same question: how do you check that the version is 1.2? (Though I suppose you could use an MD5 for that.)
Yeah, I'd check the MD5 of root_fs2.vp. If it's the same as the 1.00 root_fs2.vp, then apply the patch; otherwise, don't patch.
-
I have the original English disks, I'll see if I can get the MD5's in the next week (or so).
-
Can you use a sandboxing program such as Sandboxie (http://www.sandboxie.com) and check to see if the patch changes the Windows registry at all?
-
And the md5sum's are...
e91f041517c8d76466740fbbe7f965f2 FRED2.exe
910a96bfe91741829eb078fffc6892c7 FreeSpace2.exe
f054c7bd049036e60e974051f2727fc2 FS2.exe
25fdbf1c38a00af40b82fb6fc0ee703f FS2uninst.dll
dd5fc0aa89ebd424ce15d3d12116abd9 patchw32.dll
3501407628bfb9040aab7ffa0e43aac4 pxo.url
e882f1e37af00511980fa8baa78e15a4 Readme.txt
42bc56a410373112dfddc7985f66524a Root_fs2.vp
0d662decc0b443ccb8e8aa2e3a0887ce smarty_fs2.vp
2a47bdf14860071cf0196d92e9ee7c2f sparky_fs2.vp
97661124cdc47c0a2f0678982b8cbd91 sparky_hi_fs2.vp
f325b9a93bf3178717b3f72317a0a421 squadwar.url
e88f0e0011b3e525a5ad625933684c03 stu_fs2.vp
8ca7330cfe63329b41868efc2e40e048 tango1_fs2.vp
6fb6e9a36248980540155a9777c51c47 tango2_fs2.vp
d42c20b6ffb4782e431899c211ae55c4 tango3_fs2.vp
5a8bcb28ec692a3a2c438268105af364 Uninst.isu
911381d29735fde695647d7388343dd1 UpdateLauncher.exe
d1f3c39d4fe1bbd56b7b06fe66eef4a6 warble_fs2.vp
9b8a3dfeb586de9584056f9e8fa28bb5 Fred2.exe
091f3f06f596a48ba4e3c42d05ec379f freespace2.exe
2c8133768ebd99faba5c00dd03ebf9ea FS2.exe
25fdbf1c38a00af40b82fb6fc0ee703f FS2uninst.dll
dd5fc0aa89ebd424ce15d3d12116abd9 patchw32.dll
3501407628bfb9040aab7ffa0e43aac4 pxo.url
b4df1711c324516e497ce90b66f45de9 readme.txt
0d9fd69acfe8b29d616377b057d2fc04 root_fs2.vp
0d662decc0b443ccb8e8aa2e3a0887ce smarty_fs2.vp
2a47bdf14860071cf0196d92e9ee7c2f sparky_fs2.vp
97661124cdc47c0a2f0678982b8cbd91 sparky_hi_fs2.vp
f325b9a93bf3178717b3f72317a0a421 squadwar.url
e88f0e0011b3e525a5ad625933684c03 stu_fs2.vp
8ca7330cfe63329b41868efc2e40e048 tango1_fs2.vp
6fb6e9a36248980540155a9777c51c47 tango2_fs2.vp
d42c20b6ffb4782e431899c211ae55c4 tango3_fs2.vp
5a8bcb28ec692a3a2c438268105af364 Uninst.isu
babe53dc03c83067a3336f0c888c4ac2 UpdateLauncher.exe
d1f3c39d4fe1bbd56b7b06fe66eef4a6 warble_fs2.vp
And a diff to show which files have changed:
1,3c1,3
< e91f041517c8d76466740fbbe7f965f2 FRED2.exe
< 910a96bfe91741829eb078fffc6892c7 FreeSpace2.exe
< f054c7bd049036e60e974051f2727fc2 FS2.exe
---
> 9b8a3dfeb586de9584056f9e8fa28bb5 Fred2.exe
> 091f3f06f596a48ba4e3c42d05ec379f freespace2.exe
> 2c8133768ebd99faba5c00dd03ebf9ea FS2.exe
7,8c7,8
< e882f1e37af00511980fa8baa78e15a4 Readme.txt
< 42bc56a410373112dfddc7985f66524a Root_fs2.vp
---
> b4df1711c324516e497ce90b66f45de9 readme.txt
> 0d9fd69acfe8b29d616377b057d2fc04 root_fs2.vp
18c18
< 911381d29735fde695647d7388343dd1 UpdateLauncher.exe
---
> babe53dc03c83067a3336f0c888c4ac2 UpdateLauncher.exe
Note: this was all done on Linux under WINE, I don't believe that should make any difference. Also, it's interesting to note the capitalisation of root_fs2.vp, it seems the patched version is all lowercase while the unpatched version isn't. That may be a super-simple visual check of whether the patch is installed or not (since IIRC Windows is case-insensitive, but also case-preserving.)
(as for checking the registry, I think I could grab a diff of the WINE registry files, but I'd have to redo the install for that since I didn't find said files until after I'd patched)
-
Note: this was all done on Linux under WINE, I don't believe that should make any difference. Also, it's interesting to note the capitalisation of root_fs2.vp, it seems the patched version is all lowercase while the unpatched version isn't. That may be a super-simple visual check of whether the patch is installed or not (since IIRC Windows is case-insensitive, but also case-preserving.)
In my experience, replacing a capitalized file with a lowercase file with the same name preserves the case of the original file; the fact that it changed case sounds like a peculiarity of WINE, because I just checked my (admittedly GOG.com-installed) folder and the filename is "Root_fs2.vp".
-
Yeah, the lowercase r is not a good way to determine whether the patch is installed. It's also important to be mindful of international versions of the game; we don't want to inadvertently change such a version partially into an English version.
I still believe the best method of doing this is to check the MD5 of root_fs2.vp. If it's 42bc56a410373112dfddc7985f66524a, then apply the patch; otherwise, don't. If it's different from the two MD5s shown above, then still don't apply the patch; it's most likely an international version that, if it's not already at version 1.20, will need its own patch.
Niffiwan, would it be OK with you to upload those six files somewhere, both for Goober and as a manual patch? (Remember, Karajorma's patch has cracked EXEs and is missing readme.txt and UpdateLauncher.exe.)
-
I still believe the best method of doing this is to check the MD5 of root_fs2.vp. If it's 0d9fd69acfe8b29d616377b057d2fc04, then apply the patch; otherwise, don't.
I think you mean 42bc56a410373112dfddc7985f66524a; the other md5 is the 1.2 version.
-
I think you mean 42bc56a410373112dfddc7985f66524a; the other md5 is the 1.2 version.
You're absolutely correct; thanks for pointing that out. My post is now fixed.
-
Niffiwan, would it be OK with you to upload those six files somewhere, both for Goober and as a manual patch? (Remember, Karajorma's patch has cracked EXEs and is missing readme.txt and UpdateLauncher.exe.)
Sure, I'll see if I can post that tonight.
edit: and here's a link to the files: http://www.mediafire.com/download/1ko2f3n6v64lko9/fs21x-12.7z
-
Could you upload the manual patch to FSMods?
-
Uploaded to FSMods, I guess it's waiting on approval from achtung.
(And seriously, why does the 1st page of google results for "fsmods" only return Farming Simulator Mods :lol:)
-
So, nothing needed to be changed in the registry, correct?
-
Yeah, the installer is just a winzip self-extracting exe, I don't believe there's a way for that to install anything to the registry.
-
If you open the installer in 7-zip, you will see the files PATCH.RTP, patchw32.dll, and setup.exe. So, it's definitely possible for the patch to change something in the registry.
-
Urgh... I'm going to have to redo the install :(
-
System Restore?
-
Linux :D
-
Niffiwan, have you reinstalled FS2 to look at the registry changes?
-
:nervous:
Not yet - I'll push it up my todo list...
-
Right - I've redone the retail install then patched to 1.20. It does not appear to make any material changes to the registry (i.e. some non-freespace2 parts of the registry files changed for some reason)
$ diff system.reg*
31908c31908
< [Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1392808491
---
> [Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1392808398
35597c35597
< [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1392808491
---
> [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1392808398
40559c40559
< [System\\CurrentControlSet\\Control\\Print\\Printers\\Brother-HL-2170W] 1392808493
---
> [System\\CurrentControlSet\\Control\\Print\\Printers\\Brother-HL-2170W] 1392808398
40586c40586
< [System\\CurrentControlSet\\Control\\Print\\Printers\\PDF] 1392808493
---
> [System\\CurrentControlSet\\Control\\Print\\Printers\\PDF] 1392808398
$
$ diff user.reg*
259,266d258
< [Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced] 1392808494
<
< [Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComDlg32\\LastVisitedMRU] 1392808496
< "a"=hex:73,00,65,00,74,00,75,00,70,00,2e,00,65,00,78,00,65,00,00,00,43,00,3a,\
< 00,5c,00,47,00,61,00,6d,00,65,00,73,00,5c,00,46,00,72,00,65,00,65,00,53,00,\
< 70,00,61,00,63,00,65,00,32,00,00,00
< "MRUList"="a"
<
657c649
< [Software\\Wine\\Fonts] 1392808490
---
> [Software\\Wine\\Fonts] 1392808398
661c653
< [Software\\Wine\\Fonts\\External Fonts] 1392808491
---
> [Software\\Wine\\Fonts\\External Fonts] 1392808398
$ diff userdef.reg*
$
-
What about when you run the launcher (i.e. FreeSpace2.exe)? I know it sets the video card, at least.
-
yeah, the 1st time you run the launcher it added some entries but I didn't record them. Maybe another install is in order :lol: (I took ISO images of my disks this time, so it's a lot faster now ;))
Only downside is that wine/fs2launcher reckon I don't have a 3D video card, so it doesn't add video entries to the registry and retail won't run.
-
Here's the registry changes from running the retail launcher once (after a retail install). I didn't update to 1.20 this time.
$ diff system.reg*
31908c31908
< [Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1392885797
---
> [Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1392883812
35597c35597
< [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1392885797
---
> [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1392883812
38098c38098
< [Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\MMDevices\\Audio\\Capture\\{25DA76D0-033C-4235-9002-19F48894AC6F}] 1392885803
---
> [Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\MMDevices\\Audio\\Capture\\{25DA76D0-033C-4235-9002-19F48894AC6F}] 1392883982
38112c38112
< [Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\MMDevices\\Audio\\Render\\{FD47D9CC-4218-4135-9CE2-0C195C87405B}] 1392885803
---
> [Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\MMDevices\\Audio\\Render\\{FD47D9CC-4218-4135-9CE2-0C195C87405B}] 1392883982
40123,40150c40123
< [Software\\Wow6432Node\\Volition\\FreeSpace2] 1392885830
< "CmdLineOptions"=""
< "ComputerSpeed"=dword:00000002
< "ConnectionSpeed"="None"
< "CurrentJoystick"=dword:00000000
< "D3DFast"=dword:00000000
< "Detect D3D"=dword:00000001
< "Detect Glide"=dword:00000001
< "DisableZbias"=dword:00000000
< "EnableHitEffect"=dword:00000000
< "EnableJoystickFF"=dword:00000000
< "EregCount"=dword:00000001
< "ForcePort"=dword:00000000
< "ForceWFOG"=dword:00000000
< "Interlaced Movies"=dword:00000000
< "Language"="English"
< "LauncherSoundEnabled"=dword:00000001
< "Movie Fast Clear"=dword:00000000
< "NetworkConnection"="None"
< "PXOBanners"=dword:00000001
< "SkipVerify"=dword:00000000
< "Soundcard"="DirectSound"
< "StraightToSetup"=dword:00000000
< "Videocard"="None"
<
< [Software\\Wow6432Node\\Volition\\FreeSpace2\\PXO] 1392885830
< "Login"=""
< "Password"=""
---
> [Software\\Wow6432Node\\Volition\\FreeSpace2] 1392883982
40556c40529
< [System\\CurrentControlSet\\Control\\Print\\Printers\\Brother-HL-2170W] 1392885798
---
> [System\\CurrentControlSet\\Control\\Print\\Printers\\Brother-HL-2170W] 1392883822
40583c40556
< [System\\CurrentControlSet\\Control\\Print\\Printers\\PDF] 1392885798
---
> [System\\CurrentControlSet\\Control\\Print\\Printers\\PDF] 1392883822
$
$ diff userdef.reg*
$
$ diff user.reg*
140,162d139
< [Software\\Interplay Productions] 1392885801
< #class="Country"
<
< [Software\\Interplay Productions\\Status] 1392885801
< #class="CustomerNumber"
< "CustomerNumber"="13928857984DC0409A"
<
< [Software\\Interplay Productions\\Status\\FreeSpace 2] 1392885801
< #class="TimesRun"
<
< [Software\\Interplay Productions\\Status\\FreeSpace 2\\Register] 1392885801
< #class="TimesRun"
< "DateFirstRun"="2456709"
< "DateLastBypassShown"="2456709"
< "DateLastReminderShown"="2456709"
< "TimesReminderShown"="1"
< "TimesRun"="2"
< "TimesRunSinceReminderShown"="0"
<
< [Software\\Interplay Productions\\User] 1392885801
< #class="Country"
< "Country"="United States"
<
544,649c521
< [Software\\Wine\\Drivers\\winepulse.drv] 1392885803
<
< [Software\\Wine\\FileOpenAssociations\\.chm] 1392885798
< "AppName"="hh"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-chm.desktop"
< "MimeType"="application/vnd.ms-htmlhelp"
< "OpenWithIcon"="A35F_hh.0"
< "ProgID"="chm.file"
<
< [Software\\Wine\\FileOpenAssociations\\.gif] 1392885798
< "AppName"="Wine Internet Explorer"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-gif.desktop"
< "MimeType"="image/gif"
< "OpenWithIcon"="7596_iexplore.0"
< "ProgID"="giffile"
<
< [Software\\Wine\\FileOpenAssociations\\.hlp] 1392885798
< "AppName"="winhlp32"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-hlp.desktop"
< "MimeType"="application/x-wine-extension-hlp"
< "OpenWithIcon"="4137_winhlp32.0"
< "ProgID"="hlpfile"
<
< [Software\\Wine\\FileOpenAssociations\\.htm] 1392885798
< "AppName"="winebrowser"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-htm.desktop"
< "MimeType"="text/html"
< "OpenWithIcon"="7765_winebrowser.0"
< "ProgID"="htmlfile"
<
< [Software\\Wine\\FileOpenAssociations\\.ini] 1392885798
< "AppName"="notepad"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-ini.desktop"
< "MimeType"="application/x-wine-extension-ini"
< "OpenWithIcon"="1E64_notepad.0"
< "ProgID"="inifile"
<
< [Software\\Wine\\FileOpenAssociations\\.jfif] 1392885798
< "AppName"="Wine Internet Explorer"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-jfif.desktop"
< "MimeType"="image/jpeg"
< "OpenWithIcon"="7596_iexplore.0"
< "ProgID"="pjpegfile"
<
< [Software\\Wine\\FileOpenAssociations\\.jpe] 1392885798
< "AppName"="Wine Internet Explorer"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-jpe.desktop"
< "MimeType"="image/jpeg"
< "OpenWithIcon"="7596_iexplore.0"
< "ProgID"="jpegfile"
<
< [Software\\Wine\\FileOpenAssociations\\.msp] 1392885798
< "AppName"="A Wine application"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-msp.desktop"
< "MimeType"="application/x-wine-extension-msp"
< "ProgID"="Msi.Patch"
<
< [Software\\Wine\\FileOpenAssociations\\.png] 1392885798
< "AppName"="Wine Internet Explorer"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-png.desktop"
< "MimeType"="image/png"
< "OpenWithIcon"="7596_iexplore.0"
< "ProgID"="pngfile"
<
< [Software\\Wine\\FileOpenAssociations\\.rtf] 1392885798
< "AppName"="wordpad"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-rtf.desktop"
< "MimeType"="application/rtf"
< "OpenWithIcon"="2EF4_wordpad.0"
< "ProgID"="rtffile"
<
< [Software\\Wine\\FileOpenAssociations\\.txt] 1392885798
< "AppName"="notepad"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-txt.desktop"
< "MimeType"="text/plain"
< "OpenWithIcon"="1E64_notepad.0"
< "ProgID"="txtfile"
<
< [Software\\Wine\\FileOpenAssociations\\.url] 1392885798
< "AppName"="rundll32"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-url.desktop"
< "MimeType"="application/x-mswinurl"
< "OpenWithIcon"="1CD8_rundll32.0"
< "ProgID"="InternetShortcut"
<
< [Software\\Wine\\FileOpenAssociations\\.vbs] 1392885798
< "AppName"="A Wine application"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-vbs.desktop"
< "MimeType"="application/x-wine-extension-vbs"
< "ProgID"="VBSFile"
<
< [Software\\Wine\\FileOpenAssociations\\.wri] 1392885798
< "AppName"="wordpad"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-wri.desktop"
< "MimeType"="application/x-mswrite"
< "OpenWithIcon"="2EF4_wordpad.0"
< "ProgID"="wrifile"
<
< [Software\\Wine\\FileOpenAssociations\\.xml] 1392885798
< "AppName"="winebrowser"
< "DesktopFile"="/home/mememe/.local/share/applications/wine-extension-xml.desktop"
< "MimeType"="application/xml"
< "OpenWithIcon"="7765_winebrowser.0"
< "ProgID"="xmlfile"
<
< [Software\\Wine\\Fonts] 1392885797
---
> [Software\\Wine\\Fonts] 1392883818
653c525
< [Software\\Wine\\Fonts\\External Fonts] 1392885797
---
> [Software\\Wine\\Fonts\\External Fonts] 1392883812
$