Phoenix Garden
Dividing a big Scene File into several smaller one - Printable Version

+- Phoenix Garden (https://roysforum.com)
+-- Forum: Community (https://roysforum.com/forum-103.html)
+--- Forum: Raistin Kane - Research Center (https://roysforum.com/forum-158.html)
+--- Thread: Dividing a big Scene File into several smaller one (/thread-730.html)



Dividing a big Scene File into several smaller one - Richter Belmont - 07-24-2024

I saw a post about someone trying to encode a huge scene.bs file.
Due to the file being way to big, the encoder just can't get the job done.
So a solution just came to my mind.
What about dividing this single big file into several smaller one, then linking them all in the object Ac file?

1.Let say I have this file \Scenes\Luder\Room\R9ZRoom222\R9ZRoom222.bs
Let divide it into several one instead...
\Scenes\Luder\Room\R9ZRoom222\R9ZRoom222_part1.bs
\Scenes\Luder\Room\R9ZRoom222\R9ZRoom222_part2.bs
\Scenes\Luder\Room\R9ZRoom222\R9ZRoom222_part3.bs

2.Go into the Ac file \Scripts\Luder\Room222\AcRoom.bs and add the link to your multiple scenes file.

So I will replace this:


Code:
AppImportScene . {[/color]
[color=#000000].NodeName "Room" + :room;[/color]
[color=#000000].ParentPath "/RoomRoot";[/color]
[color=#000000].SceneFile "Luder/Room/R9ZRoom222/R9ZRoom222";[/color]
[color=#000000]};[/color]

[color=#000000]by this:[/color]

[color=#000000]AppImportScene . {[/color]
[color=#000000].NodeName "Room" + :room;[/color]
[color=#000000].ParentPath "/RoomRoot";[/color]
[color=#000000].SceneFile "Luder/Room/R9ZRoom222/R9ZRoom222_part1";[/color]
[color=#000000]};[/color]
[color=#000000]AppImportScene . {[/color]
[color=#000000].NodeName "Room" + :room;[/color]
[color=#000000].ParentPath "/RoomRoot";[/color]
[color=#000000].SceneFile "Luder/Room/R9ZRoom222/R9ZRoom222_part2";[/color]
[color=#000000]};[/color]
[color=#000000]AppImportScene . {[/color]
[color=#000000].NodeName "Room" + :room;[/color]
[color=#000000].ParentPath "/RoomRoot";[/color]
[color=#000000].SceneFile "Luder/Room/R9ZRoom222/R9ZRoom222_part3";[/color]
[color=#000000]};[/color]

[color=#000000]Done.