<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <author>
    <name>xingluo1909</name>
  </author>
  <generator uri="https://hexo.io/">Hexo</generator>
  <id>https://xl1909.pages.dev/</id>
  <link href="https://xl1909.pages.dev/" rel="alternate"/>
  <link href="https://xl1909.pages.dev/atom.xml" rel="self"/>
  <rights>All rights reserved 2026, xingluo1909</rights>
  <subtitle>Spine / Live2D 自定义格式解析</subtitle>
  <title>xingluo1909</title>
  <updated>2026-08-09T02:50:21.231Z</updated>
  <entry>
    <author>
      <name>xingluo1909</name>
    </author>
    <category term="动态研究" scheme="https://xl1909.pages.dev/categories/%E5%8A%A8%E6%80%81%E7%A0%94%E7%A9%B6/"/>
    <category term="Spine" scheme="https://xl1909.pages.dev/tags/Spine/"/>
    <category term="格式解析" scheme="https://xl1909.pages.dev/tags/%E6%A0%BC%E5%BC%8F%E8%A7%A3%E6%9E%90/"/>
    <category term="测试" scheme="https://xl1909.pages.dev/tags/%E6%B5%8B%E8%AF%95/"/>
    <content>
      <![CDATA[<p>这是一篇用于测试站点布局的示例文章。</p><h2 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h2><p>Spine 资源并不总是直接使用标准格式，很多游戏会封装成自定义结构。解析这类格式时，需要从文件头、字节序和字段长度开始观察。</p><h2 id="文件特征"><a href="#文件特征" class="headerlink" title="文件特征"></a>文件特征</h2><ul><li>文件头标识</li><li>版本字段</li><li>长度与偏移表</li><li>纹理与骨骼数据区</li></ul><h2 id="解析思路"><a href="#解析思路" class="headerlink" title="解析思路"></a>解析思路</h2><figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">def</span> <span class="title function_">read_u32</span>(<span class="params">data, offset</span>):</span><br><span class="line">    <span class="keyword">return</span> <span class="built_in">int</span>.from_bytes(data[offset:offset + <span class="number">4</span>], <span class="string">&quot;little&quot;</span>)</span><br></pre></td></tr></table></figure><p>先确认头部结构，再按偏移读取骨骼和动画数据。</p><h2 id="验证结果"><a href="#验证结果" class="headerlink" title="验证结果"></a>验证结果</h2><p>解析完成后，用一帧低清打码截图验证结果。具体内容后续补充。</p>]]>
    </content>
    <id>https://xl1909.pages.dev/2026/08/09/spine-format-test/</id>
    <link href="https://xl1909.pages.dev/2026/08/09/spine-format-test/"/>
    <published>2026-08-09T04:00:00.000Z</published>
    <summary>用于验证首页列表布局与文章页样式的测试文章。</summary>
    <title>Spine 自定义格式解析测试文章</title>
    <updated>2026-08-09T02:50:21.231Z</updated>
  </entry>
</feed>
