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
Installer for Star Wars: Rogue Squadron #114
Comments
Yes but it would be better to host it on Lutris. (Propose your build to Strider. The build we currently use, I grabbed it from PoL)
|
sure, i didn't know you planned to host different wine versions too. Nice ! |
I just reviewed my code, it's actually not fully working (it will only download our default build if it can't find the version set in the game's config) but it's nearly there. |
ok so i reopen for now. thanks |
Yes it's planned but we currenlty have only one version of wine, which one do you want first? Then I'm not sure that the current code can handle that (correctly interpret the "version: 1.x.x" part). Well actually I'm quite sure it's unhandled ;) |
No no it's implemented ! It just needs a little work in wine.install() to support versions other than DEFAULT_WINE. I'll try and do that now, should be quick. Edit: committed in next |
I'll just make a few and see which combination works better, then i'll send you the links to the patches. i think 1.7.27 with CSMT (i'll look for other D3D patches too).
:)
It seems to work in master (the selection part)
I'll try when when we have a specific build to test I fixed my scripts for the game btw : Edit : The 2 versions works correctly, both local and on the game page
to the local versions. Ok it supports multiple versions in one script, and that's a good thing, but it's a pain to edit this to make it work with the site, and it doesn't make creating scripts easier.
i think i won't rest until.. Thanks |
Hey,
I'd settle for lastest development version 1.7.28, works good to me, perfectly playable with nGlide 1.02, even if not as responsive as 1.03, which has the problem with crash after end of missions. There's also the camera bug, especially when flying fast for a long time, i'll report it to nGlide forums.
When matter with cdrom is settled, i'll try wine version selection
I get good progress on the installer, there's a few things to fix but it should be good in a week i hope Best |
I did some testing, really great job, I've finally managed to play it with the X360 controller (force feedback included :)
|
Nice to hear !
I think that won't happen with 1.7.28. It seems that 'strict draw ordering' has moved from 'X11Drv' wine registry section to 'Direct3D'. That's what's needed to remove the menu glitches, so the lastest revision of the game installer will have this 'bug' with older wine versions.
That's why the 'win98' compatibility is here for, solely for making the joystick work.
Yes it's related to ship acceleration, camera somehow loses track of the ship. But it happens with my button-only gamepad too. This bug is known, but doesn't always happen, is fixed by changing camera (F1) and reverting back to the original if needed.
It's because of the volume name (in my case) not showing (and perhaps not properly stored in the iso) on the drive with the mount command. also works with gcdemu P.S: Quentin PÂRIS from POL pretty much says that 'repackaging' installer is not legal. I wonder since my installer doesn't include any game file (except icon and patch and doesn't contain any crack). Perhaps the installer should download the 1.21 update in spite of embedding it, and it would be okay ? What do you think about this ? |
That's some good news! I've uploaded wine 1.7.28 on the server and will try again with lutris tomorrow. I'm not sure everything had been applied correctly, like the win98 mode. Also Quentin doesn't allow a lot of things that we don't have any problem with. If a game needs a nocd patch or an alternate installer then sure, we'll provide it. The only thing that we won't do is giving away the whole game especially if LucasArts still hold the trademark (they still do, I checked) or the game can be purchased (I don't think it can). The game is 16 years old and Factor 5 is now defunct, no one will care. |
The Wine version is incorrectly set in the But it didn't help with anything for me, I'm still having the problem with the mouse taking over the joystick. Oh and a suggestion: if it's possible to make your custom installer (mostly) unattended, it would be very cool! :) Edit: I forgot to mention that the CD recognition didn't work for me, I fixed this in 476efb5 |
Actually none of your regedit tasks are working as you are escaping the backslashes in the reg paths. Edit: so in fact, changing the windows version from the registry does work! |
I did a lot of tests and have a lot of things to report :)
PS: I'll modify the thread's title since the original issue is solved |
Yeah i understood approximately at the same time )
Same. I was a bit too fast.. Actually the last versions fixed the issue for windows (7 x64 on my machine), but broke it for wine. The last (0.95, published just now) works on both (provided you use win98 compatibility on wine).
Are you sure of this ? I'll re-test carefully because if i don't set it the menu is really broken, full of glitches appear on screen..
Actually on ubuntu 14.04 i tend to have the same problem when managed is on, i'll re-check.
I think you're right, i'm accustomed to POL and i have to state this manually
nice to hear ! i'll test right now !
why not, that's not actually complicated to do.. i'll try to do this |
All right ! it's perfect ! but please use last version 0.95, that makes the game work with the 1.0 cds too ! |
The game is configured to 1.7.13 for now. I think it's normal since there's no 1.7.28 on the server ? I'm not sure the difference in performances is really big, we'll see.. |
I think i'll re-embed the update inside the installer for those who have the old cd, gamefront link is not really reliable right now, link was down. |
I just tried with 0.96, but it's not fixed and it doesn't preconfigure the joystick like your old version. I have a v1.3 CD and I verified that the windows version was set to win98.
No it's just that the Wine version setting was re-put in the
Thanks ! Have you tested your installer with it ? It would be nice if you could, @strycore had a crash seemingly due to my changes on insert-cd but he wasn't able to reproduce it when trying to analyse it.
Replying to this old question: I don't know. :) @medfreeman, I've seen that Quentin was concerned about security regarding your non-official binary. Not really concerned myself as Rogue Squadron is not a place of choice if you wanted to do harm... but why don't you open up your code ? I have to admit that keeping it closed doesn't infuse trust. @strycore, woah those screenshots look really stretched ! you don't notice that ? It doesn't bother me on some games but here the ships being naturally quite flat already, I cannot not notice it. In your second screenshot in particular. |
It works for me on both wine and windows, it think i'll make a detailed report with the version of the game, version of the installer, version of wine, branch of lutris, and perhaps pol, so we can compare.
Noted.
I only tested with it in fact. Works perfect !
I thought it was a more general remark ! Didn't think he would let me use it in the script even if it was open ! Basically, after saying that i have not a problem at all with opening the code... i'd say that i've done it this way to avoid the whole 'providing means to make a cracked installer or something', given it is not really legal to 'repackage', even if it's not really the case. I've done it the same way as Markus Egger with his installer, freeware, not open, and a few disclaimers at the bottom of the page.. And i have to provide the links to the nsis plugins used, or put them in the repository because there's a few and one of them needs a little fix before compiling. I also have to comment it better and update the readme (i'm being lazy). But i'll try to do this tonight or during the week ! Thanks ! Edit : The whole 'has to be on an official ftp' becomes kinda moot when you can't find the actual binary anywhere reliable (e.g. the game's update), where the link is straight (not a redirection or javascript triggered limited dl). But i understand the concerns. |
Je mettrai la source demain soir à disposition. un peu hors-sujet mais pas complètement : https://dolphin-emu.org/blog/2014/09/30/dolphin-progress-report-september-2014/ |
I just published the source code https://github.com/medfreeman/RogueSquadron3DInstaller. I'll try to make test reports on windows, pol, and lutris today. |
Thanks for opening it up. :) |
Awesome work everyone! |
Thanks ! Do you actually think it's ok in this state ? I didn't really got time these last days to improve it. |
Sadly for me it's not yet playable. I still have the input bug with the current custom installer. Which is not the case with the older version used on PoL, I verified again. So what's the regression between those two ? Other issue : randomly every four or five installs, I get a "could not find the CD" from your installer. Notes about the script:
|
Are you using gCDemu to mount an ISO image (or have a real CD) ? That's the only I managed to get the installer to recognize the CD.
I have no idea why this works. It shouldn't. |
I'm using gCDEmu and the ISO is recognized by the Lutris installer, it's medfreeman's Win installer that has this detection issue. |
There shouldn't be, since nothing changed concerning the joystick (for wine) between these two versions. But i'll check the changes and try to see if there's something. Do you happen to have the 'Luke' profile already created when you launch the game on lutris ? If yes, that my means my installer doesn't always properly detects wine, and so thinks it's running on Windows. Background : It is known that this bug exists on windows (and it's pretty random), and no compatibility mode changes that. However i read somewhere that if you have the issue, you should try to create 4 player profiles and use the fourth one, and the bug disappears. That actually happened to me and this workaround worked a few times after installing the game. Even if you delete the 3 first profiles. So i thought let's include the fourth profile in the installer and copy it to the game when we're not running on wine (that's the default profile named Luke if you try the installer on Windows, file is assets/profile/Player_03.sav). However sometimes that doesn't work (i have the bug back), but having the fourth profile helps (even if the 3 first are not present), because you have just to create a new one (the 5th) and the bug disappears. For now i never had the issue on Wine, but perhaps it was luck (an external factor we don't know about). Perhaps it depends on the controller used.
I only use gCDEmu for now, and never had the issue. I'll receive the original by mail during this week (french version). But the cdrom plugin i use for detection is pretty old and i'm not sure it is really reliable. I'll replace it by a more standard method using Nsis GetDrives, and hopefully it'll disappear.
Ok, i'll make these changes later this evening
https://github.com/lutris/lutris/blob/master/lutris/installer.py l.418 :
It's because of this right ? |
I don't get the Luke profile preset in the last version of your installer. I have it with the older installer. So that's it I guess, I need this 4th profile on Wine. My controller is an Xbox 360 wireless pad. |
Ok. So that's a bit random, and that means we can perhaps remove win98 compatiiblity too since i thought it made the joystick work. |
Ok thanks, I'm awaiting your progress. :) On a different topic, I was wondering why you moved the insert_disc() directive from an |
I didn't realize it completely at the time. I was thinking it's a prerequisite, so should happen before doing anything else. I was internally refering to one of petch comments on a POL script saying :
Now i understand that putting it in a an installer task doesn't conflict with this approach, since the tasks are done in order right ? I got sucked in installer.py and forgot totally about other parts of the code, since i'm new to your code. BTW when is the wine prefix created ? before tasks or not ? because if yes i think petch comment could be relevant to this case too. Ok i'll redo this correctly using your changes start of next month if you want. |
Ok, it's not a problem but I'll revert it for the time being I think. We've discussed this with Strycore on IRC and came up with an intermediate decision: we should reference the disks in the And yes, the tasks are done in order. And the Wine prefix is created when any of the wineexec, winetricks, set_regedit or create_prefix tasks is called. It's not created at the beginning like in PoL. |
Hi, i'll be available to do all these things next week. Thanks |
Ok, i'm restarting work on this (RS3D). |
It sounds good. |
I'll get Rogue Squadron on GOG and use this as a final test on whether this issue can be closed, alright? |
Sure. I'm sorry i didn't continue the work on it. I'm sure i'll do it one day though, but as always schedule is tight. Oh btw your ultimate goal will soon come to light, as rogue leader and rebel strike just became (fully?) playable on dolphin since last week. Best |
Well the current installer works pretty well already, that why I wanted to close this issue but there's always room for improvement sure. If you want to leave this open for further discussion on the progress made, I have absolutely no problem with that (I'll just remove the 0.3.7 milestone).
Awesome! I tried Rogue Leader something like two or three weeks ago and it didn't run at all. I'll give it another try with the newer builds |
If you don't mind, i'd like to close it when the issue with joysticks is closed for good, and the script is ok. |
Ok, no problem. |
@medfreeman I made an installer for nglide 1.03 which works well enough. Did you make any progress for the GOG version? |
Xod edit: for ref, the game is here
Hi,
is there actually a way to download a custom wine version (let's say with specific patches for a game to work) and copy it to the right folder, then telling lutris to use this specific version for the game ?
ie:
The text was updated successfully, but these errors were encountered: