English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 14 December 2016, 18:06   #1
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
PyAGLaunch Guide Creator 1.0

As a Linux user, I got bored of running AGLGen.exe through wine, and two days ago I started to work on my own AGLaunch Guide Creator for my WHDLoad collection...

The result of my work is called PyAGLaunch Guide Creator 1.0 and it is written in Python 2.7 (I will make it Python 3 compatible, but not right now - any help is appreciated!). Program combines functionalities of CreateLists program for Amiga that generates file lists and AGLGen.exe windows program that generates guide files. This all means that it is intended to be run on WHDLoad collection accesible from PC, before transferring it to Amiga drive (or you can have synchronized copies on PC and Amiga, which is my use-case).

Guide generation is configurable, for example, you can adjust:
- number of columns and spacing in game/demo/main page lists
- prefered game language, TV system, etc. (include only english games if multiple version exist, or only pal, or any combination of preferences)
- all paths needed for guide generation, filenames, etc.
- guide window width (if you have an Amiga with higher workbench resolution, your launcher can be wider and have more links in it on one page)

All the settigns are on the beginning of program, with detailed explanations, and they can be changed as needed. Initial scanning of info files and guide generation takes about a minute, but after all the info files are cached in PC RAM, subsequent generating is fast - 5-10 seconds (at least on my PC). This makes it good choice for parallel testing inside emulator, as you can see the results almost instantly.

What can you do with it? You can, for example, make all links visible on standard Amiga resolution in main launcher window by increasing number of columns and removing space between rows:
Click image for larger version

Name:	agl-2rows.png
Views:	339
Size:	53.6 KB
ID:	51310

Or you may adjust the layout to be like AGLGen.exe if you like that:
Click image for larger version

Name:	agl-3rows.png
Views:	198
Size:	44.4 KB
ID:	51311

I really didn't like "condensed" game names, as it was sometimes hard to read them, so I used a different approach, to reverse game name from directory name. It's not perfect, but I think it does the good job in about 90-95% of cases:
Click image for larger version

Name:	agl-gam2col.png
Views:	400
Size:	70.1 KB
ID:	51312

As number of columns in game/demo lists is configurable, you may also get something like this:
Click image for larger version

Name:	agl-gam3col.png
Views:	226
Size:	79.2 KB
ID:	51313

Long game names on standard Amiga resolution may be too shortened (I use word shortening, not whole name shortening), but on higher resolutions this should look good.

Info file with multiview as default tool is also generated, so you can just click on the launcher

Program was tested a lot today, but I must say that there are probably bugs in it. If you find one, please give me a detailed description, so I could replicate and solve it.

And before someone asks, I didn't test this on windows, as I don't have it and do not want it. Program is released with GPL3 licence, it's open source (I don't like closed source programs for retro machines) and if someone can make it work on windows, I'll gladly make the changes to make it compatible.

Hope someone finds it useful...

Cheers,
Zarko
Attached Files
File Type: 7z PyAGLaunchGC.7z (5.7 KB, 141 views)

Last edited by zzarko; 14 December 2016 at 18:19.
zzarko is offline  
Old 14 December 2016, 23:56   #2
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
hi & welcome.

just tested your tool with cygwin on my win7 peecee.
does work out of the box.

made Games_WHDLoad and Demos_WHDLoad folder next to the python script.
generation just finished without any message: 'python PyAGLaunchGC.py'
maybe you can add something like: "start generating guides" "just finished" - so one can see something was done.

had to add WBRun from aminet (will be used from within guide files to start whdload).
made assigns for AGL: and Games: and i could launch the demos/games from the guide file.

as written in 1st post, you should read/edit the first lines of the python script.
make changes of those variables so they fit your needs.

cool tool


ps: just found out, whdload does phone home, got request for inet access, after starting whdload.
do we really need that?
Attached Thumbnails
Click image for larger version

Name:	PyAGL.png
Views:	185
Size:	8.8 KB
ID:	51318  

Last edited by emufan; 15 December 2016 at 00:05.
emufan is offline  
Old 15 December 2016, 00:21   #3
Zetr0
Ya' like it Retr0?
 
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
@zzarko

Супер!
Драго ми је да видим паралелни креацију, као што је то!

Welcome to EAB! there is plenty of retrolicious mischief going on around here - please let me share with you this project started in 2011 - AGLaunch - Thank you for the mention in your files!

Many members collaborated, modified and customized the project to make it theirs and I believe it is enjoyed by a few fellow Amigans out there, according to Aminet AGLaunch has been downloaded over 1,600 times

Initially designed for a limited 2MB environment ( stock A600 / CD32 ) I kludged together a very simple PC program to create Amiga Guide Text files based on a Classic Workbench Game Directory setup - when Bloodwych included this to the basic Classic Workbench pack's I was (and still am) very thrilled and humbled!.

Here is a very basic version running on a 2MB (A600) environment

[ Show youtube player ]

I think your project could take this even further with additional information on software titles, possibly with links to reviews and HOL information - it could be quite a concise database that has the ability to launch the WHDLoad title. The only real limit would hard disk space - but that is quite mutable these days

Last edited by Zetr0; 15 December 2016 at 00:28.
Zetr0 is offline  
Old 16 December 2016, 21:07   #4
zzarko
Registered User
 
Join Date: Nov 2016
Location: Novi Sad
Posts: 27
@emufan: thank you very much for testing it on windows, I completely forgot about cygwin... I'll consider that problem solved now

@Zetr0: thanks a lot for taking the time to look into this. I was using your program a lot and it was main inspiration for my version. I found it very useful not only on low end Amigas (unaccelerated A600/A1200), but on high-end also, it is actually very clean and fast solution (I got to test pre-production version of Vampire 500 V2 and it works like a charm ). I didn't knew Bloodwych was your inspiration for guide file layout, so I added him also to main screen. Thanks to both of you!

Anyway, today I decided to squash bugs that I have detected, and also to include more options for list generation:
- name expansion is more robust, and remaining titles that don't expand very well are adjusted manually (see ExpandAs part of settings)
- automatic translation of non-english game names is also included (can be turned on or off)
- option to display only games from preferred languages (if you want to have a list of, for example, only French games)
- preference for regular or demo/preview game version

Game/demo list window now has suffixes explanation at the bottom:
Click image for larger version

Name:	agl-gam.png
Views:	311
Size:	60.1 KB
ID:	51333

In the process of analysing game names from WHDLoad archive, I found several inconsistent names (mainly the order of suffixes in game name that doesn't look like the rest of the game names). Those names are marked with the comment "# wrong name?" in ExpandAs part of settings. Maybe someone who has more knowledge about naming conventions in WHDLoad can look into this?

I'll consider version 1.1 final for now. If someone have suggestions, or can improve the program by him/herself, please contact me. Zetr0's proposition for more game information is very interesting, but I don't think I could do that by myself for now (not enough time/knowledge).

P.S. I know that this is Amiga board, but I'd like to ask if someone knows any game/demo launcher solution for Atari ST/Falcon?
Attached Files
File Type: 7z PyAGLaunchGC11.7z (8.5 KB, 126 views)
zzarko 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
Guide: WinUAE PPC OS 4.0 Classic Install Guide (Beta 12+) BinoX support.WinUAE 170 22 April 2021 11:37
Shapes creator for PC ? TurboCrash Coders. Blitz Basic 1 06 January 2016 19:45
Beanbag Creator? Samurai_Crow project.Amiga Game Factory 15 24 December 2014 15:53
My first guide - Drakkhen leveling guide Fragger Nostalgia & memories 2 08 April 2010 21:35
which adf creator skidrow New to Emulation or Amiga scene 5 24 April 2006 22:33

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 07:06.

Top

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