Author Topic: WeiDU won't look for CDn/data biffs on Mac OS X  (Read 6681 times)

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
WeiDU won't look for CDn/data biffs on Mac OS X
« on: May 18, 2005, 03:02:03 PM »
Running WeiDU on Mac OS X, it looks like it's completely unable to find the BIFF paths in the Mac INI file. For instance, running a Tp2 here will yield this debug output:
Code: [Select]
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8710097 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 153 bytes
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
Possible HD/CD Path: [1]
[./Keymap.ini] loaded, 4619 bytes
[dialog.tlk] claims to be writeable.
[dialog.tlk] claims to be a regular file.
[WeiDU.log] parsed
[FIXPACK.TP2] parsed
Using Language [English]
[English] has 1 top-level TRA files
[FIXPACK/ENGLISH/FIXPACK.TRA] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] has 74107 translation strings
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [1/movies/25Movies.bif]
[./movies/25Movies.bif] 96891690 bytes, 6 files, 0 tilesets
Depending on where I have Baldur's Gate II installed, the number will sometimes be different (back when I had it on a separate partition, for instance, it was reporting 300). When WeiDU goes to actually search for the BIFFs, it will only actually look in ./data and ./movies (I actually only have a single root-level data and movies installation, and no CDn folders, making me pretty useless for reproducing and investigating). If WeiDU is instructed to search a BIFF that is in the CDn/data directories (or CDn/movies, from COPY or FILE_EXISTS or similar actions), it will fail with a "./data/mybiff.bif not found" error (no matter what the INI file looks like, WeiDU will only search ./ for data files).

There is a slight difference in behavior if the CLUA history has entries (it will start reporting Possible HD/CD Path: [CLUAConsole:] instead of some number), but it will still fail. It looks like Windows installations get a registry search for the actual game, but the cd_regexp search for CDn paths in the INI file looks to be just a hard-coded search for Windows-style paths (I couldn't see that the Arch biff_path_separator is ever used for anything (not that I'd even be able to tell if it was)). I can't tell if this is the problem, or if there's some other stink in there that I'm not seeing.

The Alias section of Baldur.ini on a full installation of ToB on Mac OS X would look like this:
Code: [Select]
[Alias]
CD5:=:CD5:
HD0:=:
CD1:=:CD1:
CD2:=:CD2:
CD3:=:CD3:
CD4:=:CD4:
and the Alias section from a default installation of SoA on Mac OS X looks like:
Code: [Select]
[Alias]
HD0:=:
CD1:=Baldur's Gate II CD 1:CD1:
CD2:=Baldur's Gate II CD 2:CD2:
CD3:=Baldur's Gate II CD 3:CD3:
CD4:=Baldur's Gate II CD 4:CD4:
Now, because I have a "no-CDn" setup here, the Alias section from my INI file is this:
Code: [Select]
[Alias]
CD1:=:
CD2:=:
CD3:=:
CD4:=:
CD5:=:
HD0:=:
This always works, but not because WeiDU gives a proverbial woohoo! and only searches ./data (it just does that anyway, and happens to work because I have everything in ./data and ./movies -- the INI file has no effect on it).

Hopefully there's something obvious with how WeiDU is locating the CDn paths (as stated, my setup works well with WeiDU, so I'm of limited value when it comes time to do some actual investigating and/or testing), and you'll be able to fix it without having access to a Mac.

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #1 on: May 18, 2005, 03:12:20 PM »
Can you post an entire mac baldur.ini file?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #2 on: May 18, 2005, 03:15:27 PM »
My Baldur.ini is:
Code: [Select]
[Program Options]
3D Acceleration=1
16Bit Textures=0
Backwards Compatible 3d=0
BitsPerPixel=32
Brightness Correction=0
Debug Mode=1
Disable Brighten=0
Disable Movies=0
Disable Vertex Padding=0
Display Frequency=0
Display Subtitles=1
Double Byte Character Support=0
Drop Capitals=1
First Run=1
Font Name=
Force 50 Percent Transparent=0
Full Screen=1
Gamma Correction=0
Install Type=3
Logging On=0
Maximum Frame Rate=30
Path Search Nodes=32000
Resolution=1024
Screen Position X=64
Screen Position Y=51
SoftBlt=0
SoftBltFast=0
SoftMirrorBlt=0
SoftSrcKeyBlt=0
SoftSrcKeyBltFast=0
Sprite Mirror=0
Strref On=0
Tooltips=20
Translucent Shadows=1
Use Mirror FX=1
Volume Ambients=80
Volume Movie=70
Volume Music=60
Volume SFX=90
Volume Voices=100

[Alias]
CD1:=:
CD2:=:
CD3:=:
CD4:=:
CD5:=:
HD0:=:

[Game Options]
All Learn Spell Info=1
Always Dither=1
Area Effects Density=100
Attack Sounds=1
Auto Pause Center=1
Auto Pause State=1177
Automated 3D Animations=80
Automated Attack Sounds=50
Automated Disable Brightest=40
Automated Disable Casting Glows=40
Automated Disable VEFVidCells=30
Automated Disable VVC Sounds=60
Automated Faster Blur=60
Automated Foot Steps=70
Automated High Level Brighten=80
Automated Limit Transparency=40
Automated Low Performance=60
Automated Mid Level Brighten=60
Automated Speed Adjustment=0
Automated Translucent Shadows=50
Automated Very Low Performance=30
Bored Timeout=5000
Command Sounds Frequency=2
Critical Hit Screen Shake=1
Current Loading Hint=0
Difficulty Level=5
Disable Casting Glows=0
Disable Footsteps During Combat=0
Disable Placed Sounds During Combat=0
Disable Statics During Combat=0
Disable VEFVidCells=0
Disable VVC Sounds=0
Duplicate Floating Text=1
Effect Text Level=63
Enhanced Path Finding=1
Environmental Audio=1
Extra Combat Info=1
Extra Feedback=1
Faster Blur=0
Filter Games=1
Footsteps=1
Force Dialog Pause=1
GUI Feedback Level=1
Heal Party on Rest=0
High Level Brighten=1
Hotkeys On Tooltips=1
HP Over Head=0
Infravision=1
Keyboard Scroll Speed=31
Locator Feedback Level=3
Low End Machine 2=0
Low End Machine=0
Low Mem Sounds 1=0
Low Mem Sounds 2=0
Memory Access=100
Memory Level=1
Mid Level Brighten=1
Mouse Scroll Speed=41
Never Show Nuisance SOA=0
Never Show Nuisance=0
One Time Popup=0
Pausing Map=0
Quick Item Mapping=1
Selection Sounds Frequency=3
Subtitles=1
Terrain Hugging=0
Tiles Precache Percent=100
Tutorial State=1
Use 3d Animations=1
Weather=1

[Config]
CacheSize=650
General=3
Graphics=3
Sound=3

[Movies]
BISLOGO=1
BWDRAGON=1
DAYNITE=1
DEATHAND=1
END15FPS=1
ENDMVE1=1
ENDMVE2=1
ENDMVE3=1
FLYTHR01=1
FLYTHR02=1
FLYTHR03=1
FLYTHR04=1
INTRO=1
INTRO15F=1
MANAFORG=1
MELISSAN=1
MPLYLOGO=1
NITEDAY=1
POCKETZZ=1
RESTCAMP=1
RESTDUNG=1
RESTINN=1
SARADUSH=1
WOTC=1

[Multiplayer]
Default Permissions=00000001
Import Character=7
Last Protocol Used=2
Pausing Dialog=1
Player Name=
Session Name=
Session Password=

[Lua Edit]
String0=CLUAConsole:
String1=CLUAConsole:
String2=CLUAConsole:
String3=CLUAConsole:
String4=CLUAConsole:
String5=CLUAConsole:
String6=CLUAConsole:
String7=CLUAConsole:
String8=CLUAConsole:
String9=CLUAConsole:
A default Baldur.ini file from a full install of SoA+ToB is just:
Code: [Select]
[Program Options]
Install Type=3

[Alias]
CD5:=:CD5:
HD0:=:
CD1:=:CD1:
CD2:=:CD2:
CD3:=:CD3:
CD4:=:CD4:

[Game Options]
Memory Access=100
Memory Level=1

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #3 on: May 18, 2005, 03:24:30 PM »
The ini file for a default "recommended" installation of SoA is:
Code: [Select]
[Program Options]
Install Type=2

[Alias]
HD0:=:
CD1:=Baldur's Gate II CD 1:CD1:
CD2:=Baldur's Gate II CD 2:CD2:
CD3:=Baldur's Gate II CD 3:CD3:
CD4:=Baldur's Gate II CD 4:CD4:

[Game Options]
Memory Access=100
Memory Level=1
After running BGConfig, obviously there will be more settings, but the format will be the same as my own ini file (with different values and in a different order, of course).

The main difference between SoA default and ToB default looks to be the preceding ':' -- it looks like this simply denotes local (./) CDn directories, and the absence of the initial ':' points to an actual volume (the CD itself).
« Last Edit: May 18, 2005, 03:26:54 PM by devSin »

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #4 on: May 18, 2005, 03:31:20 PM »
OK. I think I can stop you from getting that "1" as a possible CD path. I'm not sure what valid CD paths you're expecting me to extract from your file.

For an entry like this:

CD1:=:CD1:

What do you want me to extract? ":CD1:" ":CD1" "CD1:" "CD1"?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #5 on: May 18, 2005, 03:47:28 PM »
I want for WeiDU to actually recognize that CDn folders exist, and to search inside CDn/data or CDn/movies as appropriate. As of now, if it isn't in ./data or ./movies, it doesn't exist (as far as WeiDU is concerned). If you're asking about the path returned, I guess it would be something like "=:" returns "./" with "my:path:to:CDn" returning "my/path/to/CDn" (I'm not sure if there's much to be done for the physical CDs, but you could search for /Volumes/listed/INI/path if there's no initial colon).

For my ini file, WeiDU would come back with this:
Code: [Select]
CD1:=: -> ./
CD2:=: -> ./
CD3:=: -> ./
CD4:=: -> ./
CD5:=: -> ./
HD0:=: -> ./

For the default ToB, it would give this:
Code: [Select]
CD5:=:CD5: -> ./CD5
HD0:=:     -> ./
CD1:=:CD1: -> ./CD1
CD2:=:CD2: -> ./CD2
CD3:=:CD3: -> ./CD3
CD4:=:CD4: -> ./CD4

Finally, for the SoA recommended install (most data left on physical CDs), it would (optionally) return:
Code: [Select]
HD0:=:                          -> ./
CD1:=Baldur's Gate II CD 1:CD1: -> /Volumes/Baldur's Gate II CD 1/CD1
CD2:=Baldur's Gate II CD 2:CD2: -> /Volumes/Baldur's Gate II CD 2/CD2
CD3:=Baldur's Gate II CD 3:CD3: -> /Volumes/Baldur's Gate II CD 3/CD3
CD4:=Baldur's Gate II CD 4:CD4: -> /Volumes/Baldur's Gate II CD 4/CD4

I'm not exactly sure how WeiDU specifies paths for Windows installations, but the path found would be the CDn folder that contains a "data" directory and (optionally) a "movies" directory (case-insensitive, I have no idea if you'll need to escape the spaces with '\'), that WeiDU would search for data files (as it currently does on Windows installations, and for ./data and ./movies on Mac OS X). Since the : is an invalid character for file/folder names, it will always be the BIFF path separator (with an initial : meaning the current working directory, and the absence of one meaning /Volumes/).
« Last Edit: May 18, 2005, 04:06:33 PM by devSin »

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #6 on: May 18, 2005, 03:55:56 PM »
For your default soa+tob example, WeiDU now reports:

Possible HD/CD Path: [:CD5:]
Possible HD/CD Path: [:]
Possible HD/CD Path: [:CD1:]
Possible HD/CD Path: [:CD2:]
Possible HD/CD Path: [:CD3:]
Possible HD/CD Path: [:CD4:]

You'll have to try it and let me know.

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #7 on: May 18, 2005, 04:03:49 PM »
I'll fake a Tp2 with a saradush.mve check and move ./movies/25movies.bif to ./CD5/movies/25movies.bif and update the ini to CD5:=:CD5: and see if it works.

Note that even though the delimiter in the INI files is the colon (courtesy of "classic" Mac OS support), you'll probably want to stick with the forward slash (I guess we'll see what happens).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #8 on: May 18, 2005, 04:15:13 PM »
OK. A fresh compile of v179, running this Tp2
Code: [Select]
BACKUP ~tempsave~
AUTHOR ~devSin~

BEGIN ~Test-o~ INSTALL_BY_DEFAULT NO_LOG_RECORD

REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~SARADUSH.MVE~ ~So far, no luck.~

PRINT ~It works!~
still will fail
Code: [Select]
Mainframe:/Applications/Baldur's Gate II akay$ weidu ~/Desktop/Setup.tp2 --yes
[weidu] WeiDU version 179
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] 74279 string entries
[WeiDU.log] parsed
[/Users/akay/Desktop/Setup.tp2] parsed
FIXPACK.TP2  0  0 Installed
ERROR: BIFF [./movies/25Movies.bif] cannot be loaded: Unix.Unix_error(20, "stat", "./movies/25Movies.bif")

SKIPPING: [Test-o]
        So far, no luck.
Saving This Log:
FIXPACK.TP2  0  0 Installed
[FIXPACK.TP2] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] has 74107 translation strings

I'm not getting WeiDU to actually log any of the normal CD path strings, so I'll have to re-run my normal Tp2 in a bit. The directory structure for the BG2 installation is roughly
Code: [Select]
Baldur's Gate II/
  Baldur's Gate II
  Baldur.err
  baldur.exe
  Baldur.ini
  Baldur.log
  BGConfig
  BGConfig.exe
  cache/
    data/
  CD5/
    data/
    movies/
      25MOVIES.BIF
  characters/
    *
  Chitin.key
  data/
    *
  dialog.tlk
  docs/
    *
  Keymap.ini
  movies/
    *
  mpsave/
  music/
    *
  override/
    *
  portraits/
  save/
    *
  screenshots/
  scripts/
    *
  sounds/
    *
  temp/
  tempsave/
and the INI file has this:
Code: [Select]
[Alias]
CD1:=:
CD2:=:
CD3:=:
CD4:=:
CD5:=:CD5:
HD0:=:
« Last Edit: May 18, 2005, 04:28:08 PM by devSin »

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #9 on: May 18, 2005, 04:37:53 PM »
Unless the log file has "possible HD/CD path is Foo", there's no way WeiDU will look for Foo/Movies/Yada.

So we need to figure out why you're not getting the "possible path" thing. Do you see it in the log? Do you have valid INI files in the game directory?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #10 on: May 18, 2005, 04:59:21 PM »
Yeah. I just re-installed the monstrous Tp2, and there aren't any of the normal BIFF path messages
Code: [Select]
WeiDU v 179 Log

 weidu --log FixPack/FIXPACK.LOG --tlkout dialog.tlk FIXPACK.TP2 --yes
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8710097 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 153 bytes
[./Keymap.ini] loaded, 4619 bytes
[dialog.tlk] claims to be writeable.
[dialog.tlk] claims to be a regular file.
[WeiDU.log] parsed
[FIXPACK.TP2] parsed
Using Language [English]
[English] has 1 top-level TRA files
[FIXPACK/ENGLISH/FIXPACK.TRA] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] has 74107 translation strings
[./movies/25Movies.bif] 96891690 bytes, 6 files, 0 tilesets

The INI file was valid (it was my usual INI file, with only the stated change under [Alias]). Keep in mind that the INI file has CR (Mac) line breaks (it's not our fault :P). It's possible the \r\n is choking here, but I can't tell why the behavior would differ (arch_osx now has 'let cd_regexp = Str.regexp "^[CH]D[0-9]+.*=\\([^\r\n]*\\)"') from the previous version (it looks identical to the old dec in load).

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #11 on: May 18, 2005, 05:02:24 PM »
At this risk of asking you to do all the work here ... can you putz with the regexp until it picks up something? I can't seem to test this locally (when I try, it works fine, as above). It might also be worth instrument line 204 of src/load.ml to print out the name of the INI files we try to load. Maybe we're never even loading in baldur.ini?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #12 on: May 18, 2005, 05:12:57 PM »
It looks like it's actually loading (or trying to) the ini files (I went ahead and shoved out the file buffer, name and directory)
Code: [Select]
WeiDU v 179 Log

 /Users/akay/Documents/Downloads/WeiDU/weidu.asm.exe /Users/akay/Desktop/Setup.tp2 --log /Users/akay/Desktop/logfile
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8629919 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 3117 bytes


RUNLOG: INI file [Program Options]
3D Acceleration=1
16Bit Textures=0
Backwards Compatible 3d=0
BitsPerPixel=32
Brightness Correction=0
Debug Mode=1
Disable Brighten=0
Disable Movies=0
Disable Vertex Padding=0
Display Frequency=0
Display Subtitles=1
Double Byte Character Support=0
Drop Capitals=1
First Run=1
Font Name=
Force 50 Percent Transparent=0
Full Screen=1
Gamma Correction=0
Install Type=3
Logging On=0
Maximum Frame Rate=30
Path Search Nodes=32000
Resolution=1024
Screen Position X=64
Screen Position Y=51
SoftBlt=0
SoftBltFast=0
SoftMirrorBlt=0
SoftSrcKeyBlt=0
SoftSrcKeyBltFast=0
Sprite Mirror=0
Strref On=0
Tooltips=20
Translucent Shadows=1
Use Mirror FX=1
Volume Ambients=80
Volume Movie=70
Volume Music=60
Volume SFX=90
Volume Voices=100

[Alias]
CD1:=:
CD2:=:
CD3:=:
CD4:=:
CD5:=:CD5:
HD0:=:

[Game Options]
All Learn Spell Info=1
Always Dither=1
Area Effects Density=100
Attack Sounds=1
Auto Pause Center=1
Auto Pause State=1177
Automated 3D Animations=80
Automated Attack Sounds=50
Automated Disable Brightest=40
Automated Disable Casting Glows=40
Automated Disable VEFVidCells=30
Automated Disable VVC Sounds=60
Automated Faster Blur=60
Automated Foot Steps=70
Automated High Level Brighten=80
Automated Limit Transparency=40
Automated Low Performance=60
Automated Mid Level Brighten=60
Automated Speed Adjustment=0
Automated Translucent Shadows=50
Automated Very Low Performance=30
Bored Timeout=5000
Command Sounds Frequency=2
Critical Hit Screen Shake=1
Current Loading Hint=0
Difficulty Level=5
Disable Casting Glows=0
Disable Footsteps During Combat=0
Disable Placed Sounds During Combat=0
Disable Statics During Combat=0
Disable VEFVidCells=0
Disable VVC Sounds=0
Duplicate Floating Text=1
Effect Text Level=63
Enhanced Path Finding=1
Environmental Audio=1
Extra Combat Info=1
Extra Feedback=1
Faster Blur=0
Filter Games=1
Footsteps=1
Force Dialog Pause=1
GUI Feedback Level=1
Heal Party on Rest=0
High Level Brighten=1
Hotkeys On Tooltips=1
HP Over Head=0
Infravision=1
Keyboard Scroll Speed=31
Locator Feedback Level=3
Low End Machine 2=0
Low End Machine=0
Low Mem Sounds 1=0
Low Mem Sounds 2=0
Memory Access=100
Memory Level=1
Mid Level Brighten=1
Mouse Scroll Speed=41
Never Show Nuisance SOA=0
Never Show Nuisance=0
One Time Popup=0
Pausing Map=0
Quick Item Mapping=1
Selection Sounds Frequency=3
Subtitles=1
Terrain Hugging=0
Tiles Precache Percent=100
Tutorial State=1
Use 3d Animations=1
Weather=1

[Config]
CacheSize=650
General=3
Graphics=3
Sound=3

[Movies]
BISLOGO=1
BWDRAGON=1
DAYNITE=1
DEATHAND=1
END15FPS=1
ENDMVE1=1
ENDMVE2=1
ENDMVE3=1
FLYTHR01=1
FLYTHR02=1
FLYTHR03=1
FLYTHR04=1
INTRO=1
INTRO15F=1
MANAFORG=1
MELISSAN=1
MPLYLOGO=1
NITEDAY=1
POCKETZZ=1
RESTCAMP=1
RESTDUNG=1
RESTINN=1
SARADUSH=1
WOTC=1

[Multiplayer]
Default Permissions=00000001
Import Character=7
Last Protocol Used=2
Pausing Dialog=1
Player Name=
Session Name=
Session Password=

[Lua Edit]
String0=CLUAConsole:
String1=CLUAConsole:
String2=CLUAConsole:
String3=CLUAConsole:
String4=CLUAConsole:
String5=CLUAConsole:
String6=CLUAConsole:
String7=CLUAConsole:
String8=CLUAConsole:
String9=CLUAConsole:
 loaded


RUNLOG: Loading Baldur.ini from .
[./Keymap.ini] loaded, 5032 bytes


RUNLOG: INI file [Keymap Page]
Character Arbitration=C
Character Record=R
Inventory=I
Journal=J
Map=M
Options=O
Priest Spells=P
Return To Game=G
Wizard Spells=W

[Keymap Actions]
Battle Song=
Cast Spell=
Dialog=
Equip Melee Weapon=
Equip Range Weapon=
Group Attack=
Group Stop=
Guard / Protect=
Special Abilities=
Stealth=
Thieving=
Trap Detection=
Turn Undead=
Use Item=

[Keymap Miscellaneous]
Chat Window=T
Hide Interface=H
Left Interface=Y
Location=X
Quick Load=L
Quick Save=Q
Rest=Z
Right Interface=U
Toggle AI=A

[Keymap Quick Slots]
Formation Slot 1=
Formation Slot 2=
Formation Slot 3=
Formation Slot 4=
Formation Slot 5=
Item Slot 1=
Item Slot 2=
Item Slot 3=
Spell Slot 1=
Spell Slot 2=
Spell Slot 3=
Weapon Slot 1=
Weapon Slot 2=
Weapon Slot 3=
Weapon Slot 4=

[Keymap Fixed]
Button 1=F1
Button 2=F2
Button 3=F3
Button 4=F4
Button 5=F5
Button 6=F6
Button 7=F7
Button 8=F8
Button 9=F9
Button 10=F10
Button 11=F11
Button 12=F12
Display Info=Tab
Jump to Windows1=Win1
Jump to Windows2=Win2
Pause=Space
Right Click=Menu
Select All Members=+
Select Member 1=1
Select Member 2=2
Select Member 3=3
Select Member 4=4
Select Member 5=5
Select Member 6=6
Select Members 1 & 2 & 3=0
Select Members 1 & 2=7
Select Members 3 & 4=8
Select Members 4 & 5 & 6=-
Select Members 5 & 6=9
Unmappable1=Bksp
Unmappable2=Esc
Unmappable3=Alt1
Unmappable4=Alt2
Unmappable5={
Unmappable6=}

[Keymap High Level Abilities]
SPCL900=
SPCL901=
SPCL902=
SPCL903=
SPCL904=
SPCL905=
SPCL906=
SPCL907=
SPCL908=
SPCL909=
SPCL910=
SPCL911=
SPCL912=
SPCL913=
SPCL914=
SPCL915=
SPCL916=
SPCL917=
SPCL918=
SPCL919=
SPCL920=
SPCL921=
SPCL922=
SPCL923=

[Keymap Priest Spells]
SPPR101=
SPPR102=
SPPR103=
SPPR104=
SPPR105=
SPPR106=
SPPR107=
SPPR108=
SPPR109=
SPPR110=
SPPR111=
SPPR112=
SPPR113=
SPPR201=
SPPR202=
SPPR203=
SPPR204=
SPPR205=
SPPR206=
SPPR207=
SPPR208=
SPPR209=
SPPR210=
SPPR211=
SPPR212=
SPPR213=
SPPR214=
SPPR301=
SPPR302=
SPPR303=
SPPR304=
SPPR305=
SPPR306=
SPPR307=
SPPR308=
SPPR309=
SPPR310=
SPPR311=
SPPR312=
SPPR313=
SPPR314=
SPPR315=
SPPR316=
SPPR317=
SPPR318=
SPPR319=
SPPR401=
SPPR402=
SPPR403=
SPPR404=
SPPR405=
SPPR406=
SPPR407=
SPPR408=
SPPR409=
SPPR410=
SPPR411=
SPPR412=
SPPR413=
SPPR414=
SPPR415=
SPPR416=
SPPR417=
SPPR501=
SPPR502=
SPPR503=
SPPR504=
SPPR505=
SPPR506=
SPPR507=
SPPR508=
SPPR509=
SPPR510=
SPPR511=
SPPR512=
SPPR513=
SPPR514=
SPPR515=
SPPR516=
SPPR517=
SPPR601=
SPPR602=
SPPR603=
SPPR604=
SPPR605=
SPPR606=
SPPR607=
SPPR608=
SPPR609=
SPPR610=
SPPR611=
SPPR612=
SPPR613=
SPPR614=
SPPR701=
SPPR702=
SPPR703=
SPPR704=
SPPR705=
SPPR706=
SPPR707=
SPPR708=
SPPR709=
SPPR710=
SPPR711=
SPPR712=
SPPR713=
SPPR714=
SPPR715=
SPPR717=
SPPR718=
SPPR719=
SPPR720=
SPPR721=
SPPR722=
SPPR723=
SPPR724=
SPPR725=
SPPR726=
SPPR727=
SPPR728=
SPPR729=
SPPR730=
SPPR731=
SPPR732=

[Keymap Wizard Spells]
SPPR104=
SPPR208=
SPPR209=
SPPR301=
SPPR303=
SPPR306=
SPPR307=
SPPR415=
SPPR605=
SPPR702=
SPPR703=
SPPR708=
SPPR709=
SPPR714=
SPWI101=
SPWI102=
SPWI103=
SPWI104=
SPWI105=
SPWI106=
SPWI107=
SPWI108=
SPWI110=
SPWI111=
SPWI112=
SPWI113=
SPWI114=
SPWI115=
SPWI116=
SPWI117=
SPWI118=
SPWI119=
SPWI120=
SPWI123=
SPWI125=
SPWI201=
SPWI202=
SPWI203=
SPWI205=
SPWI206=
SPWI207=
SPWI208=
SPWI209=
SPWI210=
SPWI211=
SPWI212=
SPWI213=
SPWI214=
SPWI215=
SPWI216=
SPWI217=
SPWI218=
SPWI219=
SPWI220=
SPWI221=
SPWI223=
SPWI224=
SPWI301=
SPWI302=
SPWI303=
SPWI304=
SPWI305=
SPWI306=
SPWI307=
SPWI308=
SPWI309=
SPWI310=
SPWI311=
SPWI312=
SPWI313=
SPWI314=
SPWI316=
SPWI317=
SPWI318=
SPWI319=
SPWI320=
SPWI321=
SPWI322=
SPWI324=
SPWI325=
SPWI326=
SPWI401=
SPWI402=
SPWI403=
SPWI404=
SPWI405=
SPWI406=
SPWI407=
SPWI408=
SPWI409=
SPWI410=
SPWI411=
SPWI412=
SPWI413=
SPWI414=
SPWI415=
SPWI416=
SPWI417=
SPWI418=
SPWI419=
SPWI420=
SPWI421=
SPWI423=
SPWI424=
SPWI425=
SPWI501=
SPWI502=
SPWI503=
SPWI504=
SPWI505=
SPWI506=
SPWI507=
SPWI508=
SPWI509=
SPWI510=
SPWI511=
SPWI512=
SPWI513=
SPWI514=
SPWI515=
SPWI516=
SPWI517=
SPWI518=
SPWI519=
SPWI520=
SPWI521=
SPWI522=
SPWI523=
SPWI601=
SPWI602=
SPWI603=
SPWI604=
SPWI605=
SPWI606=
SPWI607=
SPWI608=
SPWI609=
SPWI611=
SPWI612=
SPWI613=
SPWI614=
SPWI615=
SPWI616=
SPWI617=
SPWI618=
SPWI619=
SPWI620=
SPWI621=
SPWI622=
SPWI623=
SPWI624=
SPWI625=
SPWI701=
SPWI702=
SPWI703=
SPWI704=
SPWI705=
SPWI707=
SPWI708=
SPWI710=
SPWI711=
SPWI712=
SPWI713=
SPWI714=
SPWI715=
SPWI716=
SPWI717=
SPWI718=
SPWI719=
SPWI720=
SPWI721=
SPWI722=
SPWI801=
SPWI803=
SPWI804=
SPWI805=
SPWI807=
SPWI808=
SPWI809=
SPWI810=
SPWI811=
SPWI812=
SPWI813=
SPWI815=
SPWI816=
SPWI817=
SPWI902=
SPWI903=
SPWI905=
SPWI907=
SPWI908=
SPWI909=
SPWI910=
SPWI911=
SPWI912=
SPWI913=
SPWI914=
SPWI915=
SPWI916=
SPWI917=
SPWI920=
SPWI921=
SPWI922=
SPWI923=

[Keyboard]
'`'=
'-'=
','=
';'=
'.'=
'''=
'{'=
'}'=
'/'=
'\'=
'+'=
'0'=
'1'=
'2'=
'3'=
'4'=
'5'=
'6'=
'7'=
'8'=
'9'=
'A'=
'Alt1'=
'Alt2'=
'B'=
'Bksp'=
'C'=
'Caps'=
'D'=
'E'=
'Enter'=
'Esc'=
'F'=
'F1'=
'F2'=
'F3'=
'F4'=
'F5'=
'F6'=
'F7'=
'F8'=
'F9'=
'F10'=
'F11'=
'F12'=
'G'=
'H'=
'I'=
'J'=
'K'=
'L'=
'M'=
'Menu'=
'N'=
'O'=
'P'=
'Q'=
'R'=
'S'=
'Shift'=
'Space'=
'T'=
'Tab'=
'U'=
'V'=
'W'=
'Win1'=
'Win2'=
'X'=
'Y'=
'Z'=
 loaded


RUNLOG: Loading Keymap.ini from .
[WeiDU.log] parsed
[/Users/akay/Desktop/Setup.tp2] parsed
FIXPACK.TP2  0  0 Installed
ERROR: BIFF [./movies/25Movies.bif] cannot be loaded: Unix.Unix_error(20, "stat", "./movies/25Movies.bif")

SKIPPING: [Test-o]
So far, no luck.

Install Component [Secondary Component let's force WeiDU to actually do something]
[Y]es or [N]o or [Q]uit?
Onto the pattern...

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #13 on: May 18, 2005, 05:15:46 PM »
OK, if it's actually loading then files then we just need to fix the regexp.

It might be worth starting with a known target, just to make sure the system is working at all, and then trying to generalize it, as in:

// CD5:=:CD5:
let cd_regexp = Str.regexp "CD5:=:\\(.*\\)"

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #14 on: May 18, 2005, 05:29:43 PM »
This "let cd_regexp = Str.regexp "\\([^\r\n]*Keymap[^\r\n]*\\)"" is, as expected, returning
Code: [Select]
WeiDU v 179 Log

 /Users/akay/Documents/Downloads/WeiDU/weidu.asm.exe /Users/akay/Desktop/Setup.tp2 --log /Users/akay/Desktop/logfile
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8629919 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 3117 bytes


RUNLOG: Loaded Baldur.ini from .
[./Keymap.ini] loaded, 5032 bytes


RUNLOG: Loaded Keymap.ini from .
Possible HD/CD Path: [[Keymap Page]]
Possible HD/CD Path: [Keymap Page]]
Possible HD/CD Path: [[Keymap Actions]]
Possible HD/CD Path: [Keymap Actions]]
Possible HD/CD Path: [[Keymap Miscellaneous]]
Possible HD/CD Path: [Keymap Miscellaneous]]
Possible HD/CD Path: [[Keymap Quick Slots]]
Possible HD/CD Path: [Keymap Quick Slots]]
Possible HD/CD Path: [[Keymap Fixed]]
Possible HD/CD Path: [Keymap Fixed]]
Possible HD/CD Path: [[Keymap High Level Abilities]]
Possible HD/CD Path: [Keymap High Level Abilities]]
Possible HD/CD Path: [[Keymap Priest Spells]]
Possible HD/CD Path: [Keymap Priest Spells]]
Possible HD/CD Path: [[Keymap Wizard Spells]]
Possible HD/CD Path: [Keymap Wizard Spells]]
[WeiDU.log] parsed
[/Users/akay/Desktop/Setup.tp2] parsed
FIXPACK.TP2  0  0 Installed
BIFF may be in hard-drive CD-path [Keymap Wizard Spells]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Wizard Spells]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Priest Spells]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Priest Spells]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap High Level Abilities]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap High Level Abilities]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Fixed]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Fixed]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Quick Slots]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Quick Slots]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Miscellaneous]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Miscellaneous]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Actions]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Actions]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [Keymap Page]/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [[Keymap Page]/movies/25Movies.bif]
ERROR: BIFF [./movies/25Movies.bif] cannot be loaded: Unix.Unix_error(20, "stat", "./movies/25Movies.bif")

SKIPPING: [Test-o]
So far, no luck.

Install Component [Secondary Component let's force WeiDU to actually do something]
[Y]es or [N]o or [Q]uit? Saving This Log:
FIXPACK.TP2  0  0 Installed
[FIXPACK.TP2] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] has 74107 translation strings

WeiDU Timings
load TLK                         0.000
parsing .log files               0.000
eval_pe                          0.000
loading files                    0.067
unmarshal KEY                    0.567
unmarshal TLK                    1.200
parsing .tra files              10.400
parsing .tp2 files              13.650
TOTAL                           25.883

This "let cd_regexp = Str.regexp "CD5:=\\(:CD5:\\)"" returns absolutely nothing. Is Baldur.ini even being searched (Keymap.ini obviously is)?

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #15 on: May 18, 2005, 05:34:37 PM »
The code that does the regexp search (load.ml line 204-ish) can't even tell which file it's looking at, so there is no way it could magically decide not to run on baldur.ini but yet to run on keymap.ini if they're both loaded.

Try just \\(CD5\\) as the regexp or somesuch. Can you get it to read anything from baldur.ini?

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #16 on: May 18, 2005, 05:37:47 PM »
OK, this "let cd_regexp = Str.regexp "^\\(.+\\)$"" works, but it's returning the entire file as a possible path (both Baldur.ini and Keymap.ini). Does OCaml "." also return line-breaks? I'll try escaping the colons (who knows what it's doing right now), but I'm doubting that will make any difference (unless ^ and $ are broken in Mac OCaml).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #17 on: May 18, 2005, 05:41:10 PM »
Amazingly, simple "let cd_regexp = Str.regexp "\\(CD5\\)"" actually works:
Code: [Select]
WeiDU v 179 Log

 /Users/akay/Documents/Downloads/WeiDU/weidu.asm.exe /Users/akay/Desktop/Setup.tp2 --log /Users/akay/Desktop/logfile
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8629919 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 3117 bytes


RUNLOG: Loaded Baldur.ini from .
Possible HD/CD Path: [CD5]
Possible HD/CD Path: [CD5]
[./Keymap.ini] loaded, 5032 bytes


RUNLOG: Loaded Keymap.ini from .
[WeiDU.log] parsed
[/Users/akay/Desktop/Setup.tp2] parsed
FIXPACK.TP2  0  0 Installed
BIFF may be in hard-drive CD-path [CD5/movies/25Movies.bif]
[CD5/movies/25Movies.bif] 96891690 bytes, 6 files, 0 tilesets

Install Component [Test-o]
[Y]es or [N]o or [Q]uit?
Installing [Test-o]


NOT adding a WeiDU.log record. You cannot uninstall this.

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #18 on: May 18, 2005, 05:49:56 PM »
OK, breaking it in half to see if anything is working: this "let cd_regexp = Str.regexp "^\\([CH]D[0-9]+.*=\\)"" should find the path specs but returns nothing. I'll try the other to see if any part of the pattern is matching anything at all.

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #19 on: May 18, 2005, 05:55:57 PM »
Your mission, should you choose to accept it, is to find the right regexp. As your CD5 example shows, if you can just somehow get the path out of the ini file, WeiDU will do the rest.

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #20 on: May 18, 2005, 05:57:24 PM »
OK, the latter half (really fun, as it will return each line, then chars - 1 until the line terminates, and WeiDU will search backwards), returns about 7500 matches. Even though some should be technically correct
Code: [Select]
BIFF may be in hard-drive CD-path [:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [D5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [:CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [=:CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [:=:CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [5:=:CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [D5:=:CD5:/movies/25Movies.bif]
BIFF may be in hard-drive CD-path [CD5:=:CD5:/movies/25Movies.bif]
The stupid colons are messing everything up (WeiDU couldn't find any usable path out of all variations).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #21 on: May 18, 2005, 06:11:46 PM »
I think I'll probably take a pass here (my installation doesn't require this). I cannot (nor will I) believe that OCaml's regexp stuff is actually working as intended here. This: ^[CH]D[0-9]:=\\([^\r\n]+\\) will match every [Alias] path line in Baldur.ini using grep (as expected; it has to), but Str.regexp finds absolutely nothing.

Even if some magical expression could be found, I'm not sure how to effectively strip out the returned colons (without hard-coding it in load.ml), since you'd have to selectively pick out \2 from \\(:\\|\\(\\w+\\)\\)* (or whatever was found to work).

I'm not sure how you feel about it, but this "let cd_regexp = Str.regexp "\\(CD[0-9]\\)"" actually does work
Code: [Select]
WeiDU v 179 Log

 /Users/akay/Documents/Downloads/WeiDU/weidu.asm.exe /Users/akay/Desktop/Setup.tp2 --log /Users/akay/Desktop/logfile
[./Chitin.key] loaded, 590565 bytes
[./Chitin.key] 182 BIFFs, 41794 resources
[./dialog.tlk] loaded, 8629919 bytes
[./dialog.tlk] 74279 string entries
[./Baldur.ini] loaded, 3117 bytes


RUNLOG: Loaded Baldur.ini from .
Possible HD/CD Path: [CD1]
Possible HD/CD Path: [CD2]
Possible HD/CD Path: [CD3]
Possible HD/CD Path: [CD4]
Possible HD/CD Path: [CD5]
Possible HD/CD Path: [CD5]
[./Keymap.ini] loaded, 5032 bytes


RUNLOG: Loaded Keymap.ini from .
[WeiDU.log] parsed
[/Users/akay/Desktop/Setup.tp2] parsed
FIXPACK.TP2  0  0 Installed
BIFF may be in hard-drive CD-path [CD5/movies/25Movies.bif]
[CD5/movies/25Movies.bif] 96891690 bytes, 6 files, 0 tilesets

Install Component [Test-o]
[Y]es or [N]o or [Q]uit?
Installing [Test-o]

It works!


NOT adding a WeiDU.log record. You cannot uninstall this.
Saving This Log:
FIXPACK.TP2  0  0 Installed
[FIXPACK.TP2] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] parsed
[FIXPACK/ENGLISH/FIXPACK.TRA] has 74107 translation strings

SUCCESSFULLY INSTALLED [Test-o]

WeiDU Timings
unmarshal BIFF                   0.000
load TLK                         0.000
process_action                   0.000
parsing .log files               0.000
loading files                    0.083
eval_pe                          0.117
unmarshal KEY                    0.550
unmarshal TLK                    1.200
parsing .tra files              10.950
parsing .tp2 files              15.267
TOTAL                           28.167
I know that it's going to pick up a lot of garbage, and won't actually work on non-standard installations, but it should at least allow some Mac users to get WeiDU searching the CDn/ folders for data files. It will still fail for CD data (which may or may not be expected), and crap out on specialized installations, but at least it will work for some of the people some of the time (better than never, I guess). It's up to you...
« Last Edit: May 18, 2005, 06:20:39 PM by devSin »

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #22 on: May 18, 2005, 06:32:39 PM »
Since this thread is focusing on Mac stuff, I wanted to let you know that it appears the "simultaneously open files" problem is resolved here. I ran the Tp2 for the first speedup update this morning and forgot to raise the limits (ulimit -n unlimited), and WeiDU never failed with the usual "too many open files" Unix.unix_error. I don't know if this is an OCaml (3.09+dev20) fix, a Mac OS X (Mac OS X 10.4.1) fix, or just some random miracle, but it should make Mac WeiDU that much better (for "free," no less).

I haven't yet checked, but it's also likely that WeiDU will now preserve resource forks and other file metadata under Mac OS X 10.4. This is a good thing (for the most part).

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #23 on: May 18, 2005, 06:51:38 PM »
OK, I'll use your CD[0-9] regexp. Note that with that, WeiDU should be able to find CD5/Data/Foo.bif. If it can't, that's a separate bug, let me know.

You're probably right that the regexp library just isn't working well. Sorry about that.

I'm also glad that the "open files" problem is gone, but since I don't know why it was there, I'm somewhat mystified.

Let me know if you run into any other osx problems.

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU won't look for CDn/data biffs on Mac OS X
« Reply #24 on: May 18, 2005, 07:21:11 PM »
Quote
OK, I'll use your CD[0-9] regexp. Note that with that, WeiDU should be able to find CD5/Data/Foo.bif. If it can't, that's a separate bug, let me know.
Yeah. It will still spit out each one twice (since it will find both CDns in CDn:=:CDn:) but it should at least do something. I purposely left out HD0 (this should always be ./, and I don't want to risk having OCaml revert to doing nothing at all).

Quote
You're probably right that the regexp library just isn't working well. Sorry about that.
It's better than the mandatory segfault with COPY_EXISTING_REGEXP actions that used to occur (and is rumored to still occur in Mac OS X 10.2.x and below). I'm just happy that it doesn't effect anything (that I can tell) other than finding the CDn paths (which I've never needed).

Quote
Let me know if you run into any other osx problems.
Will do. Much thanks for getting this up and limping along.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: