Hi all and happy new year everybody
I have a question, i saw on unrealarchives.org several *.u files with distinct filesizes, or does not have same filesize, what happens if I overwrite on system folder, it could lead to crash UT game? what if I rename two u files could this required file the map work?
*.u files with distinct filesizes, question
-
- Masterful
- Posts: 523
- Joined: Sat Sep 13, 2008 10:24 pm
-
- Godlike
- Posts: 3001
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: *.u files with distinct filesizes, question
Since online gaming is possible, published files with same name but different content have been a source of trouble (aka "file mismatch"). If you are lucky version B of a package contains all of version A with some expansions (A is a subset of B). All packages (also maps) requiring A also work with version B but not in reverse.
If not, loading a package (map) fails if the required package is not available.
Further reading
If not, loading a package (map) fails if the required package is not available.
Further reading
"If Origin not in center it be not in center." --Buggie
-
- Godlike
- Posts: 3249
- Joined: Sat Mar 21, 2020 5:32 am
Re: *.u files with distinct filesizes, question
Actually there exists specific case - textures. Textures marked as optional. So if map use textures from package and package loaded, but there no such texture, map will load, but everywhere, will appear default texture instead of missed textures.
For other, non-optional resources, map will not load. Same if in memory loaded pacakge without need resources, and this package can't be unloaded (used for example).
In such case you can't start such map or join to server.
For other, non-optional resources, map will not load. Same if in memory loaded pacakge without need resources, and this package can't be unloaded (used for example).
In such case you can't start such map or join to server.
-
- Masterful
- Posts: 523
- Joined: Sat Sep 13, 2008 10:24 pm
Re: *.u files with distinct filesizes, question
Thanks for these info, then... speaking only for *.u files and seeing what Buggie did here:Barbie wrote: ↑Thu Jan 02, 2025 8:45 pm Since online gaming is possible, published files with same name but different content have been a source of trouble (aka "file mismatch"). If you are lucky version B of a package contains all of version A with some expansions (A is a subset of B). All packages (also maps) requiring A also work with version B but not in reverse.
If not, loading a package (map) fails if the required package is not available.
Further reading
viewtopic.php?t=15506
This mismatching issue could be solved by editing the u file with notepad, copy and paste all code that another u.* files does not have the same code into a single *.u file and save it with the same filename?
-
- Godlike
- Posts: 3001
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: *.u files with distinct filesizes, question
And create another file with same name and different content?
If it concerns only one or a few maps it might be easier to edit the maps and republish them with an unique name.
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 523
- Joined: Sat Sep 13, 2008 10:24 pm
Re: *.u files with distinct filesizes, question
how would you do to solving a u file mismatch?
-
- Godlike
- Posts: 3001
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: *.u files with distinct filesizes, question
Depends on specific case, do you have an example map? One approach could be: loading the package with other content, find all references in map to first package and replace it with references to latter one.
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 523
- Joined: Sat Sep 13, 2008 10:24 pm
Re: *.u files with distinct filesizes, question
Hi!
I will have to look at which maps can give problems, it will take me a long time to know what they are, there are thousands of maps on the Medor site.
If I find the time before I retire I will put it here or in a new post, thanks.
pd question, I have several versions of, for example, a file called 2k4Sounds002.u to the file 2k4Sounds006.u Shouldn't I use only the sixth version instead of having all the versions inside the System folder? Is it possible that this is the problem with the game crashing?
I will have to look at which maps can give problems, it will take me a long time to know what they are, there are thousands of maps on the Medor site.
If I find the time before I retire I will put it here or in a new post, thanks.
pd question, I have several versions of, for example, a file called 2k4Sounds002.u to the file 2k4Sounds006.u Shouldn't I use only the sixth version instead of having all the versions inside the System folder? Is it possible that this is the problem with the game crashing?
-
- Godlike
- Posts: 3001
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: *.u files with distinct filesizes, question
What is/are the U-file(s) in question? I could do a simple text search on my available (MH) maps.
I don't think that having multiple versions of a file cause a game crash.I have several versions of, for example, a file called 2k4Sounds002.u to the file 2k4Sounds006.u Shouldn't I use only the sixth version instead of having all the versions inside the System folder? Is it possible that this is the problem with the game crashing?
If you remove a file, other packages may depend on it and cannot be loaded then.
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 523
- Joined: Sat Sep 13, 2008 10:24 pm
Re: *.u files with distinct filesizes, question
Barbie wrote: ↑Mon Jan 06, 2025 4:22 pmWhat is/are the U-file(s) in question? I could do a simple text search on my available (MH) maps.
I cant remember which are they. As I said earlier, i dont have full time to look for thousand of maps to get what problematic *.u files are having crashes. Someday ill post a list of them. Thanks for your help and buggie.