A couple of years back I was messing with package flags and hex editing of UEngine packages. There was a page that listed all the default package flags native to the engine but I can't find it now. Does this ring a bell with anyone? Did someone happen to cache it by chance?
The reason I ask is that I found a file I needed to edit so it was downloadable from my coop server. I ran into something else I want to look at while I had it open.
OBJECT (not Package, dumbass) Flags question
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
OBJECT (not Package, dumbass) Flags question
Last edited by JackGriffin on Sun Sep 20, 2015 3:44 pm, edited 1 time in total.
So long, and thanks for all the fish
Re: Package Flags question
ucc packageflag Package.u PackageEdited.u -ServerSideOnly +AllowDownload
Replace Package.u with PackageEdited.u
PD: If the file is a map, XC_Engine on the server solves it without altering the map.
EDIT:
Replace Package.u with PackageEdited.u
PD: If the file is a map, XC_Engine on the server solves it without altering the map.
EDIT:
Code: Select all
enum EPackageFlags
{
PKG_AllowDownload = 0x0001, // Allow downloading package.
PKG_ClientOptional = 0x0002, // Purely optional for clients.
PKG_ServerSideOnly = 0x0004, // Only needed on the server side.
PKG_BrokenLinks = 0x0008, // Loaded from linker with broken import links.
PKG_Unsecure = 0x0010, // Not trusted.
PKG_Need = 0x8000, // Client needs to download this package.
};
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Package Flags question
There used to be a page that listed a ton of the flags. Do you remember it Higor? As far as I can remember it was the only full source of the flags that I ever found. I really want to dig deep into something via hex editing and I need guidance.
I'm back working on this: http://www.unrealadmin.org/forums/showt ... hp?t=30936
I'm back working on this: http://www.unrealadmin.org/forums/showt ... hp?t=30936
It's actually a set of music files that for some reason were flagged not to download. I've fixed them but now I'm thinking about some other things I was working on a few years back.Higor wrote: PD: If the file is a map, XC_Engine on the server solves it without altering the map.
Last edited by JackGriffin on Sun Sep 20, 2015 3:38 pm, edited 1 time in total.
So long, and thanks for all the fish
Re: Package Flags question
Lol @AnthraX gave the same reply.
Just open the file and alter the package flags at offset 8
(EDIT: only use AllowDownload)
Just open the file and alter the package flags at offset 8
(EDIT: only use AllowDownload)
Re: Package Flags question
Whatever list you had in mind, for packages there's only one important flag, which is ServerSideOnly. Technically, ClientOptional and AllowDownload might also be of interest, but under normal circumstances you should not have any reason to use package flags at all other than marking server-side packages with ServerSideOnly.
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Package Flags question
Goddammit, I did it again.
Higor, I meant the object flags. WTF can't I keep it straight in my mind....
Edit: Found it. Here's a copy for anyone interested: It's a PDF file, author:
http://www.acordero.org/author/antonio-cordero/
Higor, I meant the object flags. WTF can't I keep it straight in my mind....
Edit: Found it. Here's a copy for anyone interested: It's a PDF file, author:
http://www.acordero.org/author/antonio-cordero/
So long, and thanks for all the fish