Caption = "Generic Header Creator 3.00 for vgmstream"
ClientHeight = 8940
ClientLeft = 0
ClientTop = 0
ClientWidth = 13110
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 596
ScaleMode = 3 'Pixel
ScaleWidth = 874
StartUpPosition = 1 'Fenstermitte
Begin VB.TextBox txtInputFile
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 285
Left = 120
Locked = -1 'True
TabIndex = 95
Top = 10320
Width = 4095
End
Begin VB.TextBox txtLoopEndCut
Appearance = 0 '2D
Height = 285
Left = 6000
TabIndex = 93
Top = 11040
Width = 2055
End
Begin VB.TextBox txtGetFileName
Appearance = 0 '2D
Height = 285
Left = 3960
TabIndex = 92
Top = 10680
Width = 4095
End
Begin VB.TextBox txtLoopStartCut
Appearance = 0 '2D
Height = 285
Left = 3960
TabIndex = 91
Top = 11040
Width = 2055
End
Begin VB.Frame frmEDITOR
BackColor = &H00B8B8B8&
Caption = "Editor:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 2640
TabIndex = 61
Top = 10680
Width = 1215
Begin VB.Frame Frame4
BackColor = &H00B8B8B8&
Caption = "File:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 6135
Left = 360
TabIndex = 83
Top = 240
Width = 4335
Begin VB.TextBox txtInputFileLengthEditor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Enabled = 0 'False
Height = 285
Left = 3000
TabIndex = 87
Top = 840
Width = 1215
End
Begin VB.TextBox txtInputFileEditor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Enabled = 0 'False
Height = 285
Left = 120
TabIndex = 86
Top = 840
Width = 2775
End
Begin VB.FileListBox File2
Appearance = 0 '2D
BackColor = &H00E0E0E0&
ForeColor = &H00800000&
Height = 4320
Left = 120
Pattern = "*.GENH"
TabIndex = 85
Top = 1200
Width = 4095
End
Begin VB.CommandButton cmdSaveEditor
Caption = "Save Changes"
Height = 375
Left = 120
TabIndex = 84
Top = 5640
Width = 4095
End
Begin CK_Tools.FolderBrowser FolderBrowser1Editor
Height = 285
Left = 120
TabIndex = 88
Top = 240
Width = 4080
_ExtentX = 7197
_ExtentY = 503
BackColor = 14737632
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label7
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "File Length:"
ForeColor = &H00800000&
Height = 195
Left = 3000
TabIndex = 90
Top = 600
Width = 825
End
Begin VB.Label Label8
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Input File Name:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 89
Top = 600
Width = 1155
End
End
Begin VB.Frame Frame6
BackColor = &H00B8B8B8&
Caption = "Format:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 1575
Left = 4560
TabIndex = 79
Top = 240
Width = 4695
Begin VB.ComboBox comboFileFormatEditor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":0000
Left = 120
List = "Form1.frx":0028
TabIndex = 80
Top = 480
Width = 4455
End
Begin VB.Label Label9
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "File Format:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 82
Top = 240
Width = 810
End
Begin VB.Label lblERROREditor
Alignment = 2 'Zentriert
BackStyle = 0 'Transparent
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 120
TabIndex = 81
Top = 960
Width = 4485
End
End
Begin VB.Frame Frame7
BackColor = &H00B8B8B8&
Caption = "Options:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 4455
Left = 4560
TabIndex = 62
Top = 1920
Width = 4695
Begin VB.ComboBox txtGENHFrequencyEditor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":01A0
Left = 2520
List = "Form1.frx":01C5
TabIndex = 70
Top = 2520
Width = 1935
End
Begin VB.ComboBox txtGENHInterleaveEditor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":0215
Left = 2520
List = "Form1.frx":0246
TabIndex = 69
Top = 1920
Width = 1935
End
Begin VB.ComboBox txtGENHHeaderSkipEditor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":029D
Left = 360
List = "Form1.frx":02C8
TabIndex = 68
Top = 1920
Width = 1935
End
Begin VB.TextBox txtGENHLoopStartSamplesEditor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 315
Left = 360
TabIndex = 67
Top = 3360
Width = 1935
End
Begin VB.TextBox txtGENHLoopEndSamplesEditor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 315
Left = 2520
TabIndex = 66
Top = 3360
Width = 1935
End
Begin VB.ComboBox txtGENHChannelsEditor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":030D
Left = 360
List = "Form1.frx":0329
TabIndex = 65
Top = 2520
Width = 1935
End
Begin VB.TextBox txtEmbeddedFileEditor
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 285
Left = 360
Locked = -1 'True
TabIndex = 64
Top = 1200
Width = 4095
End
Begin VB.TextBox txtGENHVersionEditor
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 285
Left = 360
Locked = -1 'True
TabIndex = 63
Top = 600
Width = 4095
End
Begin VB.Label Label12
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Header Skip:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 78
Top = 1680
Width = 930
End
Begin VB.Label Label13
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Loop End (Samples):"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 77
Top = 3120
Width = 1470
End
Begin VB.Label Label14
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Loop Start (Samples):"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 76
Top = 3120
Width = 1515
End
Begin VB.Label Label15
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Frequency:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 75
Top = 2280
Width = 795
End
Begin VB.Label Label16
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Interleave:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 74
Top = 1680
Width = 750
End
Begin VB.Label Label17
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Channels:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 73
Top = 2280
Width = 705
End
Begin VB.Label Label18
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Embedded File:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 72
Top = 960
Width = 1095
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "GENH Version:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 71
Top = 360
Width = 1080
End
End
End
Begin VB.Frame frmExtractor
BackColor = &H00B8B8B8&
Caption = "Extractor:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 2640
TabIndex = 29
Top = 11040
Width = 1215
Begin VB.Frame Frame8
BackColor = &H00B8B8B8&
Caption = "File:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 6135
Left = 120
TabIndex = 53
Top = 240
Width = 4335
Begin VB.CommandButton cmdExtractEmbeddedFile
Caption = "Extract Embedded File"
Height = 375
Left = 120
TabIndex = 57
Top = 5640
Width = 4095
End
Begin VB.FileListBox File3
Appearance = 0 '2D
BackColor = &H00E0E0E0&
ForeColor = &H00800000&
Height = 4320
Left = 120
Pattern = "*.GENH"
TabIndex = 56
Top = 1200
Width = 4095
End
Begin VB.TextBox txtInputFileExtractor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Enabled = 0 'False
Height = 285
Left = 120
TabIndex = 55
Top = 840
Width = 2775
End
Begin VB.TextBox txtInputFileLengthExtractor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Enabled = 0 'False
Height = 285
Left = 3000
TabIndex = 54
Top = 840
Width = 1215
End
Begin CK_Tools.FolderBrowser FolderBrowser1Extractor
Height = 285
Left = 120
TabIndex = 58
Top = 240
Width = 4080
_ExtentX = 7197
_ExtentY = 503
BackColor = 14737632
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label10
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Input File Name:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 60
Top = 600
Width = 1155
End
Begin VB.Label Label11
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "File Length:"
ForeColor = &H00800000&
Height = 195
Left = 3000
TabIndex = 59
Top = 600
Width = 825
End
End
Begin VB.Frame Frame9
BackColor = &H00B8B8B8&
Caption = "Options:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 4455
Left = 4560
TabIndex = 34
Top = 1920
Width = 4695
Begin VB.TextBox txtGENHVersionExtractor
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 285
Left = 360
Locked = -1 'True
TabIndex = 43
Top = 600
Width = 4095
End
Begin VB.TextBox txtEmbeddedFileExtractor
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 285
Left = 360
TabIndex = 42
Top = 1200
Width = 4095
End
Begin VB.ComboBox txtGENHChannelsExtractor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":0345
Left = 360
List = "Form1.frx":0361
TabIndex = 41
Top = 3120
Width = 1935
End
Begin VB.TextBox txtGENHLoopEndSamplesExtractor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 315
Left = 2520
TabIndex = 40
Top = 3960
Width = 1935
End
Begin VB.TextBox txtGENHLoopStartSamplesExtractor
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 315
Left = 360
TabIndex = 39
Top = 3960
Width = 1935
End
Begin VB.ComboBox txtGENHHeaderSkipExtractor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":037D
Left = 360
List = "Form1.frx":03A8
TabIndex = 38
Top = 2520
Width = 1935
End
Begin VB.ComboBox txtGENHInterleaveExtractor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":03ED
Left = 2520
List = "Form1.frx":041E
TabIndex = 37
Top = 2520
Width = 1935
End
Begin VB.ComboBox txtGENHFrequencyExtractor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":0475
Left = 2520
List = "Form1.frx":049A
TabIndex = 36
Top = 3120
Width = 1935
End
Begin VB.TextBox txtExtractLengthExtractor
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00E0E0E0&
Height = 285
Left = 360
Locked = -1 'True
TabIndex = 35
Top = 1800
Width = 4095
End
Begin VB.Label Label19
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "GENH Version:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 52
Top = 360
Width = 1080
End
Begin VB.Label Label20
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Embedded File:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 51
Top = 960
Width = 1095
End
Begin VB.Label Label21
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Channels:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 50
Top = 2880
Width = 705
End
Begin VB.Label Label22
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Interleave:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 49
Top = 2280
Width = 750
End
Begin VB.Label Label23
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Frequency:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 48
Top = 2880
Width = 795
End
Begin VB.Label Label24
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Loop Start (Samples):"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 47
Top = 3720
Width = 1515
End
Begin VB.Label Label25
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Loop End (Samples):"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 46
Top = 3720
Width = 1470
End
Begin VB.Label Label26
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Header Skip:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 45
Top = 2280
Width = 930
End
Begin VB.Label Label27
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Extract Length (Bytes):"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 44
Top = 1560
Width = 1605
End
End
Begin VB.Frame Frame10
BackColor = &H00B8B8B8&
Caption = "Format:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 1575
Left = 4560
TabIndex = 30
Top = 240
Width = 4695
Begin VB.ComboBox comboFileFormatExtractor
BackColor = &H00E0E0E0&
Height = 315
ItemData = "Form1.frx":04EA
Left = 120
List = "Form1.frx":0512
TabIndex = 31
Top = 480
Width = 4455
End
Begin VB.Label lblERRORExtractor
Alignment = 2 'Zentriert
BackStyle = 0 'Transparent
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 120
TabIndex = 33
Top = 960
Width = 4485
End
Begin VB.Label Label28
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "File Format:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 32
Top = 240
Width = 810
End
End
End
Begin VB.Frame frmCREATOR
BackColor = &H00B8B8B8&
Caption = "Creator:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 8295
Left = 120
TabIndex = 3
Top = 480
Width = 12855
Begin VB.Frame frmSpecialOptionsPSX
BackColor = &H00B8B8B8&
Caption = "Special Options (PSX/PS2):"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 1935
Left = 9720
TabIndex = 120
Top = 1920
Visible = 0 'False
Width = 3015
Begin VB.CommandButton cmdFIndLoopsPSX
Caption = "Find Loops"
Height = 255
Left = 120
TabIndex = 122
Top = 720
Width = 2775
End
Begin VB.CommandButton cmdFindInterleavePSX
Caption = "Find Interleave"
Height = 255
Left = 120
TabIndex = 121
Top = 360
Width = 2775
End
End
Begin VB.CheckBox chkHalfFileInterleave
BackColor = &H00B8B8B8&
Caption = "Half File Interleave (SPSD only?)"
ForeColor = &H00800000&
Height = 255
Left = 9840
TabIndex = 116
Top = 4440
Visible = 0 'False
Width = 2775
End
Begin VB.Frame frmLoopCalculation
BackColor = &H00B8B8B8&
Caption = "Loop Calculation"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 3135
Left = 4560
TabIndex = 104
Top = 3960
Width = 5055
Begin VB.TextBox txtGENHLoopStartSamples
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 315
Left = 240
TabIndex = 108
Top = 480
Width = 1455
End
Begin VB.TextBox txtGENHLoopEndSamples
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 315
Left = 240
TabIndex = 107
Top = 1200
Width = 1455
End
Begin VB.TextBox txtGENHLoopEnd
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 315
Left = 1800
TabIndex = 106
Top = 1200
Width = 1455
End
Begin VB.TextBox txtGENHLoopStart
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 315
Left = 1800
TabIndex = 105
Top = 480
Width = 1455
End
Begin VB.Label lblUseFileEnd
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Use File End"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 195
Left = 2040
TabIndex = 115
Top = 1920
Width = 1095
End
Begin VB.Label lblLoopEndToSamples_Click
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Calculate"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 195
Left = 3720
TabIndex = 114
Top = 1280
Width = 810
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Calculate"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 195
Left = 3720
TabIndex = 113
Top = 560
Width = 810
End
Begin VB.Label Label3
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Loop End (Bytes):"
ForeColor = &H00800000&
Height = 195
Left = 1800
TabIndex = 112
Top = 960
Width = 1260
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Loop Start (Bytes):"
ForeColor = &H00800000&
Height = 195
Left = 1800
TabIndex = 111
Top = 240
Width = 1305
End
Begin VB.Label lblGENHLoopEnd
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Loop End:"
ForeColor = &H00800000&
Height = 195
Left = 240
TabIndex = 110
Top = 960
Width = 735
End
Begin VB.Label lblGENHLoopStart
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Loop Start:"
ForeColor = &H00800000&
Height = 195
Left = 240
TabIndex = 109
Top = 240
Width = 780
End
Begin VB.Image cmdUSEFILEEND
Height = 375
Left = 480
Top = 1800
Width = 4095
End
Begin VB.Image cmdLoopStartToSamples
Height = 315
Left = 3360
Picture = "Form1.frx":068A
Top = 480
Width = 1455
End
Begin VB.Image cmdLoopEndToSamples
Height = 315
Left = 3360
Picture = "Form1.frx":1EC0
Top = 1200
Width = 1455
End
End
Begin VB.CommandButton cmdCreateFormatList
Caption = "Create format list (dev only)"
Height = 255
Left = 9960
TabIndex = 100
Top = 7800
Visible = 0 'False
Width = 2655
End
Begin VB.Frame frmSpecialOptionsGameCube
BackColor = &H00B8B8B8&
Caption = "Special Options (GameCube):"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 2415
Left = 9720
TabIndex = 99
Top = 1920
Visible = 0 'False
Width = 3015
Begin VB.TextBox txtDSPCoef1
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 285
Left = 120
TabIndex = 103
Text = "0"
Top = 720
Width = 1335
End
Begin VB.TextBox txtDSPCoef2
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 285
Left = 1560
TabIndex = 102
Text = "0"
Top = 720
Width = 1335
End
Begin VB.CheckBox chkCapcomHack
BackColor = &H00B8B8B8&
Caption = "Capcom Hack"
ForeColor = &H00800000&
Height = 255
Left = 120
TabIndex = 101
Top = 1080
Width = 2775
End
Begin VB.Label Label31
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Right Channel:"
ForeColor = &H00800000&
Height = 195
Left = 1560
TabIndex = 119
Top = 480
Width = 1050
End
Begin VB.Label Label30
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "Left Channel:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 118
Top = 480
Width = 945
End
Begin VB.Label Label29
AutoSize = -1 'True
BackColor = &H00B8B8B8&
Caption = "coefficients offsets:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 117
Top = 240
Width = 1365
End
End
Begin VB.Frame frmINFO
Caption = "Info and Help:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 615
Left = 120
TabIndex = 97
Top = 7560
Width = 9495
Begin VB.Label lblINFO
BackColor = &H00FFFFFF&
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 120
TabIndex = 98
Top = 240
Width = 9255
End
End
Begin VB.Frame frmOptionsCreator
BackColor = &H00B8B8B8&
Caption = "Options:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 1935
Left = 4560
TabIndex = 18
Top = 1920
Width = 5055
Begin VB.ComboBox txtGENHChannels
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":36F6
Left = 360
List = "Form1.frx":3712
TabIndex = 22
Top = 1080
Width = 1935
End
Begin VB.ComboBox txtGENHHeaderSkip
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":372E
Left = 360
List = "Form1.frx":3759
TabIndex = 21
ToolTipText = "Set here the offset where the BGM data starts..."
Top = 480
Width = 1935
End
Begin VB.ComboBox txtGENHInterleave
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":379E
Left = 2520
List = "Form1.frx":37CF
TabIndex = 20
Top = 480
Width = 1935
End
Begin VB.ComboBox txtGENHFrequency
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":3826
Left = 2520
List = "Form1.frx":384B
TabIndex = 19
Top = 1080
Width = 1935
End
Begin VB.Label lblGENHChannels
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Channels:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 26
Top = 840
Width = 705
End
Begin VB.Label lblGENHInterleave
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Interleave:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 25
Top = 240
Width = 750
End
Begin VB.Label lblGENHFrequency
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Frequency:"
ForeColor = &H00800000&
Height = 195
Left = 2520
TabIndex = 24
Top = 840
Width = 795
End
Begin VB.Label lblHeaderSkip
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Header Skip:"
ForeColor = &H00800000&
Height = 195
Left = 360
TabIndex = 23
Top = 240
Width = 930
End
End
Begin VB.Frame frmFileCreator
BackColor = &H00B8B8B8&
Caption = "File:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 7215
Left = 120
TabIndex = 9
Top = 240
Width = 4335
Begin VB.FileListBox File1
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 3735
Left = 120
TabIndex = 28
Top = 1800
Width = 4095
End
Begin VB.TextBox txtInputFileLength
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 285
Left = 120
Locked = -1 'True
TabIndex = 14
Top = 1440
Width = 1935
End
Begin VB.TextBox txtOutputFile
Appearance = 0 '2D
BackColor = &H00C0C0C0&
Height = 285
Left = 120
TabIndex = 13
Top = 840
Width = 4095
End
Begin VB.CheckBox chkCreateOnlyHeader
BackColor = &H00B8B8B8&
Caption = "Create only Header"
ForeColor = &H00800000&
Height = 255
Left = 120
TabIndex = 12
Top = 6360
Width = 1695
End
Begin VB.CheckBox chkProcessWholeList
BackColor = &H00B8B8B8&
Caption = "Process Whole List"
ForeColor = &H00800000&
Height = 255
Left = 120
TabIndex = 11
Top = 6120
Width = 1815
End
Begin VB.TextBox txtFilter
Alignment = 2 'Zentriert
Appearance = 0 '2D
BackColor = &H00C0C0C0&
ForeColor = &H00800000&
Height = 285
Left = 2160
TabIndex = 10
Text = "*.*"
Top = 1440
Width = 2055
End
Begin CK_Tools.FolderBrowser FolderBrowser1
Height = 285
Left = 120
TabIndex = 15
Top = 240
Width = 4080
_ExtentX = 7197
_ExtentY = 503
BackColor = 12632256
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label lblCreateGenh
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Create Generic Header"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 195
Left = 1080
TabIndex = 94
Top = 6820
Width = 1965
End
Begin VB.Image cmdCreateGENH
Height = 390
Left = 120
Top = 6720
Width = 4095
End
Begin VB.Label lblFilterCreator
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Filter:"
ForeColor = &H00800000&
Height = 195
Left = 2160
TabIndex = 27
Top = 1200
Width = 375
End
Begin VB.Label lblInputFileLength
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "File Length:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 17
Top = 1200
Width = 825
End
Begin VB.Label lblOutputFileNameCreator
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Output File Name:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 16
Top = 600
Width = 1275
End
End
Begin VB.Frame frmFormatCreator
BackColor = &H00B8B8B8&
Caption = "Format:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 1575
Left = 4560
TabIndex = 4
Top = 240
Width = 8175
Begin VB.ComboBox comboFileFormat
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":389B
Left = 120
List = "Form1.frx":38CC
TabIndex = 6
Top = 480
Width = 7935
End
Begin VB.ComboBox ComboPresets
BackColor = &H00C0C0C0&
Height = 315
ItemData = "Form1.frx":3AD7
Left = 120
List = "Form1.frx":3AE7
TabIndex = 5
Top = 1080
Width = 7935
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "File Format:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 8
Top = 240
Width = 810
End
Begin VB.Label Label4
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Presets:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 7
Top = 840
Width = 570
End
End
End
Begin VB.PictureBox imgEXITNORMAL
AutoSize = -1 'True
BorderStyle = 0 'Kein
Height = 285
Left = 1800
Picture = "Form1.frx":3BAD
ScaleHeight = 285
ScaleWidth = 285
TabIndex = 2
Top = 10680
Visible = 0 'False
Width = 285
End
Begin VB.PictureBox imgEXITOVER
AutoSize = -1 'True
BorderStyle = 0 'Kein
Height = 285
Left = 2160
Picture = "Form1.frx":416B
ScaleHeight = 285
ScaleWidth = 285
TabIndex = 1
Top = 10680
Visible = 0 'False
Width = 285
End
Begin VB.PictureBox imgEXIT
BorderStyle = 0 'Kein
Height = 285
Left = 1440
Picture = "Form1.frx":4729
ScaleHeight = 285
ScaleWidth = 285
TabIndex = 0
Top = 10680
Width = 285
End
Begin VB.Label lblInputFileNameCreator
AutoSize = -1 'True
BackColor = &H00B8B8B8&
BackStyle = 0 'Transparent
Caption = "Input File Name:"
ForeColor = &H00800000&
Height = 195
Left = 120
TabIndex = 96
Top = 10080
Width = 1155
End
Begin VB.Image imgMINIMIZE
Height = 285
Left = 1440
Picture = "Form1.frx":5405
Top = 11040
Width = 285
End
Begin VB.Image imgMINIMIZEOVER
Height = 285
Left = 2160
Picture = "Form1.frx":59C3
Top = 11040
Width = 285
End
Begin VB.Image imgMINIMIZENORMAL
Height = 285
Left = 1800
Picture = "Form1.frx":5F81
Top = 11040
Width = 285
End
Begin VB.Image btnOVER
Height = 390
Left = 8160
Picture = "Form1.frx":653F
Top = 10920
Width = 4095
End
Begin VB.Image btnNormal
Height = 390
Left = 8160
Picture = "Form1.frx":B8C9
Top = 10560
Width = 4095
End
Begin VB.Image picBOTTOM
Height = 75
Left = 720
Picture = "Form1.frx":10C53
Stretch = -1 'True
Top = 11280
Width = 15
End
Begin VB.Image picRIGHTD
Height = 165
Left = 1200
Picture = "Form1.frx":110A9
Top = 11280
Width = 75
End
Begin VB.Image picRIGHTM
Height = 15
Left = 1200
Picture = "Form1.frx":11543
Stretch = -1 'True
Top = 11160
Width = 75
End
Begin VB.Image picRIGHTU
Height = 390
Left = 1200
Picture = "Form1.frx":1198D
Top = 10680
Width = 75
End
Begin VB.Image picLEFTD
Height = 165
Left = 120
Picture = "Form1.frx":11E9F
Top = 11280
Width = 75
End
Begin VB.Image picLEFTM
Height = 15
Left = 120
Picture = "Form1.frx":12339
Stretch = -1 'True
Top = 11160
Width = 75
End
Begin VB.Image picLEFTU
Height = 390
Left = 120
Picture = "Form1.frx":12783
Top = 10680
Width = 75
End
Begin VB.Image picTOPR
Height = 390
Left = 840
Picture = "Form1.frx":12C95
Top = 10680
Width = 90
End
Begin VB.Image picTOPM
Height = 390
Left = 720
Picture = "Form1.frx":131A7
Stretch = -1 'True
Top = 10680
Width = 15
End
Begin VB.Image picTOPL
Height = 390
Left = 480
Picture = "Form1.frx":13651
Top = 10680
Width = 90
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'setting up the skin-feature
Private Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Private Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
Private Declare Function CombineRgn Lib "gdi32" (ByVal hDestRgn As Long, ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long, ByVal nCombineMode As Long) As Long
Private Declare Function SetWindowRgn Lib "User32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Private Declare Function ReleaseCapture Lib "User32" () As Long
Private Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_NCLBUTTONDOWN = &HA1
Private Const HTCAPTION = 2
Private Const RGN_OR = 2
'For Big Endian reading
Dim START_BYTE As Long
Dim TEMP_BYTE1 As Byte
Dim TEMP_BYTE2 As Byte
Dim TEMP_BYTE3 As Byte
Dim TEMP_BYTE4 As Byte
Dim TEMP_LONG1 As Long
Dim TEMP_LONG2 As Long
Dim TEMP_LONG3 As Long
Dim TEMP_LONG4 As Long
Dim Calculated_Value As Long
'setting up main variables for reading/ exporting, etc