# Babylon Editor Toolkit source code file

**URL:** <https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282>\
**Category:** Questions\
**Created:** [April 27, 2023, 8:49am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282 "2023-04-27T08:49:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Y.R.R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/y.r.r/32/34387_2.png) [@Y.R.R](https://forum.babylonjs.com/u/Y.R.R)\
**Post date:** [April 27, 2023, 8:49am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/1 "2023-04-27T08:49:39Z")

</div>

In the Babylon Editor Toolkit source code, which file can generate the map code in the packaging process? Thank you!

 ![qq](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/b/7b37748399f7324413361bc9b6fe8d92646975ae.png)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 27, 2023, 12:38pm UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/2 "2023-04-27T12:38:04Z")

</div>

cc @julien-moreau

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [April 27, 2023, 9:35pm UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/3 "2023-04-27T21:35:46Z")

</div>

I would love to have the solution but I think @MackeyK24 will answer better than me

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [April 27, 2023, 10:40pm UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/4 "2023-04-27T22:40:04Z")

</div>

Sorry , I don’t quite understand your question

---

<div class="post-metadata">

**Author:** ![Y.R.R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/y.r.r/32/34387_2.png) [@Y.R.R](https://forum.babylonjs.com/u/Y.R.R)\
**Post date:** [May 4, 2023, 1:39am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/5 "2023-05-04T01:39:17Z")

</div>

I want to know which file in the source code of the plug-in can generate the model. Because when generating babylon project, the Chinese characters in the.gltf file are not recognized, so I want to find the code of generating the model and modify the character encoding.

---

<div class="post-metadata">

**Author:** ![Y.R.R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/y.r.r/32/34387_2.png) [@Y.R.R](https://forum.babylonjs.com/u/Y.R.R)\
**Post date:** [May 5, 2023, 7:41am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/6 "2023-05-05T07:41:26Z")

</div>

I would like to know where the Babylon Editor Toolkit Encoding can be modified. In unity, the map uses the Chinese path. During the conversion process, the map path in the model shows "? ". Does anyone know what’s going on?

GET [http://localhost:8888/scenes/assets/](http://localhost:8888/scenes/assets/)???/fbx/???/tex/P111B.png 404 (File Not Found)

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [May 5, 2023, 5:10pm UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/7 "2023-05-05T17:10:17Z")

</div>

Basically you don’t have access to that part of the source for my toolkit. Sorry

Maybe you can explain exactly what you want and I MIGHT be able to help

I don’t know of a way to encode a gltf in Chinese characters

---

<div class="post-metadata">

**Author:** ![Y.R.R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/y.r.r/32/34387_2.png) [@Y.R.R](https://forum.babylonjs.com/u/Y.R.R)\
**Post date:** [May 6, 2023, 1:57am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/8 "2023-05-06T01:57:24Z")

</div>

thank you

I want to use the Babylon Editor Toolkit plugin from unity and Preview the model in the browser by clicking on the “Launch Web Preview Window” button. Alternatively, export the Babylon project in unity using the Babylon Editor Toolkit.

The uri path in the exported project’s.gltf model is converted to a question mark (?) because textures and folders are in Chinese during modeling. .

I want the Chinese folder I used and the Chinese named texture to be parsed and displayed correctly in the browser when using the plugin preview or export.

- This is the texture map structure used in unity:  
 ![Snipaste_2023-05-06_09-46-07](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/2/72af5448fdb2ed32fc3b0bc945c98449c722017a.png)

- This is the uri path of the exported.gltf texture:

 ![Snipaste_2023-05-06_09-55-29](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/a/0aa1d543d62757c0c520ff94de16e9a1e30ee48c.png)

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [May 6, 2023, 8:09pm UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/9 "2023-05-06T20:09:34Z")

</div>

Is there some function to convert the string to Chinese or is it already encoded as Chinese and the toolkit just does not recognize

If you did have access to the source, how would you ensure that text of the patch stays Chinese encoded ?

---

<div class="post-metadata">

**Author:** ![Y.R.R](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/y.r.r/32/34387_2.png) [@Y.R.R](https://forum.babylonjs.com/u/Y.R.R)\
**Post date:** [May 12, 2023, 6:42am UTC](https://forum.babylonjs.com/t/babylon-editor-toolkit-source-code-file/40282/10 "2023-05-12T06:42:44Z")

</div>

Does Babylon Editor Toolkit plugin encode the Chinese path when it works? It uses utf-8?
