Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[68000/010] iGame closes itself or crashes when game title is clicked #234

Open
arti040 opened this issue Nov 7, 2023 · 20 comments
Open
Labels

Comments

@arti040
Copy link

arti040 commented Nov 7, 2023

There is a problem with thumbnails loading on plain 68000/010 CPUs (without FPU). If I turn thumbnails off in settings, everything is fine. Looks like something yet requires FPU...

Attaching files from my system - MUI classes (68000 version, as mentioned in README), libs - render and guigfx.library (NoFPU versions as well) and iGame executable affected by this issue.

iGame-bug-report.zip

@arti040 arti040 changed the title [68000/010] iGames closes itself or crashes when game title is clicked [68000/010] iGame closes itself or crashes when game title is clicked Nov 7, 2023
@walkero-gr
Copy link
Collaborator

@arti040 Thank you so much for your report. I need to know:

  1. which version of iGame are you using?
  2. please check the settings and tell me if you use the Gfx Library or not. This library needs a very specific version for 68000 cpu. Please check the amigaguide to find it out.
  3. If you are not using the Gfx Library, do you have datatypes set up in your system properly? To see if they work as they should, try to load an image from the games folder with multiview.
  4. if you do not have screenshots in your games collection, and you only have icons, please make sure you have a datatype installed that can load them. You will find more info in the amigaguide

@arti040
Copy link
Author

arti040 commented Nov 14, 2023

  1. The latest one, from Aminet.
  2. No GuiGfx is checked and disabled in Settings.
  3. Screenshots (in IFF format) are correctly rendered by Multiview.
  4. I got screenshot for each game, so that's not an issue.

@walkero-gr
Copy link
Collaborator

@arti040 Thank you for your message.
If you have the gfx library usage disabled in iGame preferences, this means that it uses datatypes to display the images. Is there a possibility you run out of memory?

Can you please give me some info on your system, so that I can make an emulated version of it and try to reproduce it?

  1. What hardware are you using? Accelerator? Ram?
  2. Which version of the OS are you using?
  3. Which version of MUI are you using?
  4. Are you using some kind of OS distibution, like ClassicWB, BetterWB etc?
  5. How many games does your list have?

@arti040
Copy link
Author

arti040 commented Nov 14, 2023

  1. A600 + 8MB of Fast RAM
  2. 3.1
  3. 3.8
  4. http://cleanwb.ppa.pl
  5. 284 entries.

PS: https://winterland.no-ip.org/igame/files/guigfx_render_nofpu.lha seems to be corrupted. I'm not able to unpack it in any way...

@walkero-gr
Copy link
Collaborator

I am going to test it and let you know. Thank you for the info.

@walkero-gr
Copy link
Collaborator

@arti040 I think I found the issue.

I guess you are using the 68000 version of CleanWB, right?
It is interesting how a package that targets 68000 has 020 versions for numerous libraries.
The problem with that is that the MCC_NList and the MCC_Texteditor are 020 versions, so, even they are installed they cannot open for your system.

You need to install in MUI:Libs/mui the following, and replace the old ones
http://aminet.net/package/dev/mui/MCC_TextEditor_68k
http://aminet.net/package/dev/mui/MCC_NList-0.102_68k

When I did the above iGame worked fine. Here is a screenshot of it, showing the intro image of iGame.

Screenshot from 2023-11-14 22-25-06

@walkero-gr
Copy link
Collaborator

walkero-gr commented Nov 14, 2023

@arti040 You can find the guigfx_render_nofpu.lha below

https://github.com/MrZammler/iGame/raw/master/guigfx_render_nofpu.lha

@arti040
Copy link
Author

arti040 commented Nov 18, 2023

Oh! Nice catch. Thanks for bug-reporting my CleanWB then! :D I'll fix that. Sorry for inconvenience.
EDIT: I installed proper classes and libs but problem still occurs - initial image is being loaded but selecting any game causes crash or program to close. NList.mcc is failing in SnoopDos.

@walkero-gr
Copy link
Collaborator

Oh, I didn't know you were developing it. Thank you for including the iGame in your distribution.
When you select a game, this should start using WHDLoad. I guess the games work fine if started outside iGame, right?
Unfortunately, until the 27th I am away from my development system, and I can't test it further. If you can wait until, then I will have a look.

@arti040
Copy link
Author

arti040 commented Nov 18, 2023

Actually, I'm trying to include it :) but experienced this problem in 68000. Games started directly work fine. Sure, can wait.

@walkero-gr
Copy link
Collaborator

Let's work on this together and see how to improve it for your users. I will contact you again as soon as I test it.

@arti040
Copy link
Author

arti040 commented Nov 19, 2023

This is what I discovered today:

  • replacing MUI classes and libraries with 68000 version makes screenshot loading to fail on every CPU...
  • coping NList.mcc to MUI:Libs folder makes two things:
  1. it is finally being properly loaded and SnoopDos does not indicates it as failed (however, location for this file is strange now, IMHO).
  2. I'm able now to tick No GuiGfx off and screenshots start to being loaded on 020+ but still fail on 68000.

@walkero-gr
Copy link
Collaborator

The MUI MCC libs should be installed in MUI:Libs/mui. Maybe you keep same libraries in different version in two places and that makes applications crash.

@arti040
Copy link
Author

arti040 commented Nov 28, 2023

Nope. All is right. Just program seems to not see NList.mcc in MUI:Libs/mui...
Will back to it tomorrow.

@walkero-gr
Copy link
Collaborator

@arti040 Sorry I didn't get back to you earlier. If the program doesn't see the library, run the MUI window and check if MUI itself sees them. If not, then probably you have the wrong libraries for the CPU.

If you have a newer version of your package you would like me to test, please let me know where to get it.

@arti040
Copy link
Author

arti040 commented Dec 9, 2023

OK! Will check it today and let you know.

@arti040
Copy link
Author

arti040 commented Dec 9, 2023

MUI does not see NList.ncc class ;-) My version of this class, in MUI:Libs/mui has around 170Kb. Could you send me your version of NList.mcc?

@walkero-gr
Copy link
Collaborator

If I recall correct the one that I nstalled was http://aminet.net/package/dev/mui/MCC_NList-0.102_68k

@arti040
Copy link
Author

arti040 commented Dec 9, 2023

There is kinda progress - now GUIGFX is still greyed out in Prefs but iGame no crashes at least anymore. However, instead of screenshot of the game I'm getting empty BOOPSI gadget.

@walkero-gr
Copy link
Collaborator

@arti040 GuiGFX is disabled because some library is missing. I would suggest to not try to use guigfx because itself is problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants