Package System

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
zenogais
Peon
Peon
Posts: 9
Joined: Sun Jan 09, 2005 5:12 am
Location: California
Contact:

Package System

Post by zenogais » Mon Jan 24, 2005 6:01 am

Well, I've been researching recently ways to implement the package system that we're looking to use in The Mana World. About a week ago I stumbled across PhysicsFS, a nice cross-platform library that abstracts access to various archives, and makes them transparent to the program itself. Anyway, any thoughts or ideas on how this would integrate would be cool. Just tell me what ya think :D
Image
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » Mon Jan 24, 2005 11:34 am

Sounds like exactly what we're looking for. What are its dependencies?
User avatar
zenogais
Peon
Peon
Posts: 9
Joined: Sun Jan 09, 2005 5:12 am
Location: California
Contact:

Post by zenogais » Mon Jan 24, 2005 5:48 pm

Actually it comes with all the stuff you need to compile it, including zlib. So it has no other dependencies really.
Image
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » Mon Jan 24, 2005 10:59 pm

Ah well I'm glad it'll link against an existing zlib as well. I've build the dynamic library for Arch Linux now and with 80 kb this library looks nicely small too. Yeah so now we should be thinking about integration.
User avatar
zenogais
Peon
Peon
Posts: 9
Joined: Sun Jan 09, 2005 5:12 am
Location: California
Contact:

Post by zenogais » Tue Jan 25, 2005 4:57 am

I was thinking about writing a c++ wrapper around it or smth. If you give me the go ahead I'll get to work on that :D
Image
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » Tue Jan 25, 2005 10:27 am

Well the C++ wrapper could be the resource manager, right?
User avatar
zenogais
Peon
Peon
Posts: 9
Joined: Sun Jan 09, 2005 5:12 am
Location: California
Contact:

Post by zenogais » Wed Jan 26, 2005 10:23 pm

ah right, I see what you're saying :)
Image
Post Reply