Simple SMCPAK Format with Quick Implementation

Source Code and development in general from a technical point of view. Post Patches here.

Moderator: SMC Team

Simple SMCPAK Format with Quick Implementation

Postby Luiji » 28 Dec 2010 01:34


Simply a ZIP file containing the same directory tree as smc/data.


We don't change that much.

  • Change all file access functions to use PHYSFS_* functions.
  • Add smc/data to the search path in the main function.
  • Add the functionality to automatically add all files in <settings>/smc/packages to the search path.

And that should do it!

PHYSFS website:

Simple, fast, and easy! The beauty of PhysFS is that it not only supports normal directories in search paths but it supports transparent ZIP reading along with other files such as WADs and Quake packages.

P.S. I'll create a patch soon for this. It's not much more work then using sed!
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest