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

#1 2010-10-11 22:49:08

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Windows Question

Anyone here know how to associate a mod with my mod, Ghost?

I want to know, so that I can set the .ght extension to my mod.

(No, setting the ghost.exe to it wont work. So dont even bother.)

Thanks in advance!!

Last edited by bbbeb (2010-10-11 22:49:36)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#2 2010-10-12 02:36:31

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Windows Question

If if I understand correctly then you can some how add .ght to the registry and it will understand it as a .ght file just like .txt .  big_smile
I think your best bet is to google it!  wink


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#3 2010-10-12 07:49:23

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Windows Question

Daffy22 wrote:

If if I understand correctly then you can some how add .ght to the registry and it will understand it as a .ght file just like .txt .  big_smile
I think your best bet is to google it!  wink

objection -- best bet is me. i'm an expert with registry values now  big_smile

so. to start the tut.
open the registry
make a new key called .ght or whatever in HKEY-CLASSES or something.
set that key GhostProject or whatever  tongue
make a new key in the same place called GhostProject (or whatever)
set that to Ghost Project (or whatever you want the name to be)
add a key inside that called shell and anothr called defaultIcon
set defaultIcon to the pth of an ico file and add ,0 after it.
set shell to open
make a new key inside shell called open
set that to Open File
make a new key inside open called command
set that to the path of the exe, the path of the image AND "%1"
it definitely works

Last edited by LS97 (2010-10-12 08:11:37)

Offline

 

#4 2010-10-12 11:03:04

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Windows Question

Make sure your though if you follow LS97 that you are carefull because a tiny change in the wrong place can result in mager errors!   yikes


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#5 2010-10-12 11:45:48

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Windows Question

Daffy22 wrote:

Make sure your though if you follow LS97 that you are carefull because a tiny change in the wrong place can result in mager errors!   yikes

True. I forgot to say that

BE CAREFUL WHEN EDITING REGISTRY VALUES!!!

Offline

 

#6 2010-10-12 11:59:58

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Windows Question

LS97 wrote:

Daffy22 wrote:

Make sure your though if you follow LS97 that you are carefull because a tiny change in the wrong place can result in mager errors!   yikes

True. I forgot to say that

BE CAREFUL WHEN EDITING REGISTRY VALUES!!!

lol!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#7 2010-10-12 21:17:22

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

Daffy22 wrote:

LS97 wrote:

Daffy22 wrote:

Make sure your though if you follow LS97 that you are carefull because a tiny change in the wrong place can result in mager errors!   yikes

True. I forgot to say that

BE CAREFUL WHEN EDITING REGISTRY VALUES!!!

lol!  big_smile

TY!!!!


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#8 2010-10-12 22:29:03

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

It wont work!!!!!!!!!


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#9 2010-10-13 02:50:45

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Windows Question

bbbeb wrote:

It wont work!!!!!!!!!

if you've done what LS97 said and it doesn't work I strongly suggest removing what you have just done and maybe google your question instead. Chances are there is another way to do this!  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#10 2010-10-13 07:40:32

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Windows Question

im gonna try this for ribbit! .rbt

Offline

 

#11 2010-10-13 11:00:26

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Windows Question

ProgrammingFreak wrote:

im gonna try this for ribbit! .rbt

that way though you'll need an installer that will edit registry values to do this on a wider scale.  wink


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#12 2010-10-13 15:35:59

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Windows Question

Daffy22 wrote:

ProgrammingFreak wrote:

im gonna try this for ribbit! .rbt

that way though you'll need an installer that will edit registry values to do this on a wider scale.  wink

well you can export regstry keys an run them while installing (maybe as an optional feat) and they should then merge in.

Offline

 

#13 2010-10-13 16:54:15

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Windows Question

RAGE has a file ext system w/o editing the reg.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#14 2010-10-14 16:56:49

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

♪♫♫♪BumpitybumpityBump♫♫♫♫♪♪♫


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#15 2010-10-15 21:29:01

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

bbbeb wrote:

♪♫♫♪BumpitybumpityBump♫♫♫♫♪♪♫

^^ ^^


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#16 2010-10-17 15:13:41

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

bbbeb wrote:

bbbeb wrote:

♪♫♫♪BumpitybumpityBump♫♫♫♫♪♪♫

^^ ^^

^^^^


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#17 2011-08-31 16:08:46

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

I have to bring this back up. I don't want to make a new topic.

LS97, I'm sure your still active.
If i'm at this part:
"make a new key in open called command"

and the files are all in program files/Ghost, what should I type?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#18 2011-08-31 16:30:41

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Windows Question

bbbeb wrote:

I have to bring this back up. I don't want to make a new topic.

LS97, I'm sure your still active.
If i'm at this part:
"make a new key in open called command"

and the files are all in program files/Ghost, what should I type?

make that key, and set its (default) value to:

ghostEXEpath.exe "ghostIMAGEpath.image" "%1"

Offline

 

#19 2011-08-31 17:39:33

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

Exactly like that, with the quotations and all?

Code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ght]
@="Ghost Project"

[HKEY_CLASSES_ROOT\.ght\GhostProject]
@="Ghost Project"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell]
@="open"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell\open]
@="Open File"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell\open\command]
@="C:/---/ScratchMods/Ghost/GhostLaunch.exe "C:/---/ScratchMods/Ghost/GhostLaunch.image" "%1""

Seems right, right?

Last edited by bbbeb (2011-08-31 17:40:47)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#20 2011-09-01 02:57:49

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Windows Question

bbbeb wrote:

Exactly like that, with the quotations and all?

Code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ght]
@="Ghost Project"

[HKEY_CLASSES_ROOT\.ght\GhostProject]
@="Ghost Project"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell]
@="open"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell\open]
@="Open File"

[HKEY_CLASSES_ROOT\.ght\GhostProject\shell\open\command]
@="C:/---/ScratchMods/Ghost/GhostLaunch.exe "C:/---/ScratchMods/Ghost/GhostLaunch.image" "%1""

Seems right, right?

i think the last one is mean't to be "C:\---\ScratchMods\Ghost\GhostLaunch.exe" "C:\---\ScratchMods\Ghost\GhostLaunch.image" %1
(yeah, i mess around with the registry sometimes too  tongue )


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#21 2011-09-01 09:02:58

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: Windows Question

You can do it quickly, it works for Windows.
Before I start - DOWNSIDES:
- This is only for your computer. You have to tell other people what to do.
- You can't set a custom icon. However, what it does come up with should be fine.
- You can't make it say that it's a "Ghost Project". It will still say it's a "GHT File", but it will open with your mod.

What to do:
1. Open control panel.
2. Open Folder Options.
3. Uhh... do you have XP?


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#22 2011-09-01 19:50:49

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Windows Question

whizzer wrote:

You can do it quickly, it works for Windows.
Before I start - DOWNSIDES:
- This is only for your computer. You have to tell other people what to do.
- You can't set a custom icon. However, what it does come up with should be fine.
- You can't make it say that it's a "Ghost Project". It will still say it's a "GHT File", but it will open with your mod.

What to do:
1. Open control panel.
2. Open Folder Options.
3. Uhh... do you have XP?

3. Windows 7.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#23 2011-09-02 02:40:40

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Windows Question

bbbeb wrote:

whizzer wrote:

You can do it quickly, it works for Windows.
Before I start - DOWNSIDES:
- This is only for your computer. You have to tell other people what to do.
- You can't set a custom icon. However, what it does come up with should be fine.
- You can't make it say that it's a "Ghost Project". It will still say it's a "GHT File", but it will open with your mod.

What to do:
1. Open control panel.
2. Open Folder Options.
3. Uhh... do you have XP?

3. Windows 7.

windows 7 has a different control panel and folder options does not have that option anymore. you can also right click a project and select open with and set it as default.... also... one.. more... thing.............. you can't associate files like that because it won't find the .image file so you will have to use the registry or an installer.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#24 2011-09-02 11:38:29

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Windows Question

Actually, whizzer, your downside about only for your computer is only partially true.
You can write it all to a REG file and the other end can just file it in. Or for compatibility and flexibility, use an installation program to make the installation directory variable and set the key to that.

Offline

 

#25 2011-09-02 15:17:35

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Windows Question

LS97 wrote:

Daffy22 wrote:

If if I understand correctly then you can some how add .ght to the registry and it will understand it as a .ght file just like .txt .  big_smile
I think your best bet is to google it!  wink

objection -- best bet is me. i'm an expert with registry values now  big_smile

so. to start the tut.
open the registry
make a new key called .ght or whatever in HKEY-CLASSES or something.
set that key GhostProject or whatever  tongue
make a new key in the same place called GhostProject (or whatever)
set that to Ghost Project (or whatever you want the name to be)
add a key inside that called shell and anothr called defaultIcon
set defaultIcon to the pth of an ico file and add ,0 after it.
set shell to open
make a new key inside shell called open
set that to Open File
make a new key inside open called command
set that to the path of the exe, the path of the image AND "%1"
it definitely works

:S You could also just right click a .ght project, click 'Open with...', 'Select program...', (find your Ghost exe), check the box to remember it, click ok  tongue

Although it might act weird because the squeak VM also needs its image file...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

Board footer