gameboy Posted March 26, 2020 Author Report Share Posted March 26, 2020 @Itms I tested this version of NSIS you gave, but this problem appeared: SetOutPath: "$ INSTDIR \ binaries \ data \ mods \ public" File: "public.zip" [compress] Error: add_db_data () called with length = -1 Error in script "E: \ trunk \ source \ tools \ dist \ 0ad.nsi" on line 127-aborting creation process BTW: The size of public.zip is 2.24GB Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 26, 2020 Report Share Posted March 26, 2020 Do you have the public.zip file? Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 26, 2020 Author Report Share Posted March 26, 2020 @Stan` Yes, I do. What should I do? I said it's size, 2.24GB Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 26, 2020 Author Report Share Posted March 26, 2020 @Itms Please help me! Quote Link to comment Share on other sites More sharing options...
JasonFriday13 Posted June 10, 2020 Report Share Posted June 10, 2020 I was just randomly googling nsisbi just to see if there were any issues, and I found this thread. So I joined up just to let you know what the problem is. Both official nsis and nsisbi currently have the same limit on a single file added to the installer, it's 32bit minus the top bit which makes the limit 2GB. Official nsis would never hit this limit because the datablock limit is also 2GB. Nsisbi has a 64bit datablock, which makes the 2GB single file problem clear. So yeah, thanks to this thread I have added 64bit support for single files, but the problem is that other limits now play a role (codecs, file systems, etc). The lzma decoder had a 4GB issue, which I did a quick fix on. The next version of nsisbi should be out with this feature a few weeks after the next official nsis release (3.06), which I believe is about 2 months away at this stage. 2 Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 10, 2020 Report Share Posted June 10, 2020 Hey @JasonFriday13 Thanks for letting us know and fixing the issue. I guess we only reached 2GB but it isn't likely to hit 4GB in a while Quote Link to comment Share on other sites More sharing options...
JasonFriday13 Posted June 10, 2020 Report Share Posted June 10, 2020 No worries. I actually found this thread about two months ago, so I thought 'how hard can it be?'. So yeah, I have a working prototype already, I am just waiting for official nsis to release first. There have been a few big changes under the hood since 3.03, the main one is the external file mode command has changed and a new mode has been added, plus a stable lz4 codec has been added. Plus I've changed crc checking so that everything is done 'on the fly' now (even for 'all in one' installers), that should speed things up for the first start of the installer :) . Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 10, 2020 Report Share Posted June 10, 2020 Interesting. Can you let us know when it's released? Quote Link to comment Share on other sites More sharing options...
JasonFriday13 Posted June 10, 2020 Report Share Posted June 10, 2020 If I remember I will. It will be a few weeks after official nsis 3.06 lands (I need time to test things after the code merge), and the automated nsis tweets also picks up my releases too. 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted June 10, 2020 Author Report Share Posted June 10, 2020 @JasonFriday13 Thank you for all you have done for us. We would be very pleased if you could completely resolve the limitation of single file this month. Thank you for your help. @JasonFriday13 We are looking forward to your release of the latest version as soon as possible. We will not be bothered by the limitation of 2 gb per file. Quote Link to comment Share on other sites More sharing options...
JasonFriday13 Posted September 1, 2020 Report Share Posted September 1, 2020 Just letting you know that I have released the next version of nsisbi, and the changelog documents what changed. Enjoy . 3 Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 1, 2020 Report Share Posted September 1, 2020 ping @Itms 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 4, 2020 Author Report Share Posted September 4, 2020 @Stan` I found 0 ad.nsi Missing. DLL file in. When I use NSIS to make the installation package and run the game, an error appears: "unable to continue code execution because mozjs45-ps-release-vc140. DLL" cannot be found. Re installing the program may solve this problem. " Quote Link to comment Share on other sites More sharing options...
Stan` Posted September 4, 2020 Report Share Posted September 4, 2020 Looks like some files were not added in the package? That file is in binaries/system maybe the nsi script needs an update ? 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 4, 2020 Author Report Share Posted September 4, 2020 @Stan` Yes, it needs updating. How can I fix this problem? Please tell me the solution, my friend. Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 4, 2020 Author Report Share Posted September 4, 2020 @Angen @Itms Quote Link to comment Share on other sites More sharing options...
Itms Posted September 4, 2020 Report Share Posted September 4, 2020 gameboy did you run the packaging script on Linux first as needed? NSIS is only the last step of packaging. Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 4, 2020 Author Report Share Posted September 4, 2020 windows10 64bit. @Itms Quote Link to comment Share on other sites More sharing options...
Loki1950 Posted September 4, 2020 Report Share Posted September 4, 2020 What @Itms is saying is that NSIS is used in Linux to package a Windows app as an installer it is not a Windows app at all. Enjoy the Choice Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 5, 2020 Author Report Share Posted September 5, 2020 @Itms @Stan` Please help! Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 6, 2020 Author Report Share Posted September 6, 2020 @Itms Quote Link to comment Share on other sites More sharing options...
Itms Posted September 6, 2020 Report Share Posted September 6, 2020 You need to run source/tools/dist/build.sh on Linux, then you can use nsisbi on Windows (instead of makensis on Linux) to create a Windows installer. What do you not understand? Can you stop pinging people all the time? Can you formulate questions instead of harassing us? Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 6, 2020 Author Report Share Posted September 6, 2020 (edited) On 3/26/2020 at 5:46 PM, gameboy said: @Itms I tested this version of NSIS you gave, but this problem appeared: SetOutPath: "$ INSTDIR \ binaries \ data \ mods \ public" File: "public.zip" [compress] Error: add_db_data () called with length = -1 Error in script "E: \ trunk \ source \ tools \ dist \ 0ad.nsi" on line 127-aborting creation process BTW: The size of public.zip is 2.24GB @Itms nsi script needs an update。 I use nsisbi on windows, but this problem occurs. Edited September 6, 2020 by gameboy Quote Link to comment Share on other sites More sharing options...
Itms Posted September 6, 2020 Report Share Posted September 6, 2020 No, it doesn't need any update! Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 6, 2020 Author Report Share Posted September 6, 2020 (edited) On 9/4/2020 at 12:03 PM, gameboy said: @Stan` I found 0 ad.nsi Missing. DLL file in. When I use NSIS to make the installation package and run the game, an error appears: "unable to continue code execution because mozjs45-ps-release-vc140. DLL" cannot be found. Re installing the program may solve this problem. " @Itms It's the problem. Sorry, the problem above has been fixed. This DLL file is not included in the installation package, so run the installed game and prompt that the file is missing and the game crashes. Because the DLL file is not included in the script. Edited September 6, 2020 by gameboy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.