Forum

> > Stranded II > General > Open Source
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Open Source

103 replies
Page
To the start Previous 1 2 3 4 5 6 Next To the start

old Re: Open Source

pupp3tStudios
User Off Offline

Quote
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.

old Re: Open Source

miezebieze
User Off Offline

Quote
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:
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'.

old Re: Open Source

DC
Admin Off Offline

Quote
Yes, all 2D graphics are drawn every single frame. Probably with DirectX, yes.

old Re: Open Source

LukaAsh
User Off Offline

Quote
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
Log in to replyGeneral overviewStranded II overviewForums overview