Jump to content

Recommended Posts

Today, I packed the game and found that there was an error in NSIS that could not be packed

I am using the latest version of NSIS 3.0.5.

SetOutPath: "$INSTDIR\binaries\data\mods\public"
File: failed creating mmap of "E:\trunk\binaries\data\mods\public\public.zip"
Error in script "E:\trunk\source\tools\dist\0ad.nsi" on line 127 -- aborting creation process
 

Link to post
Share on other sites
  • Replies 81
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Ah that is good, we will definitely use nsisbi from Linux if it works, instead of switching to Windows for the last step of packaging   @gameboy 我的中文不太好你是对的,我们必须使用英文。为了packaging 0ad,你必须使用Lin

Just letting you know that I have released the next version of nsisbi, and the changelog documents what changed. Enjoy .

In this situation, it's you who doesn't understand me: for the last time You need to use Linux to run the packaging script BEFORE using nsisbi on Windows. I believe there is no problem in

I have made the split package of public mod with WINRAR, and I have made the installation package. When I installed the game, I do not know whether the normal game? Can the other branch of PUBLIC mod be called by the game?

For example: public.zip, public.zip002, public.zip003

Link to post
Share on other sites

Would not the file suffix be .rar not.zip as you used WINRAR not  winzip for compression even at that it would be public001.zip,public002.zip as the suffix takes no part as a file identifier.

Enjoy the Choice :)  

Link to post
Share on other sites

The problem is NSIS cannot pack files bigger than 2GB.

EDIT: Also you need to package the public mod using the archive builder converting all PNGs to DDS 

Link to post
Share on other sites
Posted (edited)

@Stan` @Angen https://sourceforge.net/projects/nsisbi/files/nsisbi3.05.1/

NSISBI aims to remove the current 2GB limit found in NSIS. 

But  Single files are still limited to 2GB after compression.

BTW: I hope you(0 A.D. Team) can modify the code provided by him to change the limit that NSIS cannot use a single file over 2GB, thank you!

Edited by gameboy
Link to post
Share on other sites

If it's a file system problem, it can be solved with a 64 bit operating system, but it's really a problem of NSIS. I provided my friend's NSIS, which modified the source code of NSIS, but it can't break the limit that a single file can't exceed 2GB. Maybe our team can change this on this basis. Then recompile NSIS

Link to post
Share on other sites
  • 2 weeks later...

Sorry I'm seeing this only now. Yes, we do use nsisbi to package the game in order to work around the size of the public mod.

What is your question?

Link to post
Share on other sites

@Itms  My problem is that when I compressed the Public folder, the compressed size was more than 2G, and an error occurred when I made the installation package with nsisbi.

'$INSTDIR\binaries\data\mods\public"

File: failed creating mmap of "E:\trunk\binaries\data\mods\public\public.zip"

Error in script "E:\trunk\source\tools\dist\0ad.nsi" on line 127 -- aborting creation process

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...