-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Windows Installer Testing #79
Comments
Hm, my VirtualBox has trouble mounting an image with cd audio.. but tested without CDA, and it worked ok. |
Yes, that is something I was alluding to above. I did put in a warning if you hover over the game music option in the components page, but I think you've confirmed it's too easily missed, so I will put in a clearer warning. I think it's another common use case - I actually had this problem waaay back in the day when the original release of the port came out and was confused then. |
I didn't really missed it, I just assumed that VirtualBox, being a simulator detached from any HW, will support the format properly. But it looks like it does not, even though multi-track CUE/BIN support was added back in version 5.2 (at least, this is what they claim in release notes). |
seems to work without any problems. side note: the default key "backslash" for grouping soldiers is not found in any of the normal keys on scandinavian keyboard layout. |
Thanks, out of interest what version did you install, GOG? The keyboard thing is off topic, but I actually get the same problem with my UK keyboard, it's actually some non-standard keyboard I have and a few games don't recognise that key (DCS world is another). |
gog version. "backslash" key is alt-gr + ?, so its not a single key press. |
why does the game or installer put a win.gif/.png on my d:\ root? |
Oops, I was using that while testing something early on, was pretty certain I'd reverted it, it's not set there in my latest version. Thanks for finding it, this is exactly the sort of thing I wanted to squash before publishing. |
Another new version. This won't be very interesting for most people, but I've now moved over to my new more generic Gogisoripper tool instead of the original Syndicate Wars specific swisoripper tool for ripping the GOG audio tracks. What is slightly more interesting is I realised the GOG .cue file is actually wrong and the audio tracks are slightly misaligned. This is most obvious if you play track 3 of the GOG version in-game, which is missing the first second or two of music. As such I've gone back and rechecked the track boundaries by hand against a rip from a real CD and now the versions ripped by this installer are correct and don't miss any audio/include bits from the previous track like the GOG release does. |
The old EDIT: Will fix that myself, as it's a dependency for other changes I'm doing. |
One thing I noticed as well post-pull-request is there are duplicate lines at line 376 and 377, 380 and 381. Goto langncd_store only needs calling once. |
Will fix as well. |
More a note to myself, but one mildly annoying problem is that the progress bar never goes to 100% at the end of install due to the number of Return commands used in the functions. Nsis considers this "missed" progress. Really needs a re-write of the old Vexillum installer stuff to fix it (or an ugly workaround forcing the progress), not sure if it's worth it though. |
We should prepare a "release", as people are installing a version from April and asking strange questions... EDIT: by the header, I mean |
Yes, I was just about to suggest the same. I'll put together release notes (be nice to have these displayed in the installer as a page, yes?) and try and get the version header working, I saw you started on that. I might try and fix the 100% progress issue too, saw a few ways to do it. |
My main intention is to paste them to the release message, as there were 700 commits since previous release. Though you can add it to the installer as well, up to you.
It is in the same folder where your NSI script is copied, so should go without any issues. |
EDIT: Urgh, Github has stripped my examples that used angular brackets, it had things like -m (campaign number),(mission index number). Changed them to curved brackets for now on here. How about this for release notes: Release XXX Improvements since release 0.3.3.797: General Game Improvements
Unguided Campaign Changes
Bug Fixes
Installer
Not sure about the PO files bit above, it's a cool feature but more source code than end user game related, so feels a bit wrong included it here, and also I'm not sure I expressed it well either. Obviously let me know if I missed anything important. |
Oh wow. I though those will be 6-10 lines, you really surprised me. But sure, that will do. Thank you. |
Well, it was obvious that people aren't aware of how much (or indeed any) work has been done on this project (mostly by your good self!), so I think it's worth going the extra mile to make it clear how good it is now and exactly what it can do compared to the original game. |
One annoying thing: I just downloaded the latest installer from the Github actions. It works fine, but Windows Defender has a false positive on it being a virus for some weird reason. Just what we needed. |
Not much we can do about that. Well, most AVs have a way of reporting false positives, so that they can be manually verified and cleared in future versions. But I never bothered with that. EDIT: |
I've tried out the release version, though I normally prefer the simple flexibility of portable archives, here's some comments:
Other than that, I don't see anything to complain about. I've used the GOG version (which I've had to install again first, since I'm using two different copies, one for dosbox-staging and one for swars port). |
@Moburma are you willing to implement downloading map/level files and installing these? An example release is already made in swars-levels. What we need from the installer is:
|
Yep, I will have a go. A bit busy with work this week but will see what I can do. |
Mandatory. We should provide one experience. |
I actually got this done already, but will be very busy the next couple of days so will return to it then. At the moment I'm using these: And will likely add this for MD5 checking: I'll upload a version once I've got the MD5 part worked out. |
For now I wasn't thinking about moving the download link or md5 anywhere.
Yeah, cannot avoid that. We just have to add installation of these plugins to our build environment. The action we use supports adding custom plugin folder: |
Ok, finally had time to finish this off properly and submitted a change. |
Looks ok. We should add the missing SCN files to swars-levels repo, then we can skip copying maps and levels from the original CD. |
I've been working on a change to the installer. Now it will have a third option to update an existing install. This is handy, as it then gets the latest levels.zip etc for you. It also skips installing music etc. I've made it so it doesn't update config.ini and also skips copying rules.ini in this mode. I'm doing more testing now, but probably put a version up tomorrow. |
EDIT 2: Another new version linked
As you may have noticed, the official Windows installer for the port is now years old, and doesn't support the latest developments (i.e. the change to how language files work). It also doesn't support what is now the most common version of the game (the GOG installer), and doesn't support the German CD release, either.
As such I've been working on updating it and making a newer, nicer and more functional installer. The original one was a good starting point, but now I'm quite confident that the latest version should cover nearly all bases from which you may be trying to install the game from. There's also an actual proper uninstaller now, too.
I've done lots of testing, but of course with these things you never really know they're 100% until they are out in the wild for people to really test them. If you would like to help test this new build, you can download the latest github actions build packaged up at the following link:
https://uploadnow.io/f/FG0F31r
Obvious caveats apply - don't install it over your existing game if you don't want to risk losing anything, and be prepared for some possibly horrendous bug that I may have somehow missed. Please try it out and report success or failure. There are a couple of minor issues that are flagged in the installer itself, but I will not mention them here to see if what I have put in so far is good enough to mitigate them or if more is needed.
Also let me know of any other functionality that might be useful (like maybe uninstall while preserving saved game directory only?).
Things to test:
Also if you could say which version you installed (CD, GOG), and which language is also helpful.
The text was updated successfully, but these errors were encountered: