View Issue Details

IDProjectCategoryView StatusLast Update
0005656The Dark ModSaving/Loadingpublic11.02.2024 22:03
Reporterduzenko Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilitysometimes
Status assignedResolutionopen 
PlatformPCOSWindowsOS Version10
Product VersionTDM 2.09 
Target VersionTDM 2.13 
Summary0005656: Saves broken if "darkmod" occurs in path twice
DescriptionSaves fail to load due to script error
Steps To ReproduceAssets svn 16300
Start TheDarkModx64.exe
Start New Job
Quick save
Quick load
Observe error message
Tagssave
Attached Files
image.png (183,366 bytes)   
image.png (183,366 bytes)   

Activities

duzenko

duzenko

27.06.2021 08:11

developer   ~0014128

Works on a different PC :(
duzenko

duzenko

27.06.2021 08:16

developer   ~0014129

I think I found the problem
It's caused by file path containing 'darkmod' twice e.g. "C:\dev\darkmod\darkmod\TheDarkModx64.exe"
stgatilov

stgatilov

31.08.2021 16:47

administrator   ~0014327

This happens in idFileSystemLocal::OSPathToRelativePath.
It simply searches the fs_basepath for first occurrence of some word ("darkmod" in this case).

fs_basepath is set to the directory where executable is located (preserving the exact syntax with which executable was started).
For me it is:
  G:\TheDarkMod\darkmod_src\..\darkmod\darkmod (when started from MSVC)
  G:\TheDarkMod\darkmod\darkmod (when started directly)

Issue History

Date Modified Username Field Change
27.06.2021 08:04 duzenko New Issue
27.06.2021 08:04 duzenko Status new => assigned
27.06.2021 08:04 duzenko Assigned To => stgatilov
27.06.2021 08:04 duzenko File Added: image.png
27.06.2021 08:11 duzenko Note Added: 0014128
27.06.2021 08:11 duzenko Assigned To stgatilov => duzenko
27.06.2021 08:12 duzenko Priority urgent => normal
27.06.2021 08:12 duzenko Severity major => normal
27.06.2021 08:12 duzenko Reproducibility always => sometimes
27.06.2021 08:16 duzenko Note Added: 0014129
27.06.2021 08:16 duzenko Assigned To duzenko => stgatilov
31.08.2021 16:47 stgatilov Note Added: 0014327
22.11.2021 14:05 stgatilov Product Version SVN => TDM 2.09
22.11.2021 14:05 stgatilov Target Version TDM 2.10 => TDM 2.11
13.01.2022 15:44 stgatilov Summary Saves broken => Saves broken if "darkmod" occurs in path twice
15.11.2022 00:37 nbohr1more Target Version TDM 2.11 => TDM 2.12
17.12.2023 03:17 nbohr1more Target Version TDM 2.12 => TDM 2.13
11.02.2024 22:03 Fiver Tag Attached: save