adding new 3d model to client.

Added by FatDevil almost 8 years ago

i have small problem.
1. I got 3d model (simple rifle), scaling, resizing and converting it to shape format, from 3dmax;
2. Next step convert *.jpeg texture file to dds;
3. repack objects.bnp from open client;
4. add sitem and sbrick files (i'm use georges editor there);
4. rebuild sheets and repack too;
5. put sheets and sheets.bin files to client/data directory;
6. delete files from server dir tree and restart shard;
7. run client and catch problem - if wear item, it shape not show on character, all other (shoot, swtich to another weapon) working without problem.

Log sheet_packers content next errors:

cat log.log | grep error
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/creature.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/fx.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/building.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/sitem.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/item.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/plant.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/death_impact.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/race_stats.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/light_cycle.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/weather_setup.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/continent.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/world.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/weather_function_params.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/mission_icon.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:09 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/sbrick.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/sphrase.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/skill_tree.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/titles.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/succes_chances_table.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/automaton_list.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/animset_list.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/animation_fx.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/id_to_string_array.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/emot.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/forage_source.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/flora.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/animation_fx_set.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/attack_list.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/text_emotes.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/sky.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/outpost.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/outpost_building.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/outpost_squad.packed_sheets', error 2 : No such file or directory
2010/10/20 01:12:10 WRN 2687092512 <Unknown> file.cpp 265 open : Failed to open file '../../client/data/faction.packed_sheets', error 2 : No such file or directory

i think, need rebuild sheets files (fx) for assets and add my files, - i have simple way, without rebuild all assets, and gamedata with building scripts from ryzom/code/nel/tools/build_gamedata?


Replies (6)

RE: adding new 3d model to client. - Added by FatDevil almost 8 years ago

with building

ofc "without building"

RE: adding new 3d model to client. - Added by molator almost 8 years ago

Some sheets are missing so you can't rebuild all the packed_sheets.
For your tests, you should keep the packed_sheets of the ryzom core client and add your own in the client "user" folder.
Everything in the "user" folder will override files from the "data" folder.

To add you own data, you will have to use the pipeline.
Kaetemi and sfb are working on it.

RE: adding new 3d model to client. - Added by FatDevil almost 8 years ago

thnx for explain, molator.

RE: adding new 3d model to client. - Added by FatDevil almost 8 years ago

New question.

I rebuild assets and used building pipeline.

  1. Convert assets database for using png textures;
  2. Run building pipeline scripts and export (with errors on some max files), build, install on empty folders;
  3. Client installed without all packed sheets and without language support to;
  4. I'm running '''R:\code\nel\tools\misc\make_sheet_id\ make_sheet_id_r.exe -oL:/leveldesign/game_elem/sheet_id.bin L:/leveldesign/game_elem L:/leveldesign/game_element L:/leveldesign/world''' manualy;
  5. export/build/install. After installation i get client folder with some sheets and withous sheets from first post;
  6. try reinstall client to open_client folder. It running, without language support;
  7. if try log to open_shard i get alert windows "msg.xml and database.xml files are invalide), get characters screen, and after play it crashed.

Latest client log information:

2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_sickness_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_sickness_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_begin.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_begin.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_loop.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_loop.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_end.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_end.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sheet_id.cpp 93 NLMISC::CSheetId::CSheetId : SHEETID: The sheet 'cast_off_slashing_fail.animation_fx_set' is not in sheet_id.bin, setting it to Unknown
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe attack_list.cpp 64 buildAttackPart : Sheet cast_off_slashing_fail.animation_fx_set not found
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe i18n.cpp 177 NLMISC::CI18N::get : I18N: The string uiLoadingString43 did not exist in language en (display once)
2010/10/28 02:42:28 DBG  c7c client_ryzom_r.exe net_manager.cpp 3774 CNetManager::update : CNetManager::update : Probe Received.
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe path.cpp 516 NLMISC::CFileContainer::lookup : PATH: File (ui_ingame.sample_bank) not found (ui_ingame.sample_bank)
2010/10/28 02:42:28 WRN  c7c client_ryzom_r.exe sample_bank.cpp 129 NLSOUND::CSampleBank::load : Could not find sample bank [ui_ingame.sample_bank]
2010/10/28 02:42:28 DBG  c7c client_ryzom_r.exe interface_manager.cpp 831 CInterfaceManager::loadIngameInterfaceTextures : Textures Ingame Interface
2010/10/28 02:42:28 DBG  c7c client_ryzom_r.exe interface_manager.cpp 835 CInterfaceManager::loadIngameInterfaceTextures : Textures Ingame Interface: texture_interfaces_v3

What sheets need rebuild for adding new armor/weapon textures and models? I try research way in core code and make simple installation tool for adding items in game based on ryzom_open_client.

RE: adding new 3d model to client. - Added by molator almost 8 years ago

You can find an example to add an armor there:
http://dev.ryzom.com/wiki/ryzom/AddingGameEntities

You can do the same using Georges Editor, but in any case, you will need to understand the syntax of the sheets.

RE: adding new 3d model to client. - Added by sfb almost 8 years ago

FatDevil wrote:

New question.

I rebuild assets and used building pipeline.

  1. Convert assets database for using png textures;
  2. Run building pipeline scripts and export (with errors on some max files), build, install on empty folders;
  3. Client installed without all packed sheets and without language support to;

Copy the missing sheets from the ryzom_open_client.7z - we're still sorting through this. Sorry.

  1. I'm running '''R:code

el oolsmiscmake_sheet_id make_sheet_id_r.exe -oL:/leveldesign/game_elem/sheet_id.bin L:/leveldesign/game_elem L:/leveldesign/game_element L:/leveldesign/world''' manualy;

Good, but you still need to do the above to get the sheets the client expects but are not in l:\leveldesign

  1. export/build/install. After installation i get client folder with some sheets and withous sheets from first post;
  2. try reinstall client to open_client folder. It running, without language support;

Copy the *_en.txt from the server/data_shard folder to gamedev/language and then extract gamedev.bnp from the ryzom_open_client.7z and retrieve en.uxt and place it in gamedev/language - this will be rectified in the w:\database that is released with 0.8.0.

  1. if try log to open_shard i get alert windows "msg.xml and database.xml files are invalide), get characters screen, and after play it crashed.

This is because you restored back to the ryzom_open_client.7z - it has an older message structure than the server which you presumably have built recently. You will need to place those files from the gamedev folder into the user folder so that the client uses the new files instead.

Latest client log information:
[...]

What sheets need rebuild for adding new armor/weapon textures and models? I try research way in core code and make simple installation tool for adding items in game based on ryzom_open_client.

(1-6/6)