Forum

> > Stranded II > General > Recompiling the source code?
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Recompiling the source code?

2 replies
To the start Previous 1 Next To the start

old Recompiling the source code?

JasJack67
Super User Off Offline

Quote
Hi all.

I have used newer engines and development programs over the last few years, but I have yet to understand the Blitz3d and how to edit/recompile the Stranded2 source code.

Can anyone give me a step-by-step tutorial on how to exactly open the source code in Blitz, and what exactly are the steps to re-compile it after I edit the code?

I have attempted it a few times now, but I do not understand those 2 steps in the Blitz program...I think I open it right, but I don't know how to compile it properly. It could be that I do not actually open it correctly, I just do not know.

A clear and precise step-by-step would be useful for many other members I would think...as for actually editing the code that is not what I need addressed...just getting the .exe de-compiled, and then re-compiled again.

Thank you in advance for any useful tutorial that may follow. If there is a link to an already existing tutorial on this, simply post the link please, I could not find one.

old Re: Recompiling the source code?

DC
Admin Off Offline

Quote
The steps in the included README should work:
Quote
NOTE:
YOU NEED BLITZ3D TO USE THIS (VERSION 1.98 OR HIGHER)!
YOU CAN'T RUN IT WITH THE DEMO VERSION!

- put "source/StrandedII.bb" in your Stranded II dir
- put "source/includes"-dir in your Stranded II dir
- put "userlibs/user32.decls" in the userlibs dir of Blitz 3D
- add the text "-inbb" to the Blitz 3D Program Command Line
- recommended: also add "-win" to the Command Line
- Open and compile "StrandedII.bb"!


Stranded II dir means a folder with the full game that you have to download of course, otherwise the game can't find the required assets.

For the command line: The Blitz3D IDE has a menu which allows you to specify command line parameters. -inbb and optionally -win have to be inserted there.

For the last step: Open StrandedII.bb with Blitz3D (the Blitz3D IDE) and afterwards and click the rocket button to run it or use the menu to build the EXE.

Hope that helps!

old Re: Recompiling the source code?

JasJack67
Super User Off Offline

Quote
Ty DC, I shall try it again. Happy New Year!

EDIT:Eh! I guess massive mod uses one of the other source code versions either 1.0.1.1 - 1.0.1.3 like stranded 2.5 mod. Ominus member has not logged for a year, he said he had the massive mod source code.

I did figure out how to decompile/recompile S2 though, thank you.

Every download link I found using source code that adds the new achievements is broken/dated/no file. I do not know what else they changed in the original source code but I receive missing files or bad command(menu_achievements=1)errors using the original...so I guess I'm out of luck. Have not seen Builder2.0 in ages either.
edited 5×, last 04.01.16 01:02:26 am
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview