issue building GlobalGameJam2015 WE in Oslo

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

issue building GlobalGameJam2015 WE in Oslo

Post by jbperin »

I don't manage to build the project :

https://osdn.net/projects/oricsdk/scm/svn/tree/head/users/dbug/games/GlobalGameJam2015/

If I try to build from the code directory I get:

Code: Select all

loader_api.h:5: floppy_description.h: No such file or directory
If I try to build from the root directory I get:

Code: Select all

#include "floppy_description.h"
loader.asm(42):  fc03:file not found error
loader.asm(37):  fc04:Label 'StartUp' not defined
Break after 2 errors

An Error has happened. Build stopped
I saw that Oric Tech Demo uses a file floppy_description.h file and then it compiles nicely.

https://fr.osdn.net/projects/oricsdk/sc ... Tech/code/

Any clue ?
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: issue building GlobalGameJam2015 WE in Oslo

Post by Dbug »

If you look at the build log before the error your mentioned, here's another error message mentioned before, that one means that the floppy builder data was not generated, the rest is just a logical cascading effect.

The code was not updated after I did the big 1.0 update of the FloppyBuilder (see https://osdk.org/index.php?page=documen ... ppybuilder)

There was a few major changes done to the format:
- Mandatory FormatVersion command
- AddFile lost the address
- AddDefine having to be set after the add files
- Modified way to handle the loader
etc...

I have made the conversion work, just testing it, and if it works I can commit that.
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: issue building GlobalGameJam2015 WE in Oslo

Post by Dbug »

Updated on the SVN repository, should be compatible with the latest OSDK.
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: issue building GlobalGameJam2015 WE in Oslo

Post by Dbug »

And while I was at it, I made a video of the game, for some reason it never happened :)

User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: issue building GlobalGameJam2015 WE in Oslo

Post by jbperin »

Thank you very much for all these information.

I hadn't seen this video despite searching for Week end in Oslo on Youtube and Google.

Looks pretty cool !! :-)

So many graphics in this game !! I need to learn how to create things with resources that do not reside in memory at start time and I think this is a good example.

Thank you
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: issue building GlobalGameJam2015 WE in Oslo

Post by Dbug »

Well, there is an example in osdk\sample\floppybuilder, and also other productions that used that:
- Pushing the Enveloppe
- Zero Fx
- Blake's 7
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: issue building GlobalGameJam2015 WE in Oslo

Post by jbperin »

Dbug wrote: Sat Aug 14, 2021 1:43 pm Well, there is an example in osdk\sample\floppybuilder, and also other productions that used that:
- Pushing the Enveloppe
- Zero Fx
- Blake's 7
I don't know for Zero Fx and Blake's 7 but for Pushing the Envelope (which is given as an example in the floppy builder documentation), there seems to have the same issue as previously for GlobalGameJam2015.

I tried to modify the floppybuilder.txt myself but it is too complicated for me .. I don't understand all the changes that your did on GlobalFameJam2015 to have it work with OSDK 1.19.

By the way .. with your changes on GlobalGameJam2015, it perfectly builds with OSDK_1.19 .

Other thing I don't understand in the documentation of floppy builder is the example wher you write:

Code: Select all

AddFile ..\build\files\loader.o $fc00
But if I follow your change on global jam 2015, it should rather be:

Code: Select all

WriteLoader ..\build\files\loader.o $fe00
the AddFile directive do no longer takes adr argument.
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: issue building GlobalGameJam2015 WE in Oslo

Post by Dbug »

The old projects are supposed to be recompiled with the matching versions of the OSDK (that's the reason while all the releases are available) because it's trivial to have as many versions side by side as we want.

If I find the time, I may try to convert some to the new code, but that may take time.

I did a few corrections on the documentation page, but it's not finished, need to review the entire thing, and I'll do that by fixing one or two of the old demos to see if the documentation is complete and understandable or not.

https://osdk.org/index.php?page=documen ... ppybuilder
Post Reply