English Open Source

103 replies
Goto Page
To the start Previous 1 2 3 4 5 6 Next To the start
05.12.11 01:55:15 am
Up
Pupp3t
User
Offline Off
I sheee.. (A silly impression upon the word 'see').
Alright, thanks for the help. Hopefully the 'p_add' is found and taken care of.
You make the Source Code Updating seem easy, for some reason.
20.03.13 10:05:15 am
Up
miezebieze
User
Offline Off
OH HAI!

Today I tried S2 in Wine (on Gnu/Linux) and it worked once again!

But I noticed an Issue with the Inventory Screen, where the Game gets really slow. It occurs in all menus, where icons are arranged in a grid. (like the editor ones)

After some hacking, I made it playable, commented out line 499 in interface.bb (DrawBlock gfx_if_itemback,236+x*45,63+y*45)(in S2 vanilla) and then the inventory wasn't laggy anymore. I came to the conclusion, that maybe all the gfx elements are drawn like every tick?

I can't read blitz very well and don't know for sure. Can anyone tell if that's the case and maybe if it happens with native directX too?

For now I commented all occurences of gfx_if_itemback out. When there are many items in an inventory, it's not working all too well still. But quirky Stranded II is much better than laggy Stranded II. And it's not looking bad too. :3

How to use the B3D compiler in Wine:
Code:
1
2
3
4
5
6
7
# Be sure to have your $WINEPREFIX set.
cd path/to/stranded2
BLITZPATH="c:\Path\To\Blitz3D" wine /path/to/Blitz3D/bin/blitzcc.exe StrandedII.bb -inbb
# The $BLITZPATH has to be a Windows readable path.
# Adjust the drive letter as needed.
# 'winetricks orm=backbuffer' is OBSOLETE. Nowadays it has to stay 'orm=fbo' (default).
# If You get a MAV, You might need to do 'winetricks heapcheck'.
[img is too small]
20.03.13 02:34:04 pm
Up
DC
Admin
Online On
Yes, all 2D graphics are drawn every single frame. Probably with DirectX, yes.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
03.05.16 04:20:16 am
Up
LukaAsh
User
Offline Off
Old thread, old game, and slightly an odd question. I was wondering if there is a way to increase the max FPS, i seemed to of not found any information online but one guy saying it was hardcoded into it, so i came here, to hopefully change that, i suspect it's capped at 30 for a lot of reasons, for an example, ever played Cossacks? old game made almost decades ago iirc, playing it today, everything is really, really fast, and is slightly broken.

But, any issues i find i hope to fix, or at least try. Summing it up, i was wondering if i can increase the max FPS (if it's really a thing) to 60 using the games source code.

Sorry if this slightly too much of an old thread to be commenting on, i apologize for any trouble i may have caused.
To the start Previous 1 2 3 4 5 6 Next To the start