Skip to content

Commit

Permalink
Add SAAT2CP & MTN2CP
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherPillow committed Jun 26, 2024
1 parent fd5073d commit c96420c
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ I could not find portable Python and Git releases for them.
- [STF2CP](https://github.com/AnotherPillow/STF2CP) by AnotherPillow
- [FurnitureConverter](https://github.com/elizabethcd/FurnitureConverter) by elizabethcd
- [CP2AT](https://github.com/holy-the-sea/CP2AT) by holy-the-sea
- [CPA2SC](https://github.com/holy-the-sea/CPA2SC) by AnotherPillow
- [CPA2SC](https://github.com/AnotherPillow/CPA2SC) by AnotherPillow
- [SAAT2CP](https://github.com/AnotherPillow/SAAT2CP) by AnotherPillow

## Attribution

Expand Down
2 changes: 2 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func (a *App) ChooseManifest() map[string]interface{} {
}
}

debugLog(fmt.Sprintf("Chose %s / Manifest: <<%s>>", filename, string(manifest)))

return map[string]interface{}{
"filename": filename,
"content": string(manifest),
Expand Down
28 changes: 28 additions & 0 deletions converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,32 @@ var CPA2SC = Converter{
ExtraArgs: "",
}

var SAAT2CP = Converter{
Name: "SAAT2CP",
Needs16: false,
Repo: "https://github.com/AnotherPillow/SAAT2CP",
GitFile: "https://github.com/AnotherPillow/SAAT2CP.git",
InputDirectory: "input",
OutputDirectory: "output",
MainFile: "main.py",
RequirementsFile: "requirements.txt",
SupportedUniqueID: "zerometers.saat.mod",
ExtraArgs: "",
}

var MTN2CP = Converter{
Name: "SAAT2CP",
Needs16: false,
Repo: "https://github.com/AnotherPillow/MTN2CP",
GitFile: "https://github.com/AnotherPillow/MTN2CP.git",
InputDirectory: "input",
OutputDirectory: "output",
MainFile: "main.py",
RequirementsFile: "requirements.txt",
SupportedUniqueID: "sgtpickles.mtn",
ExtraArgs: "",
}

var ConvertersMap = map[string]Converter{
"TMXL2CP": TMXL2CP,
"BFAV2CP": BFAV2CP,
Expand All @@ -154,4 +180,6 @@ var ConvertersMap = map[string]Converter{
"FurnitureConverter": FurnitureConverter,
"CP2AT": CP2AT,
"CPA2SC": CPA2SC,
"SAAT2CP": SAAT2CP,
"MTN2CP": MTN2CP,
}
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "1.2.0",
"version": "1.3.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0f759a4bf8c57c684c871f8a08ddade9
80adb45f01bdbc9d846a3971cdbec236
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"runtime"
)

const APP_VERSION = "1.2.0"
const APP_VERSION = "1.3.0"
const APP_UNIQUEID = "fake.nexus.20986"
const APP_UPDATEKEY = "Nexus:20986"

Expand Down

0 comments on commit c96420c

Please sign in to comment.