It is currently Sun Aug 18, 2019 1:52 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Engine3D does not support non-english characters
PostPosted: Tue Dec 11, 2018 12:27 am 
Offline
Addict
Addict

Joined: Wed Nov 12, 2008 5:01 pm
Posts: 1048
Location: Russia
If on the way to the program, there are non English characters (for example, Russian), 3D model files are not loaded.
For example, there is such a code.
Code:
Path.s = GetPathPart(ProgramFilename())
Add3DArchive(Path, #PB_3DArchive_FileSystem)
Debug LoadMesh(0, "File.mesh")
Debug LoadTexture(0, "Texture.jpg")
Or such a code.
Code:
Path.s = GetPathPart(ProgramFilename())
Add3DArchive(Path, #PB_3DArchive_FileSystem)
Debug LoadMesh(0, Path+"File.mesh")
Debug LoadTexture(0, Path+"Texture.jpg")
When the program is located in a folder with only English characters (for example, "C:\MyProgram\"), functions return non-0. But if the program is in a folder with Cyrillic or other non English characters (for example "C:\НоваяПапка\"), the functions return 0.

_________________
Library XP_Menu_Lib - office menu; HID_Lib - USB Library
Torrent client - pbTorrent (source code); Create driver in PureBasic.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye