Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
141 user(s) are online (135 user(s) are browsing Forums)

Members: 0
Guests: 141

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
BlockOut II port?
Just popping in
Just popping in


See User information
Hi,

could it be possible to port this:
BlockOut II? Don't have my A1 with me so I can't give it a try.

I spent many hours playing BlockOut in Amiga and PC long time ago

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

I have successfully compiled it yesterday night (and stolen the port out of Spot's hands hehe - sorry mate ^^). There's still a problem with prefs file handling, hopefully I'll fix it this evening.

Varthall

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

@Varthall

Quote:
I have successfully compiled it yesterday night (and stolen the port out of Spot's hands hehe - sorry mate ^^). There's still a problem with prefs file handling, hopefully I'll fix it this evening.


Wow! Excellent. I tried to compile it for Debian amd64 but couldn't. But it is better to have it for AOS4 now

Thanks for the port. And also to Spot, for looking at it.

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

What errors did it give you under Linux?

Varthall

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

First, I changed the makefile to

SDL_ROOT = /usr


After lots of:

warning: deprecated conversion from string constant to ?char*?

it ends with:

Utils.cpp
Utils.cpp:22:20: error: CImage.h: No such file or directory
Utils.cpp: In function ?int CreateTexture(int, int, char*, GLuint*)?:
Utils.cpp:223: error: ?CImage? was not declared in this scope
Utils.cpp:223: error: expected `;' before ?img?
Utils.cpp:225: error: ?img? was not declared in this scope
Utils.cpp:232: error: ?img? was not declared in this scope
Utils.cpp:240: error: ?img? was not declared in this scope
make: *** [Utils.o] Error 1



If I change the makefile also with

IMGLIB_ROOT = ../ImageLib/src

it ends with:

/usr/bin/ld: cannot find -limagelib
collect2: ld returned 1 exit status
make: *** [blockout] Error 1



emeck

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

You have to compile the ImageLib library first, inside the /ImageLib/src/ directory.

Varthall

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

Got this errors compiling ImageLib:

gcc -O2 -Dlinux -c -I. -c -o gif/gif.o gif/gif.c
g++ -O2 -Dlinux -c -I. -c -o CImage.o CImage.cpp
gcc -O2 -Dlinux -c -I. -c -o png/zlib/adler32.o png/zlib/adler32.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/compress.o png/zlib/compress.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/crc32.o png/zlib/crc32.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/deflate.o png/zlib/deflate.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/gzio.o png/zlib/gzio.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/infback.o png/zlib/infback.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/inffast.o png/zlib/inffast.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/inflate.o png/zlib/inflate.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/inftrees.o png/zlib/inftrees.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/trees.o png/zlib/trees.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/uncompr.o png/zlib/uncompr.c
gcc -O2 -Dlinux -c -I. -c -o png/zlib/zutil.o png/zlib/zutil.c
gcc -O2 -Dlinux -c -I. -c -o png/png/png.o png/png/png.c
gcc -O2 -Dlinux -c -I. -c -o png/png/pngerror.o png/png/pngerror.c
gcc -O2 -Dlinux -c -I. -c -o png/png/pnggccrd.o png/png/pnggccrd.c
/tmp/ccbRnv8P.s: Assembler messages:
/tmp/ccbRnv8P.s:17: Error: suffix or operands invalid for `push'
/tmp/ccbRnv8P.s:18: Error: suffix or operands invalid for `push'
/tmp/ccbRnv8P.s:19: Error: suffix or operands invalid for `push'
/tmp/ccbRnv8P.s:20: Error: suffix or operands invalid for `pushf'
/tmp/ccbRnv8P.s:21: Error: suffix or operands invalid for `pop'
/tmp/ccbRnv8P.s:24: Error: suffix or operands invalid for `push'
/tmp/ccbRnv8P.s:25: Error: suffix or operands invalid for `popf'
/tmp/ccbRnv8P.s:26: Error: suffix or operands invalid for `pushf'
/tmp/ccbRnv8P.s:27: Error: suffix or operands invalid for `pop'
/tmp/ccbRnv8P.s:28: Error: suffix or operands invalid for `push'
/tmp/ccbRnv8P.s:29: Error: suffix or operands invalid for `popf'
/tmp/ccbRnv8P.s:47: Error: suffix or operands invalid for `pop'
/tmp/ccbRnv8P.s:48: Error: suffix or operands invalid for `pop'
/tmp/ccbRnv8P.s:49: Error: suffix or operands invalid for `pop'
make: *** [png/png/pnggccrd.o] Error 1

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

On your system, the sources assume that it supports x86 assembly code, which the x86_64 doesn't seem to like, and tries to assemble the asm version of the PNG library. Try changing inside the Makefile the lines

CXXFLAGS = -O2 -Dlinux -c -I.
CFLAGS = -O2 -Dlinux -c -I.

into

CXXFLAGS = -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I.
CFLAGS = -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I.

and recompile.

Varthall

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

Done. Now here is the new ouput:

gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o gif/gif.o gif/gif.c
g++ -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o CImage.o CImage.cpp
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/adler32.o png/zlib/adler32.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/compress.o png/zlib/compress.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/crc32.o png/zlib/crc32.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/deflate.o png/zlib/deflate.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/gzio.o png/zlib/gzio.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/infback.o png/zlib/infback.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/inffast.o png/zlib/inffast.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/inflate.o png/zlib/inflate.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/inftrees.o png/zlib/inftrees.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/trees.o png/zlib/trees.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/uncompr.o png/zlib/uncompr.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/zlib/zutil.o png/zlib/zutil.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/png.o png/png/png.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngerror.o png/png/pngerror.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pnggccrd.o png/png/pnggccrd.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngget.o png/png/pngget.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngmem.o png/png/pngmem.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngpread.o png/png/pngpread.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngread.o png/png/pngread.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngrio.o png/png/pngrio.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngrtran.o png/png/pngrtran.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngrutil.o png/png/pngrutil.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngset.o png/png/pngset.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngtrans.o png/png/pngtrans.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngvcrd.o png/png/pngvcrd.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngwio.o png/png/pngwio.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngwrite.o png/png/pngwrite.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngwtran.o png/png/pngwtran.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/png/pngwutil.o png/png/pngwutil.c
gcc -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o png/hpng.o png/hpng.c
g++ -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o jpg/H2v2.o jpg/H2v2.cpp
g++ -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o jpg/idct.o jpg/idct.cpp
g++ -O2 -Dlinux "-DPNG_NO_ASSEMBLER_CODE" -c -I. -c -o jpg/jpegdecoder.o jpg/jpegdecoder.cpp
jpg/jpegdecoder.cpp: In member function ?void* jpeg_decoder::alloc(int)?:
jpg/jpegdecoder.cpp:109: error: cast from ?void*? to ?uint? loses precision
jpg/jpegdecoder.cpp: In member function ?void jpeg_decoder::init_frame()?:
jpg/jpegdecoder.cpp:1887: error: cast from ?uchar*? to ?uint? loses precision
jpg/jpegdecoder.cpp:1897: error: cast from ?void*? to ?uint? loses precision
make: *** [jpg/jpegdecoder.o] Error 1

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

This is now getting off-topic, better to open a new thread in the "Free for all" forum. I'll check tonight for the new errors, while preparing the OS4 port.

Varthall

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

Done! There are 2 patches for Linux x64 in the BL2 forum. Now working here.

Looking forward to the AOS4 port. Thanks again

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

Exactly 1 month after your last post :) It's now on os4depot's upload queue, it should be published soon.

Go to top
Re: BlockOut II port?
Supreme Council
Supreme Council


See User information

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: BlockOut II port?
Just can't stay away
Just can't stay away


See User information
nice!

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

I just saw it! And downloaded. Thank you very much for this port.

I think I have an old msdos version in some CD with my scores still there. Time to look for it and see if I can get near my top one.

Go to top
Re: BlockOut II port?
Supreme Council
Supreme Council


See User information
@emeck

How about writing a review of it? :)

-> http://www.amigans.net/modules/AMS/

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@orgin

Well, let me see if I can put together something coherent But my review would be with the Linux version 'cause I'm far away from my Amigas right now.

@Varthall

Are the dates in the top scores screen shown correctly in your port?

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

Quote:

emeck wrote:
@Varthall

Are the dates in the top scores screen shown correctly in your port?

From what I remember now, yes, they should be correct. That bug appeared in the x86_64 port isn't it? Might be that the sources I have downloaded were already fixed, or in alternative the bug only shows up on that platform. BTW let me know if you find any problem, e.g. only now I have realised that I haven't tried the hiscores upload... or maybe it is disabled, I have read that the upload part is closed source.

BTW I'm registering on the BlockOut forums to announce the release.

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@Varthall

Quote:
That bug appeared in the x86_64 port isn't it?

Yes, I had it in my amd64 port. But it doesn't bother me, it is just untill I can use your port for AOS4.


Quote:
BTW I'm registering on the BlockOut forums to announce the release.

That will be an unexpected surprise

Go to top
Re: BlockOut II port?
Just popping in
Just popping in


See User information
@emeck

Quote:

emeck wrote:
@Varthall
Quote:
BTW I'm registering on the BlockOut forums to announce the release.

That will be an unexpected surprise

Indeed, they seem to be happy about it :)

BlockOut 2 forum

Varthall

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project