ENIGMA Forums

General fluff => General ENIGMA => Topic started by: polygone on August 27, 2013, 05:03:18 PM

Title: Windows Zip Discussion
Post by: polygone on August 27, 2013, 05:03:18 PM
Might as well make a proper topic about the Windows zip and ENIGMA.exe, can say what features you want to see and how it should be implemented and also maybe collect all the problems people are having with it here in one place from now on.
Title: Re: Windows Zip Discussion
Post by: Goombert on August 27, 2013, 05:04:40 PM
Right, because this is totally what we should all be wasting our time on....

Edit: All of you just stay away from it, I am going to make it automatically update, SO DONT FUCKIN TOUCH IT WHILE IM WORKING ON IT
Title: Cannot Setup from Portable ZIP
Post by: Goombert on August 27, 2013, 05:37:40 PM
Now I can't compile because of something you guys did...

Code: [Select]
ar r ../Additional/Windows/lib/libalure32.a ../Additional/Windows/alure/ALURETMP/*.o
C:\Users\Owner\Desktop\ENIGMA\mingw32\bin\ar.exe: creating ../Additional/Windows/lib/libalure32.a
rm -rf ../Additional/Windows/alure/ALURETMP
process_begin: CreateProcess(NULL, rm -rf ../Additional/Windows/alure/ALURETMP, ...) failed.
make (e=2): The system cannot find the file specified.

mingw32-make.exe[1]: *** [../Additional/Windows/lib/libalure32.a] Error 2
mingw32-make.exe[1]: Leaving directory `C:/Users/Owner/Desktop/ENIGMA/enigma-dev/ENIGMAsystem/SHELL'
mingw32-make.exe: *** [Game] Error 2
Title: Re: Windows Zip Discussion
Post by: polygone on August 27, 2013, 06:08:20 PM
Robert says the working_path change that Harri made broke it for him, he's commented it out now.
Title: Re: Windows Zip Discussion
Post by: Goombert on August 27, 2013, 07:20:23 PM
I fixed it it was your fault you fag you preprended mingw/bin but not git/bin
Title: Re: Windows Zip Discussion
Post by: polygone on August 27, 2013, 08:10:19 PM
I fixed it it was your fault you fag you preprended mingw/bin but not git/bin
Why is git needed still? <_<
Title: Re: Windows Zip Discussion
Post by: Goombert on August 27, 2013, 08:32:16 PM
MY FUCKING SYS
Title: Re: Windows Zip Discussion
Post by: polygone on August 27, 2013, 09:02:06 PM
But we added that to the mingw folder
Title: Re: Windows Zip Discussion
Post by: TheExDeus on August 28, 2013, 01:17:22 AM
For me it works with ENIGMAPortable.exe without adding git separately to PATH as all the necessary things really is in the mingw (at least it seems).
When compiling from source then you must add mingw and git to PATH manually (as it should be).

Quote
Robert says the working_path change that Harri made broke it for him, he's commented it out now.
What? I don't think I commented anything out. I think the problem was/is that the .dll cannot be compiled from C::B or cmd. From bash it worked fine. After all of that is compiled I was able run just fine (has some LGM crashes, but just had to upgrade).

edit: Rober, ffs, you broke it already. This:
Code: [Select]
if (INVALID_FILE_ATTRIBUTES == GetFileAttributes(workpath.c_str()) && GetLastError()== ERROR_FILE_NOT_FOUND)
-  {
-      workpath = exepath;
-  }
is needed to check appropriate working folder. Right now IT WILL NOT WORK WHEN COMPILED FROM SOURCE. And yes, you CAN check directories with that function. RTFM! So something else broke for it you.

edit2: Which you understood at a later commit and fixed again. So maybe it does work now.