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: 09 Jan 2005, 05:12
Location: California
Contact:

Package System

Post by zenogais » 24 Jan 2005, 06:01

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

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

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

Post by zenogais » 24 Jan 2005, 17:48

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 24 Jan 2005, 22:59

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: 09 Jan 2005, 05:12
Location: California
Contact:

Post by zenogais » 25 Jan 2005, 04:57

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

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

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

Post by zenogais » 26 Jan 2005, 22:23

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