Jump to content

  • Log In with Google      Sign In   
  • Create Account


themean

Member Since 05 Aug 2011
Offline Last Active Sep 14 2014 01:55 PM

Topics I've Started

A game made by a two-person team

03 November 2012 - 04:41 PM

Not official footage...the game is supposed to come out for the PSN but it's stuck on the QA because of "reasons"
It was made by a two man team...looked pretty good to me

How to create archive with physicsfs

03 July 2012 - 08:44 AM

I search in physicsfs documentation but can't find way to archive and compress data.
Can you explain me.(if this possible)

PHYSFS_enumerateFiles don't work

29 June 2012 - 08:57 AM

I'm trying PhysicsFS. But can't get list of all files and directories with PHYSFS_enumerateFiles.

Here is my test example:



#include <iostream>

#include<physfs.h>



int main()
{

std::cout<<"begin"<<std::endl;

PHYSFS_init(NULL);

if(PHYSFS_mount("myzip.zip",0,1))
{
char **rc = PHYSFS_enumerateFiles("folder");
char **i;

if(!*rc)
{
std::cout<<"Can't print file list"<<std::endl;
std::cout<<PHYSFS_getLastError()<<std::endl;
}
for (i = rc; *i != NULL; i++)
{

std::cout<<"We've got"<<*i<<std::endl;
}

PHYSFS_freeList(rc);
}

else
{
std::cout<<"Can't add search path"<<std::endl;
std::cout<<PHYSFS_getLastError()<<std::endl;
}

std::cout<<"end"<<std::endl;

PHYSFS_deinit();
return 0;
}






"myzip.zip" is archive of "myzip" folder that contain sub folder "folder"
My application output is:



begin
Can't print file list
File not found
end

My operation system is debian squeeze

Search for free multiplatform archive library

28 June 2012 - 05:38 AM

Search for free multi platform library for archiving.
Wanted features:
1) Multi platform (gcc/msvc)
2)read and write
3)Unicode (not 100% necessary )
4)encryption (not 100% necessary )
5)compression (not 100% necessary )
6) Good documentation

good ide for cg

17 April 2012 - 06:42 AM

Search for good ide for cg
Last info in google is from 2004

PARTNERS