zeddidragon / sgott

SGO Transformation Tool
21 stars 6 forks source link

Black Screen bug when installing Master for testing #5

Closed FIRE-AKA-DRAZN closed 4 years ago

FIRE-AKA-DRAZN commented 5 years ago

Installing the most current release works fine.

After downloading the source files for testing and installing the mod, game displays a black screen and does not progress. However the game's quit function still works (Alt F4) and correctly displays the menu and sounds.

This is probably due to an error with the weapon table or one of the scripts that reads/writes to it.

KCreator commented 5 years ago

I think its an issue with Mainscript.as not being properly included/copied over automaticaly with the default install. I think the mainscript is in the project, copy that to the root directory and try again, seeing if it works or not.

FIRE-AKA-DRAZN commented 5 years ago

I tried moving MAINSCRIPT.AS to the root EDF folder before performing the same install procedure. Unfortunately I got the same bug again. I even tried putting it in the mods folder the install produced which made no difference.

This is the Gitbash command i run to install the mod from the source: $ cp "c:/Users/F I R E/Desktop/EDF Mod Space/Project Source/sgott/sgottstrap/SgottTemplates/weapon"* "SgottTemplates/weapon/" && "c:/Users/F I R E/Desktop/EDF Mod Space/Project Source/sgott/sgottstrap/sgottstrap.js"

i've attached some screenshots of my folder structure for the installation. root ^root game folder

mods ^game mod folder

wepcount ^count of number of weapons copied over

projecttempcount ^count of number of templates project worked with

projectroot ^root project folder

sgottstrap ^project sgottstrap folder

KCreator commented 5 years ago

One more thing to check is to try copying commontypes.h to the sgottmods directory. I apologise that it did not automaticaly copy over.

FIRE-AKA-DRAZN commented 5 years ago

Ok, well we are making progress, the game actually launches however it does 2 weird things now:

first i get a black screen with a blank message box and an OK button wut

pressing enter or space advances to the normal intro screen where im told it cannot find my save game data wut2

I do actually have save data in the right place though that i've been using for testing saves

Any idea why this happens?

KCreator commented 5 years ago

I can confirm the empty message is mostly intentional. The other error seems to be string corruption, as I was running an experiment on seperating modded game saves and regular saves. For now, try creating a copy of SAVE_DATA and paste it in My Games, renaming it "EDF4.1_MODSAVES", and see if it can load them. I will investigate any additional problems related to the strapper as soon as possible.

FIRE-AKA-DRAZN commented 5 years ago

that appears to have resolved it.

For clarity, the MAINSCRIPT.AS and COMMONTYPES.H files need to be in the SgottMods folder to work.

For saves, you must go inside your EDF4.1 save folder found in My Documents/My Games and copy the folder SAVE_DATA and paste it in your My Games folder, after which you need to rename it EDF4.1_MODSAVES

Though the game displays a blank message with an OK button, after confirming it will load correctly and is playable.