Opened 18 years ago

Closed 18 years ago

Last modified 14 years ago

#80 closed task (fixed)

VFS: move XMB files to separate dir

Reported by: Jan Wassenberg Owned by: Jan Wassenberg
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

.. specifically to $install/cache/XMB/mods/official .

Rationale: unclutters the XML dirs, allows easily deleting XMB, allows file writes to go into some writable dir (important when not running as admin).

Discussion: see http://www.wildfiregames.com/forum/index.php?showtopic=9939&pid=170413&st=0&

Requires #78.

Change History (4)

comment:1 by Jan Wassenberg, 18 years ago

Milestone: Playability Demo

comment:2 by Jan Wassenberg, 18 years ago

Owner: set to Jan Wassenberg
Status: newassigned

comment:3 by Jan Wassenberg, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [3874]) FILE_WRITE_TO_MOD is now FILE_WRITE_TO_TARGET ERR_(FILE|PATH)_NOT_FOUND -> ERR_TNODE_NOT_FOUND, ERR_NOT_(FILE|DIR) -> ERR_TNODE_WRONG TYPE path_util:

  • path_append: bugfix (no more extraneous /); add support for appending slash
  • path_replace: bugfix (no more warnings for expected error)
  • add path_last_component, path_foreach_component
  • move some defs to the header that belong there from vfs.h/path.h

file: add dir_create; move PosixFile definition here and provide accessor for fileio vfs: no longer automatically append slash; instead, make sure caller does vfs_mount:

  • mount_realpath: bugfix (strip trailing /), interface improvement
  • document write_target; clarify MULTIPLE_MOUNTINGS; add support for creating real dirs

vfs_tree:

  • refactor TDir::add into find, add, find_and_add
  • fix TDir and TNode for dir-ends-with-slash requirement
  • split up lookup into lookup_cb and path_foreach_component
  • add support for inserting dirs with given mount point: tree_add_path (needed when mounting)

wposix: get rid of weird PATH_MAX = 260 (Win32 weirdness)

TextureManager: remove no longer needed SupportedTextureFormats GameSetup, Xeromyces: setup XMB location to data/cache/mods/official/xmb Util: HardcodedErrorString now uses error_description_r VFSUtil, i18n: fixes for dir slash issue

Closes #79, #80

comment:4 by (none), 14 years ago

Milestone: Playability Demo

Milestone Playability Demo deleted

Note: See TracTickets for help on using tickets.