gdkchan / HDATextTool

HDA (un)packer and text editing tool for Harvest Moon: Save the Homeland
12 stars 8 forks source link

I have trouble fixing ELF LBA table #2

Closed Species-8472 closed 8 years ago

Species-8472 commented 8 years ago

Excuse me, can you please tell me how to fix ELF, because I have trouble writing decimals. And can you explain me what is LBA? For EX. I have write "HDATextTool -fixelf SLUS_202.51 1.455 706.848", and it trows error Unhandled Exception: System.Format.Exception: Input string was not in a correct format. Can you tell me please what do you mean about writing all in decimals?

gdkchan commented 8 years ago

you shouldn't place dots on the number. Like 1.455 should be 1455 etc. LBA = Logical Block Addressing, it's an Address divided by the size of blocks, it's basically like an address to a cluster. Decimal = number with base 10 ex: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11... A number with base 2 (binary) looks like this: 0, 1, 10, 11, 100, 101, 110, 111, a number with base 16 (hexadecimal): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10 etc

Species-8472 commented 8 years ago

Thank you, you helped me alot! :D