Korovev wrote:In my opinion, the current documentation is fine save for two important omissions:
1. string_theory is barely mentioned, the correct values for -DCMAKE_EXE_LINKER_FLAGS shouldn’t be buried somewhere in the forum. This is in fact my second or third attempt, and I always stopped at “where the hell is string_theory supposed to be?”
I don't use "-DCMAKE_INSTALL_PREFIX = /opt/dirtsand" with string_theory only with dirtsand
Korovev wrote:2. How to set up the server folders is rather vague; a minimum required default structure would be very useful, something like:
- Code: Select all
ages [unencrypted]
*.fni
*.age
*.prp ?
*.loc ?
SDL [unencrypted]
*.sdl
authdata
SDL [encrypted]
*.sdl ?
Python [encrypted]
*.py ?
*.list ?
data
??
When I figure out a structure I will expand on this but at this time the encryption element is omitted because I have not figured out the how to encrypt and it is apparently not necessary for a LAN based solution.
I don't actually separate the folders by their content I create them in their required locations (locations gleaned from the dirtsand.ini file) at a time when I am using $mkdir to make the build directories and then drop the data into them using an FTP tool because this works.
In time I will look at the content and try and tidy things up.
If I had my way dirtsand would carry explanations for all of the structure a structure I am still trying to understand.
I know I have a method where if I follow all of the steps in the order given I end up with a dirtsand shard that will build and work on a home LAN a method I have built and followed several times every time not just starting with a vault wipe but actually going back to a partition clean out and hard drive format .
OK that is extreme but it was the only way I could guarantee I was not inheriting any overhead from the previous attempt.
As best as I can tell my structure is as follows (subject to revision)
- Code: Select all
root
\opt
dirtsand
ages (unencrypted copied in from Destiny)
SDL (unencrypted copied in from Destiny)
authdata (empty)
data (empty)
string_theory (cloned stuff from git most in the following sub-directories plus 4 files )
.git
build (results of cmake ..)
cmake
doc
include
src
test
dirtsand (cloned stuff from git most in sub directories plus 16 other files on of which is your modified dirtsand.ini)
.git
AuthServ (contains file Hoikas tells you to edit AuthDaemon.cpp)
bin
build (results of cmake -DCMAKE_INSTALL_PREFIX = /opt/dirtsand .. (Note:after Hoikas suggested modification of root/opt/dirtsand/dirtsand/AuthServ/AuthDaemon.cpp)
cmake
db (contains .sql files used to pre stuff postgresql database)
FileServ
GameServ
NetIO
PlasMOUL
SDL
Types
I make no excuses for this other than it appears to work.
In fact I think I will add this to the end of the instuctions.
[edit]
Added to build document
[/edit]
[edit2]
added some more structure to the folder diagram in both places.
[/edit2]