Feature request "GUI for Windows"

Everything about Andy Key's great Emulator MEMU
User avatar
Dave
Posts: 943
Joined: 11 Aug 2012 18:16
Contact:

Re: Feature request "GUI for Windows"

Post by Dave »

Hi Bill,

yes, I understand the function of the options in MEMU, I don't quite get how they are put together in the launcher.

What I expected to do, was to set the tapedir path

then pick the file to run

However, if I use the browser button (...) to select the tapedir path
then use the browser button to select a file to run
the launcher adds the paths for both and MEMU gets confused.

If I use the browser to set the path, and just enter the run filename in the text box, is is fine
Similarly, if I leave the path empty and browse to the file to run it is fine

If you browse to both, the paths get added twice, as I say, if I had known what was happening, this would not have happened, but it may be worth considering only allowing the user to specify one path, or otherwise reducing it to the one needed?

regards
Dave
Bill B
Posts: 320
Joined: 26 Jan 2014 16:31

Re: Feature request "GUI for Windows"

Post by Bill B »

Bother, Andy's code does concatenate the tape-dir and the run-file, but only if the run file is *.mtx. The attached code is a quick work around, it can probably be improved.

Other features that I know are missing at the moment:

* Loading ROMS
* Selecting emulated disks
* Loading into arbitrary memory

Bill.
Attachments
Launch.zip
(1.66 KiB) Downloaded 393 times
User avatar
Dave
Posts: 943
Joined: 11 Aug 2012 18:16
Contact:

Re: Feature request "GUI for Windows"

Post by Dave »

Hi Bill,

thanks - that's sorted it.

I guess that the -tape-dir entry is actually redundant if you browse to the file to run, rather than just enter a name in the box, but now they don't interfere with each other, it works well.

As you say, there are some "missings" at the moment, but already this is a great little add-on and will be a great help for quickly selecting a file to run'

regards
Dave
Bill B
Posts: 320
Joined: 26 Jan 2014 16:31

Re: Feature request "GUI for Windows"

Post by Bill B »

By popular request, remember the last selected configuration. Other than that, only minor tidy up.

Dave, since you are now hosting this, should I continue to post updates here or is it easier if I just email updates to you?
Attachments
Launch.zip
(2.52 KiB) Downloaded 390 times
User avatar
Dave
Posts: 943
Joined: 11 Aug 2012 18:16
Contact:

Re: Feature request "GUI for Windows"

Post by Dave »

Hi Bill,

Yes, feel free to mail any updates and I will put them straight on the web page

I get an error when I run the updated version though:-

Traceback (most recent call last):
File "launch.pyw", line 293, in <module>
Launcher (sys.argv)
File "launch.pyw", line 19, in __init__
self.pdir = self.GetProgDir ()
File "launch.pyw", line 98, in GetProgDir
for pdir in os.get_exec_path ():
AttributeError: 'module' object has no attribute 'get_exec_path'

Regards
Dave
User avatar
schombi
Posts: 25
Joined: 06 Jan 2014 08:20
Location: Malsch, Germany
Contact:

Re: Feature request "GUI for Windows"

Post by schombi »

I had a quick look at the launcher on the week-end. Looks good to me. Thanks for the work, Bill!
Bill B
Posts: 320
Joined: 26 Jan 2014 16:31

Re: Feature request "GUI for Windows"

Post by Bill B »

Dave,

That is what comes of trying to support multiple versions of Python without adequate test facilities.

You are officially designated beta tester. Try this version.

Bill.
Attachments
Launch.zip
(2.51 KiB) Downloaded 354 times
User avatar
Dave
Posts: 943
Joined: 11 Aug 2012 18:16
Contact:

Re: Feature request "GUI for Windows"

Post by Dave »

Hi Bill,

there are still problems, I'll send you an e-mail

regards
Dave
Bill B
Posts: 320
Joined: 26 Jan 2014 16:31

Re: Feature request "GUI for Windows"

Post by Bill B »

Launch has gone as far as I wish to take it, at least for now. It supports all the current MEMU options except the diagnostic switches. In some cases I have limitted the range of values that can be selected to what seem to me to be reasonable limits.

My thanks go to Dave for testing the various releases and providing invaluable feedback on bugs and possible improvements. Also for saving me the effort of doing the documentation. From a coder's point of view an ideal partnership. Thanks again Dave. :D

Edit: And, of course, thanks to Andy for MEMU. Without that, Launch would be rather pointless.

Bill.
Last edited by Bill B on 23 Mar 2014 09:29, edited 1 time in total.
User avatar
Dave
Posts: 943
Joined: 11 Aug 2012 18:16
Contact:

Re: Feature request "GUI for Windows"

Post by Dave »

Hi Bill,

Thanks for the kind words, but obviously the real effort was yours!

To my mind, Launcher is definitely a valuable add-on for MEMU, providing an easy and flexible tool for starting MEMU, I'm sure that all MEMU users will find it very useful, so thank you very much for taking the time to do this.

For anyone who has not looked at it, you can download it from here :-
http://primrosebank.net/computers/mtx/m ... m#launcher

A description of the available options can be found on this page :-
http://primrosebank.net/computers/mtx/e ... launch.htm

Regards
Dave
Post Reply