View Issue Details

IDProjectCategoryView StatusLast Update
0005656The Dark ModSaving/Loadingpublic31.08.2021 16:47
Reporterduzenko Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilitysometimes
Status assignedResolutionopen 
PlatformPCOSWindowsOS Version10
Product VersionSVN 
Target VersionTDM 2.10 
Summary0005656: Saves broken
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
TagsNo tags attached.

Activities

duzenko

duzenko

27.06.2021 08:04

developer  

image.png (183,366 bytes)   
image.png (183,366 bytes)   
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