UT Cache Manager v2.5 [Fixed]

External tools, software and sites for creating or editing UT99 resources.
Buggie
Godlike
Posts: 1483
Joined: Sat Mar 21, 2020 5:32 am

UT Cache Manager v2.5 [Fixed]

Post by Buggie » Wed Feb 02, 2022 8:50 am

UT Cache Manager v2.5
http://www.chrisoldwood.com/win32.htm
https://github.com/chrisoldwood/UTCacheMgr

Tool for manage UT cache folder.

This fixed version:
- able work with UTF-8 cache.ini (v469)
- not suffer from issue:

Code: Select all

Unexpected exception caught in PopupWndProc()

Message: H=0x01DA38E6 M=0x00000111 W=0x00000066 L=0x00000000

Structured Exception: EXCEPTION_STACK_OVERFLOW
utcachemgr25rFix2.zip
You do not have the required permissions to view the files attached to this post.
Last edited by Buggie on Sat Feb 05, 2022 9:50 am, edited 2 times in total.

User avatar
Barbie
Godlike
Posts: 2393
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: UT Cache Manager v2.5 [Fixed]

Post by Barbie » Wed Feb 02, 2022 12:55 pm

Nice. What for stands the "r" in the name?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Buggie
Godlike
Posts: 1483
Joined: Sat Mar 21, 2020 5:32 am

Re: UT Cache Manager v2.5 [Fixed]

Post by Buggie » Wed Feb 02, 2022 5:15 pm

http://medor.no-ip.org/index.php?dir=&s ... rch_mode=f
r - stands for "Release"
s - stands for "Source"
original author naming.

So I just replace exe file in archive and add "fix1" part at end.

User avatar
sektor2111
Godlike
Posts: 5871
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: UT Cache Manager v2.5 [Fixed]

Post by sektor2111 » Wed Feb 02, 2022 5:17 pm

You do not have the required permissions to view the files attached to this post.

Buggie
Godlike
Posts: 1483
Joined: Sat Mar 21, 2020 5:32 am

Re: UT Cache Manager v2.5 [Fixed]

Post by Buggie » Wed Feb 02, 2022 5:27 pm

Then you stuck on old version.
I try compile with v141_xp tools in VS. possible do something wrong.
or it use calls which not work on WinXP.

WinXP is too old for really consider sage of it nowdays.

If you stuck with WinXP then you stuck with old original release (which built with VS2008 IIRC, so there must be WinXP support).

Anyway this fix is mostly for who use UT v469+ releases. And possible v469 not run on WinXP at all.
If you use v436, then you only can suffer from EXCEPTION_STACK_OVERFLOW issue. For prevent it - keep your cache small.

Automatically merged

Microsoft make mistake in headers for Windows 7. :pfff:
They declare

Code: Select all

#if (_WIN32_WINNT >= 0x0403) // Windows NT :/
#define CRITICAL_SECTION_NO_DEBUG_INFO  RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO

WINBASEAPI
BOOL
WINAPI
InitializeCriticalSectionEx( // exists from Vista only.
    __out LPCRITICAL_SECTION lpCriticalSection,
    __in  DWORD dwSpinCount,
    __in  DWORD Flags
    );
https://abi-laboratory.pro/compatibilit ... ff.html[hr][/hr]

Automatically merged

Finally able fix problem and rebuild with compatibility with WinXP.

Archive updated at first post: viewtopic.php?f=58&t=15026

User avatar
sektor2111
Godlike
Posts: 5871
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: UT Cache Manager v2.5 [Fixed]

Post by sektor2111 » Fri Feb 04, 2022 7:05 pm

Actually I was sharing only what I found trying to see what is about. For the record and if curious users are asking me how I'm managing cache content, I simply don't touch cache, I have a Batch delegated to set Read-Only flag for "UXX" cache content. Also... settings from my client used for seldom play On-Line is like here:

Code: Select all

[Core.System]
PurgeCacheDays=0
.....
.....
The only place where I'm manually un-caching needed files it's the UT copy used for working (coding, mapping, etc). My client is not filled with "mods" and all sort of files and this way I'm reducing mismatching pain or... whatever surprises coming from older XC versions.
In exchange this might speed up un-caching to "work-version".

Edit: These are firsts results in current content.
CManager.PNG
You do not have the required permissions to view the files attached to this post.

Buggie
Godlike
Posts: 1483
Joined: Sat Mar 21, 2020 5:32 am

Re: UT Cache Manager v2.5 [Fixed]

Post by Buggie » Fri Feb 04, 2022 10:06 pm

Possible again WinXP problem. I just check for run, not for real work on it.
Then this tool not for you. At least you not decide move on lass old OS.

Automatically merged

Another Microsoft bug. This time in VS2015 runtime.
Fixed in Fix2.
Updated at first post.