[gameprogrammer] Re: Embedded file monitoring system?
- From: Nick Howes <csucew@xxxxxxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 29 Apr 2005 09:57:27 +0100
John-Philip Johansson wrote:
>Oh nice that you find it in Boost. I completely forgot about boost::filesystem.
>
>When I was reading the Halo 2 engine article I also reacted to the on-the-fly
>loading, as well on the tag system. Tag seems nice for big projects, but
>probably not for my little things. But the on-the-fly system looks pretty nice.
>
>I'm kinda curious on how one would set up a event system like this. My guess
>is that Bungie, since Halo only exists for PC (Windows) and XBox, make use of
>windows messages or the like. Some kind of shell extension that notifies the
>engine about modifications to files in a certain folder, this maybe even runs
>as a service. Can't think of another way to get notified except for having a
>internal thread that polls files and throws internal events.
>
I don't know if Windows Media Player does anything similar, but when you
add a folder to Monitor Folders it automatically updates file changes.
On FAT32 it's quite slow as it has to check manually, but from what I
remember NTFS has a feature that allows applications to be notified when
a chosen set of files changes. That's only from memory, however. And I
have no idea what filesystem XBox uses but I'd assume NTFS?
Ah here we go. NTFS Change Journal.
http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_fil_burd.asp
Nick
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] Re: Embedded file monitoring system?
- From: John-Philip Johansson
Other related posts:
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- » [gameprogrammer] Re: Embedded file monitoring system?
- [gameprogrammer] Re: Embedded file monitoring system?
- From: John-Philip Johansson