This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-01-16 15:05:34

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

ZeroLuck wrote:

So is this second one ToSWF ?

No. It is the same like the other with the only difference that it uses the Flash Player.
But why do you need a "ToSWF"? The Flash player is swf!

I was just wondering if it converted to .swf or to .jar


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#27 2012-01-16 16:42:20

WatsonLJ
Scratcher
Registered: 2010-06-16
Posts: 5

Re: How to Convert .sb files to .exe .app and .jar

I'm on a mac.

I GOT IT TO WORK!!  Just go to the scratch wiki and follow the steps for making a .jar file and once you get it to work, click show in finder and get info.  Then, copy the image you wish to have as the icon and paste it up in the top left corner of the "info" window where the cup of coffee icon is.  Viola!  You have a .rar file with it's own icon.

Hope this works.  Let me know if you need any help.  Email me at [Removed by moderator - [please don't share personal contact information.]


GOOD LUCK!

Last edited by Harakou (2012-01-16 23:06:19)

Offline

 

#28 2012-01-16 22:51:27

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

WatsonLJ wrote:

I'm on a mac.

I GOT IT TO WORK!!  Just go to the scratch wiki and follow the steps for making a .jar file and once you get it to work, click show in finder and get info.  Then, copy the image you wish to have as the icon and paste it up in the top left corner of the "info" window where the cup of coffee icon is.  Viola!  You have a .rar file with it's own icon.

Hope this works.  Let me know if you need any help.  Email me at [Removed by moderator - [please don't share personal contact information.]

GOOD LUCK!

Yea, I wrote that Scratch Wiki article XD

Last edited by Harakou (2012-01-16 23:06:05)


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#29 2012-01-19 01:23:07

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

bump


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#30 2012-01-23 18:04:48

CandySwag
New Scratcher
Registered: 2011-12-13
Posts: 6

Re: How to Convert .sb files to .exe .app and .jar

For the Mac version...I have a question. I downloaded BYOB and made a little test project on there but when I hit compile project and saved it. It's saved as "Samurai.ypr" Why isn't it .app?

Offline

 

#31 2012-01-24 02:08:45

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

ZeroLuck wrote:

So is this second one ToSWF ?

No. It is the same like the other with the only difference that it uses the Flash Player.
But why do you need a "ToSWF"? The Flash player is swf!

Maybe if you wanted to embed in a webpage as flash  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#32 2012-01-24 02:10:15

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

CandySwag wrote:

For the Mac version...I have a question. I downloaded BYOB and made a little test project on there but when I hit compile project and saved it. It's saved as "Samurai.ypr" Why isn't it .app?

That happens with me as well, it used to work but now it doesn't. I have no idea, but it seems to be a mac only problem. Try using the Advanced way. It's better anyway  wink


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#33 2012-01-24 19:31:58

CandySwag
New Scratcher
Registered: 2011-12-13
Posts: 6

Re: How to Convert .sb files to .exe .app and .jar

Problem...When using ToJar, when I press "Compile" it says "Error: java.lang.NullPointerException: in is null"     ?!?! HELPPP

Offline

 

#34 2012-01-24 19:48:30

CandySwag
New Scratcher
Registered: 2011-12-13
Posts: 6

Re: How to Convert .sb files to .exe .app and .jar

When I try to use my .jar file for my main class, it says "The file you chose does not contain a main class. Please choose a new file." ?!?!?!

Offline

 

#35 2012-01-24 19:54:34

CandySwag
New Scratcher
Registered: 2011-12-13
Posts: 6

Re: How to Convert .sb files to .exe .app and .jar

^^^FORGET BOTH OF WHAT I POSTED....I somehow managed to make it an app with an icon and everything...and when I open it? ITS BLANK. NOW WHAT.

Offline

 

#36 2012-01-24 20:18:29

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

CandySwag wrote:

^^^FORGET BOTH OF WHAT I POSTED....I somehow managed to make it an app with an icon and everything...and when I open it? ITS BLANK. NOW WHAT.

Well, you obviously did something wrong. Try to reread the steps and see if you did everything right.

Offline

 

#37 2012-01-24 20:37:15

CandySwag
New Scratcher
Registered: 2011-12-13
Posts: 6

Re: How to Convert .sb files to .exe .app and .jar

...Thanks but no thanks. Tried the process over again and no results. I open my application and it's a blank grey box.

Offline

 

#38 2012-01-25 22:13:50

AllButSimilar
New Scratcher
Registered: 2012-01-09
Posts: 20

Re: How to Convert .sb files to .exe .app and .jar

So what was decided about SWFs?

Offline

 

#39 2012-01-26 10:14:17

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: How to Convert .sb files to .exe .app and .jar

AllButSimilar wrote:

So what was decided about SWFs?

I can't ptogramm with Flash.
But why do you want Flash? Why no Java Applets?


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#40 2012-01-26 16:58:54

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

I opened a sb in Byob and Compiled project in offline mode. It came up with a cmd program and I closed it and it came up with an error. Help? Thanks!  smile

Offline

 

#41 2012-01-26 19:22:28

AllButSimilar
New Scratcher
Registered: 2012-01-09
Posts: 20

Re: How to Convert .sb files to .exe .app and .jar

ZeroLuck wrote:

AllButSimilar wrote:

So what was decided about SWFs?

I can't ptogramm with Flash.
But why do you want Flash? Why no Java Applets?

I'm always fine with .jar, but I would like a way to embed scratch games in the flash player to my website. I found an article in the wiki and it didn't work.

Offline

 

#42 2012-01-27 02:54:12

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

CandySwag wrote:

...Thanks but no thanks. Tried the process over again and no results. I open my application and it's a blank grey box.

Have you uploaded your project online? Does it work on the Java player?

laptop97 wrote:

I opened a sb in Byob and Compiled project in offline mode. It came up with a cmd program and I closed it and it came up with an error. Help? Thanks!  smile

A cmd program? Are you saying the file extension was .cmd?

Last edited by jji7skyline (2012-01-27 02:55:24)


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#43 2012-01-27 16:35:13

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

jji7skyline wrote:

laptop97 wrote:

I opened a sb in Byob and Compiled project in offline mode. It came up with a cmd program and I closed it and it came up with an error. Help? Thanks!  smile

A cmd program? Are you saying the file extension was .cmd?

There was a pop-up with a label of Byob on it in a cmd program.

EDIT: Nevermind, I got it to work  big_smile

Last edited by laptop97 (2012-01-27 16:40:24)

Offline

 

#44 2012-01-28 10:57:28

HiddenPerson
Scratcher
Registered: 2011-12-26
Posts: 100+

Re: How to Convert .sb files to .exe .app and .jar

Thanks! This was really helpful!


http://strangemaps.files.wordpress.com/2007/03/population1024x512.png

Offline

 

#45 2012-01-31 21:56:34

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

HiddenPerson wrote:

Thanks! This was really helpful!

You're most welcome!  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#46 2012-02-19 18:32:58

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

bump


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#47 2012-02-20 20:08:43

SJRCS11_010
Scratcher
Registered: 2011-01-24
Posts: 100+

Re: How to Convert .sb files to .exe .app and .jar

Does toJar work for byob projects? I need to convert one of my byob games to jar.


"The Definition of Insanity is doing the same thing over and over again and expecting different results." - Albert Einstein

Offline

 

#48 2012-02-22 01:54:04

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

SJRCS11_010 wrote:

Does toJar work for byob projects? I need to convert one of my byob games to jar.

I have no idea. Try renaming it to .sb and then compiling it with ToJar. It may work  wink


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#49 2012-02-29 01:40:09

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: How to Convert .sb files to .exe .app and .jar

bump


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#50 2012-03-02 16:10:16

GameMan314
Scratcher
Registered: 2011-02-20
Posts: 4

Re: How to Convert .sb files to .exe .app and .jar

Thanks

Very useful methods


http://mag.racked.eu/cimage/3007thd/Achievement++get%21/Meet+me+on+Minecraft/mca.png
http://mag.racked.eu/cimage/3236rby/Achievement++get%21/Go+to+my+website/mca.png

Offline

 

Board footer