English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 23 November 2017, 22:11   #41
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Heya Toni,

I'm sure this is way, way, way down on your priority list, and rightly so

But thought I'd ask, any new thoughts / progress? Do you need anything from us, the users of your awesome emulator?

...I've also just sent you a "motivation" donation my friend; please don't take it as "would be nice if you now concentrated on this".

Whenever you get the chance, I'm very patient
DamienD is offline  
Old 24 November 2017, 01:15   #42
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
Quote:
Originally Posted by DamienD View Post
For me currently, when scrolling through my list of configs, it can sometimes be hard to remember exactly what the game is like; this happens when you have over 2250 added...

All you need to jog your memory IMHO is one title & one screenshot, boom!!!

...if I want to view many images then I visit HOL
And here I was thinking about chucking my Amiga demos in favour of Pouet.net links so I could save cloud space and download them as I needed them, despite having 256 Amiga demo videos that take up 20x the 1Gb the original files take up!

Over 2200 games, where DO you find the time to play them?
Foebane is offline  
Old 24 November 2017, 17:18   #43
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
D3D11 support took priority because it was supposed to be easy and quick but it wasn't..

Make 3 game example zip that contain game directory with game image(s), boxart image files). File names are not that important, it only needs to be "real world" test case. (real game, real images)
Toni Wilen is offline  
Old 24 November 2017, 17:34   #44
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Ok, will do

After taking screenshots do I need to resize or is this something WinUAE will do "on the fly" when showing in the panel?
DamienD is offline  
Old 24 November 2017, 17:37   #45
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Don't resize too much, resizing needs to be automatic. The only thing that must be automatic
Toni Wilen is offline  
Old 24 November 2017, 17:39   #46
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
I won't resize at all then.
DamienD is offline  
Old 24 November 2017, 19:50   #47
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Heya Toni,

In The Zone! you will now find "WinUAE_Title-SShot-Boxart.rar"

...as requested, these are 3 randomly selected games and the archive includes the following files in each game directory:

a) ___Title.png
b) ___SShot.png
c) ___Boxart.jpg

Please let me know if there's anything else you need from me, be it more files, ideas or testing etc?


----------------------------------------------------------------------------------------------------


As you know though, personally I don't care for Boxart and would be very happy with just a simple solution:

2) Added "Title / Screenshot" snap-on panel:



...but obviously, do as you think best in order to suit all

Last edited by DamienD; 24 November 2017 at 20:00.
DamienD is offline  
Old 24 November 2017, 22:08   #48
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Under the hood logic is now mostly done. (Nothing visible yet, except log)

- configuration.cache now includes possible box art path if detected during configuration file scan. (This is backwards compatible, old versions just skip the extra line)
- loading config will log if box art images found.
- moving configurations panel selection cursor will also log if config entry had box art in configuration.cache (just moving cursor must not cause any file accesses, use of config cache required)

Testing:

Delete configuration.cache, run winuae with -log, does logged paths look correct (df0:, first filesystem2/hardfile2 or cdimage0), does it detect box art image (detection file name is "<path>\___Title.png")

Load/browse config files and confirm that box art related log messages are correct.

EDIT: enable option now in Paths panel.

Last edited by Toni Wilen; 25 November 2017 at 15:43.
Toni Wilen is offline  
Old 25 November 2017, 17:54   #49
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Awesome, many thanks Toni

Was out late last night and today I've been helping a friend build / erect a shed in her garden...

Once home later tonight I'll test and let you know how I get on
DamienD is offline  
Old 25 November 2017, 19:45   #50
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Toni Wilen View Post
Testing:

Delete configuration.cache, run winuae with -log, does logged paths look correct (df0:, first filesystem2/hardfile2 or cdimage0), does it detect box art image (detection file name is "<path>\___Title.png")

Load/browse config files and confirm that box art related log messages are correct.

EDIT: enable option now in Paths panel.
Home now so have tested

Here are some snippets from the log:

Games that have images created / inserted into the game path (first one .ADFs only, second one .HDF only):

Code:
Possible boxart path: '.\Games\Banshee AGA\Banshee (1994)(Core)(AGA)(M4)(Disk 1 of 4)[cr PSG][h][t +11 HLM].adf'
Detected!
Box art path '.\Games\Banshee AGA\'
Box art file '.\Games\Banshee AGA\___Boxart.jpg'
Box art file '.\Games\Banshee AGA\___SShot.png'
Box art file '.\Games\Banshee AGA\___Title.png'
 
Possible boxart path: '.\Games\Capital Punishment AGA\Capital Punishment AGA.hdf'
Detected!
Box art path '.\Games\Capital Punishment AGA\'
Box art file '.\Games\Capital Punishment AGA\___Boxart.jpg'
Box art file '.\Games\Capital Punishment AGA\___SShot.png'
Box art file '.\Games\Capital Punishment AGA\___Title.png'
Games that don't have images created / inserted into the game path:

Code:
Possible boxart path: '.\Games\Beneath A Steel Sky\Beneath A Steel Sky (1994)(Virgin)(Disk 1 of 15)(Boot).ipf'
So looks good as far as I can tell

Anything else you need my friend?

Edit: oh, just browsing through the configurations using the <Up Arrow> & <Down Arrow> didn't seem to generate anything in the logs.
DamienD is offline  
Old 25 November 2017, 20:13   #51
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Nope, scrap the above "Edit:"...

Just deleted "configuration.cache" file and then started WinUAE. Could see all my <gamedirs> being scanned for "boxart" before the programs starts

Nice one Toni. I've said it before and I'm sure I'll say it many, many, many times again:

You da man!!!
DamienD is offline  
Old 25 November 2017, 20:22   #52
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Just checked the registry and see that you added there.

Code:
"ArtCache"=dword:00000001
Awesome, this means that I don't need to update any of my 2250+ configuration files

Very excited about this and the way that you've made it work

Not sure what your plans are going forward, but as I mentioned, for me I'm only interested in a "title / screenshot" panel and not a "boxart" one...

I'm sure you can make both panels available to cover all users' desires but if possible, please also make these options save into the registry and not in configuration files.
DamienD is offline  
Old 25 November 2017, 20:28   #53
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
"artcache" = Paths panel enable option, if images are detected or completely ignored.

This is needed (and is off by default) because configuration cache building can become much slower if it needs to check for images and cache is build every time any config file is modified.

It has no effect which images are detected. If "___Title.png" exists, path is cached. When config is selected or loaded, if cached path does not exist: show nothing, do nothing, if it exists, check also if other image names exists and then show all of them.
Toni Wilen is offline  
Old 25 November 2017, 20:36   #54
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Toni Wilen View Post
This is needed (and is off by default) because configuration cache building can become much slower if it needs to check for images and cache is build every time any config file is modified.
It's working very well indeed

When starting WinUAE, I can see via -log that it scans through my 2250+ configs in roughly 5 seconds before I see the GUI

I also noticed that I don't even need "Cache Configuration files" ticked; which suits me as previously I never had this option turned on.
DamienD is offline  
Old 25 November 2017, 20:44   #55
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Actually one small thing I noticed in the logs is that sometimes the "." is dropped i.e:

Code:
Possible boxart path: '.\Games\Tower of Souls AGA\Tower of Souls (1995)(Black Legend)(AGA)(Disk 1 of 5)[t +3 Lord & Perfection][b].adf'
Possible boxart path: '.\Games\Toyota Celica GT Rally\Toyota Celica GT Rally (1991)(Gremlin)[cr SKR].adf'
Possible boxart path: '.\Games\Tracers\Tracers v1.1 (1988)(MicroIllusions)[cr Testament].adf'
Possible boxart path: '\Games\Tracker Hero AGA\Tracker Hero AGA.hdf'
Possible boxart path: '.\Games\Trained Assassin\Trained Assassin (1989)(Digital Magic).ipf'
Possible boxart path: '.\Games\Transarctica AGA\Transarctica (1993)(Silmarils)(AGA)(M3)(Disk 1 of 3)(A)[cr PDX].adf'
Possible boxart path: '.\Games\Transarctica\Transarctica (1993)(Silmarils)(M3)(Disk 1 of 2)(A)[cr Mok - S.S.].adf'
Edit: this happens with all my configurations that are .HDF only...
DamienD is offline  
Old 26 November 2017, 14:37   #56
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Toni Wilen View Post
Delete configuration.cache, run winuae with -log, does logged paths look correct (df0:, first filesystem2/hardfile2 or cdimage0), does it detect box art image (detection file name is "<path>\___Title.png")
Heya Toni,

Did a little more testing today to see if only having something in the line "cdimage0" works.

So with my "T-Zer0" configuration which has a CD mounted, I removed the hard drive lines and saved.

Started WinUAE, navigated to this configuration but nothing is shown in the logs regarding boxart.

If I click "Load" however, then boxart appears in the logs... so it's only when scrolling that it doesn't.
DamienD is offline  
Old 26 November 2017, 19:27   #57
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Fixed. (But still nothing visible..) EDIT: Loads now images and logs image size. (Using gdiplus)

Last edited by Toni Wilen; 26 November 2017 at 20:20.
Toni Wilen is offline  
Old 26 November 2017, 21:16   #58
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Thank you my friend

Have tested but there's still something not right...

If I test with my original "T-zer0" configuration that has:

a) hardfile2=rw,DH0:.\Games\T-zer0 AmigaCD\T-zer0 AmigaCD.hdf,32,1,2,512,0,,uae
b) cdimage0=.\Games\T-zer0 AmigaCD\T-zer0 AmigaCD.cue

...then this is all I see in the log (note that the . is still missing from the path):

Code:
Requested GUI size = 800x600 (720x568)
Box art path '\Games\T-zer0 AmigaCD\'
There's no expected:

Code:
Image '.\Games\T-zer0 AmigaCD\___Boxart.jpg'
Image '.\Games\T-zer0 AmigaCD\___SShot.png'
Image '.\Games\T-zer0 AmigaCD\___Title.png'
There was previous to the last update (and that's before I tried removing the .HDF line to test CD only).

If however I click "Load" on the configuration then all is good.

Last edited by DamienD; 26 November 2017 at 21:50.
DamienD is offline  
Old 28 November 2017, 16:44   #59
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
You didn't list what gets logged when cache scanning happens. Is the path identical?
Toni Wilen is offline  
Old 28 November 2017, 17:10   #60
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Sorry Toni, from memory:

When doing the inital scan after starting WinUAE, anything .HDF / CD related will drop the "." as per:

Code:
Possible boxart path: '.\Games\Tower of Souls AGA\Tower of Souls (1995)(Black Legend)(AGA)(Disk 1 of 5)[t +3 Lord & Perfection][b].adf'
Possible boxart path: '.\Games\Toyota Celica GT Rally\Toyota Celica GT Rally (1991)(Gremlin)[cr SKR].adf'
Possible boxart path: '.\Games\Tracers\Tracers v1.1 (1988)(MicroIllusions)[cr Testament].adf'
Possible boxart path: '\Games\Tracker Hero AGA\Tracker Hero AGA.hdf'
Possible boxart path: '.\Games\Trained Assassin\Trained Assassin (1989)(Digital Magic).ipf'
Possible boxart path: '.\Games\Transarctica AGA\Transarctica (1993)(Silmarils)(AGA)(M3)(Disk 1 of 3)(A)[cr PDX].adf'
Possible boxart path: '.\Games\Transarctica\Transarctica (1993)(Silmarils)(M3)(Disk 1 of 2)(A)[cr Mok - S.S.].adf'
Afterwards I think all is then ok so for example if I click on the configuration file "Tracker Hero [AGA]" then you will correctly see:

Code:
Possible boxart path: '.\Games\Tracker Hero AGA\Tracker Hero AGA.hdf'
Let me re-confirm when home tonight
DamienD 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
Problem with winUAE Configs - GameBase Amiga Critic support.WinUAE 0 13 November 2013 07:17
a list of configs for speeding up winuae load turrican3 request.UAE Wishlist 9 27 May 2008 22:46
winuae configs change within the game sareks support.Games 1 08 September 2005 00:27
Cloanto Vs Winuae CDTV configs stainy support.WinUAE 0 04 July 2004 23:02
WinUAE configs... PixelsAtDawn support.WinUAE 2 16 May 2002 10:36

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 14:14.

Top

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