Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
16 crawler(s) on-line.
 38 guest(s) on-line.
 1 member(s) on-line.


 kamelito

You are an anonymous user.
Register Now!
 kamelito:  1 min ago
 Trixie:  10 mins ago
 zipper:  12 mins ago
 OneTimer1:  37 mins ago
 vox:  37 mins ago
 hlt:  44 mins ago
 NutsAboutAmiga:  51 mins ago
 yoodoo2:  57 mins ago
 bhabbott:  1 hr 20 mins ago
 21stcentury:  1 hr 33 mins ago

/  Forum Index
   /  Amiga Emulation
      /  QEmu Helper
Register To Post

PosterThread
OneOfNine 
QEmu Helper
Posted on 14-May-2024 8:12:40
#1 ]
Member
Joined: 10-Jan-2005
Posts: 18
From: Germany

Hello, first of all sorry for my somewhat poor English. :(

QEmu Helper is a program written in Python3 that provides a config interface to make it easier to configure and start QEmu with Amiga OS 4.1.

The advantage of Python3 is that QEmu Helper runs on Windows as well as on Linux, MacOS and BSD.

For Linux, Python3 must still be installed.

sudo apt update
sudo apt upgrade
sudo apt install python3-full

Unfortunately I do not know for MacOS and BSD.



Download Link

 Status: Offline
Profile     Report this post  
amigang 
Re: QEmu Helper
Posted on 14-May-2024 9:33:36
#2 ]
Elite Member
Joined: 12-Jan-2005
Posts: 2086
From: Cheshire, England

@OneOfNine

Nice,

Im please to see more efforts to improve QEMU AmigaOS4 support, this interested me too,

BBoot
https://www.amiga-news.de/en/news/AN-2024-04-00056-EN.html

It be great if we had a more one stop all included solution like a WinUAE kinda setup for just OS4 emulation / virtualization.

_________________
AmigaNG, YouTube, LeaveReality Studio

 Status: Offline
Profile     Report this post  
OneOfNine 
Re: QEmu Helper
Posted on 14-May-2024 9:50:54
#3 ]
Member
Joined: 10-Jan-2005
Posts: 18
From: Germany

@amigang

WinUAE only emulates classic Amigas with PowerPC cards. Unfortunately only A1200 & A4000 can be emulated with PowerPC cards and unfortunately this is not stable. With QEmu AmigaOS 4.1 runs faster and more stable and can use up to 2GB memory.

The disadvantage of QEmu is that it is only command line based and has no GUI, except for QEmu Helper.


For me, to get AmigaOS 4.1 running, QEmu is the 1st choice

 Status: Offline
Profile     Report this post  
jap 
Re: QEmu Helper
Posted on 14-May-2024 11:35:36
#4 ]
Member
Joined: 10-Oct-2005
Posts: 66
From: Unknown

@OneOfNine
Quote:
Unfortunately I do not know for MacOS and BSD.

I got this error message on Mac when I tried to execute QEmu Helper:

RuntimeError: Bad magic number in .pyc file

My Mac has Python version 3.9.6.

Last edited by jap on 14-May-2024 at 12:06 PM.

 Status: Offline
Profile     Report this post  
kolla 
Re: QEmu Helper
Posted on 14-May-2024 11:53:12
#5 ]
Elite Member
Joined: 20-Aug-2003
Posts: 3234
From: Trondheim, Norway

@jap

These are runtime bytecode files, not python scripts.
Try "python3 file.pyc"

It works for me on this old macbook.

(though with python3.12 from homebrew... oh and you need python-tk corresponding to your python version, python-tk@3.9 in your case)

Last edited by kolla on 14-May-2024 at 11:55 AM.
Last edited by kolla on 14-May-2024 at 11:55 AM.

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
jap 
Re: QEmu Helper
Posted on 14-May-2024 12:02:56
#6 ]
Member
Joined: 10-Oct-2005
Posts: 66
From: Unknown

@kolla

I just updated to Python version 3.12.3 and now Qemu Helper runs fine on my Mac!

Last edited by jap on 14-May-2024 at 12:07 PM.

 Status: Offline
Profile     Report this post  
OneOfNine 
QEmu Helper
Posted on 26-May-2024 10:15:50
#7 ]
Member
Joined: 10-Jan-2005
Posts: 18
From: Germany

New beta 7 available

- English version available
- Hard disk images can now be created with QEmu Helper
- More Code optimizations

Download link in 1st post

 Status: Offline
Profile     Report this post  
Hypex 
Re: QEmu Helper
Posted on 26-May-2024 14:37:24
#8 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@OneOfNine

Thanks for your efforts. So were you the first in the Borg hive?

Just need to turn this into a package. With a name. And nice icon.

So I'm running Linux Mint Una. Package python3-full doesn't exist. Or is too new for the Una repo anyway. I downloaded python3-all but had most of it already. I have Python 3.8.5. I also get the magic error. Does it need the latest Python?

Last edited by Hypex on 26-May-2024 at 02:38 PM.

 Status: Offline
Profile     Report this post  
OneOfNine 
Re: QEmu Helper
Posted on 27-May-2024 7:03:37
#9 ]
Member
Joined: 10-Jan-2005
Posts: 18
From: Germany

@Hypex

sudo apt update
sudo apt install python3

 Status: Offline
Profile     Report this post  
amigang 
Re: QEmu Helper
Posted on 28-May-2024 10:36:09
#10 ]
Elite Member
Joined: 12-Jan-2005
Posts: 2086
From: Cheshire, England

@OneOfNine

cool

_________________
AmigaNG, YouTube, LeaveReality Studio

 Status: Offline
Profile     Report this post  
Hypex 
Re: QEmu Helper
Posted on 28-May-2024 15:34:06
#11 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@OneOfNine

Yes, had already updated and python installed was latest version. Do you have a list of depends? I suspect the python in my distro is too old or there is a missing depends needed that has flown under the radar.

 Status: Offline
Profile     Report this post  
kolla 
Re: QEmu Helper
Posted on 28-May-2024 18:36:36
#12 ]
Elite Member
Joined: 20-Aug-2003
Posts: 3234
From: Trondheim, Norway

@Hypex

If anything is missing, python complains, that’s how I figured it needs tk.
So what is your python complaining about?

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
Hypex 
Re: QEmu Helper
Posted on 29-May-2024 3:11:44
#13 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@kolla

Same error as jap was getting:
RuntimeError: Bad magic number in .pyc file

I checked and I had python3-tk but didn't python-tk. Installed. No change.

 Status: Offline
Profile     Report this post  
kolla 
Re: QEmu Helper
Posted on 29-May-2024 8:03:07
#14 ]
Elite Member
Joined: 20-Aug-2003
Posts: 3234
From: Trondheim, Norway

Then it starts looking like incompatibility yes.

The solution (as usual) is to rather distribute the actual python code and let the systems create their own runtime binaries. (I always regarded .pyc files as “on system cache, and not as something to distribute)

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
Hypex 
Re: QEmu Helper
Posted on 30-May-2024 1:17:42
#15 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@kolla

That's what I've read. There is little information on these pyc files after a search. Mostly random stuff and hacking them to work by changing the magic numbers. So I can see it as a way to hide source code as it's similar to a binary. But there are decompilers. So it's a very limited format that is tied to the compiler it's generated from. Don't know why they didn't make it broadly compatible. AFAK Java is. At the end of the day, if you like your code to be closed source, just compile a binary. Not even the file command or binwalk even know what it is.

Last edited by Hypex on 30-May-2024 at 01:18 AM.

 Status: Offline
Profile     Report this post  
kolla 
Re: QEmu Helper
Posted on 30-May-2024 17:45:21
#16 ]
Elite Member
Joined: 20-Aug-2003
Posts: 3234
From: Trondheim, Norway

Right, anyone who can run it can also have the python regenerated.

_________________
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC

 Status: Offline
Profile     Report this post  
OneOfNine 
Re: QEmu Helper
Posted on 1-Jun-2024 18:09:46
#17 ]
Member
Joined: 10-Jan-2005
Posts: 18
From: Germany

There is a reason why this is a pyc file. Unfortunately I have had bad experiences where others have copied my work and put their copyright on it. I have also tested it everywhere before, under Linux (Debian/MX Linux...), FreeBSD, GhostBSD and MacOS. It even ran on a Raspberry PI OS (Raspberry PI 5).

If an old Linux is used, then Python3 should also be installed in the latest version. For the user interface tkinter is required. If this is missing, it can also be installed later.

sudo apt install python3-tk

 Status: Offline
Profile     Report this post  
Hypex 
Re: QEmu Helper
Posted on 2-Jun-2024 16:52:27
#18 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@OneOfNine

I suppose that's the problem with open source. I don't know what right they can claim but you being the true copyright owner would invalidate any claims they have. I once spent some time porting some code to OS4 and uploaded it with installer. I got an email about it working with OS3. Sure it could, but the guy had taken my installer scripts, then tried to compile a 68K version which failed. I knew why it failed, it needed big endian fixes, and without knowing where it wasn't trivial to fix. He didn't ask me for my permission to use my scripts so I thought it was rather rude to ask why it doesn't work. So I gave a polite enough reply but didn't reveal any secrets.

While my Linux isn't the bleeding latest, it isn't exactly ancient either. It still receives updates. But sometimes I find an older version of software will be in the repo. I can see this being the case here as my Python is 3.8.5. Without compiling and hacking in a newer Python in I can see that my Linux is just too old and unsupported because it isn't the latest one fresh off the bus.

To work otherwise it would need a Python build included. But that's a bit hacky. Perhaps the only other solution is to simply compile as a binary. But then it's not portable across CPU archs. Oh well. It will be useful for other people.

Last edited by Hypex on 02-Jun-2024 at 04:57 PM.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle