Add files via upload
This commit is contained in:
parent
26ae99584a
commit
b2b0ab0b1e
|
@ -69,6 +69,9 @@
|
|||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.Title = new System.Windows.Forms.TextBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.Karoshi = new System.Windows.Forms.RadioButton();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.GreenTechPlus = new System.Windows.Forms.RadioButton();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
|
@ -132,7 +135,7 @@
|
|||
this.groupBox1.Controls.Add(this.label2);
|
||||
this.groupBox1.Controls.Add(this.LBumper);
|
||||
this.groupBox1.ForeColor = System.Drawing.Color.Cyan;
|
||||
this.groupBox1.Location = new System.Drawing.Point(194, 197);
|
||||
this.groupBox1.Location = new System.Drawing.Point(190, 215);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(356, 252);
|
||||
this.groupBox1.TabIndex = 3;
|
||||
|
@ -409,7 +412,7 @@
|
|||
//
|
||||
this.BuildISO.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.BuildISO.ForeColor = System.Drawing.Color.Lime;
|
||||
this.BuildISO.Location = new System.Drawing.Point(190, 455);
|
||||
this.BuildISO.Location = new System.Drawing.Point(190, 473);
|
||||
this.BuildISO.Name = "BuildISO";
|
||||
this.BuildISO.Size = new System.Drawing.Size(356, 23);
|
||||
this.BuildISO.TabIndex = 7;
|
||||
|
@ -535,20 +538,57 @@
|
|||
//
|
||||
this.pictureBox1.BackgroundImage = global::ChovyUI.Properties.Resources.psmkun;
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(10, 8);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(160, 473);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(160, 488);
|
||||
this.pictureBox1.TabIndex = 18;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// Karoshi
|
||||
//
|
||||
this.Karoshi.AutoSize = true;
|
||||
this.Karoshi.ForeColor = System.Drawing.Color.Lime;
|
||||
this.Karoshi.Location = new System.Drawing.Point(407, 192);
|
||||
this.Karoshi.Name = "Karoshi";
|
||||
this.Karoshi.Size = new System.Drawing.Size(60, 17);
|
||||
this.Karoshi.TabIndex = 19;
|
||||
this.Karoshi.TabStop = true;
|
||||
this.Karoshi.Text = "Karoshi";
|
||||
this.Karoshi.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.ForeColor = System.Drawing.Color.Lime;
|
||||
this.label19.Location = new System.Drawing.Point(332, 194);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(69, 13);
|
||||
this.label19.TabIndex = 20;
|
||||
this.label19.Text = "PSP Runner:";
|
||||
//
|
||||
// GreenTechPlus
|
||||
//
|
||||
this.GreenTechPlus.AutoSize = true;
|
||||
this.GreenTechPlus.ForeColor = System.Drawing.Color.Lime;
|
||||
this.GreenTechPlus.Location = new System.Drawing.Point(467, 192);
|
||||
this.GreenTechPlus.Name = "GreenTechPlus";
|
||||
this.GreenTechPlus.Size = new System.Drawing.Size(85, 17);
|
||||
this.GreenTechPlus.TabIndex = 21;
|
||||
this.GreenTechPlus.TabStop = true;
|
||||
this.GreenTechPlus.Text = "GreenTech+";
|
||||
this.GreenTechPlus.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ChovyUI
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.ClientSize = new System.Drawing.Size(569, 494);
|
||||
this.ClientSize = new System.Drawing.Size(564, 504);
|
||||
this.Controls.Add(this.GreenTechPlus);
|
||||
this.Controls.Add(this.label19);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.Title);
|
||||
this.Controls.Add(this.Karoshi);
|
||||
this.Controls.Add(this.label18);
|
||||
this.Controls.Add(this.TitleId);
|
||||
this.Controls.Add(this.label17);
|
||||
|
@ -620,5 +660,8 @@
|
|||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.TextBox Title;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.RadioButton Karoshi;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.RadioButton GreenTechPlus;
|
||||
}
|
||||
}
|
34
ChovyUI.cs
34
ChovyUI.cs
|
@ -42,6 +42,18 @@ namespace ChovyUI
|
|||
|
||||
SelectButton.Text = key.GetValue("SCE_CTRL_SELECT", SelectButton.Text.ToUpper()).ToString();
|
||||
StartButton.Text = key.GetValue("SCE_CTRL_START", StartButton.Text.ToUpper()).ToString();
|
||||
|
||||
string Runner = key.GetValue("RUNNER", "KAROSHI").ToString();
|
||||
if(Runner == "GREENTECHPLUS")
|
||||
{
|
||||
GreenTechPlus.Checked = true;
|
||||
Karoshi.Checked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
GreenTechPlus.Checked = false;
|
||||
Karoshi.Checked = true;
|
||||
}
|
||||
key.Close();
|
||||
}
|
||||
catch (Exception) { };
|
||||
|
@ -76,7 +88,7 @@ namespace ChovyUI
|
|||
private void Browse_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Filter = "GameMaker 7/8/8.1 Executable files (*.exe)|*.exe;";
|
||||
openFileDialog.Filter = "GameMaker 8/8.1 Executable files (*.exe)|*.exe;";
|
||||
openFileDialog.FilterIndex = 1;
|
||||
openFileDialog.RestoreDirectory = true;
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
|
@ -126,6 +138,17 @@ namespace ChovyUI
|
|||
}
|
||||
CopyDirTree(Path.Combine(Application.StartupPath, "RUNNER"), InputFolder);
|
||||
|
||||
if(GreenTechPlus.Checked)
|
||||
{
|
||||
File.Delete(Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "KAROSHI.BIN"));
|
||||
File.Move(Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "GREENTECHPLUS.BIN"), Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "EBOOT.BIN"));
|
||||
}
|
||||
else
|
||||
{
|
||||
File.Delete(Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "GREENTECHPLUS.BIN"));
|
||||
File.Move(Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "KAROSHI.BIN"), Path.Combine(InputFolder, "PSP_GAME", "SYSDIR", "EBOOT.BIN"));
|
||||
}
|
||||
|
||||
//Write to PARAM.SFO:
|
||||
FileStream sfo = new FileStream(Path.Combine(InputFolder, "PSP_GAME", "PARAM.SFO"),FileMode.OpenOrCreate,FileAccess.ReadWrite);
|
||||
sfo.Seek(0x128, SeekOrigin.Begin);
|
||||
|
@ -308,6 +331,15 @@ namespace ChovyUI
|
|||
|
||||
key.SetValue("SCE_CTRL_SELECT", SelectButton.Text.ToUpper());
|
||||
key.SetValue("SCE_CTRL_START", StartButton.Text.ToUpper());
|
||||
|
||||
if(GreenTechPlus.Checked)
|
||||
{
|
||||
key.SetValue("RUNNER", "GREENTECHPLUS");
|
||||
}
|
||||
else
|
||||
{
|
||||
key.SetValue("RUNNER", "KAROSHI");
|
||||
}
|
||||
key.Close();
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<LangVersion>5</LangVersion>
|
||||
<AssemblyName>CHOVY-GM</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
<TargetFrameworkProfile />
|
||||
|
@ -40,11 +40,11 @@
|
|||
<ApplicationIcon>Icon4.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Ionic.Zip.Reduced">
|
||||
<HintPath>..\..\Desktop\chovy-gm\Ionic.Zip.Reduced.dll</HintPath>
|
||||
<Reference Include="Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
||||
<HintPath>packages\DotNetZip.Reduced.1.9.1.8\lib\net20\Ionic.Zip.Reduced.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NAudio, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\NAudio.1.9.0\lib\net35\NAudio.dll</HintPath>
|
||||
<Reference Include="NAudio, Version=1.10.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\NAudio.1.10.0\lib\net35\NAudio.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
@ -240,12 +240,12 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\psmkun.gif" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace ChovyUI.Properties {
|
|||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
|
|
@ -6,13 +6,6 @@ Its Decompiled and Patched GameMaker Asset Compiler v1.0.98 (this was before the
|
|||
it has been modified to exclusively produce PSP compatible files from GM81 Executables.
|
||||
Also a nice gui was added
|
||||
|
||||
NOTE: this release is really buggy, and there isnt much i can do about it,
|
||||
this is mostly just using Karoshi (a PSP MINI put out by yoyogames back in 2011)
|
||||
as the "runner" for the game and adapting a early GMStudio Compiler to build files for it
|
||||
|
||||
the only bugs i can fix are ones relating to compilation, and not running the game itself.
|
||||
|
||||
(ISOs built with this WILL work in Chovy-Sign.)
|
||||
|
||||
# Dependancys
|
||||
chovy-gm release zip. includes a few other executables
|
||||
|
@ -24,4 +17,3 @@ chovy-gm release zip. includes a few other executables
|
|||
src: https://github.com/FluidSynth/fluidsynth
|
||||
|
||||
- EBOOT.BIN same executable found in the PSP minis game "karoshi" it is effectively the gamemaker interpreter.
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NAudio" version="1.9.0" targetFramework="net35" />
|
||||
<package id="DotNetZip.Reduced" version="1.9.1.8" targetFramework="net461" />
|
||||
<package id="NAudio" version="1.10.0" targetFramework="net461" />
|
||||
</packages>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Reference in New Issue