RebuildingTheNewbieLandWith TheBuildPipeline

Version 9 (ChrisNewman, 09/11/2010 04:18 am)

1 9 ChrisNewman
{{>toc}}
2 9 ChrisNewman
3 3 ChrisNewman
h1. Rebuilding The NewbieLand With The Build_Pipeline (WIP)status = Test successful, Writing docs.
4 3 ChrisNewman
5 3 ChrisNewman
h2. About
6 3 ChrisNewman
7 3 ChrisNewman
In this tutorial we are going to rebuild the "NewbieLand", but not just rebuild it.
8 3 ChrisNewman
We are going to "paint" the bricks and textures our own way.
9 3 ChrisNewman
This should be a great "CRASH COURSE" in level building in ryzom core if you are new to the project. 
10 3 ChrisNewman
11 3 ChrisNewman
h2. Pre Constraints
12 3 ChrisNewman
13 3 ChrisNewman
This tutorial assumes the following.....
14 3 ChrisNewman
15 3 ChrisNewman
1. You are using mercurial change set 686.
16 3 ChrisNewman
2. You have cloned the mercurial repository to C:\ryzom. (http://dev.ryzom.com/wiki/ryzom/Getting_Source)
17 3 ChrisNewman
3. You have downloaded the asset repository to C:\database. (http://media.ryzom.com/)
18 3 ChrisNewman
4. You have downloaded the client to C:\ryzom_client. (http://sourceforge.net/projects/ryzom/files/)
19 3 ChrisNewman
5. You have compiled all sources and can run and connect to your own server. (http://dev.ryzom.com/wiki/ryzom/Guide)
20 3 ChrisNewman
6. You have compiled,installed and loaded the NeL plugins for 3DSMAX. (http://dev.ryzom.com/wiki/ryzom/InstallingMaxPlugins)
21 3 ChrisNewman
7. You have installed python 2.6.6. (http://www.python.org/)
22 3 ChrisNewman
8. You have converted the ryzom_assets database. (http://dev.ryzom.com/wiki/ryzom/Convertingryzom_assetsDatabase)
23 3 ChrisNewman
9. You have downloaded the ryzom_assets_newbieland and merged it into C:\database. (http://sourceforge.net/projects/ryzom/files/)
24 4 ChrisNewman
10. you have setup three virtual drives (w: that points to drive c: | r: that points to c:\ryzom | l: that points to r:\code\ryzom\common\data_leveldesign). (http://en.wikipedia.org/wiki/Subst)
25 5 ChrisNewman
> !http://dev.ryzom.com/attachments/940/VDPIC.jpg!
26 5 ChrisNewman
27 5 ChrisNewman
h2. Getting Started
28 5 ChrisNewman
29 5 ChrisNewman
1. First we need to test the "jungle.bank" to make sure its setup correctly.
30 5 ChrisNewman
Launch tile_edit_r.exe (C:\ryzom\code\nel\tools\3d\tile_edit\).
31 5 ChrisNewman
Press "Load" then navigate to C:\database\landscape\_texture_tiles\jungle\jungle.bank and open it.
32 5 ChrisNewman
Click on the button next to "Absolute path".
33 5 ChrisNewman
Change the path to "C:\Database\landscape\_texture_tiles\jungle".
34 6 ChrisNewman
Goto " http://dev.ryzom.com/wiki/ryzom/AddingANewContinent "and test the bank by doing steps 19-22 using the "jungle.bank".
35 7 ChrisNewman
If it shows correctly move on to the next steps.
36 8 ChrisNewman
> !http://dev.ryzom.com/attachments/944/NPPTest.jpg! 
37 8 ChrisNewman
38 8 ChrisNewman
h2. Exporting Assets Using The Build Pipeline 
39 8 ChrisNewman
40 8 ChrisNewman
1. Create a folder in drive C:\ named "export" (C:\export)
41 8 ChrisNewman
42 8 ChrisNewman
2. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "0_setup.py".
43 8 ChrisNewman
The console will ask for directory's, Its pretty self explanatory, just fill it out and it will set everything up for you.
44 8 ChrisNewman
Note> Everything in the <> are the suggested defaults. 
45 8 ChrisNewman
46 8 ChrisNewman
!http://dev.ryzom.com/attachments/954/tut22.jpg!
47 8 ChrisNewman
48 8 ChrisNewman
3. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "1_export.py".
49 8 ChrisNewman
This exports all the data from the .max files in C:\Database.
50 8 ChrisNewman
51 8 ChrisNewman
4. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "2_build.py".
52 8 ChrisNewman
This runs all the compile operations like converting images to direct draw format, lighting and sound effects.
53 8 ChrisNewman
54 8 ChrisNewman
5. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "3_install.py".
55 8 ChrisNewman
This installs all the generated data and folder structures into C:\ryzom_client\user for testing in game.
56 8 ChrisNewman