Skip to content
Draft

UI #9

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ build/classes
build/libs
build/resources/
build/tmp
build/reports

#JVM
hs_err_pid*.log

#Run
/run
/run*
/backups

# output
Expand Down
32 changes: 14 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ plugins {
id 'name.valery1707.kaitai' version '0.1.3'
}

sourceCompatibility = '21'
targetCompatibility = '21'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

sourceSets.main.java.srcDirs += 'build/generated/kaitai'

Expand All @@ -24,34 +27,27 @@ repositories {
}

dependencies {
shadow('com.thegamecommunity:excite') {
version {
branch = 'develop-extract'
}
}
implementation('com.thegamecommunity:excite') {
version {
branch = 'develop-extract'
}
}
shadow group: 'com.thegamecommunity', name:'excite', version: '0.8.0.0'
implementation group: 'com.thegamecommunity', name:'excite', version: '0.8.0.0'

shadow group: 'org.apache.commons', name: 'commons-text', version: '1.11.0'
shadow group: 'io.kaitai', name: 'kaitai-struct-runtime', version: '0.10'

testImplementation group: 'org.junit.jupiter', name:'junit-jupiter-api', version: '5.10.2'
testRuntimeOnly group: 'org.junit.jupiter', name :'junit-jupiter-engine', version: '5.10.2'
}


tasks.eclipse {
dependsOn 'init'
}
tasks.init {
finalizedBy 'kaitai'
tasks.compileJava {
dependsOn tasks.kaitai
}

tasks.kaitai.doFirst {
deleteRecursively(output.toPath());
}
tasks.kaitai {
finalizedBy 'eclipse'
}

kaitai {
url = new URL('https://github.com/kaitai-io/kaitai_struct_compiler/releases/download/0.10/kaitai-struct-compiler-0.10.zip')
packageName = 'com.gamebuster19901.excite.modding.game.file.kaitai'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public Data(KaitaiStream _io, ResMonster _parent, ResMonster _root) {
_read();
}
private void _read() {
if (_root().header().compressed() == 128) {
if ( ((_root().header().compressed() == 128) || (_root().header().compressed() == 1152)) ) {
this.compressedData = new QuicklzRcmp(this._io);
}
if (_root().header().compressed() == 0) {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
27 changes: 13 additions & 14 deletions gradlew

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

25 changes: 13 additions & 12 deletions gradlew.bat

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

Loading
Loading