I recently downloaded the Camera Studio Mod for Minecraft 1.8. I used the current version of forge with it and install the VR Dependencies for the mod so that I could record a timelapse. Everything works fine Recording, Mic, etc. but, there is one problem. When I try to use the third person camera after setting two points my game says 'Internal Server Shutting Down...' and then crashes. I have reinstalled it multiple times, reinstalled forge, deleted all my other mods, and even deleted the .minecraft folder and fresh installed forge and this mod. I've also tried allocating more RAM and monitoring my memory performance when it crashes. It is not caused by lack of RAM. I don't know how to fix this problem and any help would be appreciated. The crash log will be in a pastebin link below. -Thanks
I am pretty sure that it isn't a hardware problem. My cpu and RAM were fine. I have eight gigs of RAM and I allocated three to the mod to see if that would help but it didn't. Thanks, though.
Also I want this for time lapsing, I've also had issues with multishot which I have another thread for that problem. If anyone knows any other timelapse mods besides multishot and camera studio that would be awesome.
This isn't a hardware problem, there is actually an error in the code.
It is fixable, however you need to know some things about how Java works.
You're getting a NullPointerException. Incase you don't know, null is a symbol for something that doesn't have a value.
The error is coming because the code is trying to call a method on that variable, which happens to be null, which is impossible.
What I'm about to explain is quite complex, but will fix the problem. Due to licencing terms it is not allowed to distribute the jar file, thus you will need to perform this yourself. It is recommended to make a backup of the mod before attempting to perform the edits following. Unfortunately because of limitations with tools that currently exist for Java and minecraft modding, which I will not go into much, it's not simply possible to decompile and modify the code to fix the issue (minecraft's code uses default package which can't be imported without errors), instead we have to modify the bytecode (the data that Java is compiled into) directly.
Open the camera studio mod up with an acrhive program like 7-zip or WinRar, and navigate to the sushen folder inside it. Take the file eaiae.class and move it out of the archive (JBE has issues sometimes writing to files inside the archive, so this is easier).
Run JBE using the .bat file or the .sh file if you're running a flavor of Linux. If you're on a mac you'll have to create your own .command file. Once the program is running, you will use the open option in "File" and browse for that eaiae.class file you extracted. You will see something like this:
Expand the "Methods" item by clicking on the "+". Expand the "<main>" item in the same way. Click on the "Code".
You will see something like the following:
Head over to the "Code Editor" tab. You'll see that line 5 is "aconst_null". Select that line and paste the following two lines in it's place.
I will not explain what this does because it would require a very lengthy explanation of Java bytecode and stack-based languages. Your file should now look like this:
If your code looks like that (and you haven't modified anything else besides replacing that one line with the two I listed above). Then click "Save Method".
The last stage is to take that eaiae.class that has now been modified, and put it back inside the jar file. Once you've put it back into the sushen folder inside the mod jar, and if asked confirm overwrite, you're done. You may load up the game and use the third person mode without crashing.
I will note a few things, the mod was never fully updated to 1.8, as such there are a few issues with the mod still. Even though the third person camera will work, and will record properly if you have the dependencies, the model and skin of the player who is recording it will not show up in the video, all other people render fine, however if you start up third person recording, and walk right in front of your camera, in the video you will not see yourself. I just got this working for myself earlier today, I'll experiment more with the mod and see if I can find a way to fix the player rendering in the video. If so, I'll edit this post.
Mac uses .command files, Linux uses .sh files, Windows uses .bat files.
All 3 of these files have different syntax, code requirements, the formatting of a .bat file will not be the same as that of a .command file, so renaming doesn't do anything. Unfortunately I don't use a mac so I can't tell you the exact code to use, but it should be obtainable by searching google.
Hi I have a mac also and I can't get the bytecode editor open with a command file. This might sound weird but could someone with the edited camera studio mod file send it to me over email or dropbox. Its not public so it should be legal I think. my email is [email protected] Please no spam