#pentagram@irc.freenode.net logs for 27 Aug 2009 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[01:28:55] <-- Kirben has left IRC ()
[03:02:51] --> Kirben has joined #pentagram
[03:02:51] --- ChanServ gives channel operator status to Kirben
[14:19:32] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[20:31:34] --> ShadwChsr has joined #pentagram
[20:32:17] <wjp> ah, hi :-)
[20:32:28] <ShadwChsr> Hi :)
[20:33:25] <ShadwChsr> Hard to get on here when you guys are active ;)
[20:34:12] <wjp> yeah, I often see you were here around 5am :-)
[20:34:38] <ShadwChsr> Yeah, but my boss might get upset if I logged in at 1pm during work hours, hehe. Have the day off
[20:34:52] <ShadwChsr> I've been dabbling a bit with both Exult and Pentagram in my spare time... you probably noticed the bug reports
[20:36:57] <ShadwChsr> Hopefully I haven't been a pest. I'd just like to fix some of the bugs on my own, make sure the code is clean and meets the project's guidelines, and get the patches integreted :D
[20:37:27] <wjp> yes; sorry for being so absent
[20:38:09] <wjp> would you like commit access on pentagram?
[20:38:47] <ShadwChsr> That would help quite a bit, but I'd also like to talk about project standards for each checkin as well
[20:39:01] <ShadwChsr> I don't have Linux access so I want to make sure I'm not disruptive in any way.
[20:39:32] <wjp> that tends to work itself out
[20:39:51] <wjp> I'll just complain if you break compilation :-)
[20:40:35] <ShadwChsr> I work in VS2008, which has fairly good ANSI C++ support. Are there any non-ansi compilers I need to worry about? (Mobile apps, etc?)
[20:41:15] <wjp> not really anything worth worrying about
[20:42:09] <wjp> as long as we keep external dependencies down, most portability issues are fairly easy to work around
[20:42:09] * ShadwChsr nods
[20:42:26] <wjp> most of the things like I/O ground work have already been taken care of
[20:42:45] <ShadwChsr> Yeah
[20:43:04] * wjp navigates new SF UI
[20:43:04] <ShadwChsr> Would you be open to upgrading the core Pentagram MSVC project files to VS2008 now?
[20:43:34] <ShadwChsr> It's been out for awhile and the free version can be side-by-side installed with '05 for users that still need to use it for other apps.
[20:43:37] <wjp> hm, I'm the wrong person to ask
[20:44:14] <wjp> although I'm actually using Windows part-time nowadays since many people at work use it, and am using VS2005 for that
[20:45:18] <ShadwChsr> Alright, I'll see about installing 05 or if there is a way I can run with the project files without converting them
[20:45:50] <wjp> we could also consider having both VS2005 and VS2008 files
[20:45:59] * ShadwChsr nods.
[20:46:09] <ShadwChsr> The only thing I'd be worried about is updating one but not the other
[20:46:15] <ShadwChsr> I might do that to start though
[20:46:52] <ShadwChsr> I was also debating running PreFAST again on Pentagram, if I remember right it found a few potential pointer/alloc issues
[20:47:40] <ShadwChsr> Have you been following my discussion about Exult on Vista/7 at all?
[20:49:08] <wjp> no
[20:49:42] <ShadwChsr> Exult (and maybe Pentagram - haven't checked) has a few security-related issues on the newer MS OSes
[20:50:07] <wjp> things like those silly _s functions?
[20:50:11] <ShadwChsr> Nah
[20:50:25] <ShadwChsr> Even for Administrator users, Microsoft creates two tokens at each logon - one for the full admin access, another that "rips out" administrator access
[20:50:44] <ShadwChsr> Every app launch uses the restricted token by default. That means apps aren't allowed to do things like write to C:\Program Files
[20:51:08] <ShadwChsr> The idea is that it forces devs to allow users to run as non-admin
[20:51:36] <wjp> weird, but the goal is good
[20:51:43] <ShadwChsr> In Exult's case, it writes a few files to Program Files (which is read-only). stdout, stderr, the save game files, the config file, and gamedat
[20:51:53] <wjp> ah
[20:52:24] <wjp> I guess one of those appdata dirs is more appropriate nowadays?
[20:52:26] <ShadwChsr> A compatibility layer detects it and silently redirects them to a special compatibility folder, but it's really only for "naughty" apps :)
[20:52:37] <ShadwChsr> Yeah, exactly.
[20:53:23] <ShadwChsr> The best place is the "per-user local appdata" folder. Basically a writeable location, isolated for each user, that doesn't "roam" to network shares
[20:53:26] <wjp> I added you to the pentagram project, by the way. Welcome aboard :-)
[20:53:34] <ShadwChsr> Thanks :) Can't wait to help out
[20:53:58] <wjp> can you write a brief introduction mail to the mailing list?
[20:54:03] <ShadwChsr> Sure
[20:55:01] <ShadwChsr> For Exult, I created a patch that writes Gamedat and the .sav files to <localappdata>\Exult\Games\blackgate\
[20:55:36] <ShadwChsr> Exult.cfg would need to be done as well, but that's a bit trickier since it's directly referenced in quite a few places
[20:59:04] <ShadwChsr> How do the official Pentagram builds work? Someone builds on their local machine, packages, and uploads to SourceForge?
[20:59:45] <wjp> the windows svn build? Kirben does those
[21:01:12] * ShadwChsr nods
[21:03:52] <wjp> what time is it for you now, by the way?
[21:04:05] <wjp> (23:05 here)
[21:05:11] <ShadwChsr> 14:07
[21:05:23] <ShadwChsr> Pacific coast of Canada
[21:08:50] <wjp> I have to go; good night
[21:08:54] <ShadwChsr> Night!
[21:25:37] <-- ShadwChsr has left IRC ()
[23:34:30] --> Kirben has joined #pentagram
[23:34:30] --- ChanServ gives channel operator status to Kirben