Hello, everyone, could you please tell me how to make tilemapresource.xml for TMS servie?

I am new to this domain, recently, I need load tms service from local disk folder. I have gotten the offline map resouces, but there is no tilemapresource.xml at all, I want to know how to make this file? I appreciate very much if you would help me, Thank you!

Perhaps there’s another file with the same content? This page describes what is expected:

Hi, Kevin, it really help! Thank you!