Jump to content


Photo

Gmrename - Global Renaming Tool For Gm:S


  • Please log in to reply
12 replies to this topic

#1 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 07 May 2014 - 02:28 AM

GMRename (Suggested by Samuel Venable)

 

Global Rename tool for GameMaker: Studio projects.

 

This tool can replace obj names, script names, sound names, sprites and variables throughout a project.

 

Example 1: Rename obj_a to obj_b

The tool will replace all occurrences of obj_a with obj_b. This includes the object name, object codes, scripts. 

 

Example 2: Rename var_variable to var_roytheshort

Replaces all occurrences of the variable name with the new name.

 

 

 

NOTE! I did not have time to extensively test this. Please BACK UP your project folder, and use at your own risk. If something goes wrong, either revert to your backup or reverse the find+replace.

 

If you find a bug, please let me know either on this topic or PM me.  :thumbsup:

 

Download -> http://bit.ly/gmrename

Donations let me keep developing tools like this, for free.  :sweat:

 

7P7jgGZ.png


Edited by Slammin Sam, 08 May 2014 - 06:40 AM.

  • 7

Nothing to see here...move along


#2 Katipo007

Katipo007

    42

  • GMC Member
  • 436 posts
  • Version:GM:Studio

Posted 07 May 2014 - 03:19 AM

What is this for? Renaming all the instances of a variable in a project? asset renaming?


  • 0

"let your light shine before others, that they may see your good deeds and glorify your Father in heaven." - Matthew 5:16

I do not need to fear anything; for if the God of all, who created and cares for everything is for me, who or what can be against me.


#3 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 07 May 2014 - 03:51 AM

What is this for? Renaming all the instances of a variable in a project? asset renaming?

 

Say you want to rename an object. In GM:S, you would have to go and locate all the spots where that object is referenced. With GMRename, you can rename things throughout the entire project. 


  • 0

Nothing to see here...move along


#4 Katipo007

Katipo007

    42

  • GMC Member
  • 436 posts
  • Version:GM:Studio

Posted 07 May 2014 - 07:05 AM

So both right? Type in some text (object name, var name, etc) and it will search through all your code (scripts & objects) and change it all to another??

 

THIS SOUNDS AWE-MAZING!!!


  • 1

"let your light shine before others, that they may see your good deeds and glorify your Father in heaven." - Matthew 5:16

I do not need to fear anything; for if the God of all, who created and cares for everything is for me, who or what can be against me.


#5 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 07 May 2014 - 08:07 AM

So both right? Type in some text (object name, var name, etc) and it will search through all your code (scripts & objects) and change it all to another??

 

THIS SOUNDS AWE-MAZING!!!

 

Exactly. Please back up your project file first though! I don't have time to test this beast thoroughly. 


  • 1

Nothing to see here...move along


#6 CharlieMcShane

CharlieMcShane

    GMC Member

  • GMC Member
  • 259 posts
  • Version:GM:Studio

Posted 07 May 2014 - 05:46 PM

ARGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!




I love you.

Thank you.


  • 2

#7 thijsmie

thijsmie

    GMC Member

  • GMC Member
  • 29 posts

Posted 07 May 2014 - 05:50 PM

Oh man! This is amazing! This is in my directory "ToolsForLife". Thank you so much for making this!


  • 1

#8 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 08 May 2014 - 06:30 AM

ARGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!

I love you.

Thank you.

Haha, thank you :P

 

 

Oh man! This is amazing! This is in my directory "ToolsForLife". Thank you so much for making this!

I'm honored :D


  • 0

Nothing to see here...move along


#9 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 17 May 2014 - 09:05 AM

Has anyone used this yet? :P I'd love any feedback.
  • 0

Nothing to see here...move along


#10 chegr

chegr

    GMC Member

  • GMC Member
  • 30 posts

Posted 29 November 2014 - 09:44 AM

I've just used! For those, who doesn't want dig into regular expressions, it's a very fine tool.

The white tiny text on the blue background is almost unnoticable.

Secondly, it would be nice to see how much replaces were made.


  • 0

#11 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 01 December 2014 - 10:49 PM

I've just used! For those, who doesn't want dig into regular expressions, it's a very fine tool.
The white tiny text on the blue background is almost unnoticable.
Secondly, it would be nice to see how much replaces were made.


Thanks for your suggestions.

People should also be aware that at the moment there are a few bugs with scripts. I hope to fix this soon
  • 0

Nothing to see here...move along


#12 NilsAnders

NilsAnders

    GMC Member

  • GMC Member
  • 529 posts
  • Version:GM8.1

Posted 28 July 2015 - 12:03 PM

Thanks a bunch!! This is a really helpful tool!!! Worked like a charm!

 

Make an option for: "Search for the entire word or parts in a word"

(With this I mean when I type for example change all my exp into experience, that explosion sprites do not turn into experiencelosion) xD

and "Case sensitive"

 

Maybe you can do something with that? Further, absolutely great tool!!!


  • 0
Programmer of "WeirdoStudios"
-----------------------------
Believe it, majority of the programmers write 'Working Code', but not 'Efficient Code'. Do you want to become the 'Most Valued Professional' of your company? Writing 'Efficient Code' is an art and you must learn and practice it.
Read it, learn it, use it! Topic link here.

#13 Slammin Sam

Slammin Sam

    I craft juicy things

  • GMC Member
  • 854 posts
  • Version:GM:Studio

Posted 28 July 2015 - 12:06 PM

Thanks! Glad someone finally used it.

 

No plans for additional features, sorry :/


  • 0

Nothing to see here...move along