Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 73

Threaded View

  1. #11
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    124
    Rep Power
    244

    UX

    it seems possible to add additional UXs but not replace the existing ones in the obb archives,
    however we can get around this restriction with a little trick

    like for example to personalize the ux speedcam.zip with a similar name :

    rename it as speedcams.zip and and also the internal path ux/speedcams/

    add a dependency in info.ini

    [INFO]
    dependencies="+speedcam"

    update the global.ui to load first a new lua file

    import "~/common/ui/check_plugins.lua"

    import "~/common/ui/speedcam_models.lua"
    import "~/common/ui/speedcam.css"

    import "~/common/ui/i_speedcam.lui"
    import "~/common/ui/speedcam_base.lui"
    import "~/common/ui/speedcam_flow.lui"

    import "~/common/ui/i_speedcam.lua"
    import "~/common/ui/speedcam_base.lua"
    import "~/common/ui/speedcam_flow.lua"

    import "~/common/ui/speedcam.ui"
    import "~/common/ui/speedcam_mods.ui"
    import "~/common/ui/speedcam.lua"
    import "~/common/ui/speedcam_obs.ui"
    this lua must unload previous speedcam.zip by containing this line

    ui.Plugin:unload("speedcam")

    that's all I found while waiting for a version of the apk to be available that does not require the two obb files
    Last edited by lunapark; 27th February 2021 at 05:23 PM.

  2.    Advertissements


 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •