HiToText-开源

  • u7_957152
    了解作者
  • 284.3KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-28 08:06
    上传日期
C# 中的应用程序旨在通过 .hi 文件或 .nv 文件读取和写入在 MAME 中创建的高分并以文本格式显示。
HiToText.zip
  • HiToText.xml
    393.3KB
  • HiToText.exe
    853KB
内容介绍
<?xml version="1.0" encoding="utf-8"?> <HiToText> <Entry> <Header> <Games> <Name>005</Name> </Games> <Fields> <Name>RANK</Name> <Name>SCORE</Name> </Fields> <Extensions> <Name>.hi</Name> </Extensions> </Header> <FileStructure> <Mapping NumberOfBlocks="1" Ordering="None"> <Entry Name="Header" Length="1"/> </Mapping> <Mapping NumberOfBlocks="5" Ordering="Ascending"> <Entry Name="Score" Length="2"/> </Mapping> </FileStructure> <SetStructure> <FieldName Name="Score" FieldType="int" ConversionType="IntToByteArrayHex" ExternalWrapper="ReverseByteArray" Position="1"> <SpecialUtilization>EmptyScores</SpecialUtilization> <SpecialUtilization>IsAdjusted</SpecialUtilization> <SpecialUtilization Function="Reversed">DetermineRank</SpecialUtilization> <SpecialUtilization Function="/10">IncomingModified</SpecialUtilization> </FieldName> </SetStructure> <DisplayStructure> <FieldName Name="Rank" ConversionType="CannedDisplay.AscendingFrom1"/> <FieldName Name="Score" ConversionType="Reversed" Operator="*10"/> </DisplayStructure> </Entry> <Entry> <Header> <Games> <Name>10yard</Name> <Name>10yardj</Name> <Name>10yard85</Name> <Name>vs10yard</Name> <Name>vs10yardj</Name> <Name>vs10yardu</Name> <Name>vs10yarj</Name> <!-- Old name --> <Name>yard</Name> <!-- Old name --> <Name>vsyard</Name> <!-- Old name --> <Name>vsyard2</Name> <!-- Old name --> </Games> <Fields> <Name>RANK</Name> <Name>SCORE</Name> <Name>NAME</Name> </Fields> <Extensions> <Name>.hi</Name> </Extensions> <TextParameters> <Formats> <Name>NeedsSpecialMapping</Name> <Name>ASCIIStandard</Name> </Formats> <SpecialMapping> <Map Char="." Byte="0x5b"/> <Map Char=" " Byte="0x5c"/> </SpecialMapping> </TextParameters> </Header> <FileStructure> <Mapping NumberOfBlocks="23" Ordering="Ascending"> <Entry Name="Score" Length="3"/> <Entry Name="Name" Length="3"/> </Mapping> <Mapping NumberOfBlocks="1" Ordering="None"> <Entry Name="HiScore" Length="3"/> </Mapping> </FileStructure> <SetStructure> <FieldName Name="Score" FieldType="int" ConversionType="IntToByteArrayHex" ExternalWrapper="ReverseByteArray" Position="1"> <SpecialUtilization>EmptyScores</SpecialUtilization> <SpecialUtilization>IsAdjusted</SpecialUtilization> <SpecialUtilization Function="Reversed">DetermineRank</SpecialUtilization> </FieldName> <FieldName Name="Name" FieldType="string" ConversionType="Name" Position="2"> <SpecialUtilization>ModifyName</SpecialUtilization> <SpecialUtilization>IsAdjusted</SpecialUtilization> </FieldName> <FieldName Name="HiScore" FieldType="int" ConversionType="IntToByteArrayHex" ExternalWrapper="ReverseByteArray" Position="1"> <SpecialUtilization>EmptyScores</SpecialUtilization> <SpecialUtilization>IsHiScore</SpecialUtilization> </FieldName> </SetStructure> <DisplayStructure NumOfDisplayedEntries="10"> <FieldName Name="Rank" ConversionType="CannedDisplay.AscendingFrom1"/> <FieldName Name="Score" ConversionType="Reversed"/> <FieldName Name="Name" ConversionType="Name"/> </DisplayStructure> </Entry> <Entry> <Header> <Games> <Name>1941</Name> <Name>1941j</Name> </Games> <Fields> <Name>RANK</Name> <Name>SCORE</Name> <Name>NAME</Name> <Name>RANK DISPLAY</Name> </Fields> <Extensions> <Name>.hi</Name> </Extensions> <TextParameters> <Formats> <Name>ASCIIStandard</Name> </Formats> <SwitchMaps> <SwitchMap Name="RankDisplay" DefaultOne="0x00" DefaultMany="SECOND LIEUTENANT"> <Mapping One="0x01" Many="FIRST LIEUTENANT"/> <Mapping One="0x02" Many="CAPTAIN"/> <Mapping One="0x03" Many="MAJOR"/> <Mapping One="0x04" Many="LIEUTENANT COLONEL"/> <Mapping One="0x05" Many="COLONEL"/> <Mapping One="0x06" Many="6"/> <Mapping One="0x07" Many="7"/> </SwitchMap> </SwitchMaps> </TextParameters> </Header> <FileStructure> <Mapping NumberOfBlocks="1" Ordering="None"> <Entry Name="Pointers" Length="40"/> </Mapping> <Mapping NumberOfBlocks="10" Ordering="Ascending"> <Entry Name="Score" Length="4"/> <Entry Name="Name" Length="3"/> <Entry Name="RankDisplay" Length="1"/> </Mapping> <Mapping NumberOfBlocks="1" Ordering="None"> <Entry Name="HiScore" Length="4"/> </Mapping> </FileStructure> <SetStructure> <FieldName Name="Score" FieldType="int" ConversionType="IntToByteArrayHex" Position="1"> <SpecialUtilization>EmptyScores</SpecialUtilization> <SpecialUtilization>IsAdjusted</SpecialUtilization> <SpecialUtilization Function="Standard">DetermineRank</SpecialUtilization> </FieldName> <FieldName Name="Name" FieldType="string" ConversionType="Name" Position="2"> <SpecialUtilization>ModifyName</SpecialUtilization> <SpecialUtilization>IsAdjusted</SpecialUtilization> </FieldName> <FieldName Name="RankDisplay" FieldType="string" ConversionType="Switch" Position="3"> <SpecialUtilization>IsAdjusted</SpecialUtilization> </FieldName> <FieldName Name="HiScore" FieldType="int" ConversionType="IntToByteArrayHex" Position="1"> <SpecialUtilization>EmptyScores</SpecialUtilization> <SpecialUtilization>IsHiScore</SpecialUtilization> </FieldName> </SetStructure> <DisplayStructure NumOfDisplayedEntries="5"> <FieldName Name="Rank" ConversionType="CannedDisplay.AscendingFrom1"/> <FieldName Name="Score" ConversionType="Standard"/> <FieldName Name="Name" ConversionType="Name"/> <FieldName Name="RankDisplay" ConversionType="Switch"/> </DisplayStructure> </Entry> <Entry> <Header> <Games> <Name>1943</Name> <Name>1943j</Name> <Name>1943u</Name> <Name>1943kai</Name> </Games> <Fields> <Name>RANK</Name> <Name>SCORE</Name> <Name>NAME</Name> </Fields> <Extensions> <Name>.hi</Name> </Extensions> <TextParameters> <Formats> <Name>NeedsSpecialMapping</Name> <Name>ASCIIUpper</Name> <Name>ASCIINumbers</Name> </Formats> <Offsets> <Offset Type="Upper" StartByte="0x0a"/> <Offset Type="Numbers" StartByte="0x00"/> </Offsets> <SpecialMapping> <Map Char=" " Byte="0x24"/> <Map Char="." Byte="0x2b"/> <Map Char=":" Byte="0x2c"/> <Map Char="&amp;" Byte="0x3a"/> <Map Char="♥" Byte="0x62"/> <Map Char="★" Byte="0x64"/> <Map Char="!" Byte="0x66"/> </SpecialMapping> </TextParameters> </Header> <FileStructure> <Mapping NumberOfBlocks="6" Ordering="Ascending"> <Entry Name="Score" Length="8"/> <Entry Name="Name" Length="3"/> <Entry Name="Separator" Length="5"/> </Mapping> <Mapping NumberOfBlocks="1" Ordering="None"> <Entry Name="HiScoreInvisible" Length="8"/> <Entry Name="HiScoreDisplayed" Length="8"/> </Mapping> </FileStructure> <SetStructure>
评论
    相关推荐
    • c#点歌系统
      c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统c#点歌系统...
    • C#記事本
      C#記事本源代碼 C#記事本源代碼 C#記事本源代碼
    • C#时钟
      C#时钟C#时钟C#时钟C#时钟C#时钟C#时钟C#时钟
    • Effective C#
      Effective C#. Effective C#.
    • c# splashsreen
      c# splashsreen c# splashsreen c# splashsreen c# splashsreen c# splashsreen c# splashsreen
    • c# SmartGridView
      c# SmartGridView c# SmartGridView
    • C# VistaButton
      C# VistaButto,C# button控件
    • c# splashsreen
      c# splashsreen c# splashsreen c# splashsreen c# splashsreen c# splashsreen
    • c# DotNetBar
      c# DotNetBar.rar c# DotNetBar.rar
    • C# 教程
      C#教程》以Microsoft Visual Studio 2008作为操作平台,包含教程、练习、实验部分。教程部分首先熟悉开发环境,然后比较系统地介绍C#语言基础、C#面向对象编程基础和C#面向对象编程进阶;在此基础上系统介绍...