Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Suggestion - Relative Path - and  (Read 2324 times)

sagedavis

  • Newbie
  • *
  • Posts: 36
    • View Profile
Suggestion - Relative Path - and
« on: October 09, 2008, 06:00:42 am »

For some reason, I have been getting more and more into portable apps. Actually, it really isn't without reason, I have way too many computers that I access, between home and work and friend's houses. Sometimes the flash drive I am working from is E: sometimes it's F: just depending on the day and what all is plugged in first.
Using a relative path for scripts and so on would be Fantastic.

I had actually thought it was already, because when you go to congfigure you see dots, which usually tells me that it means start here.

the second thing, does anim8or write to the registry at all? If so, is it possible to use a .ini file instead for anything that requires registry writes? this would make anim8or completely portable along with all of it's settings.

Just suggestions
Sage
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1113
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Suggestion - Relative Path - and
« Reply #1 on: October 10, 2008, 09:44:55 pm »

I have the same problem! and its a nightmare if you have textures on that flash drive.


I tried using a dos command "subst" as an alias but that only works on directories(folders).
Logged
O

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1523
    • View Profile
Re: Suggestion - Relative Path - and
« Reply #2 on: October 12, 2008, 08:17:41 pm »

Anim8or uses the registry to save user preferences and directory names for the default texture directory, import/export directory, project directory, etc.  These are saved per-user in the registry.  It seems likt what you could use is a way to either allow multiple directories for resources (like scripts and textures) or to add per-project settings, or somthing like that.  I'll see if I can come up with something.
Logged

sagedavis

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Suggestion - Relative Path - and
« Reply #3 on: October 12, 2008, 10:52:11 pm »

Steve, thanks, you're too cool for, not only providing anim8or for free, but also being flexible with some of our wants.
I have used .ini files for stand alone programs, to get rid of registry usage. I don't suspect that it would slow anything down, but, it's possible that it might.

as a non programmer, or at least non windows programmer, I would see it being something like anim8or knows what folder it is in, and you can use subfolders of it's folder. Probably not an easy task, but, I've seen it done.
I use http://portableapps.com/ which use the same technique. They provide sourcecode, so, you might be able to grab some ideas from there.
Thanks again for all of your hard work.
Sage
Logged