Product Chat / Runtime errors in stand alone GG game

Author
Message
RJ is out Leave a message
19
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 11th Mar 2020 13:32
As we were testing a standalone level for Game Guru and went into the main menu and tried to use the save function or tried to go into video settings we got this error, RUNTIME ERROR: 501:Image Number 96001(graphics_init) The game crashed. Can anyone explain this or has had a similar issue ?
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 11th Mar 2020 13:38 Edited at: 11th Mar 2020 13:42
This might help you out not sure what your error message means though sorry

Edit, just found this
(i think 501 is a sprite error so make sure your images have copied over to the standalone correctly)

https://forum.game-guru.com/thread/216983

Dave
Windows 10 Pro 64 bit
GeForce RTX™ 2070 GAMING OC 8G
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
3840 x 2160 ,60 Hz
PM
RJ is out Leave a message
19
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 11th Mar 2020 15:45
make sure your images have copied over to the standalone correctly??? How ? I want to thank you for showing me this list of runtime error's, However, this doesn't answer the question. And isn't the engine supposed to transfer "EVERYTHING" to the stand alone final exe? Before all these so called bug fixes ? I didn't have this problem a few years ago. And why do I have to manually have to "copy" anything ? That makes no sense but thank you for your help just the same.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 11th Mar 2020 16:31 Edited at: 11th Mar 2020 16:55
Should it copy over everything? Yes. Does it? No, not always.

Often it’s images that are referenced in lua scripts that aren’t copied. Your error is tending to suggest some image reference in graphics.lua

GG attempts to copy over only those assets and images that are used in the levels of the game build (rather than just copy over everything which would make huge standalone builds). It scans lua scripts attached to the levels in the game trying to find references to images - sometimes it can’t pattern match this properly or with nested calls and misses the copy over.

EDIT: - might help a little - https://forum.game-guru.com/thread/220545#msg2612178

Cheers.

GPU: GeForce RTX 2070 SUPER PassMark: 14817
RJ is out Leave a message
19
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 11th Mar 2020 18:22
Thank you cybernescence. This was most helpful and will apply what I've learned from it.
MooKai
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 11th Mar 2020 21:03
exactly...
"Often it’s images that are referenced in lua scripts that aren’t copied."
that also happens with sounds which are somewhere in lua scripts etc.
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 12th Mar 2020 00:53
The only thing that I wonder about Stand-alone is--
so the test mode is flawless in loading the game and 'playing' it.
If there's a lua error, or something similar- fine, it tells you and you
can correct it and move on. But when the testing mode is really
there working perfectly, it just seems odd that standalone is (as it is)...
commonly prone to errors and such. Does the test mode always
load everything?
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 12th Mar 2020 07:36
Test mode can always find everything it needs, not load everything, that is the difference.

GPU: GeForce RTX 2070 SUPER PassMark: 14817
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 12th Mar 2020 12:21 Edited at: 12th Mar 2020 12:22
Failing to properly build a stand alone is a pretty significant deficiency in a game making program - to the point of show stopping.

Consider the uproar if Visual Studio couldn't reliably make an executable!

This should be the first bug addressed in the current bug-fix exercise.
You can't teach an old dog.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 12th Mar 2020 12:25 Edited at: 12th Mar 2020 12:25
so no-one remembers the FPP file then?

https://forum.game-guru.com/thread/220545#msg2612178
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro, Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 12th Mar 2020 13:44
Guess not. That is what it is there for.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 12th Mar 2020 13:52 Edited at: 12th Mar 2020 13:54
Cyber did link to that above and I use it myself for one particular decal that never goes across.
( although there is a reason for that )
The fpp works just great
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 12th Mar 2020 14:59
Pfft!
It's good that a means of identifying failed stuff is available.
It's great that improving the analysis is being worked on.

I'm never going to want to bring a GG game to marketplace.

BUT - I'd surely like to be able to play my creation without going through multiple iterations of manual fixing of compiler deficiencies.
You can't teach an old dog.
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 12th Mar 2020 16:23 Edited at: 12th Mar 2020 18:21
"so no-one remembers the FPP file then?"
Edited: apparently I did see this posted a year ago... but the need for a
standalone build is forthcoming I suppose this is one of those work-
arounds we seem to hear often. Anyhow, whatever work can go into the
computer hunting down the files itself, sounds pretty nice, useful and AI
is known for it's accuracy-- when so equipped!
@benjiboy;
"I'm never going to want to bring a GG game to marketplace."
We have the complete opposite goals. I don't have time to goof around
with GG just for the fun of it. Being hard to find work because of bad
feet -- (destroyed by working hard!!) has been a struggle, and the idea
of creating some kind of income source through game creation has took
a hold of me, and well, I think I'm lost on a deserted Island with a poor
game making companion-- GG!
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 12th Mar 2020 16:27
I'm going to update the GG source and get the code to actually scan scripts etc that contain hidden media files and copy them over. it's not hard just have to locate the right code sections. Let's see what I can do while I am on a role with source code updates and LUA coding
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro, Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 12th Mar 2020 16:40 Edited at: 12th Mar 2020 16:44
Quote: " I suppose this is one of those work- arounds we seem to hear often. "

Not in this case .. I have a custom muzzleflash and sound effect to a custom script. Nothing in GameGuru actually points to these items meaning it wont normally get carried to the standalone and I would have to manually do it. I don't think of this as a work around but more of a command for this kind of situation.

The FPP allows this to get carried across so this is what my " protascope.fpp " looks like.

[standalone add files]
gamecore\decals\muzzleflash2\
audiobank\BLUEPRINT\lights.wav\
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 12th Mar 2020 17:02
That's great syncromesh. Sounds pretty simple- hope it works.
So I just have to wonder if the big, burly, popular game engines
have the same type of file correcting system? IDK?
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 12th Mar 2020 17:46
Quote: "So I just have to wonder if the big, burly, popular game engines
have the same type of file correcting system? IDK?"

They probably do not have this issue. they are far more advanced and probably tag everything added to the game by other means.
GG relies on fpe's and scripts pointing to files ?
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 12th Mar 2020 18:34
fpe is not the best way to go since it usually is managed/customized by the user, I means GG has not control over them, I myself almost never care about correct material id, never state my sounds on the fpe file, and so on.
And about customized scripts, most likely could need some check system before include them on standalone.
About sounds, scripts I most relies on entity properties, after all user has to set all via that properties panel, even changing fpe values there, like static value, script, sounds, another reason not to trust the data in the fpe file.
When user save level, GG has to make some sort of entities inventory over the map, those entities has their own properties such textures, x file, fpe file, scripst attached, a buch of data that should go to that inventory, being maybe some sort of database or json file, and them GG can rely on that level inventory data.

The fact than user can do or has to do many things via LUA is good and bad thing. Is good because thus GG don`t has to provide those features, bad is bad because GG can't control them, as instance the sprites going via lua nor generate and controled by GG, but for the user itself.
if GG had a sprite system then GG would not have this problem, if GG had a controlled system of generating the fpe file, and so on.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
benjiboy
7
Years of Service
User Offline
Joined: 24th Mar 2017
Location: In the depths of rural Norfolk
Posted: 13th Mar 2020 06:40
@BOTR
Quote: "I'm going to update the GG source and get the code to actually scan scripts etc"

That's great news
You can't teach an old dog.

Login to post a reply

Server time is: 2024-11-23 19:23:40
Your offset time is: 2024-11-23 19:23:40