Page 1 of 2
Miniwood and compress files problems
Posted: Thu Jan 29, 2026 4:59 pm
by Juan Carlos
I tryed to use the Miniwood system and compress an executable for Windows but when I click on it, the program crashes, even using the
@OPTIONS {Compress=True}, I tested this program under Wine on Linux and also crashed, in the documentation It explains that this is possible to reduce the size of the executables by two-thirds, but in my case it causes problems. Even without put
@OPTIONS {Compress=True}.
Thanks for the ideas.
Re: Miniwood and compress files problems
Posted: Thu Jan 29, 2026 6:53 pm
by amyren
You did add all the required libraries, like the example below?
the commands you use in your script use a library, so make sure all are included
Code: Select all
@IF #HW_MINI
@USING "brush"
@USING "dos"
@USING "display"
@USING "draw"
@USING "error"
@USING "event"
@USING "filters"
@USING "graphics"
@USING "icon"
@USING "imageio"
@USING "math"
@USING "object"
@USING "offscreen"
@USING "palette"
@USING "pointer"
@USING "requester"
@USING "sprite"
@USING "string"
@USING "system"
@USING "text"
@USING "time"
@ENDIF
Re: Miniwood and compress files problems
Posted: Thu Jan 29, 2026 9:21 pm
by plouf
have you try to create it under windows ?or another os ?
what libraries you are
@USING ?
the following simplified example do not crash here win11/64
does it crash for you ?
Code: Select all
@OPTIONS {compress=True}
@USING "requester"
SystemRequest("title","body","ok")
Re: Miniwood and compress files problems
Posted: Thu Jan 29, 2026 11:31 pm
by Juan Carlos
I included the libraries neccesary and the program without compresas works fine, I tested under Windows 7 64 bits and with Winn under Linux LiteOS and both cases the ejecutable crashed.
Re: Miniwood and compress files problems
Posted: Fri Jan 30, 2026 5:53 am
by plouf
Because my simple example do not crash we should find out what is causing that to you
First, does my simple example crash to you ?
Then can you tell us ALL libraies you are
@USING?
Ideal would be to create a small example that crash, so we can also tesr
Re: Miniwood and compress files problems
Posted: Fri Jan 30, 2026 10:26 am
by Juan Carlos
Well I tested my program under AmigaOS3.9, with the same parameters, the MiniWood, the libraries and the
@OPTIONS {Compress=True} and compress the executable and not for this system the program doesn't crash, I'll make other test on MorphOS, but under Windows 7, the program crashed, make a little example why? when the problem is only with Windows 7, even testing the program with Linux running inside the Wine.
Re: Miniwood and compress files problems
Posted: Fri Jan 30, 2026 10:28 am
by plouf
Rhe idea is only to track down the problem
Have you tey with windows 11 ? Does it crash?
Have you try a minimum example like the one i post which is tested under windows 11, does it crash?
Step by step to find out what exaclty is problematic !
P.s. all test i do was under windows 11/64 and do not crash .
Re: Miniwood and compress files problems
Posted: Fri Jan 30, 2026 11:12 am
by amyren
I just tested my own program (PolarPaint) and compiled executable with Hollywood and another with Miniwood. Both run without crashes on Windows 7 64 bit (in virtualbox).
When there are missing libraries causing crashes for Miniwood there should be an error message telling which function call that failed. I asume you get no error messages since you not mentioned any?
Re: Miniwood and compress files problems
Posted: Fri Jan 30, 2026 9:45 pm
by Juan Carlos
No when ir crashed the program doesn't errores only that Windows is trying find a solution, I have the same under MorphOS and it works fine, but the Windows version under Windows 10 also Crash, I have the doubt if when you make the ejecutable the Hollywood IDE uses some Windows 7 dll, will be a strange problem with my Windows 7, because it isn't update.
Re: Miniwood and compress files problems
Posted: Sat Jan 31, 2026 11:49 am
by Juan Carlos
After testing with some of my other programs, I found that the problem occurs when I enable the file compression option for Windows. Without compression, my programs work perfectly. It's a strange problem; I don't know if it's because my Windows 7 isn't updated and the Hollywood IDE needs a more recent DLL file.
When the target is for other systems, even using Miniwood, the program works fine, but for Windows using Miniwood or Hollywood, the compressed program fails.