Band in a Box 2008 with Ubuntu through wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Band in a Box 2008 with Ubuntu through wine?

Post by Bear »

I am really getting into my new Ubuntu Hardy Heron software but wondered if any music lovers amongst you could give me some advice? I heavily use Band in a Box 2008 on the XP side of my machine and have tried to install it, through the wine emulator so I can use it in Ubuntu. I could then, more or less, abandon the XP side on a 90% basic. Something I would very much like to do. Unfortunately BB 2008 is not "coming up" when I click on the wine, programs, band in a box icon. It "thinks about it " for a while and then the cursor becomes normal again and nothing happens .I have no idea why because it was installed through the wine emulator. I hope someone might be able to help?

Thanks in anticipation,

Bear.
:cry:
Peter L Jones

Band in a Box 2008 with Ubuntu through wine?

Post by Peter L Jones »

Hi,

1) Have you tried running the program from the command line and seeing what the
error is?

2) Does BiaB have any driver requirements? If so, have you configured WINE to
meet them?

Have fun!

-- Peter

Bear wrote:
I am really getting into my new Ubuntu Hardy Heron software but wondered if
any music lovers amongst you could give me some advice? I heavily use Band
in a Box 2008 on the XP side of my machine and have tried to install it,
through the wine emulator so I can use it in Ubuntu. I could then, more or
less, abandon the XP side on a 90% basic. Something I would very much like
to do. Unfortunately BB 2008 is not "coming up" when I click on the wine,
programs, band in a box icon. It "thinks about it " for a while and then the
cursor becomes normal again and nothing happens .I have no idea why because
it was installed through the wine emulator. I hope someone might be able to
help?

Thanks in anticipation,

Bear. [Crying or Very sad]




Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Band in a Box 2008 with Ubuntu through wine?

Post by Bear »

The answer to both of these things is no. I am very new to Linux and am really a complete novice in these matters. Coul you be more specific regarding "running from the command line"? I suppose this means using the termial? what exactry would I write in the command line? As for the driver requirements, once again, I am floundering in uncharted territory, can you "lead me by the hand" reagarding this? By the way, thankd for replying to this rather exotic question at all Peter! I am very grateful to you for your interest and knowledge.

Regards,

Bear
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Using the terminal to start Band in a box I get the followin

Post by Bear »

Using the terminal to start Band in a Box 2008 I get the following:-

bear@bear-desktop:~$ wine bbw.exe
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
wine: could not load L"c:\\windows\\system32\\bbw.exe": Module not found
bear@bear-desktop:~$ preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
fixme:spoolsv:serv_main (0 (nil)

Any ideas where I go from here?

Ian.
John Drescher

Band in a Box 2008 with Ubuntu through wine?

Post by John Drescher »

On Wed, Jun 4, 2008 at 11:08 PM, Bear <[email protected]> wrote:
Using the terminal to start Band in a Box 2008 I get the following:-

bear@bear-desktop:~$ wine bbw.exe
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
wine: could not load L"c:\\windows\\system32\\bbw.exe": Module not found
bear@bear-desktop:~$ preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
fixme:spoolsv:serv_main (0 (nil)

Any ideas where I go from here?
Read the wine FAQ. The solution to "failed to reserve range
00000000-60000000" is in the FAQ.

John
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Post by Bear »

"John, thank you for your reply to my last post! I found the FAQ sheet, quite essential of course, and this led me to this filx":-

To avoid having to give that same command every time you reboot, also edit the file /etc/sysctl.conf, e.g. with the command

$ sudo gedit /etc/sysctl.conf

and change the line that reads:

vm.mmap_min_addr = 65536

to:

vm.mmap_min_addr = 0

That will apply the workaround for you when the system starts.

"I did this and rebooted with no problems. On trying to start Band in a box 2008 from both the terminal and the menu (This is no go) within wine I get the following":-

bear@bear-desktop:~$ wine bbw.exe
wine: could not load L"c:\\windows\\system32\\bbw.exe": Module not found
bear@bear-desktop:~$ fixme:spoolsv:serv_main (0 (nil))

"Where do I go from here? (P.s. sorry about all this, I am not very knowledgabe regarding these issues."

Regards,

Bear
:?:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

bear@bear-desktop:~$ wine bbw.exe
wine: could not load L"c:\\windows\\system32\\bbw.exe": Module not found
bear@bear-desktop:~$ fixme:spoolsv:serv_main (0 (nil))
Some Windows programs have to be started from the directory they're located in--cd to the directory where bbw.exe is located and try executing it from there.
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Band in a Box 2008 with Ubuntu through wine? Recap thus-far

Post by Bear »

I have been hearing good things about a linux distibution called "Ubuntu". My computer needed a frexh start so Itook the plunge and had a "dual-boot" configuration installed wiht XP on one side and Ubuntu on the other. I had this done at my local computer shop here in Kuwait City. It seems to be important in linux to setup a Name and Password imediately for security reasons. The distro will also use your chosen Name to create a folder of the same name in the Home folder. After initial difficulties with a partition which was too small, (this was fixed by a small app called "Gparted") I started customising the installation to my own likeing. In Ubuntu you simply download the applications you would like to add from linux "repositories" which are fundamentally on-line libraries of the available app's. Updating the installation is as simple as going to "System - Adminsitration - update Manager" and this will download any updated files and replace the ones on your installation with the newer, udated versions.

I wanted to run Band in a Box 2008 on the Ubuntu side but did not know if this was possible. It is! Two additional app's need to be downloaded. The Wine emulator, (this "windows" emulator works on the linux side by creating a file-tree within the Wine folder "this is in the "Home" folder. Within this "Wine" folder there is a "dosdevices" folder and a "drive C" folder within which are the folders "Program Files" and "windows". It is into this Program Files folder that you have to install the applications you wish to run under wine and this of course, includes Band in a Box. The other app you need to download is "Timidity" which will come up as a midi driver within the Band in a Box Opt, driver menu.

The install files for Band in a Box are on my "D Drive". In Ubuntu this is called sdb1. On locating the install file which in my particular case is called bb08propak.exe right click it and choose from the menu Open with Other Application and choose "Wine Windows Emulator". Point it in the direction of your wine folder, (remember this is in the Home folder and install it in the "Program Files Folder". The exact address in my intallation is /home/bear/.wine/drive_c/Program Files/bb now let the install complete. Trying to run the program from this point was where some of the problems started to occur for me. Two dll files has to be copied over from the XP windows directory wrnasf.dll and wmvcore.dll into the /home/bear/.wine/drive_c/windows/system32 DIR.

In Ubuntu some things have to be done from a "command line". It's a bit like the old DOS commands. We get to this through:. Applications, Accessories, Terminal. A problem came up immediately:-

Using the terminal to start Band in a Box 2008 I got the following:-

bear@bear-desktop:~$ wine bbw.exe
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
wine: could not load L"c:\\windows\\system32\\bbw.exe": Module not found
bear@bear-desktop:~$ preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
fixme:spoolsv:serv_main (0 (nil)

The fix for this was found in the Wine FAQ

To avoid having to give that same command every time you reboot, also edit the file /etc/sysctl.conf, e.g. with the command

$ sudo gedit /etc/sysctl.conf

and change the line that reads:

vm.mmap_min_addr = 65536

to:

vm.mmap_min_addr = 0

That will apply the workaround for you when the system starts.

"I did this and rebooted with no problems!

At this point I was still starting up BB from the teminal with the following commands:-

cd /home/bear/.wine/drive_c/Program\ Files/bb (This take you to the BB directory within Wine)



Then type:- wine bbw.exe (press enter) (to start program) Band in a box will then come up within the Wine emulator window. Adjustment of the midi driver should give you sound. The notation window works just fine on my intall. It is now also possible to start Band in a Box "normally" from the Applications, Wine, Programs, Band in a Box, Band in a Box menu which is great.

The problem I am presently having (doubtless there will be more!) is the actual "Wine window" Band in a box appears in. It is too small! I am not getting the option to "Maximize" the window (it is greyed out) and the resize button seems to create countless copies of the window. I downloaded a "restricted driver"fr my Nvidia Graphics card but this has not helped. Any suggestions would be appreciated!
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Post by Bear »

Ok, managed with some help to fix this:- The problem I am presently having (doubtless there will be more!) is the actual "Wine window" Band in a box appears in. It is too small! I am not getting the option to "Maximize" the window (it is greyed out) and the resize button seems to create countless copies of the window. (The solution was to use Alt and move the screen around with the mouse.

One thing leads to another and eventullly I managed to get Band in a box up and running using the Timidity drivers. Since then however, they have stopped working and in spite of re-installs keep not working. Does anyone have any suggestions regarding this? On one screen which came up Midi Buffer was mentioned but I can find no screen to access this perameter.

Regards,

Bear
Bear
Level 2
Level 2
Posts: 10
Joined: Sun Jun 01, 2008 9:10 pm

Post by Bear »

Well, after muck hassle, Band in a Box 2008 is up and working under Wine is Ubuntu. Thank you to everybody who helped with thisl I have one more problem to overcome and it is the following:-

automatic load sf2 at startup

I am using Band in a Box 2008 through wine and wondered how I can load a sound font into the Audigy2 soundcard I have at startup through some kind of automated script. In the terminal window I cd to the Desktop (this is where the soundfont is) and execute the command "sfxload CT2MGM.SF2"
Band in a Box then plays through the sound card using the loaded sound font. Can this process be automated at startup through any kind of script at startup? If so can anyone tell me how to accomplish this?

Many thanks in anticipation!
Locked