zissakos / RBRCIT

RBR Car Installation Tool
http://www.ly-racing.de/viewtopic.php?t=8516
52 stars 6 forks source link

Update carlist before NGP #3

Open dolezj24 opened 4 years ago

dolezj24 commented 4 years ago

Hello, thank you for this tool I really like it, but I have a one small problem. When you want update the NGP physics, it seems that you need update the carList.ini first. Not sure if I am doing something wrong, but if it's really a case, I don't find it to much intuitive. Also I feel there is a simple solution, just download the carlist before with rbrcit.DownloadCarListINI(); command. Basically make btNGPDownload_Click method look like this:

private void btNGPDownload_Click(object sender, EventArgs e)
{
       btNGP.Enabled = false;
       rbrcit.DownloadCarListINI();
       rbrcit.DownloadPluginNGP();
}

Not sure if there is some other logic in the program, but I think it should work. Sorry for being so obsessive with it, but I think this small thing can make the tool much more useful for some users.

Anyway, thanks again for RBRCIT.

dolezj24 commented 4 years ago

Reason you need update carlist.ini first (discovered by porridge):

that's because workerbee changes the url of the download link to the plugin with each version...

zissakos commented 4 years ago

Hi, sorry for the late reply....

not sure if just updating the carlist.ini "in the backgound" (without the user knowing) is a good idea. The current usage model enforces the user to always be aware of the carList.ini version and update it explicitly. I wouldn't want to mess with that currently. Of course I am open to any other thoughts.