Mercurial > traipse_dev
view orpg/dirpath/__init__.py @ 131:90d19eb43830 alpha
Traipse Alpha 'OpenRPG' {091003-03}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for
developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds
fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of
the user.
Update Summary (Cleaning up for Beta)
Added Bookmarks
Fix to Remote Admin Commands
Minor fix to text based Server
Fix to Pretty Print, from Core
Fix to Splitter Nodes not being created
Fix to massive amounts of images loading, from Core
Added 'boot' command to remote admin
Added confirmation window for sent nodes
Minor changes to allow for portability to an OpenSUSE linux OS
Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG
Zoom Mouse plugin added
Images added to Plugin UI
Switching to Element Tree
Map efficiency, from FlexiRPG
Added Status Bar to Update Manager
default_manifest.xml renamed to default_upmana.xml
Cleaner clode for saved repositories
New TrueDebug Class in orpg_log (See documentation for usage)
Mercurial's hgweb folder is ported to upmana
**Pretty important update that can help remove thousands of dead children from your gametree.
**Children, <forms />, <group_atts />, <horizontal />, <cols />, <rows />, <height />, etc... are all tags now.
Check your gametree and look for dead children!!
(Apparently I pasted from the OpenRPG folder. Wrong! Pro's or not, they need to eventually see the read text in
their own debugger console.)
Dead Node Children, now that's a
O O
-v-v- Happy Halloween!
author | sirebral |
---|---|
date | Tue, 03 Nov 2009 21:30:36 -0600 |
parents | 0b8b7e3ed78d |
children | bf799efe7a8a |
line wrap: on
line source
# Old dirpath.py replaced with new dirpath 'package/module' to allow dynamic # checking on directory structure at dirpath import without requiring alteration # of almost every openrpg1 python file # # This module is functionally identical to the dirpath.py file it replaces. # All directory locations are now handled by the load_paths() function # in the dirpath_tools.py file -- Snowdog 3-8-05 # CHANGE LOG # ----------------------------- # * Reworked path verification process to attempt to fall back on the # current working directory if approot fails to verify before # asking the user to locate the root directory -- Snowdog 12-20-05 # ----------------------------- # * Removed reference to approot. It was a superflous creation that carried an object # that dirpath_tools already creates. It wasted system resources by creating a files # and by referencing a file to fill an object that was already created. -- SirEbral 07-19-09 import sys import os from dirpath_tools import * root_dir = None t = __file__.split(os.sep) if len(t) > 2: root_dir = os.sep.join(t[:-3]) else: root_dir = os.getcwd() #default ORPG root dir dir_struct = {} if not verify_home_path(root_dir): root_dir = os.getcwd() if not verify_home_path(root_dir): root_dir = get_user_located_root() while not verify_home_path(root_dir): root_dir = get_user_located_root() #switch backslashes to forward slashes just for display on screen only (avoids issues with escaped characters) clean = str(root_dir) clean = str.replace(clean,'\\','/') print "Rooting OpenRPG at: " + clean load_paths(dir_struct, root_dir)