Skip to content

Commit d9d2b84

Browse files
authored
Prepared Version 0.1
1 parent 1387770 commit d9d2b84

17 files changed

+50
-24
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# EmuGUI (insert version here)
1+
# EmuGUI v0.1
22

33
- added TESTED.md
4+
- added building instructions for Windows
5+
- fixed the VM creation/editing bug
46

57
# EmuGUI v0.0.1
68

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,25 @@ HDD: 2 GB¹
2929
4. Set the QEMU paths at the Settings/QEMU tab.
3030
5. Create a new virtual machine and start it.
3131

32+
## Building on Windows
33+
34+
1. Install Python. You can get it from https://www.python.org/
35+
2. Get QEMU at https://qemu.weilnetz.de/w64/ and install it
36+
3. Install Git. You can get it from https://git-scm.com/downloads
37+
4. Install Visual Studio Code. You can get it from https://code.visualstudio.com/download
38+
5. Open a terminal and type: ´git clone https://github.com/Tech-FZ/EmuGUI.git´
39+
6. Open Visual Studio Code in that folder.
40+
7. Open a terminal WITHIN VS Code and type: ´python -m pip install --upgrade pip venv´
41+
8. After that is done, type: ´python -m venv your-venv-name´. You can call it whatever you want, but don't forget that it is NOT allowed to get into the EmuGUI repository under any circumstances. That's why Git is only going to be used to clone the code, but not to commit - that's to be done manually.
42+
9. Wait until VS Code notices your venv and select it. You might need to restart the editor for it to recognize your virtual environment after it has been created.
43+
10. With your virtual environment selected, try to run a Python script. If it throws an error, that's okay. We just need to activate the venv anyway.
44+
11. Within the terminal VS Code just opened, type: ´pip install --upgrade pip PyInstaller PyQt6 PyQt6-tools PySide6´
45+
12. After this is done, run the main.py script.
46+
13. To compile the program for users who don't have Python installed, type: ´PyInstaller --onefile .\main.py´
47+
14. After that is finished, copy the code into the dist folder PyInstaller created.
48+
15. Run the executable in the dist folder. If your antivirus puts it into quarantine, don't worry as this should be a false positive and restore it.
49+
16. If it works, have fun! If not, try to start again from number 9.
50+
3251
## Contributing
3352

3453
There are several ways to contribute, including:
15 Bytes
Binary file not shown.
15 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

dialogExecution/editVirtualMachine.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,6 @@ def finishCreation(self):
352352
print("The query was executed successfully.")
353353

354354
except sqlite3.Error as e:
355-
print(f"The SQLite module encountered an error: {e}.")
355+
print(f"The SQLite module encountered an error: {e}.")
356+
357+
self.close()

dialogExecution/newVirtualMachine.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,6 @@ def finishCreation(self):
247247
print("The query was executed successfully.")
248248

249249
except sqlite3.Error as e:
250-
print(f"The SQLite module encountered an error: {e}.")
250+
print(f"The SQLite module encountered an error: {e}.")
251+
252+
self.close()

doc/TESTED.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Compatible guests list
2-
3-
Such a program needs tests in its lifetime. That's why I make this compatibility list. Feel free to grab your old installation disc and test it out.
4-
5-
## Microsoft operating systems
6-
7-
| Operating system | Architecture | Working | Notes |
8-
| ----------------------------------------- | ------------ | ------------------- | ----------------------------------------- |
9-
| Windows NT 4.0 Workstation Service Pack 1 | MIPS64el | Yes | Needs external BIOS |
10-
| Windows 98 Second Edition | i386 | Yes | Prepare to boot Safe Mode with VirtualBox |
11-
| Windows 2000 Professional Service Pack 4 | i386 | No | |
12-
| Windows XP Home Edition Service Pack 3 | i386 | No | |
13-
| Windows 7 Ultimate Service Pack 1 | x86_64 | Yes | No VGA drivers, no Aero |
14-
15-
## Linux operating systems
16-
17-
### Ubuntu-based distributions
18-
19-
| Operating system | Architecture | Working | Notes |
20-
| ----------------------------------------- | ------------ | ------------------- | ----------------------------------------- |
21-
| Ubuntu Desktop 12.04 LTS | PowerPC | Partially | Mouse is not working properly |
1+
# Compatible guests list
2+
3+
Such a program needs tests in its lifetime. That's why I make this compatibility list. Feel free to grab your old installation disc and test it out.
4+
5+
## Microsoft operating systems
6+
7+
| Operating system | Architecture | Working | Notes |
8+
| ----------------------------------------- | ------------ | ------------------- | ----------------------------------------- |
9+
| Windows NT 4.0 Workstation Service Pack 1 | MIPS64el | Yes | Needs external BIOS |
10+
| Windows 98 Second Edition | i386 | Yes | Prepare to boot Safe Mode with VirtualBox |
11+
| Windows 2000 Professional Service Pack 4 | i386 | No | |
12+
| Windows XP Home Edition Service Pack 3 | i386 | No | |
13+
| Windows 7 Ultimate Service Pack 1 | x86_64 | Yes | No VGA drivers, no Aero |
14+
15+
## Linux operating systems
16+
17+
### Ubuntu-based distributions
18+
19+
| Operating system | Architecture | Working | Notes |
20+
| ----------------------------------------- | ------------ | ------------------- | ----------------------------------------- |
21+
| Ubuntu Desktop 12.04 LTS | PowerPC | Partially | Mouse is not working properly |

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def __init__(self, parent=None):
1919
self.connectSignalsSlots()
2020
self.timer = QTimer()
2121
self.timer.timeout.connect(self.updateVmList)
22+
self.label_8.setText("EmuGUI v0.1")
2223

2324
if platform.system() == "Windows":
2425
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()

0 commit comments

Comments
 (0)