1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Suggestion I WANT DSOCLIENT FOLDER NOT IN TEMP ELSEWHERE, HOW? DRAKENSANG USA / DRAKENSANG BRAZIL

Discussion in 'General Forum' started by RobsnGmsMz, Sep 18, 2019.

Dear forum reader,

if you’d like to actively participate on the forum by joining discussions or starting your own threads or topics, please log into the game first. If you do not have a game account, you will need to register for one. We look forward to your next visit! CLICK HERE
  1. RobsnGmsMz

    RobsnGmsMz Forum-Greenhorn

    USA

    PLEASE HELP ME, EVERYTHING THAT IS MADE IN THE CUSTOMER FOLDER IF IT IS ON TEMP. I WANT TO PLACE ANYWHERE, I DON'T WANT TO FOLDER TEMP. I WANT SOMEWHERE ELSE, HOW ?


    [​IMG] CLICK THE RIGHT MOUSE BUTTON TO SEE THE PICTURE OF THE OPEN PHOTO IN THE NEW GUIDE YOU WILL SEE .


    ;):(:mad::confused::cool::p:p:D:eek::oops::rolleyes:o_O

    DO I NEED A DEBT ON THIS DRAKENSANG
    BRAZIL ?

    [edit - removed content in Portuguese]
     
    Last edited by moderator: Sep 18, 2019
  2. teddy.bear

    teddy.bear Team Leader Team Drakensang Online

    Hello @RobsnGmsMz and welcome to the English forum!

    First of all, I would like to ask you kindly to not post your messages in all capital letters - this is considered shouting and completely unnecessary :) . Also, please post messages in Portuguese only in the section dedicated to the Brazilian and Portuguese players - found here. Outside this section, please use English only. Thank you for your understanding!

    As for your question, I'm afraid that is not possible - you can only install the game in its default location, so you are unable to move its directories around.
    Best regards,
    teddy.bear
     
    Ariandrake likes this.
  3. Marsicanus

    Marsicanus Regular

    try to search "windows symlink" or "windows hard link"

    I use it from years and I have a link (it isn't a simply link) in temp folder and DSO data files on D: drive
     
    Bundin likes this.
  4. TwiliShadow

    TwiliShadow Forum Commissioner

    I actually tried this. Doesn't work.

    The theory and implementation is this:
    1) Move your "DSOClient" folder to another logical drive or location on the same physical disk.
    . . (IE "D:\DSOClient" or "C:\Program Files (x86)\DSOClient" [ <-- aka "%programfiles(x86)%\DSOClient"] )
    2) Open a command prompt and type: mklink /j %temp%\DSOClient D:\DSOClient
    3) When DSO updates, it "feeds" thru the Temp folder to your real D drive folder.
    4) Enjoy a protected Client.

    Problem is that as soon as I ran Dell's "Support Assist" which has a "Clean", it deletes all the old files in the Temp folder, including the one's _not_ in the temp folder but actually on the D drive and subject to the junction link (aka Windows Soft Link), thus leaving one with an empty DSOClient folder. :( My thinking is that any "delete temp files" function will just as easily wipe out those currently being used but older than 2 days needed files. Thus back to a download _again_. :(

    The "Windows Hard Link" applies to individual files, not to directories, so you would have to create one for every single file in the client directory.
     
    Last edited: Oct 14, 2019
    ValkonGo likes this.
  5. Marsicanus

    Marsicanus Regular

    When you use mklink for the system (Windows) "D:\DSOCLient" is in %temp% folder and it's normal otherwise Drakensang will not work.
    So if you use a clean tools for %temp% it delete files also in D:\DSOCLient

    Symlink don't help you in this case, you must exclude sub-directory from cleaning in your tool configuration or you must manually delete files.
    I try to manually delete all in temp folder and data files in D:\DSOClient wasn't deleted but you must recreate symlink every time.
    So depends how your clean tools work (scan subdir to delete files and then remove dirs or delete all files/dirs at 1 time).
    If your clean tools don't delete files in D:\DSOlink yoy can create a batch files that recreate symlink with 1 click

    I used /D option when I create symlink not /J that create a Junction.
    Junction is similar to Symbolink link. The main difference is that you can't create a Junction to a network share

    I suggest to search also "Windows Hard Link" because they can be created with same command "mklink".
     
    Last edited: Oct 15, 2019
  6. TwiliShadow

    TwiliShadow Forum Commissioner

    There in lies the real problem. None of the cleaning tools has an "Exclude File/Folder" option.

    If they did, I would never have tried "mklink" because it would have not been needed.

    The "hard" link is _per file_! Do you know how many files are in the %temp%\DSOClient directory??? (please don't answer that question, it's rhetorical)
     
  7. Marsicanus

    Marsicanus Regular

    I didn't suggest to use a hard link, only search it...then when someone find microsoft mklink docs like you he can read the options.
    mklink to create a link for file
    mklink /D or mklink /J to create a link for directory

    However I prefeer don't use tools and I make a simply powershell script to delete all files/dirs in %temp% excluding DSOClient folder
    the only problem, not for me, that deleted files don't go in Recycle bin so you can't recover them.
     
  8. TwiliShadow

    TwiliShadow Forum Commissioner

    You've completely missed my point. "mklink" doesn't work to protect from %temp% file deletion, which is what the original poster is after.

    The real answer is DSO getting a real programmer to properly put the directory under "Program Files" or "Program Files (x86)".
     
  9. ΣMiwel

    ΣMiwel Forum Baron

    Well... But can't you disable all those tools and code a simple cleaning tool with batch?

    Like:
    Code:
    @echo off
    move %temp%\DSOClient D:\DSOtemp
    del /s /q %temp%\*.*
    for /d %i in (%temp%\*.*) do rmdir /s /q "%i"
    move D:\DSOtemp\DSOClient %temp%
     
    Marsicanus likes this.
  10. Marsicanus

    Marsicanus Regular

    or simply with a modern approach

    Code:
    Get-ChildItem -Path 'C:\Users\YOUR_USER\AppData\Local\Temp\*' -Recurse | Where-Object {($_.FullName -notlike "*DSOClient*")} | Remove-Item -Recurse
     
  11. TwiliShadow

    TwiliShadow Forum Commissioner

    Unfortunately, no. The original poster, as well as I, have to keep a backup of the current %temp%\DSOClient directory in another location so that when out unstoppable "clean system" programs that run every month (or week) clear out the DSOClient folder, we can put it back without doing a full download. Problem is that we find out because it starts downloading again.

    Now if the DSOClient was programmed properly and those files were put under one of the two "Program Files" location where they should be, then none of us would be dealing with the problem.

    And you wouldn't need a "clean" batch file either.
     
  12. Marsicanus

    Marsicanus Regular

    No because to write in that directories the client must have admin privileges or you must execute it with Administrator role/write privileges

    If a game ask me to be executed with write permission I'll uninstall it instantly.

    The right location can be User Documents or Download folder where user have full rights
     
  13. ΣMiwel

    ΣMiwel Forum Baron

    They could use %appdata% (roaming folder)... I'm not sure if it's possible when game is run from IE11, though.
     
  14. TwiliShadow

    TwiliShadow Forum Commissioner

    The client is not run from IE11.

    And I've had game after game after game for decades and all of them were installed under Program Files. Your "security" comment is invalid.
     
  15. Marsicanus

    Marsicanus Regular

    I didn't said that program that need to be run with high privileges create problem to our pc.
    I said that they can do it...if I'm not 100% sure of developers I change permission only in folders used by it so client can work.
    I don't give full and general administrative permission.
    Same thing if a phone app ask me to access to my contacts and/or my location/gallery/etc....I unistall it immediately.


    Are you sure?
    [​IMG]
     
    Last edited: Oct 23, 2019
    Javah likes this.
  16. TwiliShadow

    TwiliShadow Forum Commissioner

    Yes. You can run the game in browser or in client.

    I've run the client inside a Virtual machine that didn't have IE11.
     

Share This Page