English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 01 January 2019, 19:02   #1
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
UAE Configuration Generator

Hi,

Happy New Year!

Not sure whether this is the right forum/board to post this, but I've been tinkering with a UAE config file generator. This is mainly to help with UAE emulators and launchers that point to .uae files.

The tool is currently developed using Python 3 and has a graphical frontend. A sample screenshot of it be seen below:




You basically tell it where your .adf/.zip/.hdf files are, your kickstart and WHDLoad file, provide some template/base UAE configurations and it generates the appropriate .uae config.

It also has specific support for the SNES Classic/mini and its 'linked export' mode.

There's a lot more I'd like to do with it, but the basic functionality is almost there. I still need to figure out how to package it up properly (and possibly provided a .exe version) and get it hosted somewhere for distribution, documentation and support.

If anybody is interested in testing/using it initially, then give me a shout.

Cheers!
solarmon is offline  
Old 04 January 2019, 13:11   #2
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Hi,

I've decided to host this project on github:

https://github.com/solarmon/UCG

and have done an initial v0.1-beta release, which can be found at:

https://github.com/solarmon/UCG/releases/tag/v0.1-beta

I've included a Windows executable version (albeit quite a large one at over 9Mb) as part of the release.

I've still to update/complete the documentation - for now just the README on the project page.

Any feedback - good or bad - is greatly welcomed.

Cheers
solarmon is offline  
Old 09 January 2019, 00:20   #3
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Hi,

I've just released v0.2-beta:

https://github.com/solarmon/UCG/releases/tag/v0.2-beta

This adds support for WHDLoad slave files. This is related to another project I'm working on - a WHDLoad Game Launcher startup script - which replaces the one in the usual WHDLoad.hdf. I'll create a separate post for that.

Cheers!
solarmon is offline  
Old 09 January 2019, 20:48   #4
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
Cool!

Solarmon, how are you finding hosting your program on Github? Was it easy to add, or was the jargon for that site baffling at first?
Foebane is offline  
Old 09 January 2019, 21:29   #5
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by Foebane View Post
Cool!

Solarmon, how are you finding hosting your program on Github? Was it easy to add, or was the jargon for that site baffling at first?
Hi,

This is actually my first time using github. Or any source repository for that matter. So I'm learning lots as I go along. And my first time using python for this project. I'm not really selling myself here!

I was thinking about using gitlab, but decided against it because github seems to be so popular. But then you got M$ buying it - that was why I considered gitlab. But I found the gitlab first time experience and jargon better/easier to understand so I chose to use it. Gitlab seemed to be too commercially orientated, which put me off too.

I'm still probably not using it right - as I said, I'll learn as a I go along, probably the hard way.

Cheers!
solarmon is offline  
Old 10 January 2019, 00:38   #6
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
UCG v0.3-beta released:

https://github.com/solarmon/UCG/releases/tag/v0.3-beta

* Added slave example templates
* Removed comments from template examples as it is not really manageable.
* Options to specify whether to mount WDHLoad drive as 'dir' or 'hdf', and to set the WHDLoad directory.
* Now using 'hardfile2' as mount for .hdf files - so you can specify it as HD1: device.
* Tested generated UAE configs on SNES classic - mounting WHDLoad and game drives as directories works.
solarmon is offline  
Old 10 January 2019, 17:46   #7
Sandancer
Registered User
 
Join Date: Mar 2017
Location: Wakefield
Posts: 270
looks cool solarmon well done
Sandancer is offline  
Old 11 January 2019, 11:30   #8
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by Sandancer View Post
looks cool solarmon well done
Thanks! There's much more I want/need to do with it. The more users and feedback the better it will be for me to focus on what users want, or what issues they are having.

Cheers!
solarmon is offline  
Old 13 January 2019, 16:28   #9
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
(Deleted - wrong thread!)
solarmon is offline  
Old 23 January 2019, 13:04   #10
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
UCG (UAE Configuration Generator) v0.4-beta is now released:

https://github.com/solarmon/UCG/releases/tag/v0.4-beta

The v0.4-beta release has had some significant changes and improvements.

* Simplified the UAE config template model - now just based on:
- Chipset
AGA
OCS
- Game Type
ADF
WHDLoad
* Now supports the three different WHDLoad game types - as a:

- .hdf
- .zip
- .lha
- Directory
* For WHDLoad .zip and .lha files, the volume will be the game sudirectory plus the extension type.

- This is to allow WHDLoad Game Launcher (https://github.com/solarmon/WHDLoad-Game-Launcher/) to determine that it is of this type and where to look for the slave file.

* Some additional python packages dependencies:
- zipfile
- LhaFile
* Support for WinUAE game art - see http://eab.abime.net/showthread.php?t=89014

- The HD1: game drive is now above the HD0: boot drive in the .uae config.
- For WHDLoad Directory games, a trailing directory separator is added so that art files can be located within this directory.

* Lots of cosmetic GUI changes/improvements and bug fixes.

TO-DO:

* Fix duplicates and disallowed characters detection.
* Improve logging output and display.
* Better UAE config template model.


Some example screenshots are attached.
Attached Thumbnails
Click image for larger version

Name:	UCG-1.PNG
Views:	695
Size:	30.2 KB
ID:	61711   Click image for larger version

Name:	UCG-2.PNG
Views:	727
Size:	77.3 KB
ID:	61712   Click image for larger version

Name:	UCG-3.PNG
Views:	645
Size:	82.4 KB
ID:	61713   Click image for larger version

Name:	UCG-4.PNG
Views:	644
Size:	179.9 KB
ID:	61714   Click image for larger version

Name:	UCG-5.PNG
Views:	618
Size:	343.9 KB
ID:	61715  

Click image for larger version

Name:	UCG-6.PNG
Views:	598
Size:	325.0 KB
ID:	61716   Click image for larger version

Name:	UCG-7.PNG
Views:	612
Size:	580.7 KB
ID:	61717  
solarmon is offline  
Old 23 January 2019, 13:18   #11
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Ciao solarmon, i noticed that beta 03 does not work on Win7 standard (requires SP1), but beta 04 does not seem to support Win7 32Bit? in my opinion it would serve something compatible with all Windows OS
AMIGASYSTEM is offline  
Old 23 January 2019, 13:22   #12
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by AMIGASYSTEM View Post
Ciao solarmon, i noticed that beta 03 does not work on Win7 standard (requires SP1), but beta 04 does not seem to support Win7 32Bit? in my opinion it would serve something compatible with all Windows OS
Is that running as an Python script or .exe, or both?

Can provide some example error messages? Or does it just refuse to launch?

Unfortunately, I've only been able to test on Windows 10 - so I'll to see if I can get a virtualised environment to test against other OS's.
solarmon is offline  
Old 23 January 2019, 13:38   #13
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Because I developed UCG and compiled it (python packages and .exe version) on a 64-bit environment then that is why it is 64-bit only.

I will make this clear in the descriptions and posts.

Ideally, going forwards, and if demand is there, then I need to have different environments to develop and test on. But practically, I need to see how feasible this will all be. It may be that it slows down the release cycle if I need/want to support all of these environments.
solarmon is offline  
Old 23 January 2019, 13:38   #14
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Used ucg.exe, the requests are in Italian, but the error is understood

Beta 03 and Beta 04 not Work also on Win7 64Bit (requires SP1)

Last edited by AMIGASYSTEM; 31 January 2019 at 12:21.
AMIGASYSTEM is offline  
Old 23 January 2019, 14:06   #15
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by AMIGASYSTEM View Post
Used ucg.exe, the requests are in Italian, but the error is understood

Beta 03 and Beta 04 not Work also on Win7 64Bit (requires SP1)
Thanks.

Have you tried ucg.py? However, you'll need to set up Python 3.7.2 and install some package dependencies.

Which reminds me, I need to update the description on Github regarding all these requirements and dependencies....

Thanks once again, for testing and feedback.
solarmon is offline  
Old 23 January 2019, 14:31   #16
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by solarmon View Post
Thanks.

Have you tried ucg.py? However, you'll need to set up Python 3.7.2 and install some package dependencies.
.
Not all of us are experts or geeks, the average user usually does not install anything that is not essential, there are people who do not install an audio or video codec because they believe to create problems
AMIGASYSTEM is offline  
Old 23 January 2019, 14:43   #17
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
Quote:
Originally Posted by AMIGASYSTEM View Post
Not all of us are experts or geeks, the average user usually does not install anything that is not essential, there are people who do not install an audio or video codec because they believe to create problems
Yes - I totally agree.

I'm finding out the further I get into this Python project, how many dependencies are required.

The problem with the .exe version is that it is quite large - currently at 9M, because the python environment and packages are compiled with it.
solarmon is offline  
Old 24 January 2019, 00:14   #18
solarmon
Registered User
 
solarmon's Avatar
 
Join Date: Dec 2018
Location: UK
Posts: 1,715
UCG (UAE Configuration Generator) v0.5-beta is now released:

https://github.com/solarmon/UCG/releases/tag/v0.5-beta

Release v0.5-beta has the following features:

* 32bit and 64bit executable versions. (Only tested on Windows 10 64bit)

* About tab now shows versions of the OS and Python and whether it is running as a Python script or executable.
solarmon is offline  
Old 24 January 2019, 02:11   #19
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
v0.5-beta with Win7 32/64Bit "Standard" does not work, requires Service Pack 1
AMIGASYSTEM is offline  
Old 24 January 2019, 03:25   #20
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
Quote:
Originally Posted by solarmon View Post
I'm finding out the further I get into this Python project, how many dependencies are required.

The problem with the .exe version is that it is quite large - currently at 9M, because the python environment and packages are compiled with it.
Maybe it would be better done in C. That would also would make it easier to have a 32-bit build.
Minuous is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
uae-configuration commands markpage support.WinUAE 18 02 May 2021 00:24
Uae-configuration Vot support.WinUAE 2 04 February 2017 01:10
FS-UAE: Configuration gilgamesh support.FS-UAE 6 24 April 2012 11:31
uae-configuration Foul support.WinUAE 2 15 April 2012 21:11
uae-configuration Anubis support.WinUAE 1 15 August 2008 15:14

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:57.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09667 seconds with 14 queries