application wont work properly

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
delta9
Level 1
Level 1
Posts: 5
Joined: Fri May 30, 2008 5:25 pm

application wont work properly

Post by delta9 »

Im using an application called saturn for my university assignement.
The problem is that it fails to fully operate under linux with wine.
If im not mistaken the application works like this:
Satwin is the windows front end that calles *.bat files that are part of the suit saturn.
While wine loads the satwin front end perfectly it fails to execute the *.bat files that are part of the saturn suit.
Lets have an example.There is a program called M1 in the suit.To run M1 i just have to click the icon M1 at the satwin front end and i then choose the file to use.
Alternatevely using dos or a command line at windows i can do the same thing without the satwin front end by typing: M1.bat name_of_file.dat
I have also noticed that when i use satwin front end at windowz and when i run eg M1 a black dos prompt window pops and the M1 application is working(obviously the pop up command prompt window executes the command M1.bat name_of_file.dat)
Wine fails to do that part and as a result non of the programs is running.

Any ideas to fix this?
Thanks a lot in advance
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: application wont work properly

Post by vitamin »

delta9 wrote:Im using an application called saturn for my university assignement.
The problem is that it fails to fully operate under linux with wine.
If im not mistaken the application works like this:
Satwin is the windows front end that calles *.bat files that are part of the suit saturn.
While wine loads the satwin front end perfectly it fails to execute the *.bat files that are part of the saturn suit.
Lets have an example.There is a program called M1 in the suit.To run M1 i just have to click the icon M1 at the satwin front end and i then choose the file to use.
Alternatevely using dos or a command line at windows i can do the same thing without the satwin front end by typing: M1.bat name_of_file.dat
I have also noticed that when i use satwin front end at windowz and when i run eg M1 a black dos prompt window pops and the M1 application is working(obviously the pop up command prompt window executes the command M1.bat name_of_file.dat)
Wine fails to do that part and as a result non of the programs is running.

Any ideas to fix this?
Thanks a lot in advance
Try running that with Wine's 'cmd' and not directly with "wine". However keep in mind that some functionality is still not supported in batch files.
delta9
Level 1
Level 1
Posts: 5
Joined: Fri May 30, 2008 5:25 pm

Re: application wont work properly

Post by delta9 »

Yes it works perfectly if i use wine's cmd.
So any ideas now how im gonna make it run from the windows front end as well?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: application wont work properly

Post by vitamin »

delta9 wrote:Yes it works perfectly if i use wine's cmd.
So any ideas now how im gonna make it run from the windows front end as well?
Same way - run 'cmd' and start your frontend.
delta9
Level 1
Level 1
Posts: 5
Joined: Fri May 30, 2008 5:25 pm

Post by delta9 »

Unfortunatelly it wont let me me run the batch files from front end.
Is it an option to modify saturn's config file so that it will not try to call windowz cmd to execute the batch files,but wine's cmd.
Satwin's front end that calles a batch file looks like this:

Path = C:\windows\Command;C:\windows;"C:\SATWIN\XEXES
C:
CD "\SATWIN\laptop\2\
CALL PMAKE 1

where C:\windows;"C:\SATWIN\XEXES is the directory that batch files are,
CD "\SATWIN\laptop\2\ is the directory where my files to be used with the programs are
and
CALL PMAKE 1 is the batch file to use.

So could i edit that file to make saturn use wine's cmd?If yes what should be the entry?

Thnx a lot


EDIT: this is the ouput error i have on wine cmd when i try to run via front end

fixme:ole:OLEPictureImpl_SaveAsFile (0x7f053f08)->(0x7f057a90, 0, (nil)), hacked stub.
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
C:\SATWIN\laptop\2>Path = C:\windows\Command;C:\windows;"C:\SATWIN\XEXES
PATH=C:\windows\system32;C:\windows
C:\SATWIN\laptop\2>C:
C:\SATWIN\laptop\2>CD "\SATWIN\laptop\2\
C:\SATWIN\laptop\2>ECHO No output was found for PMAKE !
C:\SATWIN\laptop\2>ECHO C:\SATWIN\laptop\2\MARKER.0
C:\SATWIN\laptop\2>CALL PMAKE 12
File not found
Locked