Jump to content

I think I found the root to our


Recommended Posts

I've used XML with comments recently and iirc correctly the comment marker was something similar to html, e.g.

<!-- Comment goes here -->

I'm not sure what affect the '/' vs the '\' would have, I'm very probably wrong here but I think that in general C file/stream APIs can use either for valid file paths. Another possibility is that '\' is to be used for files which exist in the windows file system and '/' for ones which are embedded in larger resource files.

I know that doesn't really add much to the discussion either way, sorry, but there's just too many variables, without having worked on the game code ourselves we have no chance of figuring out the effect of not having these files.

Link to comment
Share on other sites

These xml files will be in the quick.bundle in the bundles directory. Its very common for devs to have all the files in the normal windows filesystem while their developing the game, so they can easily change them, add new files, etc.

However when a game is released they tend to pack up these files into a single file, like a zip file for quake 3 (.pk3 is a zip renamed). For a few of reasons:

1. They can validate this entire structure has not been changed (i.e. hacked),

2. It is a little faster to read things from one big file, rather than lots of little ones.

3. Stops people modding the game until the tools are released.

Whenever the game sees a reference to a file it will first look in its bundle file to see if it exists in there, if not it will look in the normal game directory.

So these xml files are most likely in the 500meg bundle file.

Link to comment
Share on other sites

These xml files will be in the quick.bundle in the bundles directory. Its very common for devs to have all the files in the normal windows filesystem while their developing the game, so they can easily change them, add new files, etc.

However when a game is released they tend to pack up these files into a single file, like a zip file for quake 3 (.pk3 is a zip renamed). For a few of reasons:

1. They can validate this entire structure has not been changed (i.e. hacked),

2. It is a little faster to read things from one big file, rather than lots of little ones.

3. Stops people modding the game until the tools are released.

Whenever the game sees a reference to a file it will first look in its bundle file to see if it exists in there, if not it will look in the normal game directory.

So these xml files are most likely in the 500meg bundle file.

Yep, you got it. I was looking at the bundle yesterday, esp. for a solution to extract it ;)

I does look like a nice vfs archive not even compressed just "bundled". It's starting with a lookup table and then the archived files.

Edited by Striker-1991
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...