Skip to content

Problems with decompiling new Vindictus maps #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MARK2580 opened this issue Sep 18, 2021 · 3 comments
Closed

Problems with decompiling new Vindictus maps #136

MARK2580 opened this issue Sep 18, 2021 · 3 comments
Assignees
Labels

Comments

@MARK2580
Copy link

When decompiling new Vindictus maps, a lot of errors appear, they seem to be related to changes in the statics of the models in the game. Such vmf are not finished yet.
Archive with examples bsp - https://disk.yandex.ru/d/Kxb3-aRqcGzalQ

Here's an example of errors.

[warning] VmfWriter: Unclosed VMF chunk: entity
[error] BspSource: Decompiling error, caused by java.lang.IndexOutOfBoundsException: Index: 52429, Size: 45
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at info.ata4.bspsrc.modules.entity.EntitySource.writeStaticProps(EntitySource.java:686)
	at info.ata4.bspsrc.modules.BspDecompiler.writeEntities(BspDecompiler.java:176)
	at info.ata4.bspsrc.modules.BspDecompiler.start(BspDecompiler.java:102)
	at info.ata4.bspsrc.BspSource.decompile(BspSource.java:164)
	at info.ata4.bspsrc.BspSource.run(BspSource.java:72)
	at info.ata4.bspsrc.gui.BspSourceFrame$4.run(BspSourceFrame.java:359)
[warning] BspFileReader: Couldn't find static prop struct for version 7
[warning] BspFileReader: Falling back to static prop v4
[error] BspFileReader: Lump reading error in sprp, caused by java.io.IOException: 4 bytes remaining
	at info.ata4.bsplib.BspFileReader.checkRemaining(BspFileReader.java:948)
	at info.ata4.bsplib.BspFileReader.loadStaticProps(BspFileReader.java:461)
	at info.ata4.bsplib.BspFileReader.loadAll(BspFileReader.java:88)
	at info.ata4.bspsrc.BspSource.decompile(BspSource.java:123)
	at info.ata4.bspsrc.BspSource.run(BspSource.java:72)
	at info.ata4.bspsrc.gui.BspSourceFrame$4.run(BspSourceFrame.java:359)
[warning] VmfWriter: Unclosed VMF chunk: entity
[error] BspSource: Decompiling error, caused by java.lang.IndexOutOfBoundsException: Index: 13107, Size: 10
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at info.ata4.bspsrc.modules.entity.EntitySource.writeStaticProps(EntitySource.java:686)
	at info.ata4.bspsrc.modules.BspDecompiler.writeEntities(BspDecompiler.java:176)
	at info.ata4.bspsrc.modules.BspDecompiler.start(BspDecompiler.java:102)
	at info.ata4.bspsrc.BspSource.decompile(BspSource.java:164)
	at info.ata4.bspsrc.BspSource.run(BspSource.java:72)
	at info.ata4.bspsrc.gui.BspSourceFrame$4.run(BspSourceFrame.java:359)
@ata4 ata4 self-assigned this Sep 18, 2021
@ata4 ata4 added the bug label Sep 18, 2021
@rihi
Copy link
Collaborator

rihi commented Sep 18, 2021

I didn't test it with the given bsp's, but I believe this has been fixed with #92. The fix is not in the 1.4.0 version, so it's not yet available.

@MARK2580
Copy link
Author

I didn't test it with the given bsp's, but I believe this has been fixed with #92. The fix is not in the 1.4.0 version, so it's not yet available.

I think because your post was written a whole month after the release of version 1.4.0

@rihi
Copy link
Collaborator

rihi commented Nov 25, 2021

Hey, the code from #92 has now been released with version 1.4.1.
If your problem is not resolve with that new version, feel free to write here and I'll have another look at the problem.
You can get the release on the releases page.

@rihi rihi closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants