brickbench / brickbench Goto Github PK
View Code? Open in Web Editor NEWA map editor for TT Games games
Home Page: https://brickbench.opengg.dev
A map editor for TT Games games
Home Page: https://brickbench.opengg.dev
Describe the bug
Importing an asset that has already been imported fails with java.nio.file.FileAlreadyExistsException
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The new asset file to overwrite the previous asset file in the BrickBench file system.
Logs
N/A
Additional context
N/A
Describe the bug
I downloaded a txt from the internet and it was saved as .brickbench instead of .txt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the txt should be saved as .txt instead
Logs
n/a
Screenshots
n/a
Describe the bug
While base textures can be replaced in a material without issue, normal maps and specular masks cannot.
To Reproduce
Attempt to replace any specular mask or normal map in any material.
Expected behavior
The normal map and specular mask should change.
Logs
BrickBench_Log_2022-09-23_22-42-06.012.log
Additional context
Attempted on an edited version Negotiations_A wherein 3 of the textures have been changed from 256x256 to 1024x1024 (xdelta patch)
the GSC files for castle rescue seem to be missing a ton of textures with lots of holes in the walls and floors. Side note, it seems that anything that has to to with lighting is rendered as a black blob, and this goes for all of the levels.
When trying to change the creature name or type whether it be a already existing AI or a new AI the name or type will still remain the same as before. Even after clicking the save icon next to where you change it.
Due to the frequency of distant textures, texture aliasing is a rather common sight in the preview window. Some sort of easily togglable halton super-sampled antialiasing would alleviate this (and a less expensive MSAA option would probably be a good idea too).
When I try to install Brick Bench v0.3.2.1 it doesn't properly install. The program works but two major things I've seen don't work. 1. The log file sin Documents/BrickBench Files don't appear after installing and 2. Installing Custom Models keep crashing is there a way to fix this?
This would be needed to automatically manage the level txt file to include new creatures as resident.
When I press Ctrl + S to save, the camera starts moving backwards and a window pops up "Saved project at..."
to stop the camera from going back I have to close the popup and press S again.
s = silver stud
g = gold stud
b = blue stud
p = purple stud
u = power up / upgrade?
m = minkit
c = challenge minikit
h = heart
r = redbrick
t = torpedo
anyothervalue = silver stud
When I try to import any object to some levels like Negotiations_A or BlockadeRunner_D, it gives me the next log:
Failed to load model:
Cannot invoke "com.opengg.loader.game.nu2.NU2MapData$SceneData$Block.address()" because "" is null
It has happened to me with these levels and I'm afraid there would be more levels with this exact same problem.
To reproduce this bug just try to import any object to those levels.
Hello! So, I'm getting some OpenGL/OpenGG exception when trying to run BrickBench. Apparently OpenGG isn't able to create the OpenGL context and then the entire program silently fails, without "crashing" or destroying the windows. I'm actually not sure if it is an OpenGG issue or just a bug in the program, so I will report it here to start.
I'm using BrickBench v0.2.1
, and the following is all the information provided by the program.
[Blank]
[Blank]
INFO (OpenGG): OpenGG initializing, running on Windows 10, amd64
INFO (OpenGG): Initializing application CSC Loader with app ID -1
INFO (OpenGG): Switched runtime security to OpenGG security policy
INFO (Resource): Initializing resource system in D:\Downloads\BrickBench
INFO (ResourceLoader): Initializing parallel resource loader with 8 worker thread(s)
INFO (OpenGG): Resource system initialized
INFO (OpenGG): Loaded configuration files
INFO (WindowTypeRegister): Registered a window type named GLFW
INFO (WindowTypeRegister): Registered a window type named OpenVR
INFO (WindowTypeRegister): Registered a window type named AWT
INFO (WindowController): Window registered under the name AWT requested and found, creating instance...
ERROR (OpenGG): Uncaught exception: Exception while creating the OpenGL context
java.lang.RuntimeException: Exception while creating the OpenGL context
at com.opengg.core/com.opengg.core.render.window.awt.window.AWTGLCanvas.beforeRender(Unknown Source)
at com.opengg.core/com.opengg.core.render.window.awt.window.GGCanvas.startFrame(Unknown Source)
at com.opengg.core/com.opengg.core.render.window.awt.window.GGCanvas.setup(Unknown Source)
at com.opengg.core/com.opengg.core.render.window.WindowController.setup(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initializeClient(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initializeLocal(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer.main(Unknown Source)
Caused by: java.awt.AWTException: Failed to create OpenGL context.
at com.opengg.core/com.opengg.core.render.window.awt.window.PlatformWin32GLCanvas.create(Unknown Source)
at com.opengg.core/com.opengg.core.render.window.awt.window.PlatformWin32GLCanvas.create(Unknown Source)
... 8 more
INFO (OpenGG): OpenGG Engine Version: 0.1
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.opengg.core.render.Renderer.destroy()" because "com.opengg.core.render.RenderEngine.renderer" is null
at com.opengg.core/com.opengg.core.render.RenderEngine.destroy(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.closeEngine(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer.main(Unknown Source)
There seems to be a bug when trying to export a static mesh from a level where some of the textures would export but not the obj file.
Here is the log if you need it:
BrickBench_Log_2021-11-15.log
Bugs:
Features:
┌──────┐
│ File │
├──────┴────────────────────┐
│ Load Project │
│ Load Map From File/Folder │
│ Select Map Folder ├───────────┬─────────────────────────┬─────────────────────────┐
│ Maps > │ Hero > │ The Riddler's Revenge > │ You Can Bank On Batman │
│ Open Recent > │ Villain > │ Power Crazed Penguin > │ An Icy Reception │
├───────────────────────────┼───────────┤ The Joker's Return > │ Two-Face Chase │
│ Save Project │ └─────────────────────────┤ A Poisonous Appointment │
│ Export Map │ │ The Face-Off │
│ Create Patches │ └─────────────────────────┘
├───────────────────────────┤
│ Import THINGS_PC.GSC │
├───────────────────────────┤
│ Settings │
│ Quit │
└───────────────────────────┘
So that the following could be selected:
File
└───Maps
└───Hero
└───The Riddler's Revenge
└───You Can Bank On Batman
Selecting one of the level names, for example You Can Bank On Batman, will load all the areas inside
"LEVELS\HERO\CHAPTER1\GOTHAMSTREETS". I don't know how other Traveler's Tales LEGO games have their
levels set up, since I don't own any others aside from LB1, but I think that would be a very convenient addition.
Describe the bug
ANewhope_A crashes when adding a new AI Creature Spawn
To Reproduce
Expected behavior
A new creaturespawn to be added
Logs
[22:31:20.127779] INFO (OpenGG): OpenGG initializing, running on Windows 10, amd64
[22:31:20.184782] INFO (OpenGG): Initializing application BrickBench with app ID -1
[22:31:20.191790] INFO (OpenGG): Switched runtime security to OpenGG security policy
[22:31:20.194785] INFO (Resource): Initializing resource system in C:\Program Files\BrickBench
[22:31:20.200785] INFO (ResourceLoader): Initializing parallel resource loader with 8 worker thread(s)
[22:31:20.207786] INFO (OpenGG): Resource system initialized
[22:31:20.224788] INFO (OpenGG): Loaded configuration files
[22:31:20.243790] INFO (WindowTypeRegister): Registered a window type named GLFW
[22:31:20.246789] INFO (WindowTypeRegister): Registered a window type named OpenVR
[22:31:20.250788] INFO (WindowTypeRegister): Registered a window type named AWT
[22:31:20.252790] INFO (WindowController): Window registered under the name AWT requested and found, creating instance...
[22:31:21.739422] INFO (OpenGG): Graphics backend created
[22:31:21.741424] INFO (OpenGG): Running renderer on AMD Radeon(TM) Vega 8 Graphics provided by ATI Technologies Inc.
[22:31:21.792431] INFO (ShaderController): Shader Controller initializing...
[22:31:21.794426] INFO (ShaderLoader): Loading shaders...
[22:31:23.311962] INFO (ShaderLoader): Loaded shaders in 1515 milliseconds
[22:31:23.329960] INFO (ShaderController): Created 14 default shader pipelines
[22:31:23.332962] INFO (ShaderController): Shader Controller initialized, loaded 27 shader programs
[22:31:23.332962] INFO (OpenGLRenderer): Created default vertex array formats
[22:31:23.363964] INFO (OpenGLRenderer): Enabling rendering submanagers
[22:31:23.395964] INFO (PostProcessController): Initialized post processing controller with 5 passes
[22:31:23.398964] INFO (OpenGLRenderer): Render engine initialized
[22:31:23.504973] INFO (TextureManager): Loaded default texture at C:\Program Files\BrickBench\resources\tex\default.png
[22:31:23.510976] ERROR (BMFFile): No file found: resources/models/cm/cm.bmf
[22:31:23.517975] WARNING (ModelManager): Failed to load model at resources/models/cm/cm.bmf, using default model instead
[22:31:24.371785] INFO (SoundEngine): Initializing sound engine on OpenAL Soft on Speaker / Headphone (Realtek(R) Audio)
[22:31:24.414789] INFO (SoundEngine): Audio Controller initialized, using OpenAL version 1.1 ALSOFT 1.21.1 from OpenAL Community
[22:31:24.417792] ERROR (BindController): Failed to load controls from file
[22:31:24.418790] INFO (OpenGG): Bind Controller initialized
[22:31:24.560799] INFO (WorldEngine): Changing primary world to default:-6089015428161629201
[22:31:24.561803] INFO (OpenGG): World Engine initialized
[22:31:24.562822] INFO (OpenGG): Physics Engine initialized
[22:31:24.562822] INFO (OpenGG): Engine initialization complete, application setup beginning
[22:31:24.686257] INFO (MapLoader): Loading THINGS_PC.GSC
[22:31:25.033532] INFO (SceneFileLoader): Loading scene graphics data
[22:31:25.362076] INFO (SceneFileLoader): Done loading graphics data
[22:31:25.938117] INFO (OpenGG): Application setup complete
[22:31:25.941119] INFO (OpenGG): OpenGG initialized in 5825.0 milliseconds
[22:31:27.809037] INFO (Updater): BrickBench is up to date
[22:31:53.617639] INFO (ProjectIO): Opening project archive C:\Users\Mrfah\Documents\ANewProject.brickbench
[22:31:54.722080] INFO (ProjectIO): Loaded project ANewProject
[22:31:54.753085] INFO (BrickBench): Opening project with map ANewHope_A
[22:31:54.755083] INFO (MapLoader): Parsing map ANewHope_A at C:\Users\Mrfah\Documents\BrickBench Files\project\ANewHope_A as Lego Star Wars: The Complete Saga
[22:31:54.834090] INFO (MapLoader): Parsing file ANewHope_A_PC.GSC
[22:31:55.086155] INFO (MapLoader): Parsing file ANewHope_A.TXT
[22:31:55.200464] INFO (MapLoader): Parsing file SCRIPT.TXT
[22:31:55.256291] INFO (MapLoader): Parsing file ANewHope_A.TER
[22:31:55.304625] INFO (MapLoader): Parsing file ANewHope_A.AI2
[22:31:55.377069] INFO (MapLoader): Parsing file ANewHope_A.GIZ
[22:31:55.430432] INFO (MapLoader): Parsing file ANewHope_A.PTL
[22:31:55.459309] INFO (NU2MapData): Ignoring file extension PTL
[22:31:55.462336] INFO (MapLoader): Parsing file ANewHope_A.RTL
[22:31:55.483475] INFO (MapLoader): Parsing file ANewHope_A.BUR
[22:31:55.506774] INFO (NU2MapData): Ignoring file extension BUR
[22:31:55.506774] INFO (MapLoader): Parsing file ANewHope_A.GIT
[22:31:55.542031] INFO (MapLoader): Parsing file C3PO.SCP
[22:31:55.579580] INFO (NU2MapData): Ignoring file extension SCP
[22:31:55.579580] INFO (MapLoader): Parsing file LEVEL.SCP
[22:31:55.622401] INFO (NU2MapData): Ignoring file extension SCP
[22:31:55.622401] INFO (MapLoader): Parsing file R2ANDLEIA.SCP
[22:31:55.643464] INFO (NU2MapData): Ignoring file extension SCP
[22:31:55.643464] INFO (MapLoader): Done loading ANewHope_A
[22:31:55.746130] INFO (SceneFileLoader): Loading scene graphics data
[22:31:55.890191] INFO (SceneFileLoader): Done loading graphics data
[22:31:56.742136] INFO (BrickBench): Loaded ANewHope_A
[22:32:08.306785] ERROR (OpenGG): Uncaught exception: Unexpected version: 14
[22:32:08.307785] ERROR (GGConsole$2): java.lang.IllegalStateException: Unexpected version: 14
[22:32:08.310793] ERROR (GGConsole$2): at com.opengg.loader/com.opengg.loader.game.nu2.ai.AIWriter.addAICreature(Unknown Source)
[22:32:08.311787] ERROR (GGConsole$2): at com.opengg.loader/com.opengg.loader.editor.ObjectCreationPalette.lambda$refresh$7(Unknown Source)
[22:32:08.311787] ERROR (GGConsole$2): at com.opengg.loader/com.opengg.loader.editor.ObjectCreationPalette$1.lambda$mousePressed$0(Unknown Source)
[22:32:08.312789] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.Executor$ExecutorContainer.execute(Unknown Source)
[22:32:08.312789] ERROR (GGConsole$2): at java.base/java.util.ArrayList.forEach(Unknown Source)
[22:32:08.313787] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.Executor.update(Unknown Source)
[22:32:08.313787] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.OpenGG.runUpdate(Unknown Source)
[22:32:08.314785] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.OpenGG.run(Unknown Source)
[22:32:08.314785] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.OpenGG.initializeLocal(Unknown Source)
[22:32:08.315786] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(Unknown Source)
[22:32:08.315786] ERROR (GGConsole$2): at com.opengg.loader/com.opengg.loader.BrickBench.main(Unknown Source)
[22:32:08.315786] ERROR (GGConsole$2): Suppressed: java.lang.RuntimeException: Caused in executable:
[22:32:08.316785] ERROR (GGConsole$2): at java.base/java.lang.Thread.getStackTrace(Unknown Source)
[22:32:08.316785] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.Executor.queue(Unknown Source)
[22:32:08.316785] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.Executor.async(Unknown Source)
[22:32:08.316785] ERROR (GGConsole$2): at com.opengg.core/com.opengg.core.engine.OpenGG.asyncExec(Unknown Source)
[22:32:08.317789] ERROR (GGConsole$2): at com.opengg.loader/com.opengg.loader.editor.ObjectCreationPalette$1.mousePressed(Unknown Source)
[22:32:08.317789] ERROR (GGConsole$2): at java.desktop/java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
[22:32:08.318789] ERROR (GGConsole$2): at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
[22:32:08.318789] ERROR (GGConsole$2): at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
[22:32:08.320792] ERROR (GGConsole$2): at java.desktop/java.awt.Component.processEvent(Unknown Source)
[22:32:08.321786] ERROR (GGConsole$2): at java.desktop/java.awt.Container.processEvent(Unknown Source)
[22:32:08.321786] ERROR (GGConsole$2): at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
[22:32:08.321786] ERROR (GGConsole$2): at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
[22:32:08.322789] ERROR (GGConsole$2): at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
[22:32:08.322789] ERROR (GGConsole$2): at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[22:32:08.322789] ERROR (GGConsole$2): at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
[22:32:08.323785] ERROR (GGConsole$2): at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
[22:32:08.323785] ERROR (GGConsole$2): at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
[22:32:08.323785] ERROR (GGConsole$2): at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
[22:32:08.323785] ERROR (GGConsole$2): at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
[22:32:08.324789] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
[22:32:08.325789] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
[22:32:08.326787] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
[22:32:08.326787] ERROR (GGConsole$2): at java.base/java.security.AccessController.doPrivileged(Unknown Source)
[22:32:08.326787] ERROR (GGConsole$2): at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[22:32:08.327787] ERROR (GGConsole$2): at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[22:32:08.327787] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
[22:32:08.327787] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
[22:32:08.327787] ERROR (GGConsole$2): at java.base/java.security.AccessController.doPrivileged(Unknown Source)
[22:32:08.327787] ERROR (GGConsole$2): at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[22:32:08.328788] ERROR (GGConsole$2): at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
[22:32:08.328788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[22:32:08.328788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[22:32:08.328788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[22:32:08.328788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[22:32:08.329788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[22:32:08.329788] ERROR (GGConsole$2): at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
[22:32:08.345047] INFO (OpenGLRenderer): Render engine has released all OpenGL Resource and has finalized
[22:32:08.346118] INFO (OpenGG): System Information
Operating System: Windows 10
OS Architecture: amd64
Processor: AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD
CPU Count: 8
Graphics Renderer: AMD Radeon(TM) Vega 8 Graphics
Graphics Vendor: ATI Technologies Inc.
Java Information
Java Version: 17.0.1
JVM Name: OpenJDK 64-Bit Server VM
JVM Vendor: Eclipse Adoptium
Maximum Runtime Memory: 1598029824
Used Runtime Memory: 20971520
Free Runtime Memory: 8253752
JVM CPU Availability: 8
Engine Information
Headless mode: false
Application Name: BrickBench
Application Path: C:\Program Files\BrickBench
Default Allocator: NATIVE_HEAP
Aggressive Stack Management: false
OpenGL Information
Renderer: OpenGL
Requested GL Version: 4.5
Internal GL Version: 4.5.14830 Core Profile Forward-Compatible Context 21.10.34 27.20.21034.37
GLSL Version: 4.60
I never understood why people would go out of their way to create these custom file browsers witch are just harder to navigate in, you can't paste the path, everything takes more time to load and it's overall frustrating.
If it's possible could you please change the file browser to a default one from the operating system?
The bug
I used this level in the past when v0.3.0 version got released and it worked amazingly (I made an entire new level there) and when I tried to make another level there using the original level, the tool just crashes.
To Reproduce it:
Additional context
I'm using the latest version of the tool. With v0.3.0.1 this also happened (I installed after make the level).
Will not open any AI2 or GIZ files in LB1. (Both files show the same log)
[20:56:14.0027518] ERROR (MapViewer): Failed while loading GOTHAMSTREETS_A.GIZ at com.opengg.loader.misc.FileLoadException: Failed while loading GOTHAMSTREETS_A.GIZ
at com.opengg.loader/com.opengg.loader.MapLoader.loadMap(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer.loadNewMap(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer$MapLoadFileHandler.lambda$importData$0(Unknown Source)
at com.opengg.core/com.opengg.core.engine.Executor$ExecutorContainer.execute(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at com.opengg.core/com.opengg.core.engine.Executor.update(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.runUpdate(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.run(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initializeLocal(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer.initialize(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapLoader.main(Unknown Source)
Caused by: java.nio.BufferUnderflowException
at java.base/java.nio.HeapByteBuffer.get(Unknown Source)
at java.base/java.nio.ByteBuffer.get(Unknown Source)
at com.opengg.loader/com.opengg.loader.Util.getStringFromBuffer(Unknown Source)
at com.opengg.loader/com.opengg.loader.gizmo.GizLoader.load(Unknown Source)
... 12 more
Describe the bug
BrickBench takes focus when in hook mode and transitioning levels.
Additional context
Only happens to certain users.
Unsure how to replicate as it doesnt happen all the time. Was converting a .mov file to .mp4 using an online converter which downloaded as .mp4, and then compressed the video with an online compressor and it downloaded as a .brickbench file. Saw someone else on the ttgames modding server had this issue with .zip files
Describe the bug
Deleting a created static object results in file corruption
To Reproduce
Import a model and create a static model from it.
Try deleting the model
Expected behavior
The model is removed from the list and from view
Additional context
Logs:
[15:49:55.251175] INFO (DisplayImporter): Model GameModel_900 was imported
[15:49:55.279609] INFO (SceneFileLoader): Loading scene resources commands
[15:49:55.292060] INFO (SceneFileLoader): Done loading resources from render commands
[15:50:25.081680] INFO (SceneFileLoader): Loading scene resources commands
[15:50:25.087882] INFO (SceneFileLoader): Done loading resources from render commands
[15:50:37.710894] ERROR (SwingUtil): Failed to reload file after edit: newPosition > limit: (184558140 > 9760600)
[15:50:37.711805] ERROR (SwingUtil): newPosition > limit: (184558140 > 9760600) at com.opengg.loader.loading.FileLoadException: newPosition > limit: (184558140 > 9760600)
at com.opengg.loader/com.opengg.loader.loading.MapLoader.loadFile(MapLoader.java:201)
at com.opengg.loader/com.opengg.loader.loading.MapLoader.reloadIndividualFile(MapLoader.java:129)
at com.opengg.loader/com.opengg.loader.editor.EditorState.recreateEngineStateFromChanges(EditorState.java:157)
at com.opengg.loader/com.opengg.loader.loading.MapWriter.applyChangesToMapState(MapWriter.java:93)
at com.opengg.loader/com.opengg.loader.BrickBench.update(BrickBench.java:619)
at com.opengg.core/com.opengg.core.engine.OpenGG.runUpdate(OpenGG.java:220)
at com.opengg.core/com.opengg.core.engine.OpenGG.run(OpenGG.java:186)
at com.opengg.core/com.opengg.core.engine.OpenGG.initializeLocal(OpenGG.java:166)
at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(OpenGG.java:70)
at com.opengg.loader/com.opengg.loader.BrickBench.main(BrickBench.java:256)
Caused by: java.lang.IllegalArgumentException: newPosition > limit: (184558140 > 9760600)
at java.base/java.nio.Buffer.createPositionException(Buffer.java:341)
at java.base/java.nio.Buffer.position(Buffer.java:316)
at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516)
at com.opengg.loader/com.opengg.loader.loading.scene.SceneFileLoader.parsePNTRValues(SceneFileLoader.java:108)
at com.opengg.loader/com.opengg.loader.loading.scene.SceneFileLoader.load(SceneFileLoader.java:53)
at com.opengg.loader/com.opengg.loader.loading.MapLoader.loadFile(MapLoader.java:188)
... 9 more
Describe the bug
While BrickBench is installing on my PC two errors show up. One says "Could Not Find C:\Users\name\Desktop\Lego TCS Mods\brickbench\updater-old.bat" and the second one says "Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.opengg.core.render.Renderer.destroy()" because "com.opengg.core.render.RenderEngine.renderer" is null
at com.opengg.core/com.opengg.core.render.RenderEngine.destroy(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.closeEngine(Unknown Source)
at com.opengg.core/com.opengg.core.engine.OpenGG.initialize(Unknown Source)
at com.opengg.loader/com.opengg.loader.MapViewer.main(Unknown Source)"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the newest version of BrickBench (v0.2.2) to install on my computer.
This is counter-intuitive behavior. Assuming the updater does work as intended when called from run.bat
, this script should either be folded into another script's (or executable's) functionality, or hidden within a subdirectory, so that an average user doesn't run it on its own. As it stands, I can imagine other users running the script expecting it to... well... update BrickBench.
Most stuff labels the application as BrickBench
, but the application is referred to as Brick Bench
several locations on the website (including Google search results).
I'm trying to import into the NEWBONUS Senate level, and redoing a lot of old levels I've done and basically, Brick Bench is not making this happen. Every time I try to mesh import an obj it either crashes or has an error (log in the bottom.) I really would like a solution if possible. Thank you.
BrickBench_Log_2022-05-08_18-29-28.789.log
Some memory seems to remain uncollected after maps change
Describe the bug
After I open BrickBench on my PC it doesn't want to load.
There is a short video, where I show what happens:
https://drive.google.com/file/d/1MckkqmuHieun2nnFP4BH0nr3qu77nLQG/view?usp=sharing
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected BrickBench turning on properly... I expected me having fun making something in my life. Slightly cries
Logs
There are no logs in my BrickBench Files folder for some reason.
Additional context
Specs:
Graphics Card - Intel(R) HD Graphics
cant open hub_a in lij because of a csc error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.