Product Chat / [SOLVED] Error on building standalone

Author
Message
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 8th Dec 2019 11:27
@Preben, i have looked in the script bank folder as you said, and not one .lua file had zero bytes.
but if i open any one of the lua files with notepad++ then they look like this.

Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

The author of this post has marked a post as an answer.

Go to answer

Attachments

Login to view attachments
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 8th Dec 2019 12:39 Edited at: 8th Dec 2019 12:40
Scripts are encrypted in standalone.
I do notice though your using a custom path … perhaps there is an issue there ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 8th Dec 2019 16:01 Edited at: 8th Dec 2019 16:01
Quote: "Scripts are encrypted in standalone."

the new maps that do work with out an error, i can see and still open the scripts like normal,

Quote: "I do notice though your using a custom path … perhaps there is an issue there ?"

yes i did use custom path, i will test it with normal path as well and report back.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 8th Dec 2019 17:05 Edited at: 8th Dec 2019 17:07
Quote: "the new maps that do work with out an error, i can see and still open the scripts like normal,"

Well you shouldn't unless you have exportassets=1 in your setup.ini ( export Decrypted )
If you have then that might be the issue … The new map supports that command and the old map may not ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 8th Dec 2019 18:07
It’s probably that you are rebuilding the standalone into a folder that already exists with scripts already there so it can’t write the new ones and so copies them over as is.

So make sure the target scriptbank folder doesn’t exist before rebuilding a standalone then the scripts should be encrypted.

Have you tried the updated lua file Preben posted - that should work or if not give a further clue.

Cheers

GPU: GeForce RTX 2070 SUPER PassMark: 14817
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 9th Dec 2019 01:01
Oh god ye …
You are making fresh standalones and deleting the failed one first right ?
Good thinking Cyber ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Preben
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 9th Dec 2019 14:47
@PCS Yes do the change to ggprecompile.lua in this post:
https://forum.game-guru.com/thread/221339?page=1#msg2624049

Then your standalone export will not make any errors , if you then .zip the generated standalone scriptbank and email it to me , im able to see what script was the cause: plemsoft@plemsoft.com

Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 9th Dec 2019 23:00 Edited at: 9th Dec 2019 23:01
@synchromesh , i will check exportassets=1 in setup.ini
@cybernescence, yes i do make new folders before i create standalone's.
@Preben sorry i have not had the time to change ggprecompile.lua , will do as soon as i can.

synchromesh , cybernescence, and Preben thank you guys so much for helping me, i apologize as i am working long hours at my work an do not have all the time to test my maps, and then also we are having a lot of load load shedding with our electricity so it is going i bit mad this side .
i will report back soon.
Thanks again for everyone that is helping me with this problem.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 22nd Dec 2019 16:31 Edited at: 22nd Dec 2019 16:39
This post has been marked by the post author as the answer.
YES ITS WORKING,

I DON'T KNOW WHAT HAVE CHANGE ,, but i can now Make a standalone of two of my old maps,
I have tested two maps that use to make errors and now they work i can play the first one thru and then it loads the second one without any errors. Then i Tested two more and its was still ok. YES YES .
Just hope it stays like this.
Almost feels like X-MASS
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Preben
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 23rd Dec 2019 11:50
@PCS I fixed your bug , and it was in the latest update, so thats why it works now
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 23rd Dec 2019 17:00
Thank you so much Preben, so glad you are part of the GG family
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 16GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Login to post a reply

Server time is: 2024-03-29 10:01:14
Your offset time is: 2024-03-29 10:01:14