User Tools

Site Tools


cre:compiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cre:compiling [2021/10/20 16:04]
ryo [Windows]
cre:compiling [2021/10/24 14:14]
draugthewhopper [Windows]
Line 35: Line 35:
 CRE has a pre-compiled .exe available for [[http://​crossfire.weeger.org/​cre-latest.exe|download]] (make sure to check the [[http://​crossfire.weeger.org/​cre-latest.exe.sha512|sha512 sum]]). It is updated daily, and should not require any dependency (if it does, then please report that issue). CRE has a pre-compiled .exe available for [[http://​crossfire.weeger.org/​cre-latest.exe|download]] (make sure to check the [[http://​crossfire.weeger.org/​cre-latest.exe.sha512|sha512 sum]]). It is updated daily, and should not require any dependency (if it does, then please report that issue).
  
-After putting the .exe in the directory of your choice, you need to get ''​arch''​ and ''​maps'',​ and put them in a ''​var'' ​subdirectory of this directory.+After putting the .exe in the directory of your choice, you need to assemble a few prerequisites before it will run:  
 + 
 +First, create a directory alongside the .exe, named ''​share''​. Get ''​arch''​ and ''​maps'',​ and put them into ''​share''​. You may find it easiest to directly clone the git repos so you can easily push your changes upstream. Get the ''​i18n''​ directory from the server source (it'​s ​in ''​lib\i18n''​) and place it here too. 
 + 
 +Next, create ​directory alongside the .exe, named ''​etc''​. Find ''​exp_table'',​ ''​settings'',​ and ''​stat_bonus''​ from the server source (they'​re in ''​lib\config''​),​ and place them here in ''​etc''​. Note that if you are running a Crossfire server, maybe you want to pull these files from your server config instead. 
 + 
 +Finally, create a directory ​alongside the .exe, named ''​var''​. CRE may place temporary files here at runtime. 
 + 
 +Note that it can take quite a few seconds for CRE to launch, even longer if your disk is slow, as it loads many files on launch. 
 + 
 +If CRE launches and then exits, it may be having trouble finding some paths. Procmon from the Sysinternals Suite may be helpful, or a debugger.
 ====== Interface ====== ====== Interface ======
  
cre/compiling.txt · Last modified: 2024/05/05 17:30 by leaf