Skip to content

Commit

Permalink
Add proper attribution and rename compat mod on packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed May 13, 2022
1 parent 2460e5e commit c72dfb5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions 21-PackageSmxCompat.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ xcopy SmxCompat\Config build\%NAME%\Config\ /S
xcopy Resources build\%NAME%\Resources\ /S
xcopy UIAtlases build\%NAME%\UIAtlases\ /S

powershell -Command "(gc -encoding UTF8 build\%NAME%\ModInfo.xml) -replace '\"OcbInventoryMouseWheel\"', '\"OcbInventoryMouseWheelSMX\"' | Out-File -encoding UTF8 build\%NAME%\ModInfo.xml"

cd build
echo Packaging %NAME%-%VERSION%.zip
powershell Compress-Archive %NAME% %NAME%-%VERSION%.zip -Force
Expand Down
2 changes: 1 addition & 1 deletion ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<Description value="Use mouse scroll wheel to move inventory items." />
<Website value="https://github.com/OCB7D2D/OcbInventoryMouseWheel" />
<Author value="ocbMaurice" />
<Version value="0.0.1" compat="A20"/>
<Version value="0.0.2" compat="A20"/>
</ModInfo>
</xml>
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Simply [download here from GitHub][1] and put into your A20 Mods folder:

## Changelog

### Version 0.0.2

- Proper SMX UI attribution
- Rename compat mod to avoid clash

### Version 0.0.1

- Initial test version
Expand Down
10 changes: 10 additions & 0 deletions SmxCompat/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SMX (Quartz) compatibility

SMX and Quartz (formerly known as SMXlib) are (c) by Sirillion, Laydor et al.
Please check https://www.nexusmods.com/7daystodie/mods/22 for their wonderful UI mod!

I'm including a version of Quart.dll, masqueraded as Quart.lib, so it is not picked up
by either the game mod loaded or any other loader, in order to allow CI to compile the dll.
There is no other need to include it here beside that. I researched on how to just include
a "header" of the dll in order to compile it, but not sure if that is doable for csharp?
On runtime, it will depend on the actual loaded Quart.dll from the SMXcore mod!

0 comments on commit c72dfb5

Please sign in to comment.