Home » MODDING HQ 1.13 » v1.13 General Development Talk » ja2MapTool (Initial release)
Re: ja2MapTool[message #354039 is a reply to message #354037] Sun, 15 July 2018 14:33 Go to previous messageGo to previous message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
It should just work when you do
mvn clean install
on the top level project. Unless I broke it somehow of course.

I started coding it in Netbeans, which was fine I guess, and later switched to IntelliJ Idea, which I can recommend for more serious Java work. Both have excellent support for Maven projects.

Edit: also, here's the method that does the remapping, you can start looking for issues around that point. I think the problem is that the code doesn't do enough when removing items, it sets item stacks as nonexistent but leaves all of the content data intact, which may save more data than necessary, resulting in a corrupt file. Have a look at the asset loader code for how items are loaded, properly removing world items probably requires rebuilding that structure, or at least adding some checks to the method that later saves the data.

[Updated on: Sun, 15 July 2018 14:51]

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message thumbs26.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message correct8.png
Read Message exclamation8.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using WASD keys for scrolling
Next Topic: Code cleanups, how to contribute
Goto Forum:
  


Current Time: Tue Jan 21 06:16:43 GMT+2 2025

Total time taken to generate the page: 0.01918 seconds