I've made another Update with some changings in Structure and adding a little "Help"-Site which can be opened by clicking on the blue Button with the Question Mark. If somebody with english as native language would be so kind to take a look at this "Help"-Site, especially the Section with the Instructions about how to use the Tool, to see if it's OK?
Another "small" Update. Will be the last one for the next time, except repairing reported problems. I've added a possibilty to directly convert from rF1 to rF2, by using/uploading the *.HDV and *Gears.ini files of a mod. Because it was a little hard to adapt the script, because the files don't really have a straight structure, and because some 3rd Party mods have files that have lines in it where they don't belong, it can happen that the conversion fails. But i thought, it could be an easy way to get the new rF2 *.HDV-entries. Merry Christmas
Everytime i think it is OK now... Added Full Conversion Service Means: Upload your rFactor 1 files and Download a converted *.hdv file for rFactor2. Would be nice if some of the members here would test it, to see if errors show up. The Link is in my Signature. Happy new Year to all.
Tried to test the last option and it seems not working correctly. I found that at the end of the line like: Gear1Range=(0,0,2 the ")" has been missed. Next lines for other gears show only 2 options like the gear 1; on the contrary they are 8: [GEAR_RATIOS] //First gears ratio=(12,48) //3.8 ratio=(14,47) //3.0 //Second gears ratio=(16,46) //2.158 ratio=(16,45) //2.079 ratio=(17,45) //2.00 ratio=(17,44) //1.952 ratio=(18,44) //1.905 ratio=(18,43) //1.875 ratio=(19,43) //1.845 ratio=(19,42) //1.809 //Third gears ratio=(20,42) //1.773 ratio=(20,41) //1.762 ratio=(21,41) //1.682 ratio=(21,40) //1.650 ratio=(22,40) //1.619 ratio=(22,39) //1.589 ratio=(23,39) //1.560 ratio=(23,38) //1.531 //Fourth gears ratio=(24,38) //1.502 ratio=(24,37) //1.470 ratio=(25,37) //1.440 ratio=(25,36) //1.400 ratio=(26,36) //1.365 ratio=(26,35) //1.336 ratio=(27,35) //1.308 ratio=(27,34) //1.279 //Fifth gears ratio=(28,34) //1.251 ratio=(28,33) //1.210 ratio=(29,33) //1.183 ratio=(29,32) //1.153 ratio=(30,32) //1.123 ratio=(30,31) //1.082 ratio=(31,31) //1.044 ratio=(31,30) //1.000 [FINAL_DRIVE] bevel=(1,1) //1.00 ratio=(10,38) //2.4 ==== FinalDriveRange=(0,0,2) FinalDriveSpecial=(0,,,"1000,3800,10,10") FinalDriveSpecial=(1,,,"1000,1000,10,10") FinalDriveSetting=0 ReverseRange=(0,0,1) ReverseSpecial=(0,,,"1000,4000") ReverseSetting=0 ForwardGears=5 Gear1Range=(0,0,2 Gear1Special=(0,,,"1000,4000") Gear1Special=(1,,,"1000,3357") Gear1Setting=1 Gear2Range=(0,0,2) Gear2Special=(0,,,"1000,2211") Gear2Special=(1,,,"1000,2100") Gear3Range=(0,0,2) Gear3Special=(0,,,"1000,1652") Gear3Special=(1,,,"1000,1583") Gear4Range=(0,0,2) Gear4Special=(0,,,"1000,1296") Gear4Special=(1,,,"1000,1259") Gear5Range=(0,0,2) Gear5Special=(0,,,"1000,1067") Gear5Special=(1,,,"1000,1033") Let me know if you need more info... thank you. This last option is really great!!!!!!!!!!!!
Hello Slow Motion, thanks for testing . That helps me a lot to fix upcoming errors!! Especially while there are so many edited files, like this one you've posted with the "//XXXXX gears" lines between the ratio-entries. All these things have to be taken into account, to make the script work automatically and that's hard sometimes. But the more people test...... I've noticed that i uploaded a wrong Version first, which didn't write the lines "GearXSetting=.." for the Gears 2-8 into the HDV-output. Correct Sript is online now. And the missing ")" will be added quickly. And why it only sets 2 Options/Gear, i will have to see what that caused. I had to set some conditions (if-->then) about how these numbers will be set. Maybe i lost overview there. Happy new Year to all. EDIT It just came back to me.... i've set the number of clickable Gear-Options, following the lowest difference between 2 Gearsettings in the rF1 HDV. Example: if the Gear1Setting is 0, the Gear2Setting is 8, Gear3...19, Gear4...28,... I have these differences: 0-->2=2 2-->8=6 8-->19=11 19-->28=9 The lowest difference is 2. So i take this as number of clickable Options, because i have not so many overlapping with it. In case of e.g. your posted Gear.ini, it is surely a restriction. I will think about a better solution.
I've found another point to be fixed... The rim size starts from 16 inches. There are cars that mount 12 or 13
Thank you, quickfixed, values from 3-->24 inch now (3,4..for Karts ). EDIT Have you imported the files for the Palatov and have that been working rFactor 1 files? I ask because the bevel is missing and that should not happen..
I'm testing just now the file for Palatov and in effect there is something strange... with final = 0 I have a speed of 350kmh, with final = 3 the potential speed is 450 kmh, lol!!!!!!!!! In both cases I cannot use more than 3 speeds... For sure I made a mistake. Here are original data: [GEAR_RATIOS] ratio=(13, 34) // 2.615 stock hayabusa ratio=(16, 31) // 1.938 stock hayabusa ratio=(19, 29) // 1.526 stock hayabusa ratio=(21, 27) // 1.286 stock hayabusa ratio=(22, 25) // 1.136 stock hayabusa ratio=(23, 24) // 1.043 stock hayabusa [FINAL_DRIVE] bevel=(52, 83) // 1.596 primary reduction ratio=(17, 44) // 2.58 ratio=(18, 44) // 2.44 ratio=(18, 41) // 2.27 ratio=(18, 38) // 2.11 Here is the result: FinalDriveRange=(0,0,4) FinalDriveSpecial=(0,,,"1000,2588,,") FinalDriveSpecial=(1,,,"1000,2444,,") FinalDriveSpecial=(2,,,"1000,2278,,") FinalDriveSpecial=(3,,,"1000,2111,,") FinalDriveSetting=0 ReverseRange=(0,0,1) ReverseSpecial=(0,,,"1000,2615") ReverseSetting=0 ForwardGears=6 Gear1Range=(0,0,1) Gear1Special=(0,,,"1000,2615") Gear1Setting=0 Gear2Range=(0,0,1) Gear2Special=(0,,,"1000,1938") Gear2Setting=0 Gear3Range=(0,0,1) Gear3Special=(0,,,"1000,1526") Gear3Setting=0 Gear4Range=(0,0,1) Gear4Special=(0,,,"1000,1286") Gear4Setting=0 Gear5Range=(0,0,1) Gear5Special=(0,,,"1000,1136") Gear5Setting=0 Gear6Range=(0,0,1) Gear6Special=(0,,,"1000,1043") Gear6Setting=0 What did I make wrong? Is it the bevel issue?
I will try it out, maybe i have an error in my calculation-formulas. As said before, the script is ~ 13500 lines long now, hard to keep an overview. Uploaded a new update with some little changes when downloading new HDV. You can choose between already uploaded or new one. And the entries are not written 2,3,4... times anymore, when you refresh the site. I've noticed that it happens, accidently.
Thank you redapg, let me know when I can try again for setting the Palatov gear or let me know the right 4 "final drive special" that I have to use. If I well understood, I suppose the problem is into the calculations of the bevel into the finals
Try again please, i made a set "Palatov Test Chris" with the given settings and it looks normal for me. I didn't know which tiresize you have used, maybe there is the "error"? And always click "CALCULATE" after changing something. EDIT I have just seen that you have a set uploaded. I took tiresizes and Rpm from that. Almost same result now here. Where is the data that you have from? Is it a running rFactor 1 mod? Then is the rpm causing it. Race Cars (except F1) don't Rev 13500 Rpm normally. I would change the FinalDrive Ratios to adapt it to "normal" Rpm's.
OK, and i go on thinking about a better solution to convert the available Options for the Gears.... makes my head smoking currently
I have noticed that there is a new(?) feature in the garage, that allows to select a, from the modder predefined, set of ratios. That gives you the possibility to choose e.g. a "short translated" set for tracks where no highspeed is needed or a "long translated" set for tracks with long straights. I'll try to add this option to my Generator, because that is, if defined by the modder, a good way to give the driver the chance to quickly change the basic setup for different sort of tracks. ... and forgot to say that i changed the definitions in which way the *Gears.ini entries get imported.
Added a little script to calculate Inertia for rectangular objects, as it was used for rF1 cars. And since mathematics didn't change meanwhile, it should also work for rF2.
@ redapg, I'm trying this one out now as my gear settings fail (doesn't go all the way in the list with old numbers, just up to the 12th setting) and I thought a new style would be nice. But do I get it right when I say that a gear.ini file is not needed anymore when you use this?
Yes, that's right. But if you copy/paste the new entries by hand, instead of let the script do it, delete the line from the HDV file that refers to the Gears.ini file. And be patient, it's hosted by a free webhost and very slow sometimes.
Okay, good to know. Thanks mate; it's a very nice program, nicely made. Very good feature that it sets itself in the ini; I can only dream of doing that with my stuff one day.