Jump to content

Need some help getting a program to work with Wine


Guest Supah_Rob
 Share

Recommended Posts

Guest Supah_Rob

Hello all. Ok, I have wine installed, and even got xwine (a wine frontend) to work. So far, I really only need ONE program to work (PowerTAB) and it wont install, I think it might be related to midi output but I am not sure.

 

This is the error I get:

 

file_set_error: No such file or directory

fixme:ntdll:RtlNtStatusToDosError no mapping for 0001869f

file_set_error: No such file or directory

fixme:ntdll:RtlNtStatusToDosError no mapping for 0001869f

XIO: fatal IO error 0 (Success) on X server ":0.0"

after 4383 requests (4342 known processed) with 0 events remaining.

 

Any idea's?

 

Take care,

Rob

Link to comment
Share on other sites

Looks like you're missing an ntdll. (Captain Obvious to the rescue!! :wink: )

 

Try a google search for ntdll. You might need to download a copy and place it in the system folder in your fake windows directory.

Link to comment
Share on other sites

Guest Supah_Rob

ok, still no luck. This isn't a dual boot machine, Mandrake 9.1 is the only OS on it.

 

I tried getting ntdll.dll and putting it in the system folder of the fake windows dir, and no luck. Still get the exact same error :(

 

If anyone has any other idea's I would be most greatful!

 

 

Take care,

Rob

Link to comment
Share on other sites

Is the ntdll.dll set as native in your config file?

 

Which version of wine are you using? If you have a version earlier than 20030408, I highly recommend you upgrade. There were issues in older versions that kept Mandrake 9.1 from running it.

 

Is there a place I get get a copy of PowerTAB? Maybe I could help you in getting it running if I had a copy.

Link to comment
Share on other sites

Guest Supah_Rob

as far as I can tell ntdll is set to native (I put it in the config file in the same format as I saw the other "native" files...but I must confess this is all very new to me)

 

Also, I am fairly sure I have version 20030408, but how do I make sure? (sorry if thats a dumb question)

 

You can get a copy of power tab here: http://www.power-tab.net/downloads.php

 

If you can help me get this running I will petition the governments of the world to declare your birthday a global holiday!! lol

 

Thanks for all the help so far

 

Take care,

Rob

Link to comment
Share on other sites

Wow, this is a cool program. I might have to play with it a little. It could really come in handy for some things I do.

 

Needless to say, I did get it installed and running. :wink:

 

as far as I can tell ntdll is set to native (I put it in the config file in the same format as I saw the other "native" files...but I must confess this is all very new to me)  

 

Don't worry about it. It was all new to all of us at one point. You seem to be doing it right.

 

Also, I am fairly sure I have version 20030408, but how do I make sure? (sorry if thats a dumb question)  

 

It's not a dumb question at all. There's no such thing.

 

An easy way is to pull up a terminal and type:

 

rpm -qa|grep wine

 

You can also run a program called "KPackage". In there, go to File, then "Find Package", and type "wine", and it will tell you what version you have.

 

I'm pretty sure you don't have the latest wine installed, because I tried to install it, (and I use wine 20030408) and it installed and ran without a problem, and without me having to configure or change anything else beforehand.

 

You can get the latest version of wine for Mandrake right here:

 

Here is the link

Link to comment
Share on other sites

Guest Supah_Rob

Ok, I am getting pretty excited right now....

 

You were right,I had a slightly older version of Wine. So I removed that and installed the current version.

 

Now it actually let me install Powertab, but I cant seem to get it to run

 

I have tried from the CLI to type wine PTEditor.exe ...no dice, I get this error:

err:module:get_registry_value Invalid load order module-type L"so", ignored

/usr/bin/wine.bin: cannot find 'PTEditor.exe'

 

 

I tried from within Xwine and got the same error.

 

Please help

 

Take care,

Rob

Link to comment
Share on other sites

Could you post your config file here?

 

I think that kind of error occurs when there's something not quite right in the config file. So we'll look at it and see if we can't fix it. 8)

 

It's in the ".wine" directory in your home directory.

Link to comment
Share on other sites

Guest Supah_Rob

Here is my config file:

 

WINE REGISTRY Version 2

;; All keys relative to MachineSoftwareWineWineConfig

 

;;

;; MS-DOS drives configuration

;;

;; Each section has the following format:

;; [Drive X]

;; "Path"="xxx" (Unix path for drive root)

;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')

;; "Label"="xxx" (drive label, at most 11 characters)

;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)

;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')

;; This is the FS Wine is supposed to emulate on a certain

;; directory structure.

;; Recommended:

;; - "win95" for ext2fs, VFAT and FAT32

;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)

;; DON'T use "unix" unless you intend to port programs using Winelib !

;; "Device"="/dev/xx" (only if you want to allow raw device access)

;;

 

[Drive A]

"Type" = "floppy"

"Path" = "/mnt/floppy"

"Label" = "/mnt/floppy"

"Device" = "/dev/floppy/0"

 

[Drive C]

"Path" = "/home/rob/.wine/fake_windows"

"Type" = "hd"

"Label" = "/home/rob/.wine/fake_windows"

"Filesystem" = "win95"

 

[Drive M]

"Type" = "cdrom"

"Path" = "/mnt/cdrom"

"Label" = "/mnt/cdrom"

"FS" = "win95"

"Device" = "/dev/scsi/host0/bus0/target0/lun0/cd"

 

[Drive X]

"Type" = "hd"

"Path" = "/tmp"

"Label" = "Tmp Drive"

"FS" = "win95"

 

[Drive Y]

"Type" = "network"

"Path" = "${HOME}"

"Label" = "Home"

"FS" = "win95"

 

[Drive Z]

"Type" = "network"

"Path" = "/"

"Label" = "Root"

"FS" = "win95"

 

[wine]

"Windows" = "C:Windows"

"System" = "C:WindowsSystem"

"Temp" = "X:"

"Path" = "C:Windows;C:WindowsSystem;X:;Y:"

"GraphicsDriver" = "x11drv"

; Wine doesn't pass directory symlinks to Windows programs by default.

; Enabling this may crash some programs that do recursive lookups of a whole

; subdir tree in case of a symlink pointing back to itself.

;"ShowDirSymlinks" = "1"

"ShellLinker" = "wineshelllink"

 

# <wineconf>

 

[DllOverrides]

"*" = "builtin, native, so"

"ntdll.dll" = "native, so, builtin"

 

[x11drv]

; Number of colors to allocate from the system palette

"AllocSystemColors" = "100"

; Use a private color map

"PrivateColorMap" = "N"

; Favor correctness over speed in some graphics operations

"PerfectGraphics" = "N"

; Color depth to use on multi-depth screens

;;"ScreenDepth" = "16"

; Name of X11 display to use

;;"Display" = ":0.0"

; Allow the window manager to manage created windows

"Managed" = "Y"

; Use a desktop window of 640x480 for Wine

"Desktop" = "N"

; Use XFree86 DGA extension if present

; (make sure /dev/mem is accessible by you !)

"UseDGA" = "Y"

; Use XShm extension if present

"UseXShm" = "Y"

; Enable DirectX mouse grab

"DXGrab" = "N"

; Create the desktop window with a double-buffered visual

; (useful to play OpenGL games)

"DesktopDoubleBuffered" = "N"

; Code page used for captions in managed mode

; 0 means default ANSI code page (CP_ACP == 0)

"TextCP" = "0"

; Use this if you have more than one port for video on your setup

; (Wine uses for now the first 'input image' it finds).

;; "XVideoPort" = "43"

; Run in synchronous mode (useful for debugging X11 problems)

;;"Synchronous" = "Y"

 

[fonts]

;Read documentation/fonts before adding aliases

;See a couple of examples for russian users below

"Resolution" = "96"

"Default" = "-adobe-helvetica-"

"DefaultFixed" = "fixed"

"DefaultSerif" = "-adobe-times-"

"DefaultSansSerif" = "-adobe-helvetica-"

 

;; default TrueType fonts with russian koi8-r encoding

;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"

;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"

;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"

;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"

;; default cyrillic bitmap X fonts

;"Default" = "-cronyx-helvetica-"

;"DefaultFixed" = "fixed"

;"DefaultSerif" = "-cronyx-times-"

;"DefaultSansSerif" = "-cronyx-helvetica-"

 

[serialports]

"Com1" = "/dev/ttyS0"

"Com2" = "/dev/ttyS1"

 

[parallelports]

"Lpt1" = "/dev/lp0"

 

[spooler]

"LPT1:" = "|lpr"

"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"

"LPT3:" = "/dev/lp3"

 

[ports]

;"read" = "0x779,0x379,0x280-0x2a0"

; "write" = "0x779,0x379,0x280-0x2a0"

 

[spy]

"Exclude" = "WM_SIZE;WM_TIMER;"

 

[registry]

"SaveOnlyUpdatedKeys" = "Y"

"PeriodicSave" = "600"

"LoadGlobalRegistryFiles" = "Y"

"LoadHomeRegistryFiles" = "Y"

"LoadWindowsRegistryFiles" = "Y"

"WritetoHomeRegistryFiles" = "Y"

[Tweak.Layout]

;; supported styles are 'Win31'(default), 'Win95', 'Win98'

"WineLook" = "Win98"

 

[Console]

;"Drivers" = "tty"

;"XtermProg" = "nxterm"

;"InitialRows" = "25"

;"InitialColumns" = "80"

;"TerminalType" = "nxterm"

 

[Clipboard]

"ClearAllSelections" = "0"

"PersistentSelection" = "1"

 

; List of all directories directly contain .AFM files

 

[afmdirs]

"1" = "/usr/share/ghostscript/fonts"

"2" = "/usr/share/a2ps/afm"

"3" = "/usr/share/enscript"

"4" = "/usr/X11R6/lib/X11/fonts/Type1"

 

[WinMM]

"Drivers" = "wineoss.drv"

"WaveMapper" = "msacm.drv"

"MidiMapper" = "midimap.drv"

[AppDefaults_INS5576._MPx11drv]

; Lotus Notes R5 installer

; I'm quite not sure this will run on some other machine than mine, but it

; can't hurt

"Managed" = "N"

"Desktop" = "N"

 

[AppDefaultsnlnotes.exex11drv]

"Desktop" = "800x600"

 

[AppDefaultsnotes.exeDllOverrides]

"msvcrt" = "native"

"msvcrt40" = "native"

"crtdll" = "native"

"imagehlp" = "native"

"rnaph" = "native"

"ntdll" = "native"

 

[AppDefaultsnlnotes.exeDllOverrides]

"msvcrt" = "native"

"msvcrt40" = "native"

"crtdll" = "native"

"imagehlp" = "native"

"rnaph" = "native"

 

[AppDefaultsnhldaemn.exeDllOverrides]

"msvcrt" = "native"

"msvcrt40" = "native"

"crtdll" = "native"

"imagehlp" = "native"

"rnaph" = "native"

 

[AppDefaultsptedit17.exeVersion]"Windows" = "win98"

"Windows" = "win98"

[AppDefaultsPT EditorVersion]"Windows" = "win98"

"Windows" = "win98"

 

 

I have looked at a few linux alternatives, and to be honest, there just aren't any. There are programs who seem to attempt to be an alternative (such as KGuitar) but so far no program has ALL the features I am looking for.

 

PT is free, small, there is a HUGE amount of tablature available for it (and they are all free as well) , it can "play" the songs for you, so if you are unfamiliar with the songs you can get an idea of how it should sound (sort of a digital fake-page) and it is very simple to use. Put all these together and this little gem became an invaluable tool in my musical life...if there was an alternative that did all of these things I would use it. My loyalty is to the functionality that I want and need, not to any person or software company or OS, lol I am a techno whore!

 

Take care,

Rob

Link to comment
Share on other sites

At first glance, I don't see anything wrong.

 

I'll first ask, and this might be a dumb question, when you typed "wine PTEditor.exe" the first time, was it actually from the directory that PTEditor.exe was in?

 

I'm at work right now, so I can't compare it with my own config file. When I get home, I'll take a look at your config file and compare it with mine, and suggest any changes.

 

I think there needs to be more information in the Dll Overrides section. But again, I need to look at my own before I can make suggestions.

 

I'll be right back.

Link to comment
Share on other sites

Guest Supah_Rob

ok, first problem solved (sorta) I was NOT typing wine PTEditor.exe from the directory the program was in. So when I did type that from within the correct directory, the progam launched!! I was VERY excited....but then I noticed the new batch of problems. I couldn't read ANY of the words...it looked like all the words were in some alien language...like nothing I have ever seen (if I knew how to take a screenshot I would post it here). Also, I couldnt get a demo song to play (although I am not sure what I was trying to load up, lol, since the text was EXTREMELY unreadable. Here is the shell output I got:

 

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

err:module:get_registry_value Invalid load order module-type L"so", ignored

fixme:font:WineEngCreateFontInstance just using first face for now

fixme:msvcrt:_fstati64 :dwFileAttributes = 32, mode set to 0

fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented

err:dosfs:DRIVE_ReadSuperblock Couldn't open device '/dev/floppy/0' for drive A: ! (no permission)

err:dosfs:DRIVE_ReadSuperblock Can't read drive volume info ! Either pre-set it or make sure the device to read it from is accessible !

Perhaps you have not properly edited or created your Wine configuration file,

which is (supposed to be) '/home/rob/.wine/config'.

err:dosfs:DRIVE_GetLabel Invalid or unreadable superblock on /dev/floppy/0 (A:).

err:dosfs:DRIVE_ReadSuperblock Couldn't open device '/dev/floppy/0' for drive A: ! (no permission)

err:dosfs:DRIVE_ReadSuperblock Can't read drive volume info ! Either pre-set it or make sure the device to read it from is accessible !

Perhaps you have not properly edited or created your Wine configuration file,

which is (supposed to be) '/home/rob/.wine/config'.

Invalid or unreadable superblock on /dev/floppy/0 (A:). Maybe not FAT?

 

 

 

Now the errors that are in there (I assume those are errors and/or problems) I am not sure how to deal with...any suggestions?

 

Take care,

Rob

Link to comment
Share on other sites

We'll take this one step at a time:

 

First, in your config line that says:

 

[DllOverrides] 

"*" = "builtin, native, so" 

"ntdll.dll" = "native, so, builtin" 

 

Take out the "so" in both lines. That'll get rid of the numerous "invalid load order "so" errors you were getting.

 

By the way, you can probably get away with simply taking out the line with the ntdll in it. It is builtin to this version of Wine.

 

Second, in the part that says:

 

[Drive A] 

"Type" = "floppy" 

"Path" = "/mnt/floppy" 

"Label" = "/mnt/floppy" 

"Device" = "/dev/floppy/0"

 

Change the Device section to read "/dev/fd0" instead of "/dev/floppy/0". This will take care of your Drive A errors that you're getting.

 

That should leave you with just the font errors and the dll errors:

 

fixme:font:WineEngCreateFontInstance just using first face for now 

fixme:msvcrt:_fstati64 :dwFileAttributes = 32, mode set to 0 

fixme:commdlg:GetFileName95 Flags 0x00800000 not yet implemented 

 

I don't think you need to worry too much about the error with commdlg. You can try to enable a native version of it if it's still giving you problems, however.

 

Underneath your [fonts] section in your config, add this:

 

[FontDirs]

"dir1" = "/home/rob/.wine/fake_windows/Windows/Fonts"

 

This will add your actual fake windows installation font directory to your wine programs. This will make the fonts that were installed by Power TAB available to Wine (as well as other programs you use in wine).

 

I think the error with msvcrt is also not too much to worry about.

 

It wouldn't hurt to add this to the beginning of your wine config, right below where it says: "# [wineconf]"

 

[Version]

; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win20,win30,win31)

"Windows" = "win98"

; DOS version to imitate

"DOS" = "6.22"

 

Other suggestions (not really required, but give it a shot if your program still doesn't run).

Find the program "NEWFNT32.EXE ", "corfnt32.exe ", and "dcom98.exe" and run them via Wine. They should give you the necessary dlls and fonts that some Windows programs will need. The links are below. The installer for Acrobat Reader also puts in some necessary dlls.

 

Okay, I just threw a lot at you. Hopefully this gets your program running for you, and I hope I'm not scaring you off.

 

Good luck, and post if you need any more assistance.

 

A website with NEWFNT: http://www.nettally.com/waldoe/freeware/unsorted.html

 

A website with cornt32: http://www.stfservices.com/updates.htm (you can probably get some other updates here, too)

 

A website with DCOM: http://www.microsoft.com/com/dcom/dcom98/download.asp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...