Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
205 stars 49 forks source link

Menus do not display anything #688

Open programmingkidx opened 4 years ago

programmingkidx commented 4 years ago

All the in-game menus are missing their content. Save, Load, Options are empty. I used the Windows 64-bit version of version 2.1.0. My operating system:

Quintus commented 4 years ago

@xet7 -- can you try to reproduce?

-quintus

-- Blog: https://mg.guelker.eu

xet7 commented 4 years ago

@programmingkidx

Try this:

1) Exit TSC

2) Open File Explorer

3) Click Organize / Folder and Search Settings / Show

4) Select/Unselect following:

5) If you have made your own levels, move this folder to somewhere safe, otherwise just delete it, because it has cached files from older TSC versions: C:\Users\USERNAME\AppData\Roaming\tsc

6) After those changes, change those options at 4) above back

7) Start TSC

Here is TSC running on Win7 64bit:

Main menu

TSC-mainmenu

Options

TSC-options

Load

TSC-load

Save

TSC-save

datahead8888 commented 4 years ago

This does not happen for me in Windows, even after reinstalling TSC.

Quintus commented 4 years ago

Since nobody can reproduce this, we need more input from the OP. @programmingkidx can you post a screenshot? How did you install TSC? Is there something special about your system?

programmingkidx commented 4 years ago

Options completely empty: options

Save completely empty: save

programmingkidx commented 4 years ago

I wouldn't say there is anything special about my system. It is just Windows 7 64-bit on a 2011 iMac.

Quintus commented 4 years ago

Am 31. Mai 2020 um 09:22 Uhr -0700 schrieb programmingkidx:

I wouldn't say there is anything special about my system. It is just Windows 7 64-bit on a 2011 iMac.

Hmm. How did you install TSC?

xet7 commented 4 years ago

@programmingkidx

Is this dual boot of Windows, so you boot Windows directly on hardware? Have you installed newest display drivers like NVidia or ATI ? If those are installed, it could be that your Windows install has something broken.

If this is on some virtualization software on top of macOS, then it's bug in that virtualization software. TSC does not run well in virtualization.

programmingkidx commented 4 years ago

This is a dual boot system. I am using the Bootcamp drivers in Windows. They are not new.

On 5/31/20, Lauri Ojansivu notifications@github.com wrote:

@programmingkidx

Is this dual boot of Windows, so you boot directly on hardware? Have you installed newest display drivers like NVidia or ATI ? If those are installed, it could be that your Windows install has something broken.

If this is on some virtualization software on top of macOS, then it's bug in that virtualization software. TSC does not run well in virtualization.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/Secretchronicles/TSC/issues/688#issuecomment-636496592

xet7 commented 4 years ago

@programmingkidx

What display card model you have?

Is there newer drivers available?

xet7 commented 4 years ago

@programmingkidx

You could try: 1) Installing ccleaner free version and doing cleanup with default options 2) Use never10 to disable upgrade to Win10, if you do not want to upgrade 3) Installing all Windows updates 4) Running ccleaner again 5) Rebooting 6) Trying to run TSC again

Quintus commented 4 years ago

Am 02. June 2020 um 04:24 Uhr -0700 schrieb Lauri Ojansivu:

@programmingkidx

You could try: 1) Installing ccleaner free version and doing cleanup with default options 2) Use never10 to disable upgrade to Win10, if you do not want to upgrade 3) Installing all Windows updates 4) Running ccleaner again 5) Rebooting 6) Trying to run TSC again

I have to say that I find these rather unhelpful suggestions. You're basically shooting into the blue, xet7, and I am pretty confident that nothing of this has anything to do with the issue reported by the OP.

To the OP: I am clueless. What I can diagnose is that it's exactly all the CEGUI menus that are missing. Do you have a CEGUI logfile somewhere under C:\Users\USERNAME\AppData\Roaming\tsc ? If so, please post it.

Did you have another version of TSC installed earlier, maybe a beta or version or something built from Git? If so, are you sure you completely removed it? If you just intalled a newer installer over an existing TSC installation, I could imagine that such an issue could result. Or maybe you have another CEGUI installation around which TSC tries to use and which is incompatible (a.k.a. "dll hell")?

-quintus -- Blog: https://mg.guelker.eu

xet7 commented 4 years ago

@Quintus

Yes, those could be unhelpful, because I don't have much ideas left. It could be bug in display drivers.

I would think if @programmingkidx would install for example Linux Mint to that laptop, TSC could maybe work. But that's most likely too much work for just one game, and it's possible there is not enough disk space to add 3rd OS.

xet7 commented 4 years ago

I don't even know are there good graphics Linux drivers for Mac laptops.

refi64 commented 4 years ago

Hmm does TSC currently log anything to the command prompt on Windows? If so, there might be useful info in there. Otherwise, I have no idea what would cause this either.

On Tue, Jun 2, 2020 at 8:21 AM Lauri Ojansivu notifications@github.com wrote:

I don't even know are there good graphics Linux drivers for Mac laptops.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Secretchronicles/TSC/issues/688#issuecomment-637538369, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4YSLIOY4AKX2CP7PVN7TRUT4GZANCNFSM4NJ3W42A .

-- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else https://refi64.com/

xet7 commented 4 years ago

TSC downloads are release builds, the don't show debug info. I will create debug build for Windows at this weekend.

xet7 commented 4 years ago

I added Windows debug versions to https://secretchronicles.org Download page. They should show debug info, if I typed correctly that build command option (Debug instead of Release).

Quintus commented 4 years ago

This needs to be run from a terminal probably to show that debug info. I'm not sure how that works on Windows, as I'm a pure Linuxer. -- Blog: https://mg.guelker.eu

xet7 commented 4 years ago

When starting TSC, debug window opens, and shows debug text. Then with Print Screen key take screenshot to clipboard, paste it to Paint, and save to file, and add as attachment to this issue comment.

programmingkidx commented 4 years ago

I am using Windows 7 Professional Service Pack 1 (build 7601).

programmingkidx commented 4 years ago

I installed your Windows debug build xet7. The menus are still empty. The cegui log file is attached. cegui.log

programmingkidx commented 4 years ago

While playing the game I saw this error:

Registering callback for event 'die' for MRuby object 592755637 of class 'Furball' Registering callback for event 'save_load' for MRuby object 592770613 of class 'LevelClass' CEGUI::UnknownObjectException in function 'CEGUI::Image& CEGUII::ImageManager::get(const CEGUI::String&) const' (C:/repo/mingw-w64-cegui/src/cdgui-0.8.7/cegui/src/ImageManager.cpp:261) : Image not defined: C:+Users+john+AppData+Roaming\tsc\cache\images\1024x768\pixmaps\game+items+mushroom_red.png

Also saw this error: AL lib: (EE) WaitForSingleObjectEx error: 0x102

Quintus commented 4 years ago

I can't make anything of all this. The CEGUI log looks fine, and the error messages you report are unrelated to the menu display. The mruby callback messages are not even errors, it's a diagnostic from the level script engine. The CEGUI error relates to the HUD, but not to the menu, and the AL error is something with audio.

I fear we can't help you. Nobody can reproduce this obscure problem, which makes it impossible for us to track down. All I can say is to invite you fiddling with the code yourself.

That being said, this is one reason more to not use CEGUI for future projects. But that's something unrelated.

-quintus

-- Blog: https://mg.guelker.eu

programmingkidx commented 4 years ago

Avoid CEGUI sounds like a good idea.

programmingkidx commented 4 years ago

Which version of CEGUI does the Windows version of TSC use?