Jump to content

Help with unpack.bat and .sh batch files


Meira

Recommended Posts

Incidentally, I made note of a few quirks during my testing - not exactly closely related to this thread, but I doubt that they're worthy of a thread of their own. For one thing, I ran into multiple duplicates of the children that relate the story of the "captured demon", an issue which I believe has been reported before? Also, it struck me as odd that Amber was carrying an unidentified buckler and spear - is her unfamiliarity with these items intentional?

Link to comment
Incidentally, I made note of a few quirks during my testing - not exactly closely related to this thread, but I doubt that they're worthy of a thread of their own. For one thing, I ran into multiple duplicates of the children that relate the story of the "captured demon", an issue which I believe has been reported before? Also, it struck me as odd that Amber was carrying an unidentified buckler and spear - is her unfamiliarity with these items intentional?

 

So far the multiple children bug seems to be connect to being in the are where they spawn during daybreak. I've managed to re-create that only when using CTRL-T to advance time from night to day. When I waited the time to pass they spawned normally. The script used to spawn them is almost identical to the one that spawn Habib(sp?) (the scimitar throwing guy), which is not of course a guarantee for it to work, but I did kind of count on it. I have one report claiming multiple children spawning even though he didn't advance time manually and if these reports start to pile I'd probably should figure different spawn triggers for the kids.

 

The unidentified items are intentional. Amber just met you, she's not going to tell reveal all her secrets right away. It's not completely in-line with other NPCs, but at the moment I'm going to leave them unidentified.

Link to comment

Okay, more on the Windows side of the same (or similar) issue. Again, this does not happen to all users; so far only two reported cases.

 

Here's the unpack.bat again:

@echo off
md Music\mxm#am
copy Amber\Music\*.ogg Music\mxm#am
copy Amber\Music\snd2acm.exe Music\mxm#am
copy Amber\sounds\oggdec.exe Music\mxm#am
cd Music\mxm#am
oggdec mxm#*.ogg
del mxm#*.ogg
del oggdec.exe
snd2acm.exe -wav mxm#amA.wav mxm#amA.acm
snd2acm.exe -wav mxm#amB1.wav mxm#amB1.acm
snd2acm.exe -wav mxm#amB2.wav mxm#amB2.acm
snd2acm.exe -wav mxm#amC.wav mxm#amC.acm
snd2acm.exe -wav mxm#amD.wav mxm#amD.acm
snd2acm.exe -wav mxm#amE1.wav mxm#amE1.acm
snd2acm.exe -wav mxm#amZ.wav mxm#amZ.acm
snd2acm.exe -wav mxm#amZC.wav mxm#amZC.acm
snd2acm.exe -wav mxm#amZD.wav mxm#amZD.acm
snd2acm.exe -wav mxm#amZE.wav mxm#amZE.acm
del mxm#*.wav
del snd2acm.exe
cd..
cd..
cd override
oggdec m#*.ogg
del m#*.ogg
del oggdec.exe
tisunpack m#ar*.tiz
del m#ar*.tiz
del tisunpack.exe
pause

 

Here's the error from the command window:

 oggdec is not recognized as and external or internal command
could not find g:\bgII-soa\override\m#*.ogg
could not find g:\bgII-soa\override\oggdec.exe
tisunpack is not recognized as and external or internal command
could not find g:\bgII-soa\override\m#ar*.tiz
could not find g:\bgII-soa\override\tisunpack.exe

 

(It looks like that the music setup was succesfull, though I have to look again from the error reports if the music was reported to be working or not.)

 

According to the debug file the tisunpack and ogg dec are copied to the override alolong with the tiz and agg files:

[...]
Copied [amber/areas/m#ar06.tiz] to [override/m#ar06.tiz]
[amber/areas/m#ar06.wed] loaded, 14678 bytes
Copied [amber/areas/m#ar06.wed] to [override/m#ar06.wed]
[amber/areas/tisunpack.exe] loaded, 94208 bytes
Copied [amber/areas/tisunpack.exe] to [override/tisunpack.exe]
Copying 1 file ...
[...]
Copied [amber/sounds/m#ymm014.ogg] to [override/m#ymm014.ogg]
[amber/sounds/m#ymm015.ogg] loaded, 106606 bytes
Copied [amber/sounds/m#ymm015.ogg] to [override/m#ymm015.ogg]
[amber/sounds/m#ymm016.ogg] loaded, 89629 bytes
Copied [amber/sounds/m#ymm016.ogg] to [override/m#ymm016.ogg]
[amber/sounds/m#ymm017.ogg] loaded, 95529 bytes
Copied [amber/sounds/m#ymm017.ogg] to [override/m#ymm017.ogg]
[amber/sounds/oggdec.exe] loaded, 155648 bytes
Copied [amber/sounds/oggdec.exe] to [override/oggdec.exe]
[...]

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...