It seems, that the parser reads the escpae characters in a ~ ~ block. I am not totally sure if this error is weidu related or rather mac encoding or scs specific.
It's most likely specific to SCS. There's some suspect stuff in stratagems/lib/lib_general.tpa that deals with newlines, but only whatever kind of newlines are used in the file itself, which happens to be \r\n. And at that, it only reads the first byte of the two-byte sequence.
@mlnevese and @Nifft: I read that you need to have WeiDU tested on OSX 10.8.2. My Mac runs on that...
[Spoiler]I haven't upgraded to 10.8.3 due to having a third party SSD-drive. Updates always screw up TRIM-support, the fix for 10.8.3 is not yet available. Apple is great, except when you want to add a few hardware stuffs...[/Spoiler]
To test it I have a really silly question: how do I use WeiDU to install the test-mod? I tried googling the answer, to no avail...
@Nifft Strange. I wonder why it's so huge... The Windows compiled beta is around 900kb. There must be a lot of redundancy in the Mac version as it compresses heavily as well...
Makes sense I hadn't thought about library handling differences between OSs... Fits me right for trying to think before drinking some coffee in the morning
All Ocaml programs are statically linked, on all platforms. The main difference is that the Win32 and Linux binaries are stripped and upx-compressed. Compressing with upx makes a big difference but may or may not work on 64-bit OS X (it doesn't on 64-bit Linux). Additionally, The Win32/Linux binaries are 32 bit, which are inherently smaller than 64-bit binaries (but the difference is probably minor, at most).
Well, you can install UPX and give it a try. The other two are simply compressed with the --best option. If it works, I can add it to the Makefile for the next version. Just make sure the executable still works when it is compressed.
@subtledoctor The current version does not require any changes to .tp2 and if you use the correct syntax it doesn't even require copying the tlk file around but it still must be launched from the terminal.
@subtledoctor I would be very interested in using this system, have you managed to make a template for modders yet? Also perhaps an idiots guide as I am rubbish with macs, but fantastic work getting this sorted.
@subtledoctor - Nice! Is there a way to pop up a dialog box to ask for a language? Or to run a quick shell script to gather all available mods by using a file-glob for something like "*/*.tp2" to find the driver files?
Comments
Thanks. If it installed allright that should be enough. The log is not necessary.
File host + link and avoid the stupid attachment system.
Anyway, the dropbox thing ought to be a fine solution going forward. :-)
I am not totally sure if this error is weidu related or rather mac encoding or scs specific.
[Spoiler]I haven't upgraded to 10.8.3 due to having a third party SSD-drive. Updates always screw up TRIM-support, the fix for 10.8.3 is not yet available. Apple is great, except when you want to add a few hardware stuffs...[/Spoiler]
To test it I have a really silly question: how do I use WeiDU to install the test-mod? I tried googling the answer, to no avail...
http://forum.baldursgate.com/discussion/comment/284576/#Comment_284576
There must be a lot of redundancy in the Mac version as it compresses heavily as well...
Depending on the type of file IO used, terminal handling, etc., some libraries may be standard on Windows but require special handling on UNIX.
The reverse applies as well -- things which are tiny in UNIX can be huge in Win32.
The main difference is that the Win32 and Linux binaries are stripped and upx-compressed. Compressing with upx makes a big difference but may or may not work on 64-bit OS X (it doesn't on 64-bit Linux).
Additionally, The Win32/Linux binaries are 32 bit, which are inherently smaller than 64-bit binaries (but the difference is probably minor, at most).
UPX made the executable about 90% smaller. Good stuff!
https://www.dropbox.com/s/h7pkamavj24a2d9/WeiDU-Mac-231-upx.2013-03-23.zip
@subtledoctor - Nice! Is there a way to pop up a dialog box to ask for a language? Or to run a quick shell script to gather all available mods by using a file-glob for something like "*/*.tp2" to find the driver files?