rotators / Fo1in2

Fallout 1 to 2 engine conversion
https://nma-fallout.com/threads/218045/
585 stars 30 forks source link

fix `dat2.exe` path #152

Closed TheJoeSchr closed 1 year ago

TheJoeSchr commented 2 years ago

the linux script wasn't working anymore because it couldn't find dat2.exe. It seems it has been moved. with that fix unpacker seems to work again. at least I got this response:

Fallout DAT-files packer/unpacker, version 2.32
Copyright (C) Anchorite (TeamX), 2004-2006
anchorite2001@yandex.ru

   Length      Packed     Type   Name
 ---------- ----------- -------- ---------------
      33536        9292  Packed  COLOR.PAL
       6337        2316  Packed  FONT0.AAF
       3044        1459  Packed  FONT0.FON
      12844        3102  Packed  FONT1.AAF
       2044        1014  Packed  FONT1.FON
      25395        6849  Packed  FONT2.AAF
      [...]
       6371        3099  Packed  TEXT\SPANISH\GAME\PROTO.MSG
        120         115  Packed  TEXT\SPANISH\GAME\SCRIPT.MSG
      66503       19364  Packed  TEXT\SPANISH\GAME\SCRNAME.MSG
       4454        2403  Packed  TEXT\SPANISH\GAME\SKILL.MSG
        219         172  Packed  TEXT\SPANISH\GAME\SKILLDEX.MSG
       6034        2673  Packed  TEXT\SPANISH\GAME\STAT.MSG
       3242        1958  Packed  TEXT\SPANISH\GAME\TRAIT.MSG
       1680         895  Packed  TEXT\SPANISH\GAME\WORLDMAP.MSG
 ----------                      ---------------
  477089046                        19784 file(s)

Flushing buffers...
Fallout DAT-files packer/unpacker, version 2.32
Copyright (C) Anchorite (TeamX), 2004-2006
anchorite2001@yandex.ru

Error: Unable open response file
NovaRain commented 2 years ago

I think the linux script is for the release package, which has dat2.exe in its root path.

wipe2238 commented 1 year ago

NovaRain is correct, linux-related stuff is copied as-is when preparing release, putting everything in right place.

I guess script should look for dat2.exe in both paths first, to make it work in release package (which doesn't have Tools directory at all) and when used from cloned repo.