x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Creating a project with a Chinese name? Error!

Hi,

I am unable to create a new project called 立方迷城 in the Unreal Engine.

I've been trying the same process with UE4 4.18 through 4.22 to find that I am unable to compile a C++ UE4 project in Visual Studio and I'm unsure why.

I receive the following error if I don't change my class names from 立方迷城GameMode to TestGameMode:

/NewTest/????/Source/????/????GameMode.h(1): error : Missing UCLASS name

And I receive these errors after changing my class names:

1> [1/7] TestGameMode.gen.cpp 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Users\MY-PC\Documents\Unreal Projects\NewTest\绔嬫柟杩峰煄\Intermediate\Build\Win64\UE4Editor\Inc\绔嬫柟杩峰煄\TestGameMode.gen.cpp': No such file or directory

1> [2/7] 绔嬫柟杩峰煄.cpp 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Users\MY-PC\Documents\Unreal Projects\NewTest\绔嬫柟杩峰煄\Source\绔嬫柟杩峰煄\绔嬫柟杩峰煄.cpp': No such file or directory

1> [3/7] TestGameMode.cpp 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Users\MY-PC\Documents\Unreal Projects\NewTest\绔嬫柟杩峰煄\Source\绔嬫柟杩峰煄\TestGameMode.cpp': No such file or directory

1> [4/7] 绔嬫柟杩峰煄.init.gen.cpp 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Users\MY-PC\Documents\Unreal Projects\NewTest\绔嬫柟杩峰煄\Intermediate\Build\Win64\UE4Editor\Inc\绔嬫柟杩峰煄\绔嬫柟杩峰煄.init.gen.cpp': No such file or directory

I have changed my Windows 10 Region Locale to Chinese (Simplified, China), installed all Chinese language packs and fonts in Windows 10, and Chinese language packs in Visual Studio.

What am I doing wrong?

Thanks, Jon

Product Version: UE 4.22
Tags:
more ▼

asked Jun 12 '19 at 01:03 PM in Chinese

avatar image

ZeJudge
59 4 7 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

you can't use special characters on project name nor class names only Alpha numeric are allowed ( and you can't call it just "Game" nor "Project" if i recall correctly

more ▼

answered Jun 12 '19 at 01:16 PM

avatar image

Firefly74
1.6k 15 18 34

avatar image ZeJudge Jun 12 '19 at 01:55 PM

Oh - In that case, how would I get the output .exe AND the root content folder name AND for Windows to recognize the final product to appear as a chinese name?

Would I need to hack UEBuildBinary.cs or something?

Cheers, Jon

avatar image Firefly74 Jun 12 '19 at 03:12 PM

Make a simple batch script to that you use after packaging :)

avatar image ZeJudge Jun 12 '19 at 05:00 PM

Surely the binaries wouldn't be able to locate the renamed content folder though? Maybe I'm not understanding you correctly :)

avatar image Firefly74 Jun 13 '19 at 07:03 AM

Yeah, i was more thinking of the main folder and exe on the root of the main folder ( which is what your user will look for, the rest is non of their concern you could name it either genericaly either same word in alpha character if possible, but user will have

 c:/ProgramFiles/ZeJudgeStudio/立方迷城/立方迷城.exe
avatar image ZeJudge Jun 13 '19 at 08:37 AM

I see yeah, this is for China government approval so every instance of the original name must be changed. This may work so I'll give it a go, but we may get flagged for the content folder name being inconsistent - but then again they may not know what the original English language name.

avatar image Firefly74 Jun 13 '19 at 09:05 AM

You can also change the process name in the project settings -> Description -> Project Name also there you can set description, copyright, project displayed Title (for window name in alt tab / title bar )

i don't know anything about regulation in china, but if folder, exe, title and process have correct name in Chinese + correct description/copyright, all the rest in internal and shouldn't cause any problem

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question