Jump to content

[HELP] Invisible Paddle


Recommended Posts

Because I want to make my character compatible with SW, now I had to add a few more sprites, including the paddle.
As much as I love Wes' ability to row his boat with an invisible paddle, my custom character needs one anyways.
For some strange reason, while looking into the atlas-0.tex file, the paddle is not there but I have added the paddles into the exported folder for don't starve tools to compile the sprite altogether and create the .zip for the anim folder. Weird is the fact that the paddle was ignored while compiling. Anyone out there who uses the compiler and could give me a hand?

I appreciate any kind of help.
Ysu.

Link to comment
Share on other sites

10 hours ago, Arkathorn said:

Could you please post a screenshot of your file structure?

Sure thing,
Also, thanks a lot, you've been helping me with both my problems.
Thanks for your selflessness.
Anyway, here's the files that I considered relevant to show. I can share more if you wish, or simply the whole mod folder if needed.

 

 

Link to comment
Share on other sites

Alright, let me send it to you VIA the dropbox. I'll send a PM

I was thinking about compiling on my own too, with the TEXtool and whatnot, but if you can do it I'd appreciate it, I have to go to classes in a couple of minutes.

Link to comment
Share on other sites

Okay update time! The compiler worked with your scml!
That's excellent news! That's one more thing to scratch off the list!
Thank you so much for your help, man. I'll have to understand what did you do so I can learn the thing. 

Link to comment
Share on other sites

7 hours ago, Ysulyan said:

I'll have to understand what did you do so I can learn the thing.

Alright, this will be a bit complicated at first, but stay with me... Nah, it's not that bad. :)

*DISCLAIMER: I am not to be held responsible for any damage or confusion caused by potential misnomers*

First off, Banks and Builds: The DS animation system uses two independent parts of an animation: The symbols (textures, images, etc.) are saved as a file called atlas-0.tex (and atlas-1, etc. if more space is needed). To read the atlas, the game needs the Build (build.bin), which is essentially a table of contents for the atlas.

The animations themselves (i.e. the position, rotation and scale of the symbols at any "key time") is stored in the Bank (anim.bin). Without it, not a single symbol would even appear in-game. If you want to decompile banks for your study using the magnificant Krane by Simplex, be aware that it might mirror symbols.

"Why is that? It sounds kinda dumb." As you already noticed, your animation file doesn't even require an anim.bin file. That is because the base character already has a whole bunch of banks loaded. It only tries to load and apply the build you give it.

 

Now that this is out of the way, the actual solution to this problem:

This is the rough structure of an SCML file (spriter project):

  • Folders
    • Images
  • Entities (usually just one)
    • animations
      • Main Timeline
      • Timelines of individual objects

It's in a readable text format, so feel free to take a look (unless you're allergic to HTML). If it isn't clear already, the compiler interprets the first bit as Build and the second bit as Bank.

So all I had to do was adding the paddle folders and its images to the list at the beginning. Yes, that was the whole fix. I optimised the project afterwards in a similiar manner, removing all unneeded references from that list. (Admittedly, spriter can't open the file anymore, but the autocompiler worked anyways.)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...