Hehe, I guess once you are trying you’ll prolly not give up that fast. So I’m fine with a “try”.
How can I make 0.82 happen faster? Guess reporting, I just fear I may not find too much time for playing…
Sorry for the comment in the video, it’s really a bit oversized. I just wanted to make it clear why I move my mouse like crazy. Guess one would rather think I want to point out a working feature… I’ll change it once I’ m at my computer (cell phone right now). One guy wanted that feature so much for multiplayer, so I guess this should go hand in hand with MP implementation. It’s really nice when it comes to MP games…
Regarding the quality: For me it seemed to look incredible good, not just on YouTube. Probably screensize?
The release is scheduled on August 1st and I want to keep it. I discovered that making releases on the first day of month makes project look much better organized than it actually is.
The only possible help would be testing upcoming development build - the more urgent issues I fix before 0.82, the more time I have later
Tow, thank you very much! But using revision 1759 it doesn’t work. It crashes like before. To make sure I tried running at 24bpp and it worked fine. How could I gather some meaningful output for you? The current (probably not very helpful) output is here: pastebin.com/T7fz9Qxs
Cheers,
Daniel
EDIT: Wait, it seems to work if I use a 24bpp Xephyr, but use a 16bpp settings.txt. May it be that the actual game (ingame) runs at 16bpp, but somehow the game menu (the initial screen) still requires 24bpp? I mean as well as the actual game runs at 800x480 but the menu still requires 800x600… Did you just try to run with the 16bpp settings.txt or did you change your screens bpp to 16?
Huh… first of all, VCMI seems unable to open the settings file.
Starting...
Creating console and logfile: 0
Cannot open /opt/vcmi/config/settings.txt !
Fix this and we’ll see what’s next. Please also try building VCMI with debug symbols and no optimizations, so we can get correct and readable stacktraces.
Oh sorry, forget about that. This was already fixed, but then the game was just freezing (aka no error output), so I took the previous error (for whatever reason). ><
I just tried again and the game freezes at the entry menu. I’m wondering if the “in the wake of gods” logo could have something to do with it, because it looks really distorted… Have a look at yfrog.com/ndvcmicrashmenup
I built a package including debugging symbols, but in fact I did not manage to make use of them yet. I hope I’ll find out.
Okay, this is what i got from a backtrace: pastebin.com/edB0y3WZ
Is that of any use for you?
EDIT: When I do not strip the binary, gdb segfaults on “run”. I have no idea how that would be fixable.
EDIT 2: Without gdb I get the well known freeze in the main menu. But now I managed to open a new game once! I have no idea how, and nothing changed (except the debug symbols), but after closing the game and retrying it froze again. (Keep in mind I have a 100% success rate with 24bpp)
EDIT3: It’s getting weird more and more. Now gdb works again (without a change) and I can get a backtrace with debug symbols: pastebin.com/ePAp2Xcs
EDIT 5: Apparently I can get it to work if I am fast enough (to click on New etc.) and have some luck. Once I’m at the new scenario screen it seems to work fine.
Thank you for information. It seems that video player doesn’t work well with 16 bpp display.
Please try disabling it: in hch/CVideoHandler.cpp:650 add return false; and see if freezes still appear.
Are the first intro videos (3DO and WoG ones) displayed properly?
For the menu i think (and for that i can be very very wrong) that the bottons could be rearanged to fit the 800x480 screen,no?or keyboard shortcuts?
and i prefered the homm3 sod menu image (ignore this last line :p).
I’m going to try to invent something in photoshop so i can show some sketchs
It’s dumb, but prevents the game from crashing at 800x480. Could we somehow check if the resolution is 800x480 (from settings.txt?) and if yes set it like in the patch? Otherwise keep the 800x600. If it makes any sense for you…
Apparently videos work only when using an YUV overlay. Unfortunately this is Linux-specific (or rather non-Windows-specific) code and my knowledge here is limited.
However, you may try my two shots:
1.
In hch/CVideoHandler.cpp:737
replace: PIX_FMT_RGB32
with: PIX_FMT_RGB565
If I receive graphics / layout for that resolution, then I’ll support for them. (Via settings.txt)
If you (or people on maemo forum) are interested in providing missing graphics and layouts, then I can give you a list of currently used graphics and info on needed changes.
Almost. Buttons graphics contain a piece of nearby background. Keyboard shortcuts are implemented and working.
Sorry for the delay, I had to help a friend moving into a new apartment. Indeed both of your attempts fix the crash, whereas the first one works flawless, and the second one seems to disable the spinning of the WOG logo (I did not try to understand the changes, so I guess it was your intention to do so). I guess the first one is the superior fix, as it allows the WOG thingy to spin like in the normal version?
I’ll patch this change to the Maemo port until you managed to code a switch depending on active bpp settings. Thank you very much for this!
I hope Chris (check this thread) will help out here. If he already left, I could give it a try, but I guess my attempts are rather noobish.
Did you keep in mind we already have a working config by Zamolxis for the normal game screen? (adventure map?) Warmonger probably stated most of the parts missing for a working 800x480 resolution, too.
Check out the idea of Zamolxis, regarding the buttons in the main menu. (Click) BTW, can we keep the discussion regarding 16bbp here, and move to this thread regarding the 800x480 resolution? I hate having multiple places for one discussion.
In my both attempts I tried to fix the issue (so the video is working), I’m happy that my first attempt was successful.
I’ve committed a fix based on it (r1781). I didn’t have an opportunity to test if it compiles and works, so if anything is wrong please tell me and/or correct me