Jump to content


neird

Member Since 01 Nov 2011
Offline Last Active Mar 08 2021 04:00 AM

Posts I've Made

In Topic: BiG World Setup Revival ideas (comments and suggestions welcome)

14 March 2012 - 03:33 AM


weidu when the LANGUAGE tag is used and is given a list of languages. Those languages are assigned a numerical value starting with 0 and going as high as there are languages in the list. but the order of languages is different per mod since some do not have translations in other languages or the modder listed them in a different order.


OK, so we need a list of languages that each mod support, and the numbers of theses languages, and hope that modders doesn't change the order of the languages between versions... heavy work to do.


You can extract language mapping with weidu.
weidu --nogame --list-languages setup-mod.tp2
Since there is no canonical names for languages in weidu you should also map language names (works for Linux)
weidu --nogame --list-languages setup-mod.tp2 | \
grep -E "^[0-9]+:" | tr "A-Z" "a-z" | \
sed -r -f fixlang.txt

In Topic: Icewind GAte 2-Delta Version

12 March 2012 - 07:45 AM

google helps
http://www.shsforums...ttach&tid=34232

In Topic: BiG World Project: Mac/Linux versions?

28 February 2012 - 10:09 AM

Take a look on this: http://www.shsforums...cs/page__st__20
Steve made a great converter tool for Mac OS X which worked pretty well with BWP v9.4. It converted Installpack, Fixpack and Textpack and also unpacked the choosen mods. Unfortunately it is no longer supported and thus not compatible with the current BWP v11. I suppose it needs only small changes to fit with the current BWP version.


Does not work for BWP v11. How these commands with unbalanced quotes from BiG World Install.bat should be parsed?

cat BiG\ World\ Install.bat | grep -E '"' | grep -vE '^([^"]*"[^"]*")+([^"]*)$'

SET CD5=%IF% %BGM%MovieCD5.bif"
SET CD6=%IF% %BGM%MovieCD6.bif"
SET NCD5=%IFN% %BGM%MovieCD5.bif"
SET NCD6=%IFN% %BGM%MovieCD6.bif"
%GOG% %IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG" GOTO :BG1CHCK2
%GOG% %IFG% %IF% %BG1%SETUP-BG1TP.DEBUG" GOTO :BG1CHCK2
%GOG% %IFH% %IF% %BG1%SETUP-ABRA.DEBUG" GOTO :BG1CHCK2
%NGOG% %IF% %BG1%readme_patch.txt" GOTO :BG1CHCK2
%GOG% %IFN% %BG1%readme_patch.txt" GOTO :BG1CHCK2
%NGOG% %IFN% %BG1%readme_patch.txt" %TXT%@12
%IFF% %IFN% %BG1%SETUP-CORRECFR.DEBUG" %TXT%@13
%IFG% %IFN% %BG1%SETUP-BG1TP.DEBUG" %TXT%@13
%IFH% %IFN% %BG1%SETUP-ABRA.DEBUG" %TXT%@13
Call ".\%BWIP%\Ini_movies.bat
Call ".\%BWIP%\Ini_settings.bat
%IFN% BWP_CDArnise %IFX% "Call %INST% LuvNalia "0"
Call ".\%BWIP%\define_BIG.bat
Call ".\%BWIP%\define_GUI.bat

In Topic: BiG World Project: Mac/Linux versions?

28 February 2012 - 12:56 AM

Take a look on this: http://www.shsforums...cs/page__st__20
Steve made a great converter tool for Mac OS X which worked pretty well with BWP v9.4. It converted Installpack, Fixpack and Textpack and also unpacked the choosen mods. Unfortunately it is no longer supported and thus not compatible with the current BWP v11. I suppose it needs only small changes to fit with the current BWP version.

Looking at code it will probaply fail for mods which create batch file on the fly (except inline), and for some mods (not all) which already linux or mac aware but not both.
Will borrow some nice regexpes like variable convertion, 'for' loop convertion, some rare dos command variants for my stateless converter.

In Topic: BiG World Project: Mac/Linux versions?

27 February 2012 - 12:54 AM

As a part of my BiG World Setup-Reloaded, I'm planning to bring the BWP to Mac and Linux. It's not ready yet, but I will make it ready soon.

I'm especially interested in how do you plan to handle batch files since i installed 177 modules in linux from which 42 requires manual patches even with
automatic batch to shell convertion and related tp2 changes.
I'm also interested in how do you plan to implenent dependency resolution. I ended up writing dsl for that http://www.shsforums...post__p__535402