[REL] Better UI

Discussion in 'Other' started by Cselt, Dec 30, 2020.

Tags:
  1. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    I think it's possible to add, however I don't think that would help a lot. I'll check.
     
    atomed, Mibrandt and Mauro like this.
  2. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    That's actually not that bad idea, however you will still need to know the location of your installation. So I'm not sure how much it would help.
     
    lagg likes this.
  3. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    Nice catch, I'll check what can I do
     
  4. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    You don't need any other file, just a single net.rfactor2.ui.framework.jar file
     
  5. pascom

    pascom Registered

    Joined:
    Feb 5, 2013
    Messages:
    503
    Likes Received:
    438
    @Cselt thank you for Better UI, it's top! :)
     
    juanchioooo and Cselt like this.
  6. juanchioooo

    juanchioooo Registered

    Joined:
    May 16, 2016
    Messages:
    2,242
    Likes Received:
    1,649
    net.rfactor2.ui.framework.jar in : rFactor 2\Bin\Bundles
     
  7. speedo59

    speedo59 Registered

    Joined:
    Dec 11, 2011
    Messages:
    55
    Likes Received:
    5
  8. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,341
    Hey @Cselt, can a translation be made through this UI editing way you are using? I'd like to translate the new UI to spanish and want to know if it is possible.
     
  9. ~IsR~Barabba

    ~IsR~Barabba Registered

    Joined:
    Oct 6, 2010
    Messages:
    1,160
    Likes Received:
    40
    it would be great to be able to link the (old) translations in the new UI. Then we make the changes for new UI words.

    Babs ;)
     
    atomed and Corti like this.
  10. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,341
    I have no idea about programming but it would be great to have the new UI english language "chunk". This way, I translate it and then we can ad the translated one to any new better UI release. I don't know if it is possible though.
     
  11. Scoopscat7

    Scoopscat7 Registered

    Joined:
    Jun 21, 2015
    Messages:
    157
    Likes Received:
    87
    Nice piece of work thanks

    My current issue is when online and trying to vote through a session or restart etc I can never find the voting. If those buttons from the voting pop up could be on an additional tab alongside event info and camera with the chat visible?
    Or somewhere where at least you can see the votes or proposed votes as they are posted?
     
    atomed likes this.
  12. Lukas Lichten

    Lukas Lichten Registered

    Joined:
    Oct 14, 2017
    Messages:
    96
    Likes Received:
    242
    Well, I can help with that! CarStat had a funktion to find where rf2 was installed, done by checking the winsows registry for the SteamApp 365960 (rf2). Here is the C# code:
    Code:
    try
    {
        using (var hklm = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64))
        using (var key = hklm.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 365960", false))
        {
            string rfactorloc = "" + key.GetValue("InstallLocation");
    
            if (!Directory.Exists(Path.Combine(rfactorloc, @"Installed\Vehicles")))
            {
                throw new NullReferenceException();
            }
    
            return rfactorloc;
        }
    }
    catch (NullReferenceException)
    {
    }
    
     
    lagg and Cselt like this.
  13. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    That's a little bit problematic. With this new UI approach there is no single UI app, there are several small UI applications and for each app there is a localization. E.g.: there is localization for the start page, for the garage view etc.

    So if you would like to translate you need to add a lot of new translation files to several .jar files. And I think doing that from version to version would be a nightmare.
     
    atomed likes this.
  14. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,341
    I see,.that's a shame, thanks anyways.
     
  15. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    A new version is available with the requested countdown timer to multiplayer race events.
    Unfortunately by default if you are in a lap limited multiplayer event you don't know how much time you have left until the pit lane is closes. BUT with Better-UI you'll get that information!

    This release also supports the latest rFactor 2 build.

    All you need to do, is to download the framework jar file and overwrite with the original one in the Bin directory.

    [​IMG]

    Download:
    https://github.com/Cselt/rf2-better-ui/releases/tag/v2.2.0

    Donate me, if you like my work so I can spend more time on this project:
    https://www.paypal.com/donate?hosted_button_id=FMYT6S758CDUN

    Changelog:
    Code:
    Version 2.2.0
    Added
    - Add countdown timer to lap limited multiplayer race events
    - Support latest rFactor2 release
    
     
    Rogger, Bostrom, Obbzy_XR_ and 8 others like this.
  16. Florian Bosson

    Florian Bosson Registered

    Joined:
    Oct 8, 2020
    Messages:
    6
    Likes Received:
    2
    Thanks for your work :) I wanted to update to the lastest version just now, but the menu doesn't start anymore, I have a white screen and I'm stuck there. Am I the only one having this issue ? Is it due to the S397 hotfix of today ?
     
  17. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    Maybe, I need to do another release because of the rF2 update, will do that hopefully today. I just need to work :D
     
    pascom, juanchioooo, clark10 and 3 others like this.
  18. DaVeX

    DaVeX Registered

    Joined:
    Feb 7, 2015
    Messages:
    637
    Likes Received:
    701
    @Cselt a weird request...do you think is possible to change tabs order from
    multiplayer>single player>competition
    in
    single player>multiplayer>competition?
    would be great, would gain more sense, if we could swap the order and let the UI load Favourite Servers only when clicking on Multiplayer tab...
    I don't know if doable but I suppose is worth asking :p
     
    Last edited: Jan 19, 2021
    McFlex, Ernie, juanchioooo and 3 others like this.
  19. Cselt

    Cselt Member

    Joined:
    Jan 12, 2012
    Messages:
    88
    Likes Received:
    444
    Another quick release is here to support latest rFactor 2 version.
    BUT besides that I created a small installer so you don't need to bother any more with the jar files.
    The installer will read out the install location of rFactor 2 and will create a backup then replace the original jar file with the patched one.

    Download:
    https://github.com/Cselt/rf2-better-ui/releases/tag/v2.3.0

    Donate me, if you like my work so I can spend more time on this project:
    https://www.paypal.com/donate?hosted_button_id=FMYT6S758CDUN

    Changelog:
    Code:
    Version 2.3.0
    ### Added
    - Installer
    - Support latest rFactor2 release
    
    Version 2.2.0
    Added
    - Add countdown timer to lap limited multiplayer race events
    - Support latest rFactor2 release
    
     
    Rogger, Bostrom, McFlex and 8 others like this.
  20. bears

    bears Registered

    Joined:
    Apr 4, 2015
    Messages:
    806
    Likes Received:
    3,094
    This is a small one...is it possible to display a count of opponents after selection of a class in customisation this would make selection of the number of ai opponents much quicker than having to manually count them assuming you want to set up a race just for that class or classes
     

Share This Page