Who's Online
136 user(s) are online (
129 user(s) are browsing
Forums )
Members: 0
Guests: 136
more...
Topic options
View mode
Newest First
BlockOut II port?
Posted on:
2008/5/17 14:09
#1
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
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
Re: BlockOut II port?
Posted on:
2008/5/19 10:01
#2
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 12:03
#3
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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.
Re: BlockOut II port?
Posted on:
2008/5/19 12:37
#4
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@emeck What errors did it give you under Linux? Varthall
Re: BlockOut II port?
Posted on:
2008/5/19 13:24
#5
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 13:39
#6
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@emeck You have to compile the ImageLib library first, inside the /ImageLib/src/ directory. Varthall
Re: BlockOut II port?
Posted on:
2008/5/19 14:00
#7
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 14:29
#8
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 15:10
#9
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 15:29
#10
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/5/19 18:11
#11
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@Varthall
Done! There are 2 patches for Linux x64 in the BL2 forum. Now working here.
Looking forward to the AOS4 port. Thanks again
Re: BlockOut II port?
Posted on:
2008/6/19 4:25
#12
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@emeck Exactly 1 month after your last post :) It's now on os4depot's upload queue, it should be published soon.
Re: BlockOut II port?
Posted on:
2008/6/19 6:40
#13
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Today 16:40
From Sweden
Group:
Webmasters Moderators Staff members Staff members Moderators Staff members Staff members
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: BlockOut II port?
Posted on:
2008/6/19 7:39
#14
Just can't stay away
Joined: 2006/11/26 16:47Last Login
: 10/28 22:08
Group:
Registered Users
nice!
Re: BlockOut II port?
Posted on:
2008/6/19 7:40
#15
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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.
Re: BlockOut II port?
Posted on:
2008/6/19 10:24
#16
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Today 16:40
From Sweden
Group:
Webmasters Moderators Staff members Staff members Moderators Staff members Staff members
@emeck
How about writing a review of it? :)
->
http://www.amigans.net/modules/AMS/
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: BlockOut II port?
Posted on:
2008/6/19 12:37
#17
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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?
Re: BlockOut II port?
Posted on:
2008/6/19 13:11
#18
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@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.
Re: BlockOut II port?
Posted on:
2008/6/19 14:02
#19
Just popping in
Joined: 2006/12/6 21:24Last Login
: Today 22:27
From Barcelona, Spain
Group:
Registered Users
@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
Re: BlockOut II port?
Posted on:
2008/6/25 12:28
#20
Just popping in
Joined: 2007/3/19 13:44Last Login
: 2019/5/6 8:24
From Up Rough
Group:
Registered Users
@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
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)