Re: How to reduce file size?
Posted: Tue Jul 14, 2020 11:23 am
@NicTheQuick thanks for the clarification 
http://www.purebasic.com
https://www.purebasic.fr/english/
1 MB of flash this is a very very large amount of memory for the microcontroller!NicTheQuick wrote:Of course, on small microcontrollers with 1 MB of flash memory or less you need to look at each bit individually to get the smallest executable possible.
I'm guessing it's for one of those "intro" contests where the executable size must be 1.44 MB or less to enter.Demivec wrote:Is there any reason why you would be limited to only a 1.44 mb floppy?
If you are worried about file size you should take a look at the ASM file Purebasic generates (pbcompiler.exe /COMMENTED). PB tends to call some init/end/free library functions even though no other functions of that particular library are called, thus inflating the final exe with unused libs.Vernostonos wrote:Are there any tricks for keeping file size down for a PB project?
I just hit 101 kb and have only half of my character creation system finished. I'm worried once all the dialog, custom fonts, and locations are completed its no longer going to fit on a 1.44mb floppy.
Considering I'm working on a "console/command prompt" type game its a requirement of mine. It might seem like an odd goal to fit a game on a 1.44mb floppy, its more about the novelty of actually doing it. I have no plans to enter a contest this is just a personal project for fun and learning.Josh wrote:Excuse me, it's the year 2020.Vernostonos wrote:... its no longer going to fit on a 1.44mb floppy.
Windows for now but you can see more about my game project here.Bitblazer wrote:What is your software supposed to do? What is your target operating system?