I am currently learning and promoting the Defold engine, and I plan to use Defold for game development in the long run.
I want to compile a Chinese version of the editor to make it more accessible for developers in China. I have already completed the translation, and running lein run
successfully launches the engine—everything works as expected.
My current confusion is how to compile and package it into an executable format. I would greatly appreciate any insights.
Many thanks to the Defold development team for their hard work and dedication!
We use defold/editor/scripts/bundle.py at dev · defold/defold · GitHub to create an editor bundle; you can explore it. Something like this from the editor folder:
./scripts/bundle.py build bundle --platform=arm64-macos --version custom --engine-artifacts archived-stable
Note that to distribute an app on Windows and macOS, you need to sign it; otherwise, many users will have trouble opening it. This can be done with the same script, but you’ll obviously need to get the signing certificates for Windows and macOS yourself.
1 Like
def full_build_jdk_url():
machine = platform.machine()
# 将AMD64转换为x86_64以匹配字典键
if machine == 'AMD64' :
machine = 'x86_64'
return full_jdk_url(python_platform_to_java["%s-%s" % ( machine, sys.platform)])
This machine has an AMD platform, so the code needs to be adjusted in this way for it to package properly.
But after running, it just keeps loading. Is it due to a signature issue?