forked from ryzom/ryzomcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/upstream-core4' into feature/separate-packag…
…e-management
- Loading branch information
Showing
63 changed files
with
4,347 additions
and
4,347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
114 changes: 57 additions & 57 deletions
114
nel/tools/3d/build_gamedata/processes/anim/sh/export.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# *** Export animation files (.anim) from Max | ||
|
||
exec_timeout='exec_timeout.exe' | ||
|
||
# Get the timeout | ||
timeout=`cat ../../cfg/config.cfg | grep "anim_export_timeout" | sed -e 's/anim_export_timeout//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the build gamedata directory | ||
build_gamedata_directory=`cat ../../cfg/site.cfg | grep "build_gamedata_directory" | sed -e 's/build_gamedata_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the anim directories | ||
anim_source_directories=`cat ../../cfg/directories.cfg | grep "anim_source_directory" | sed -e 's/anim_source_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Maxdir | ||
max_directory=`echo $MAX_DIR | sed -e 's&\\\&/&g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Export animation >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Export animation | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# For each directoy | ||
|
||
for i in $anim_source_directories ; do | ||
# Copy the script | ||
cat maxscript/anim_export.ms | sed -e "s&output_logfile&$build_gamedata_directory/processes/anim/log.log&g" | sed -e "s&anim_source_directory&$database_directory/$i&g" | sed -e "s&output_directory&$build_gamedata_directory/processes/anim/anim_export&g" > $max_directory/scripts/anim_export.ms | ||
|
||
# Start max | ||
echo Try 1 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 2 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 3 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
done | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# *** Export animation files (.anim) from Max | ||
|
||
exec_timeout='exec_timeout.exe' | ||
|
||
# Get the timeout | ||
timeout=`cat ../../cfg/config.cfg | grep "anim_export_timeout" | sed -e 's/anim_export_timeout//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the build gamedata directory | ||
build_gamedata_directory=`cat ../../cfg/site.cfg | grep "build_gamedata_directory" | sed -e 's/build_gamedata_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the anim directories | ||
anim_source_directories=`cat ../../cfg/directories.cfg | grep "anim_source_directory" | sed -e 's/anim_source_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Maxdir | ||
max_directory=`echo $MAX_DIR | sed -e 's&\\\&/&g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Export animation >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Export animation | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# For each directoy | ||
|
||
for i in $anim_source_directories ; do | ||
# Copy the script | ||
cat maxscript/anim_export.ms | sed -e "s&output_logfile&$build_gamedata_directory/processes/anim/log.log&g" | sed -e "s&anim_source_directory&$database_directory/$i&g" | sed -e "s&output_directory&$build_gamedata_directory/processes/anim/anim_export&g" > $max_directory/scripts/anim_export.ms | ||
|
||
# Start max | ||
echo Try 1 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 2 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 3 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript anim_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Install anim in the client data | ||
|
||
# Get the anim install directory | ||
anim_install_directory=`cat ../../cfg/directories.cfg | grep "anim_install_directory" | sed -e 's/anim_install_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the client directory | ||
client_directory=`cat ../../cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Install animation >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Install animation | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
cp -u -p -R anim/. $client_directory/$anim_install_directory 2>> log.log | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Install anim in the client data | ||
|
||
# Get the anim install directory | ||
anim_install_directory=`cat ../../cfg/directories.cfg | grep "anim_install_directory" | sed -e 's/anim_install_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the client directory | ||
client_directory=`cat ../../cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Install animation >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Install animation | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
cp -u -p -R anim/. $client_directory/$anim_install_directory 2>> log.log |
52 changes: 26 additions & 26 deletions
52
nel/tools/3d/build_gamedata/processes/clodbank/sh/build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Build clod : build .clodbank >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Build clod : build .clodbank | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the lod config file in the database | ||
clod_config_file=`cat ../../cfg/config.cfg | grep "clod_config_file" | sed -e 's/clod_config_file//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the Lod character bank name | ||
clod_bank_file_name=`cat ../../cfg/config.cfg | grep "clod_bank_file_name" | sed -e 's/clod_bank_file_name//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
|
||
# Execute the build | ||
build_clod_bank.exe cfg/local_path.cfg $database_directory/$clod_config_file clodbank/$clod_bank_file_name | ||
|
||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Build clod : build .clodbank >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Build clod : build .clodbank | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the lod config file in the database | ||
clod_config_file=`cat ../../cfg/config.cfg | grep "clod_config_file" | sed -e 's/clod_config_file//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the Lod character bank name | ||
clod_bank_file_name=`cat ../../cfg/config.cfg | grep "clod_bank_file_name" | sed -e 's/clod_bank_file_name//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
|
||
# Execute the build | ||
build_clod_bank.exe cfg/local_path.cfg $database_directory/$clod_config_file clodbank/$clod_bank_file_name | ||
|
120 changes: 60 additions & 60 deletions
120
nel/tools/3d/build_gamedata/processes/clodbank/sh/export.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,60 @@ | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
|
||
# *** Export character lod shape files (.clod) from Max | ||
|
||
exec_timeout='exec_timeout.exe' | ||
|
||
# Get the timeout | ||
timeout=`cat ../../cfg/config.cfg | grep "shape_export_timeout" | sed -e 's/shape_export_timeout//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the build gamedata directory | ||
build_gamedata_directory=`cat ../../cfg/site.cfg | grep "build_gamedata_directory" | sed -e 's/build_gamedata_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the shape directories | ||
clod_source_directories=`cat ../../cfg/directories.cfg | grep "clod_source_directory" | sed -e 's/clod_source_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Maxdir | ||
max_directory=`echo $MAX_DIR | sed -e 's&\\\&/&g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Export clod >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Export clod | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# For each directoy | ||
|
||
for i in $clod_source_directories ; do | ||
# Copy the script | ||
cat maxscript/clod_export.ms | sed -e "s&output_logfile&$build_gamedata_directory/processes/clodbank/log.log&g" | sed -e "s&shape_source_directory&$database_directory/$i&g" | sed -e "s&output_directory_clod&$build_gamedata_directory/processes/clodbank/clod&g" | sed -e "s&output_directory_tag&$build_gamedata_directory/processes/clodbank/tag&g" > $max_directory/scripts/clod_export.ms | ||
|
||
# Start max | ||
echo Try 1 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 2 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 3 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
done | ||
|
||
|
||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
|
||
# *** Export character lod shape files (.clod) from Max | ||
|
||
exec_timeout='exec_timeout.exe' | ||
|
||
# Get the timeout | ||
timeout=`cat ../../cfg/config.cfg | grep "shape_export_timeout" | sed -e 's/shape_export_timeout//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the database directory | ||
database_directory=`cat ../../cfg/site.cfg | grep "database_directory" | sed -e 's/database_directory//g' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the build gamedata directory | ||
build_gamedata_directory=`cat ../../cfg/site.cfg | grep "build_gamedata_directory" | sed -e 's/build_gamedata_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the shape directories | ||
clod_source_directories=`cat ../../cfg/directories.cfg | grep "clod_source_directory" | sed -e 's/clod_source_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Maxdir | ||
max_directory=`echo $MAX_DIR | sed -e 's&\\\&/&g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Export clod >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Export clod | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
# For each directoy | ||
|
||
for i in $clod_source_directories ; do | ||
# Copy the script | ||
cat maxscript/clod_export.ms | sed -e "s&output_logfile&$build_gamedata_directory/processes/clodbank/log.log&g" | sed -e "s&shape_source_directory&$database_directory/$i&g" | sed -e "s&output_directory_clod&$build_gamedata_directory/processes/clodbank/clod&g" | sed -e "s&output_directory_tag&$build_gamedata_directory/processes/clodbank/tag&g" > $max_directory/scripts/clod_export.ms | ||
|
||
# Start max | ||
echo Try 1 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 2 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
|
||
echo Try 3 >> log.log | ||
$exec_timeout $timeout $max_directory/3dsmax.exe -U MAXScript clod_export.ms -q -mi -vn | ||
|
||
# Idle | ||
../../idle.bat | ||
done | ||
|
||
|
44 changes: 22 additions & 22 deletions
44
nel/tools/3d/build_gamedata/processes/clodbank/sh/install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Install clodbank in the client data, in the "shapes/" directory | ||
|
||
# Get the shape install directory | ||
shape_install_directory=`cat ../../cfg/directories.cfg | grep "shape_install_directory" | sed -e 's/shape_install_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the client directory | ||
client_directory=`cat ../../cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Install clodbank >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Install clodbank | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
cp -u -p -R clodbank/. $client_directory/$shape_install_directory 2>> log.log | ||
#!/bin/bash | ||
rm log.log 2> /dev/null | ||
|
||
# Install clodbank in the client data, in the "shapes/" directory | ||
|
||
# Get the shape install directory | ||
shape_install_directory=`cat ../../cfg/directories.cfg | grep "shape_install_directory" | sed -e 's/shape_install_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Get the client directory | ||
client_directory=`cat ../../cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'` | ||
|
||
# Log error | ||
echo ------- > log.log | ||
echo --- Install clodbank >> log.log | ||
echo ------- >> log.log | ||
echo ------- | ||
echo --- Install clodbank | ||
echo ------- | ||
date >> log.log | ||
date | ||
|
||
cp -u -p -R clodbank/. $client_directory/$shape_install_directory 2>> log.log |
Oops, something went wrong.