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
application wont work properly
Re: application wont work properly
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 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
Re: application wont work properly
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?
So any ideas now how im gonna make it run from the windows front end as well?
Re: application wont work properly
Same way - run 'cmd' and start your frontend.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?
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
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