thank you very much for your reply.
Keep in mind that there's always the option of doing a little post-processing on your own; something like
sed -i 's/\(\/\/POINTER\)/\n\n\n\1/' Cartographer_G1_dumped_script*.txtshould get the job done nicely.
Everybody's got their own preferred formatting, and adding dozens of commands for separately controlling every place where whitespace is output is pretty annoying from a development perspective without providing much real benefit. I might look into adding some sort of customizable templating system for the Cartographer output, which could be much more flexible and could be used to address other formatting issues that take more than a single search-and-replace to resolve.
This is a common refrain throughout the ROM hacking community .
Yup, i tried "\n\n\n\n//POINTER #" using Notepad++ and it perfectly does its job. But thank you for telling me about the option "#TRIM TRAILING NEWLINES: No", might come in Handy in the future
abw, i have another question regarding an issue that we came across.
Inside Growlanser 1 ELF there are textblocks stored. It is build up like this:
We have a size issue, because right after the end of the textblock 1/2/3... the pointer table starts.
So, i thought we can just move the textblock below the last STUFF and have an almost unlimited text space.
I found a spot that is close enough for 2 byte pointers that are devided by 2 to still reach (0xFFFF x 2).
Now here comes the problem that we came across.
When Atlas calculates the pointers, it cuts off everything after 0xFFFF, even though the pointers get divided by 2.
0x13C610 - 0x12C4A4 = 0x1016C which would roll over to 0x016C
But 0x016C divided by two would be 0x00B6.
Do you know what we could do to make Atlas properly calculate the pointers?Update:
our super MIPS Hacker and a buddy took a look at this issue in our Discord and suggested a modified part of the Atlas file:https://bitbucket.org/Risae/growlanser-6-english-translation/commits/8fcbd02b7a51190ff583a7658ff4e330f55d1643
Seems to work like a charm now: