Skip to content
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

Military Conflict are not decompiled by prop_static #187

Open
MARK2580 opened this issue May 24, 2024 · 0 comments
Open

Military Conflict are not decompiled by prop_static #187

MARK2580 opened this issue May 24, 2024 · 0 comments

Comments

@MARK2580
Copy link

At the moment, decompilation of all Military Conflict - Vietnam maps is not happening correctly. The map is completely missing all prop_static. Here's the log.
bsp - https://drive.google.com/file/d/1JHfjexQuowdpPHrBlxujwIXi59SBOe8-/view?usp=sharing

23:22:11.989 WARN  Couldn't find static prop struct for appId 730, version 12, size 0
23:22:11.991 WARN  Falling back to static prop v4
23:22:11.991 WARN  An error occurred while trying to read lump sprp
java.lang.IllegalArgumentException: Illegal Capacity: -65536
	at java.util.ArrayList.<init>(Unknown Source) ~[?:?]
	at info.ata4.bspsrc.lib.io.DataReaderUtil.readChunks(DataReaderUtil.java:31) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.io.lumpreader.StaticPropLumpReader.readStaticProps(StaticPropLumpReader.java:140) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.io.lumpreader.StaticPropLumpReader.read(StaticPropLumpReader.java:59) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.io.lumpreader.StaticPropLumpReader.read(StaticPropLumpReader.java:24) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.BspFileReader.readAbstractLump(BspFileReader.java:766) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.BspFileReader.readGameLump(BspFileReader.java:743) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.BspFileReader.loadStaticProps(BspFileReader.java:258) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.lib.BspFileReader.loadAll(BspFileReader.java:81) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.decompiler.BspSource.decompile(BspSource.java:179) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.decompiler.BspSource.decompile(BspSource.java:128) ~[bspsrc.jar:?]
	at info.ata4.bspsrc.decompiler.BspSource.lambda$run$0(BspSource.java:94) ~[bspsrc.jar:?]
	at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool.scan(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:?]
23:22:12.005 WARN  Lump LUMP_CLIPPORTALVERTS is empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants