Built game doesnt start, giving error "init failed, could not load game ..."

  • #1, by AkcayKaraazmakSaturday, 05. September 2015, 16:01 5 years ago
    Hi guys, after I built the game, i can start the .exe and play it (my pc is win7 64) , I copied the built files and tried on a laptop with windows 10 64bit it gives error when I run the exe " init failed, could not load game. There is no game file or the game file is corrupted" .... I tried the same built files on another laptop with win7 64x, and game works but doesnt show the 3d character :///

    Help me please guys

    Great Poster

    437 Posts


  • #2, by joemidSaturday, 05. September 2015, 21:45 5 years ago
    Hi. Is VS compatible with Windows 10? I just received this error when I tried to incorrectly scale down graphics in a build for 8.1. Easily corrected. Haven't upgraded to 10 for fear of situations like this. Does 10 have compatibility mode? It must, right? Have you tried that? Good luck!

    Newbie

    87 Posts

  • #3, by AkcayKaraazmakSunday, 06. September 2015, 08:53 5 years ago
    Hi mate, what you mean incorrectly scaling graphics? I just exported the game and it gave this error. Only thing i didnt try is convert all images to web. But dont think it will make this error.

    Great Poster

    437 Posts

  • #4, by sebastianSunday, 06. September 2015, 12:33 5 years ago
    Maybe your win10 lacks of opengl 2.0... Just an idea... To verify this could you post the messages.log which was created by the game?

    Thread Captain

    2337 Posts

  • #5, by AkcayKaraazmakSunday, 06. September 2015, 12:40 5 years ago
    Hi bro, you mean the log-window in help menu or the report file in the exported built game folder? Here is the log-window;

    13:29:40:
    13:29:40: Log file for Visionaire Editor 4.2, full version (Build: 1182)
    13:29:40: Current date: 06.09.15 11:29
    13:29:40: -------------------------------------
    13:29:40: Loading 'C:\Installed Programs\Game\Visionaire Studio 4\xml\structures.xml'...
    13:29:40: Loading 'C:\Installed Programs\Game\Visionaire Studio 4\xml\actions.xml'...
    13:29:40: Loading 'C:\Installed Programs\Game\Visionaire Studio 4\xml\actionParts.xml'...
    13:29:40: Finished sorting action parts.
    13:29:40: Loading valid links...
    13:29:40: Successfully loaded 'xml/validlinks.xml'.
    13:29:41: 0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"

    13:29:41: 0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"

    13:29:41: Fragment info
    -------------
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(42) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(132) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"
    0(136) : warning C7011: implicit cast from "int" to "float"
    0(117) : warning C7011: implicit cast from "int" to "float"
    0(118) : warning C7011: implicit cast from "int" to "float"

    13:29:44: Serialization finished. Needed time: 53 ms
    13:29:44: SetupParents finished. Needed time: 1 ms
    13:29:44: SortLinks finished. Needed time: 4 ms
    ..\..\src\msw\window.cpp(591): 'SetFocus' failed with error 0x00000057 (the parameter is incorrect.).
    13:30:13: Serialization finished. Needed time: 37 ms
    13:30:13: SetupParents finished. Needed time: 0 ms
    13:30:13: SortLinks finished. Needed time: 4 ms
    13:30:16: Error: Directory 'tmp' couldn't be deleted (error 0: the operation completed successfully.)

    Great Poster

    437 Posts

  • #6, by sebastianSunday, 06. September 2015, 16:07 5 years ago
    I meant the log from the exe you started (the compiled game).

    Thread Captain

    2337 Posts

  • #7, by AkcayKaraazmakSunday, 06. September 2015, 16:31 5 years ago
    But where is that log file mate? After I export, only text file is the report.txt in the export folder.

    Great Poster

    437 Posts

  • #8, by sebastianSunday, 06. September 2015, 19:50 5 years ago
    should be anywhere in appdata folder in windows and then a subfolder created for your game. It's called messages.log
    You could also try to start the game in compatibility mode for XP

    Thread Captain

    2337 Posts

  • #9, by AkcayKaraazmakSunday, 06. September 2015, 23:13 5 years ago
    I found it bro, here is the content of the msg file;

    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:36: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function
    00:03:37: Error: Failed to execute hook function 'center_char': [string "Scroll"]:18: attempt to compare number with function

    Great Poster

    437 Posts

  • #10, by sebastianSunday, 06. September 2015, 23:19 5 years ago
    hmm thats all in there? Seems like it started and there are other errors in the center_char function...
    I expected some kind of opengl error there, hmm....
    If there aren't any other hints from the messages.log you could try to check if your graphics card driver is up to date.
    Its just an idea what this "init failed, could not load game" error is about.
    Maybe the devs can tell some other idea on how to fix this...

    Thread Captain

    2337 Posts

  • #11, by AkcayKaraazmakMonday, 07. September 2015, 09:54 5 years ago
    I think, why character disapears is releated with the graphics card. And I changed the compability option to windows 8 in windows 10 and then the game worked finaly on win10 grin

    Thank you so much mate!!!

    Great Poster

    437 Posts

Write post