Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Smart Packer - Accessing external (non-packed) files from a packed exe

Author
Message
Sph!nx
17
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 5th Feb 2014 16:50
Hey everybody,

I've tried everying, using relative paths, getting the current directories, etc.

Everything works great when the project is not packed with smart packer, but whenever I use Smart Packer, the "get dir$()" commands and such leads to a folder in %appdata%. Like I said, using commands to get the folder from where the application is started/installed does not seem to work.

Files packed with Smart Packer are found, but I also need to access files from the 'install directory' from the game (save games, scripts, etc.).

Help is much appreciated!!

Regards Sph!nx
www.mental-image.net
Sph!nx
17
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 6th Feb 2014 16:32
Hey all,

I've been in contact with the developer of Smart Packer.

Currently it is not possible due to security reasons. We discussed a possible solution and he will try to implement it for the next version!

Thanks again, mrniceguy!

Regards Sph!nx
www.mental-image.net
faizeq
17
Years of Service
User Offline
Joined: 13th Oct 2008
Location: Under the table
Posted: 12th Feb 2014 10:52
Maybe my old packer can be of help for you Sph!nx..

Have a read through this link
http://forum.thegamecreators.com/?m=forum_view&t=198822&b=1

Life begin where ->BeginScene() and it ends at ->EndScene()..so please Present(NULL, NULL, NULL, NULL);
Sph!nx
17
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 12th Feb 2014 15:25
Hey faizeq,

I do hope Smart Packer will receive the feature I need in the next update but I will most definitely take a look at your packer as well.

Thanks a lot, mate!

Regards Sph!nx
www.mental-image.net
mrniceguy
20
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 10th Apr 2014 00:30 Edited at: 10th Apr 2014 00:35
Hi,

New versions of Smart Packer Pro and FPSC V-Packer are officially released and provided to TGC (including trial versions).

Both products are Windows 8 and FPSC Reloaded compatible

Greetz.

Smart Packer Pro - Distribute games and applications
V-Packer for Games - Compress your game files into one executable
Flash Packer - Pack your Flash movies

Login to post a reply

Server time is: 2026-07-07 01:54:04
Your offset time is: 2026-07-07 01:54:04