Discuss Scratch

IAMATP
Scratcher
58 posts

How to convert SB3 to JAVA file on chromebook

This has many parts and is for Chromebook users only.

SB3 to JSON

  1. Download SB3 file
  2. Go to files
  3. Edit extension name from SB3 to ZIP
  4. Open the ZIP file
  5. Copy every file of it.
  6. Create a new folder
  7. Paste all the files
  8. Copy the JSON file's code
  9. (OPTIONAL) Go to https://jsoneditoronline.org, copy the JSON file's code, delete all the code present in the website, paste the code into the website that you copied from the JSON file, press the ‘Format JSON: add proper indentation and new lines (Ctrl+I)’ button

JSON to JAVA

  1. Go to https://codebeautify.org/json-to-java-converter
  2. Paste the JSON file's code into the input
  3. Download the JAVA code in the output

That's it!
Show your JAVA projects!
Maximouse
Scratcher
1000+ posts

How to convert SB3 to JAVA file on chromebook

I don't think this works. The “JSON to Java converter” isn't meant for Scratch project.


This is Maximouse's signature. Learn more about signatures.
IAMATP
Scratcher
58 posts

How to convert SB3 to JAVA file on chromebook

I know it's not meant. It's an SB3 to Java converter, after all.

Last edited by IAMATP (May 29, 2022 12:51:19)

MagicCrayon9342
Scratcher
1000+ posts

How to convert SB3 to JAVA file on chromebook

This isn't at all how it works, you can't just use standard converters. It won't run, it won't compile. It'll just fail.



Templates:

Doesn't belong in the ATs:
Unfortunately, this post does not belong in the Advanced Topics. Please report your post, and in the box type the following:
Please move this post to ‘Thinks I’m Making or Creating' or ‘Show and Tell’
IAMATP
Scratcher
58 posts

How to convert SB3 to JAVA file on chromebook

MagicCrayon9342 wrote:

This isn't at all how it works, you can't just use standard converters. It won't run, it won't compile. It'll just fail.
Are you on Chromebook?

Last edited by IAMATP (May 29, 2022 14:36:02)

MagicCrayon9342
Scratcher
1000+ posts

How to convert SB3 to JAVA file on chromebook

IAMATP wrote:

MagicCrayon9342 wrote:

This isn't at all how it works, you can't just use standard converters. It won't run, it won't compile. It'll just fail.
Are you on chromebook?
No, I'm on a PC running Windows 11 Pro. Still, that won't change the fact that json can't just be converted to java and be expected to run.

Last edited by MagicCrayon9342 (May 29, 2022 14:27:33)




Templates:

Doesn't belong in the ATs:
Unfortunately, this post does not belong in the Advanced Topics. Please report your post, and in the box type the following:
Please move this post to ‘Thinks I’m Making or Creating' or ‘Show and Tell’
kccuber
Scratcher
1000+ posts

How to convert SB3 to JAVA file on chromebook

That only converts it to a class in Java, not a working project. The URL for the converter is a little clickbaity though.

Last edited by kccuber (May 29, 2022 16:26:46)



Made using Nord Theme & Inkscape

Powered by DjangoBB

Standard | Mobile