Edited by the bigg, 30 January 2011 - 08:49 AM.
BGT in Linux (Successfully I think)
#41
Posted 30 January 2011 - 08:49 AM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#42
Posted 02 February 2011 - 07:19 AM
I've seen, though, on the iesdp, that the .tis format is the same for all IE games: what does tis2bg2 really do? Couldn't the .tis files just be --get-biff_ed from bg1, and --make-biffed into bg2 just afterwards?
edit: added attachments for asc64 ONLY
new tp2 (test 4 last version):
new unix script: ; thanks to Anomaly for his help
debug from last reinstallation, if you need it:
Italian tra file:
Edited by Turambar, 04 January 2012 - 03:18 AM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#43
Posted 02 February 2011 - 07:30 AM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#44
Posted 02 February 2011 - 09:06 AM
Thanks. Unfortunately, I don't know C, I don't nderstand what has to be included, what libs I need, ...IIRC, there's some difference in how overlays are handled between the engines; without tis2bg2, water becomes green when you enable 3d acceleration. After five minutes on Google, I found the source code to tis2bg2. From that archive, you should simply edit tis2bg2.cpp until you can get it to compile and have the same output on some sample files as running tis2bg2.exe via wine.
Is there anyone who can tell me how to compile it, or compile it on linux and attach it if it's possible?
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#45
Posted 02 February 2011 - 10:07 AM
Attached Files
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#46
Posted 02 February 2011 - 12:41 PM
My machine is 64bit, might that be the problem? It should have most 32-bit-compatibility libs, though. I might try on my laptop (which is 32bit) later.
PS: Perhaps I should start a new topic for this? where?
Edited by Turambar, 02 February 2011 - 01:03 PM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#47
Posted 02 February 2011 - 12:43 PM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#48
Posted 02 February 2011 - 01:04 PM
It was the original AR2000.tis from bg1.Can you upload the file it was failing on?
I tested it with wine and the windows tis2bg2 and it appears to work: converted file
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#49
Posted 03 February 2011 - 09:14 AM
Attached Files
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#50
Posted 03 February 2011 - 10:26 AM
It still fails, with "Invalid input area name" or "Invalid input area directory":Done, I think (on AR2000 it has the same output whether run from Wine or natively). It works in an ext3 file system, but not in a folder mounted via VirtualBox's protocol - something about MMAP permissions.
I'm using it in my home folder, in my normal file system.
Moreover, the .exe you attached does not run through wine
Edited by Turambar, 03 February 2011 - 10:31 AM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#51
Posted 03 February 2011 - 10:33 AM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#52
Posted 03 February 2011 - 11:21 AM
Ok it worked now. I diffed the output from wine and linux. The tis are the same, but the wed files differ (but the .wed treated with wine was obtained with an older version of tis2bg2, the one included in BGT).Parameter passing is a fugly mess (but what do you expect out of the BiG congregation). ./tis2bg2_linux -l ./ar2000 linux/ar2000 should work (everything before the last slash is the path, everything after is the SOURCE_RES of this particular area). I also do not know or care why a given tool refuses to work under Wine if I'm working on a native equivalent.
The two files, opened with IETME, appear the same and correct (whereas the original file from bg1 had green water); NI can open both, and I can't see where they actually differ.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#53
Posted 04 February 2011 - 02:22 AM
EIDT: you can use weidu --cmp-from linux.wed --cmp-to wine.wed to get a crude diff if you don't know of other binary diff tools.
Edited by the bigg, 04 February 2011 - 02:25 AM.
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#54
Posted 04 February 2011 - 05:58 AM
To turn the linux version into wine
COPY ~linux\ar2000.wed~ ~wine\ar2000.wed~ // patches to turn [linux\ar2000.wed] into [wine\ar2000.wed] WRITE_BYTE 0x24 65 // 0x41 == A WRITE_BYTE 0x25 82 // 0x52 == R WRITE_BYTE 0x2b 52 // 0x34 == 4Vice versa, to turn wine into linux
COPY ~wine\ar2000.wed~ ~linux\ar2000.wed~ // patches to turn [wine\ar2000.wed] into [linux\ar2000.wed] WRITE_BYTE 0x24 97 // 0x61 == a WRITE_BYTE 0x25 114 // 0x72 == r WRITE_BYTE 0x2b 0 // 0x00Those offsets are all in the same field: name of the tileset. They are the 1st, 2nd and last character.
I understand the first two: the letters only change case (the old version, through wine, used capital letters; the new, linux one uses lower case).
The last byte is correctly 0 in linux (no character).
I don't understand why the last character is 0x34 (ascii for 4) in the wine version.
Moreover, and that's most astonishing, NI sees the two files as having the same 8 bytes at 0x25: their values (decimal) are 065 082 050 048 048 048 000 000 (hex 0x41 0x52 0x32 0x30 0x30 0x30 0x00 0x00); this is different from what WeiDU says for either file (NI says upper case as the wine version, but the last byte is 0 as in linux)
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#55
Posted 04 February 2011 - 06:09 AM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#56
Posted 04 February 2011 - 01:27 PM
I have NOT registered the games, but I would assume that makes no difference here.
#57
Posted 04 February 2011 - 01:29 PM
Italian users: help test the Stivan NPC!
Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator
If possible, send diffs, translations and other contributions using Git.
#58
Posted 04 February 2011 - 10:27 PM
#59
Posted 05 February 2011 - 10:14 PM
#60 -Die Mensch-Maschine-
Posted 06 March 2011 - 04:05 AM
Cheers.