Skip to content

blog posts

Want to download ubuntu core?

click me

Guide to convert scratch project to .exe

What you need:

  • a scratch project(.sb .sb2 .sb3)
  • NWJS sdk
  • htmlifier tool

NWJS 0.44.1 downloads

win-x64

win-x86

mac-x64

No mac-x86

linux-x64

linux-x86

NOTE|linux is .tar.gz other is .zip

arm

China too slow?click me!


Steps:

1.Download NWJS by follow link.

2.go to htmlifier:

my link: https://sysdl132.gitee.io/htmlifier/

other link: https://sheeptester.github.io/words-go-here/htmlifier/

3.Follow:

img1

I.select your project(ID:https://scratch.mit.edu/projects/ 310161394(ID) / or upload).

II.Select the title of the window(see down/project name) and the username block value.

img2

III.choose your options

options turn on will..
show fullscreen button? enable fullscreen button
enable turbo mode? enable turbo mode
use custom variable/list color? change color of variables and lists
Load progress indicator? Load progress indicator
Enable compatibility mode? set highest FPS to 30(else:60)
Does this project use a custom size? custom window size
Cloud variable source set cloud variable source

IV.click "HTMlify"

4.Download file and move into NWJS folder.

5.Create package.json:

{
  "name": "your_window_default_title",
  "main": "your_html_file_name.html"
}

6.Execute nw.exe and run!

Advanced option--compile into a single file.

Use makesfx.exe(search on google) to pack them into a single .exe

Download at: https://revocue.cz/en/make-sfx/index.php

img3

1.set your NWJS folder.

2.set your output .exe.

NOTE: Please mark the temp file option to this: "Delete extracted files immediately when SFX has finished executing". Or it will cause problems.

3.set your nw.exe in your folder.

4.clickMake SFX.

If you have any problem,please create an issue.