MyShiLingStar / ACNHPokerCore

Animal Crossing New Horizons Item Spawning Tool
https://myshilingstar.github.io/GetAzure/
BSD 2-Clause "Simplified" License
62 stars 8 forks source link

how to make nhbs files #24

Closed kutuo closed 2 years ago

kutuo commented 2 years ago

I want to learn how to make nhbs files, I want to put more items on the ground, but nhi files can only put 40 at a time

MyShiLingStar commented 2 years ago

.nhbs is just a .nhi file with more than 40 items.

There are two ways to do it.

  1. Use a hex editor like HxD to make one. You can make a few .nhi files and combine them in HxD.
    Every 8 bytes is one item. Hxd

  2. Use an empty space in Map dropper and place your items. Then save the area to a .nhbs file. Just remember the item order is Top to down first, then left to right.
    You should also remember the height of the spawn area if you want to spawn the item in the exact same way. Save

kutuo commented 2 years ago

thanks٩(๑>◡<๑)۶

kutuo commented 2 years ago

When I try to use HxD, I find that the item code is "0983", but it is "8309" in HxD, how can I convert the item code in batches?

截屏2022-07-16 01 39 25 截屏2022-07-16 01 39 34
kutuo commented 2 years ago

尝试使用HxD时,发现货品代码是“0983”,而在HxD中却是“8309”,如何批量转换货品代码? 截屏2022-07-16 01 39 25 截屏2022-07-16 01 39 34

I implemented the conversion in Excel, my knowledge is so lacking

MyShiLingStar commented 2 years ago

Yes, it is how little-endian works. You can learn more at here.

image