Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceynou authored May 1, 2023
1 parent 9c03e40 commit 261e0ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ soundsphere script that can sets a skin off a base file.
You need to create a new file, the name doesn't matter as long as the extension is `.skin.lua`
in that file add the following code
```lua
local ImguiConfig = require("sphere.ImguiConfig")
local JustConfig = require("sphere.JustConfig")

local root = (...):match("(.+)/.-")

local config = ImguiConfig:fromFile(root .. "/base.config.lua")
local config = JustConfig:fromFile(root .. "/base.config.lua")
return require(root .. "/base")
.createNoteskin(key, scratch, pedal, ..., config)
```
Expand All @@ -25,11 +25,11 @@ and replace key, scratch and pedal by their corresponding value, so if you want
You need to copy the content of base.config.lua file and rename it somethingelse.config.lua
then in the file(s) for the keymode(s) you want to use that config file edit
```lua
local config = ImguiConfig:fromFile(root .. "/base.config.lua")
local config = JustConfig:fromFile(root .. "/base.config.lua")
```
to
```lua
local config = ImguiConfig:fromFile(root .. "/somethingelse.config.lua")
local config = JustConfig:fromFile(root .. "/somethingElse.config.lua")
```

_________________
Expand Down

0 comments on commit 261e0ec

Please sign in to comment.