Skip to content

0xD3ADCODE/Sims4ModChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon.png
Sims4ModChecker
Simple app for checking The Sims 4 mod versions

app.png
Add your mod folder into app, fill base info (name, cover, url) and select version checking rule
After that you can check actual versions any time you want!

Rules

There are some integrated checking rules for Synthira
But you can simply add new one for any site you want!

Example of file rules.json that need to be placed in same directory with jar file

[
  {
    "uuid": "019b4232-629f-7994-9bfa-ab02357b5006",
    "service": "Test",
    "name": "Test Rule",
    "strategy": "CSS_TEXT",
    "pattern": "[itemprop=version]"
  }
]

Where:
uuid - unique rule identifier. Create one using any UUID generation tool like UUIDGenerator
service - service name. Synthira, for example
name - rule name
strategy - may be one of: CSS_TEXT (Jsoup CSS selector), REGEX_HTML (Regex for HTML), REGEX_TEXT (Regex for text on page)
pattern - search pattern for selected strategy

Running

Download latest jar file from Releases and launch it using Java 23 with arguments:

java -Dprism.forceUploadingPainter=true -Djavafx.animation.fullspeed=true --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.tk.quantum=ALL-UNNAMED --add-opens=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED --add-opens=javafx.graphics/sun.stage=ALL-UNNAMED --add-opens=javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-opens=javafx.graphics/javafx.stage=ALL-UNNAMED --add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED -jar app.jar

-Dprism.forceUploadingPainter=true, -Djavafx.animation.fullspeed=true, --add-exports and --add-opens is necessary for Mica and Acrylic effects on Windows 11

Building

Clone repository, open project, set Java 23 as project JDK and execute gradlew run to run or gradlew shdowJar to build fat jar