Jump to content

Recommended Posts

When there is something that Spriter users know than it is that once the project path is set it cannot be changed anymore or the project images get lost. 

Well.. Here is a small guide how it can be actually changed.

 

What do you need?

  • Notepad++

Actually it is not a need but it's just easier to work with.

Now let's assume your Spriter File (SCML) is inside the folder where all your sprites are located.

591210cd27e0c_spriterfile.png.7bc988bdbee91ad30d7cc157d60497ed.png

In the above example my SCML file is called "Juggernaut". Now let's put it one folder higher in the file hierarchy.

591211af5e062_parentfolder.png.d8fae628afbba4c2092ba63199ae7935.png

What I did is to cut out the "Juggernaut " SCML from the "Body Parts" Folder and placed it to the parent folder.

If you open the scml file now.  After getting a pop-up dialog that notifies you about missing sprites the following thing will happen:

591211cb8638b_3.png.05fd917f536f4ffe3e45a8bd1b6dfcfd.png

 

That happens because Spriter is still searching for the images in the old folder but since the file has moved the path has to be changed as well. Here is the trick

591211ae40db7_4.png.07626520a0db8d4d7967a3f887327125.png

  1. Right Click on the SCML file
  2. Choose "open with" and then your favorite editor. In my case Notepad++
  3. Then you will see a syntax similar to xml. 
  4. Simply add a name attribute to the folder tag
  5. Give it the path to the folder your sprites are located e.g name="Body Parts"
  6. Search and replace all FILE NAME ATTRIBUTES with the path to the sprites e.g name="Body Parts/Head.png" (in the image above I had to continue it with file id = 7)
  7. Save and open Spriter the normal way
  8. Enjoy :)

 

final.thumb.png.223e690b9a71364b36b95c0849ed0d8e.png

No more missing Sprites ;D

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...