Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Update from FlafyDev - flafy.autonong
Browse files Browse the repository at this point in the history
Accepted by: Fleeym
  • Loading branch information
GeodeBot committed May 31, 2024
1 parent 687ee2a commit 267c4f5
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 3 deletions.
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3210,7 +3210,8 @@
"verified": false,
"versions": [
"0.0.2",
"0.0.3"
"0.0.3",
"0.1.0"
]
},
"relative.scroll_faster_with_ctrl": {
Expand Down
14 changes: 14 additions & 0 deletions mods-v2/flafy.autonong/0.1.0/entry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"commit-author": "FlafyDev",
"platforms": [
"windows",
"android32",
"android64"
],
"mod": {
"download": "https://github.com/FlafyDev/auto-nong/releases/download/v0.1.0/flafy.autonong.geode",
"hash": "a3ce4e52e4882ea2edac3fa0f3ea8cd4318ee94047599c7dbdbf4ee7d5e6b041",
"hash256": "e9dbce06f0f8e8a8575432024cb7c79f9c6354da40782af941b6f24ae3bbbcb6"
},
"tags": []
}
67 changes: 67 additions & 0 deletions mods-v2/flafy.autonong/0.1.0/mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"geode": "2.0.0-beta.27",
"gd": {
"win": "2.204",
"android": "2.205"
},
"version": "v0.1.0",
"id": "flafy.autonong",
"name": "Auto Nong",
"developer": "Flafy",
"description": "Automatically download NONG songs for levels",
"dependencies": [
{
"id": "fleym.nongd",
"version": ">=2.9.0",
"required": true
}
],
"resources": {
"sprites": [
"resources/addIcon.png",
"resources/logo_regular.png",
"resources/logo_grayscaled.png"
]
},
"settings": {
"use-cobalt": {
"name": "Use Cobalt Tools",
"type": "bool",
"default": true
},
"use-yt-dlp": {
"name": "Use yt dlp",
"type": "bool",
"default": false
},
"yt-dlp-path": {
"name": "yt dlp path",
"type": "file",
"default": "yt-dlp.exe"
},
"indexes": {
"name": "Indexes",
"description": "Auto Nong indexes.\nFrom indexes the mod knows where to fetch the songs from.",
"type": "custom",
"default": [
"https://cdn.jsdelivr.net/gh/FlafyDev/auto-nong-indexes@dist/official.json.gz",
"https://cdn.jsdelivr.net/gh/FlafyDev/auto-nong-indexes@dist/sfh-rooot.json.gz"
]
},
"show-level-popup": {
"name": "Show popup",
"description": "Shows a popup when a level has a NONG song. Only once per level.",
"type": "bool",
"default": true
},
"always-show-auto-nong-btn": {
"name": "Always show\nAuto Nong button",
"description": "\nAlways show the Auto Nong button when entering a level. Even when there are no NONG songs to replace.\nThis is for adding NONG songs to levels that don't have any.",
"type": "bool",
"default": false
},
"_blacklistPPClear": {
"type": "custom"
}
}
}
11 changes: 9 additions & 2 deletions mods-v2/flafy.autonong/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Upon entering a level, a message will appear, offering the option to download th

Furthermore, a new button will be integrated into levels featuring NONG songs. By clicking this button, a list of available NONG songs for the respective level will be displayed, allowing you to download them conveniently without leaving the game.

## How to add Nongs to the mod
There are multiple ways to add Nongs to the mod and make them appear in game:
- Fill the form on GitHub [here](https://github.com/FlafyDev/auto-nong-indexes/issues/new?assignees=&labels=nong-addition%2Cofficial-addition&projects=&template=add-nong-song.yml&title=Add+Nong+Song%3A+).
- Or get the nong added to [SFH (SongFileHub)](https://songfilehub.com/).

## Indexes
The mod knows which levels have NONG songs from "indexes".
Expand All @@ -18,6 +22,9 @@ You can add/remove indexes in the settings of the mod.
Without these the mod wouldn't be possible.

- [Geode](https://github.com/geode-sdk/geode)
- [Jukebox](https://github.com/Fleeym/jukebox)
- This mod intergrates with Jukebox for swapping songs for levels.
- [Jukebox](https://github.com/Fleeym/jukebox)
- This mod intergrates with Jukebox for swapping songs for levels.
- Additionally, Jukebox's code was helpful to figuring out how to make this mod.
- [SFH (SongFileHub)](https://songfilehub.com/) - Auto Nong gets information about many of its Nongs from SFH.
- SFH mirrors(like `sfh-rooot` and `sfh-pingusmc`) - Auto Nong downloads SFH Nongs from these mirrors.

26 changes: 26 additions & 0 deletions mods-v2/flafy.autonong/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

## v0.1.0
###### 31-05-2024

- <cg>Added</c> support for Android
- <cg>Added</c> a button to add new NONGs to the mod
- <cg>Added</c> support for Roptop songs (Since it is now supported in Jukebox)
- <cg>Added</c> support for uncompressed indexes
- <cg>Added</c> a setting to always show the Auto Nong button
- <cg>Improved</c> the UI for downloading and choosing NONGs
- <cl>Fixed</c> a crash when downloading a NONG and exiting the menu
- <cl>Fixed</c> overlapping Auto Nong button with the info button
- <cl>Fixed</c> Auto Nong button appearing on menus it shouldn't
- <co>Upgraded</c> to Geode 2.0.0-beta.27
- <co>Upgraded</c> to Jukebox v2.9.0

## v0.0.3
###### 10-04-2024

- <co>Upgraded</c> to Jukebox v2.7.0

## v0.0.2
###### 06-04-2024

- Initial Release
Binary file modified mods-v2/flafy.autonong/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 267c4f5

Please sign in to comment.