General Discussions

Page 1 of 1
Signup or Login to Post
Trainer Manager 2 v2.0.7 is Released
  • Tier 7
    Send a message to PWizard
    TIER 7
    PWizard posted on Apr 13, 2021 6:58:59 AM - Report post
     
    Download --> Link

    CHANGELOG:

    BREAKING CHANGE: Game Cover Cache folder is now hardcoded to be a sub folder inside the TM folder to make it easier to move TM folder.

    [~] Instead of checking for TM is readonly it now checks if either any user (if running evaluated) or current user can write to the folder
    [~] Added TM version to unhandled error messagebox
    [~] The maximum trainer update check errors has been raised from 5 to 20 before aborting update check
    [!] TM now cleans the game cover cache folder from faulty images and tries to re-download them, fixes some reported game cover issues
    [!] Fixed infinite trainer population loop when the AV immediately deleted a trainer while TM was trying to read information from it
    [!] Fixed issues when 'Open TM Mini Window on Start' was enabled
    [!] Fixed Launch Cosmos failed when Cosmos requires administrator rights
    Chris O'Rorke (chris@cheathappens.com)
    Owner: Cheat Happens.com
    Dingo WebWorks, LLC
    One Bad-Ass MF
    ------------------
    Visit AidaSkins.com for the best AIDA64 custom skins around.
  • Premium Plus
    Send a message to Matri
    TIER 7
    Matri posted on Apr 13, 2021 7:17:21 AM - Report post
     
    quote:
    originally posted by PWizard

    Download --> Link

    CHANGELOG:

    BREAKING CHANGE: Game Cover Cache folder is now hardcoded to be a sub folder inside the TM folder to make it easier to move TM folder.

    [~] Instead of checking for TM is readonly it now checks if either any user (if running evaluated) or current user can write to the folder
    [~] Added TM version to unhandled error messagebox
    [~] The maximum trainer update check errors has been raised from 5 to 20 before aborting update check
    [!] TM now cleans the game cover cache folder from faulty images and tries to re-download them, fixes some reported game cover issues
    [!] Fixed infinite trainer population loop when the AV immediately deleted a trainer while TM was trying to read information from it
    [!] Fixed issues when 'Open TM Mini Window on Start' was enabled
    [!] Fixed Launch Cosmos failed when Cosmos requires administrator rights

    The first one is buggy.

    Instead of checking the current user (me, who is on an Administrator account), it checks the folder's Users permissions, completely ignoring the folder's Adminstrators permissions.

    Temporarily elevating Users to Full Permission finally allowed the TM to load.

  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on Apr 13, 2021 7:22:01 AM - Report post
     
    Is your TM folder inside a system folder (such as Program Files)?
    Are you running the TM explicitly as adminstrator? (Right click -> run as admin)?

    When ran from admin account, TM ensures the folder is writable by a non admin account. This is required by Microsoft's WebView2, because this one always runs under a non admin process, no matter if you start TM as admin or not.

    [Edited by 0x90, 4/13/2021 7:26:47 AM]
  • Premium Plus
    Send a message to Matri
    TIER 7
    Matri posted on Apr 13, 2021 7:55:39 AM - Report post
     
    quote:
    originally posted by 0x90

    Is your TM folder inside a system folder (such as Program Files)?
    Are you running the TM explicitly as adminstrator? (Right click -> run as admin)?

    When ran from admin account, TM ensures the folder is writable by a non admin account. This is required by Microsoft's WebView2, because this one always runs under a non admin process, no matter if you start TM as admin or not.

    [Edited by 0x90, 4/13/2021 7:26:47 AM]

    It's under root (C:\CHTrainerManager), and yes, As Admin.

    I've already reset the directory's Users permission back to default, and will be shutting down for bed soon. I'll check if it still works when I wake up.

  • Premium Plus
    Send a message to Matri
    TIER 7
    Matri posted on Apr 13, 2021 5:37:47 PM - Report post
     
    Okay, TM still working as normal.

    Weird glitch, though.

    EDIT: Oh, I think I see what happened now. TM isn't checking Administrators permission even though I'm logged in as Admin, it only checks Users.

    Once I added Write permission to the Users group, TM is working fine now.

    [Edited by Matri, 4/13/2021 5:40:35 PM]
  • Current rank: 4.5 Stars. Next Rank at 20.000 Posts.
    Send a message to CyPHeR369
    ELITE
    CyPHeR369 posted on Apr 13, 2021 5:50:15 PM - Report post
     
    A how to for others who have this. Folders should inherit the properties of the the user signed in, but they are not anymore for some reason. Good old Windows LoL.

    Link
    "Light travels faster than sound. This is why some people appear bright until you hear them speak."
  • Premium Plus
    Send a message to Matri
    TIER 7
    Matri posted on Apr 13, 2021 7:12:42 PM - Report post
     
    I wonder, though...

    If this is all because of WebView, does that folder have to be inside the TM's folder? Would moving it to the %TEMP% directory be better, since it is easily re-downloaded?
  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on Apr 14, 2021 8:01:09 AM - Report post
     
    Yes it has to be there and the problem is that WebView2 processes (like Edge or Chrome it creates child processes) are always running in user mode and Microsoft says this is not a bug but a design decision.

    That means if a user puts the TM into Program Files directory (which needs admin rights to write to it) and launch TM as admin, the WebView2 child process cannot write into the sub folder.

    Also note that the sub folder contains cookies etc.
Page 1 of 1
Signup or Login to Post
All times are (GMT -06:00) Central Time (US & Canada). Current time is 7:33:19 AM