Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
113 user(s) are online (57 user(s) are browsing Forums)

Members: 0
Guests: 113

more...

Headlines

 
  Register To Post  

(1) 2 3 »
Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@all

I am attemping to compile Fallout 2 Community Edition Port.

https://github.com/alexbatalov/fallout2-ce

I get the following error at the end of compilation.

Any ideas ?

[100%] Linking CXX executable fallout2-ce
_deps
/sdl2-build/libSDL2.a(SDL_dynapi.c.obj): In function `SDL_InitDynamicAPI':
SDL_dynapi.c:(.text+0x26cc): undefined reference to 
`get_sdlapi_entry'
_deps/sdl2-build/libSDL2.a(SDL_dynapi.c.obj): In function `SDL_LockAudio_DEFAULT'
:
SDL_dynapi.c:(.text+0xfdf4): undefined reference to `get_sdlapi_entry'
_deps/sdl2-build/libSDL2.a(SDL_dynapi.c.obj): In function 
`SDL_ClearHints_DEFAULT':
SDL_dynapi.c:(.text+0xff5c): undefined reference to `get_sdlapi_entry'
_deps/sdl2-build/libSDL2.a(SDL_dynapi.c.obj): In function `SDL_StartTextInput_DEFAULT':
SDL_dynapi.c:(.text+0x100c4): undefined reference to 
`get_sdlapi_entry'
_deps/sdl2-build/libSDL2.a(SDL_dynapi.c.obj): In function `SDL_GameControllerUpdate_DEFAULT'
:
SDL_dynapi.c:(.text+0x1022c): undefined reference to `get_sdlapi_entry'
_deps/sdl2-build/libSDL2.a(SDL_dynapi.c.obj):SDL_dynapi.c:(.text+0x10394): more undefined references to 
`get_sdlapi_entry' follow
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/fallout2-ce.dir/build.make:1845: fallout2-ce] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/fallout2-ce.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Just can't stay away
Just can't stay away


See User information
No idea, but "get_sdlapi_entry" seems to be here: ../dynapi/SDL_dynapi.c


https://github.com/google/filament/blo ... 2/src/dynapi/SDL_dynapi.c

Go to top
Re: Attemping FallOut2-Community Edition Port
Home away from home
Home away from home


See User information
@Sinan
As far as i can see from those sources, the game use external libs which build on their own. One of them are SDL2 , which building process of game just download, and build (mean of course, build without amigaos4 changes). See third_party/sdl2/CMAkeLists.txt :

...
FetchContent_Declare(sdl2
    GIT_REPOSITORY 
"https://github.com/libsdl-org/SDL"
    
GIT_TAG "release-2.0.22"
)
...


And of course as it didn't have os4 changes, it just build plain SDL2 with all wrong stuff for us.

What you can do in fast way: just replace in your _deps/sdl2-build/libSDL2.a , on our one from local/newlib/ directory.

But of course, you better to just comment out all the stuff inside of third_party/sdl2/CMAkeLists.txt

@Javier

For us dynapi disabled, see in src/dynapi/SDL_dynapi.h :

#elif defined(__AMIGAOS4__) /* It seems we cannot load .so from a statically linked binary */
#define SDL_DYNAMIC_API 0


Problem Sinan have is that build process of game download SDL2 from original site which have no amigaos4 changes in (so build with dynapi enabled => fail).

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Yes copying the clib2 version of libSDL2.a and #define SDL_DYNAMIC_API 0 works.. Now it is compiled 100%

I guess now I have to fix paths and filenames..
Because when I check from Snoopy, it seems like datafiles are recognized as folders.

I guess paths are here :

https://github.com/alexbatalov/fallout ... in/src/platform_compat.cc

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Home away from home
Home away from home


See User information
@SinanSam460

Maybe zip files, MS Windows has built-in zip file support, can access zip files as if they were catalogs.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@LiveForIt

I have unpacked .dat files and tried this way.It is not working either.

I am stuck at paths issue at the moment.

I asked for author's help, let's see if he will answer.

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Home away from home
Home away from home


See User information
@Sinan
Yeah, the paths mess when it full of C code with all those // \\ / \ and whatever always one of the boring parts. And then another boring part is Endian issues :)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Attemping FallOut2-Community Edition Port
Home away from home
Home away from home


See User information
@kas1e

Should be pretty simple to create a windows2amigaPath() function.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Attemping FallOut2-Community Edition Port
Quite a regular
Quite a regular


See User information
How is it going with Fallout 2? Any news? Did you get a reply from the author?

Go to top
Re: Attemping FallOut2-Community Edition Port
Quite a regular
Quite a regular


See User information
I see that BeWorld has made a working port of Fallout 2 for MorphOS. It is still in BETA, work in progress.

https://www.morphos-storage.net/?id=1852865

BETA uploaded to MorphOS Storage this month.

Would love to see this game on AmigaOS 4.

Go to top
Re: Attemping FallOut2-Community Edition Port
Just popping in
Just popping in


See User information
I would also be very happy about an OS4 port.

Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@Evillord68

BeWorld said he may share his MorphOS sources later.

Meanwhile he pointed me to the Nintendo Wii BigEndian Port.
https://github.com/ChrisNonyminus/fallout2-ce/tree/3ds-and-wii

How do I use __lwbrx in AmigaOS4?

e.g.

entriesDataSize __lwbrx(&entriesDataSize0);

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Just can't stay away
Just can't stay away


See User information
@SinanSam460
Quote:
How do I use __lwbrx in AmigaOS4?

e.g.

entriesDataSize __lwbrx(&entriesDataSize0);
It's probably something like
extern inline uint32 __lwbrx(uint32 *pointeruint32 dummy __attribute__((unused)))
{
   
register uint32 result;
   
asm volatile ("lwbrx %0,0,%1" "=r"(result): "r"(pointer),"m"(*pointer));
   return 
result;
}

Without assembler you could use something like
extern inline uint32 __lwbrx(uint32 *pointeruint32 dummy __attribute__((unused)))
{
   
uint32 data = *pointer:
   
data = ((data&0xFF000000UL)>>24) | ((data&0x00FF0000UL)>>8) | ((data&0x0000FF00UL)<<8) | ((data&0x000000FF)<<24);
   return 
data;
}
but that may generate much slower code, or use the GCC builtin function bswap32:
entriesDataSize __builtin_bswap32(entriesDataSize);


Edited by joerg on 2023/2/13 8:13:32
Edited by joerg on 2023/2/13 8:18:27
Edited by joerg on 2023/2/13 8:18:43
Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@all

Thanks for BeWorld he pointed me to Wii BE Port at

https://github.com/ChrisNonyminus/fallout2-ce/tree/3ds-and-wii

I can compile the exe 100% based on Wii BE port, I kept out Wii-hw related parts. It seems I still have problems related to file reading or opening .DAT files.

This file stuff is driving me crazy :)..It would be great if I can have some suggestions.

The sources are at:
https://drive.google.com/file/d/1qITix ... PbkKnReO/view?usp=sharing

You can compile with make on Crosscompiler..


Here are the outputs from the game and SnoopDOS log.

Thank you.
Failed to open data at /amiga/develop/Fallout2CE/be/fallout2-ce/src/dfile.cc:62
Failed to open  at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/dfile.cc:62
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
ERROR at 
/amiga/develop/Fallout2CE/be/fallout2-ce/src/text_font.cc:251
glyphCount
0
lineHeight
0
letterSpacing
0
glyphs
0x0
data
0x0
Loaded 0 fonts

00188 : fallout2-ce     FAIL Open("ddraw.ini",OLD) = [0x00000000] [70uS]
00189 : 
fallout2-ce     o.k. = Open("fallout2.cfg",OLD) = [0x17F8D806] [113uS]
00190 : 
fallout2-ce     o.k. = ExamineObject([FH"fallout2.cfg") [86uS]
00191 : 
fallout2-ce     FAIL IsInteractive("fallout2.cfg")
00192 : 
fallout2-ce     o.k. = IsFileSystem("") [10uS]
00193 : 
fallout2-ce     o.k. = ExamineObject([FH"fallout2.cfg") [55uS]
00194 : 
fallout2-ce     DIR  ParentOfFH(0x17F8D806"fallout2.cfg" [12uS]
00195 : 
fallout2-ce     o.k. = ExamineObject([FH"fallout2.cfg") [72uS]
00196 : 
fallout2-ce     o.k. = Open("master.dat",OLD) = [0x17F8D806] [104uS]
00197 : 
fallout2-ce     o.k. = ExamineObject([FH"master.dat") [70uS]
00198 : 
fallout2-ce     FAIL IsInteractive("master.dat")
00199 : 
fallout2-ce     o.k. = IsFileSystem("") [8uS]
00200 fallout2-ce     o.k. = ExamineObject([FH"master.dat") [56uS]
00201 fallout2-ce     o.k. = ExamineObject([FH"master.dat") [57uS]
00202 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D806 [master.dat],333176832,OFFSET_BEGINNING) [12uS]
00203 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D806 [master.dat],0,OFFSET_BEGINNING) [10uS]
00204 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D806 [master.dat],333176832,OFFSET_BEGINNING) [8uS]
00205 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D806 [master.dat],332232704,OFFSET_BEGINNING) [5uS]
00206 fallout2-ce     DIR  ParentOfFH(0x17F8D806"master.dat" [24uS]
00207 fallout2-ce     o.k. = ExamineObject([FH"master.dat") [115uS]
00208 : 
fallout2-ce     o.k. = Lock("master.dat",SHARED) [61uS]
00209 : 
fallout2-ce     DIR  SetCurrentDir("master.dat")
00210 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [43uS]
00211 fallout2-ce     DIR  SetCurrentDir("DEVELOP:Fallout2")
00212 fallout2-ce     FAIL Open("data",OLD) = [0x00000000] [5311uS]
00213 fallout2-ce     o.k. = Lock("data",SHARED) [49uS]
00214 fallout2-ce     o.k. = ExamineObject([LK"data") [67uS]
00215 fallout2-ce     FAIL ExamineObject([FH"") [20249uS]
...
00349 : 
fallout2-ce     DIR  ParentOfFH(0x17F8D920"critter.dat" [22uS]
00350 fallout2-ce     o.k. = ExamineObject([FH"critter.dat") [110uS]
00351 fallout2-ce     o.k. = Lock("critter.dat",SHARED) [62uS]
00352 fallout2-ce     DIR  SetCurrentDir("critter.dat")
00353 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [42uS]
00354 fallout2-ce     DIR  SetCurrentDir("DEVELOP:Fallout2")
00355 fallout2-ce     o.k. = Lock("patch000.dat",SHARED) [88uS]
00356 fallout2-ce     o.k. = Open("patch000.dat",OLD) = [0x17F8D920] [76uS]
00357 fallout2-ce     o.k. = ExamineObject([FH"patch000.dat") [70uS]
00358 : 
fallout2-ce     FAIL IsInteractive("patch000.dat")
00359 : 
fallout2-ce     o.k. = IsFileSystem("") [8uS]
00360 fallout2-ce     o.k. = ExamineObject([FH"patch000.dat") [55uS]
00361 fallout2-ce     o.k. = ExamineObject([FH"patch000.dat") [55uS]
00362 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D920 [patch000.dat],2355200,OFFSET_BEGINNING) [11uS]
00363 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D920 [patch000.dat],0,OFFSET_BEGINNING) [6uS]
00364 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D920 [patch000.dat],2355200,OFFSET_BEGINNING) [5uS]
00365 fallout2-ce     o.k. = ChangeFilePosition(0x17F8D920 [patch000.dat],2336768,OFFSET_BEGINNING) [6uS]
00366 fallout2-ce     DIR  ParentOfFH(0x17F8D920"patch000.dat" [12uS]
00367 fallout2-ce     o.k. = ExamineObject([FH"patch000.dat") [108uS]
00368 : 
fallout2-ce     o.k. = Lock("patch000.dat",SHARED) [51uS]
00369 : 
fallout2-ce     DIR  SetCurrentDir("patch000.dat")
00370 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [39uS]
00371 fallout2-ce     DIR  SetCurrentDir("DEVELOP:Fallout2"
...
01372 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [36uS]
01373 fallout2-ce     o.k. = ExamineObject([LK"Fallout2") [58uS]
01374 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [40uS]
01375 fallout2-ce     DIR  SetCurrentDir("DEVELOP:Fallout2")
01376 fallout2-ce     o.k. = Lock("DEVELOP:Fallout2",SHARED) [50uS]
01377 fallout2-ce     DIR  SetCurrentDir("DEVELOP:Fallout2")
01378 : 
fallout2-ce     FAIL Open("/FONT0.FON",OLD) = [0x00000000] [63uS]
01379 : 
fallout2-ce     FAIL Open("patch000.dat/FONT0.FON",OLD) = [0x00000000] [99uS]
01380 : 
fallout2-ce     FAIL Lock("patch000.dat/FONT0.FON",SHARED) [74uS]
01381 : 
fallout2-ce     FAIL Open("data/FONT0.FON",OLD) = [0x00000000] [11934uS]
01382 : 
fallout2-ce     FAIL Open("critter.dat/FONT0.FON",OLD) = [0x00000000] [104uS]
01383 : 
fallout2-ce     FAIL Lock("critter.dat/FONT0.FON",SHARED) [74uS]
01384 : 
fallout2-ce     FAIL Open("master.dat/FONT0.FON",OLD) = [0x00000000] [88uS]
01385 : 
fallout2-ce     FAIL Lock("master.dat/FONT0.FON",SHARED) [73uS]
01386 : 
fallout2-ce     FAIL Open("FONT0.FON",OLD) = [0x00000000] [60uS]
01387 : 
fallout2-ce     FAIL Open("/FONT1.FON",OLD) = [0x00000000] [87uS]
01388 : 
fallout2-ce     FAIL Open("patch000.dat/FONT1.FON",OLD) = [0x00000000] [105uS]
01389 : 
fallout2-ce     FAIL Lock("patch000.dat/FONT1.FON",SHARED) [71uS]
01390 : 
fallout2-ce     FAIL Open("data/FONT1.FON",OLD) = [0x00000000] [89uS]
01391 : 
fallout2-ce     FAIL Open("critter.dat/FONT1.FON",OLD) = [0x00000000] [88uS]
01392 : 
fallout2-ce     FAIL Lock("critter.dat/FONT1.FON",SHARED) [72uS]
01393 : 
fallout2-ce     FAIL Open("master.dat/FONT1.FON",OLD) = [0x00000000] [88uS]
01394 : 
fallout2-ce     FAIL Lock("master.dat/FONT1.FON",SHARED) [73uS]
01395 : 
fallout2-ce     FAIL Open("FONT1.FON",OLD) = [0x00000000] [50uS]
01396 : 
fallout2-ce     FAIL Open("/FONT2.FON",OLD) = [0x00000000] [94uS]
01397 : 
fallout2-ce     FAIL Open("patch000.dat/FONT2.FON",OLD) = [0x00000000] [108uS]
01398 : 
fallout2-ce     FAIL Lock("patch000.dat/FONT2.FON",SHARED) [73uS]
01399 : 
fallout2-ce     FAIL Open("data/FONT2.FON",OLD) = [0x00000000] [89uS]
01400 fallout2-ce     FAIL Open("critter.dat/FONT2.FON",OLD) = [0x00000000] [104uS]
01401 fallout2-ce     FAIL Lock("critter.dat/FONT2.FON",SHARED) [85uS]
01402 fallout2-ce     FAIL Open("master.dat/FONT2.FON",OLD) = [0x00000000] [94uS]
01403 fallout2-ce     FAIL Lock("master.dat/FONT2.FON",SHARED) [73uS]
01404 fallout2-ce     FAIL Open("FONT2.FON",OLD) = [0x00000000] [50uS]
01405 fallout2-ce     FAIL Open("/FONT3.FON",OLD) = [0x00000000] [100uS]
01406 fallout2-ce     FAIL Open("patch000.dat/FONT3.FON",OLD) = [0x00000000] [112uS]
01407 fallout2-ce     FAIL Lock("patch000.dat/FONT3.FON",SHARED) [73uS]
01408 : 
fallout2-ce     FAIL Open("data/FONT3.FON",OLD) = [0x00000000] [89uS]
01409 : 
fallout2-ce     FAIL Open("critter.dat/FONT3.FON",OLD) = [0x00000000] [88uS]
01410 fallout2-ce     FAIL Lock("critter.dat/FONT3.FON",SHARED) [72uS]
01411 fallout2-ce     FAIL Open("master.dat/FONT3.FON",OLD) = [0x00000000] [87uS]
01412 fallout2-ce     FAIL Lock("master.dat/FONT3.FON",SHARED) [75uS]
01413 fallout2-ce     FAIL Open("FONT3.FON",OLD) = [0x00000000] [52uS]
01414 fallout2-ce     FAIL Open("/FONT4.FON",OLD) = [0x00000000] [101uS]
01415 fallout2-ce     FAIL Open("patch000.dat/FONT4.FON",OLD) = [0x00000000] [10527uS]
01416 fallout2-ce     FAIL Lock("patch000.dat/FONT4.FON",SHARED) [8387uS]
01417 fallout2-ce     FAIL Open("data/FONT4.FON",OLD) = [0x00000000] [101uS]
01418 : 
fallout2-ce     FAIL Open("critter.dat/FONT4.FON",OLD) = [0x00000000] [102uS]
01419 : 
fallout2-ce     FAIL Lock("critter.dat/FONT4.FON",SHARED) [72uS]
01420 fallout2-ce     FAIL Open("master.dat/FONT4.FON",OLD) = [0x00000000] [6811uS]
01421 fallout2-ce     FAIL Lock("master.dat/FONT4.FON",SHARED) [77uS]
01422 fallout2-ce     FAIL Open("FONT4.FON",OLD) = [0x00000000] [52uS]
01423 fallout2-ce     FAIL Open("/FONT5.FON",OLD) = [0x00000000] [93uS]
01424 fallout2-ce     FAIL Open("patch000.dat/FONT5.FON",OLD) = [0x00000000] [108uS]
01425 fallout2-ce     FAIL Lock("patch000.dat/FONT5.FON",SHARED) [72uS]
01426 fallout2-ce     FAIL Open("data/FONT5.FON",OLD) = [0x00000000] [89uS]
01427 fallout2-ce     FAIL Open("critter.dat/FONT5.FON",OLD) = [0x00000000] [88uS]
01428 : 
fallout2-ce     FAIL Lock("critter.dat/FONT5.FON",SHARED) [72uS]
01429 : 
fallout2-ce     FAIL Open("master.dat/FONT5.FON",OLD) = [0x00000000] [87uS]
01430 fallout2-ce     FAIL Lock("master.dat/FONT5.FON",SHARED) [72uS]
01431 fallout2-ce     FAIL Open("FONT5.FON",OLD) = [0x00000000] [50uS]
01432 fallout2-ce     FAIL Open("/FONT6.FON",OLD) = [0x00000000] [94uS]
01433 fallout2-ce     FAIL Open("patch000.dat/FONT6.FON",OLD) = [0x00000000] [108uS]
01434 fallout2-ce     FAIL Lock("patch000.dat/FONT6.FON",SHARED) [73uS]
01435 fallout2-ce     FAIL Open("data/FONT6.FON",OLD) = [0x00000000] [90uS]
01436 fallout2-ce     FAIL Open("critter.dat/FONT6.FON",OLD) = [0x00000000] [87uS]
01437 fallout2-ce     FAIL Lock("critter.dat/FONT6.FON",SHARED) [73uS]
01438 : 
fallout2-ce     FAIL Open("master.dat/FONT6.FON",OLD) = [0x00000000] [88uS]
01439 : 
fallout2-ce     FAIL Lock("master.dat/FONT6.FON",SHARED) [73uS]
01440 fallout2-ce     FAIL Open("FONT6.FON",OLD) = [0x00000000] [51uS]
01441 fallout2-ce     FAIL Open("/FONT7.FON",OLD) = [0x00000000] [92uS]
01442 fallout2-ce     FAIL Open("patch000.dat/FONT7.FON",OLD) = [0x00000000] [109uS]
01443 fallout2-ce     FAIL Lock("patch000.dat/FONT7.FON",SHARED) [73uS]
01444 fallout2-ce     FAIL Open("data/FONT7.FON",OLD) = [0x00000000] [89uS]
01445 fallout2-ce     FAIL Open("critter.dat/FONT7.FON",OLD) = [0x00000000] [88uS]
01446 fallout2-ce     FAIL Lock("critter.dat/FONT7.FON",SHARED) [72uS]
01447 fallout2-ce     FAIL Open("master.dat/FONT7.FON",OLD) = [0x00000000] [88uS]
01448 : 
fallout2-ce     FAIL Lock("master.dat/FONT7.FON",SHARED) [73uS]
01449 : 
fallout2-ce     FAIL Open("FONT7.FON",OLD) = [0x00000000] [49uS]
01450 fallout2-ce     FAIL Open("/FONT8.FON",OLD) = [0x00000000] [94uS]
01451 fallout2-ce     FAIL Open("patch000.dat/FONT8.FON",OLD) = [0x00000000] [108uS]
01452 fallout2-ce     FAIL Lock("patch000.dat/FONT8.FON",SHARED) [74uS]
01453 fallout2-ce     FAIL Open("data/FONT8.FON",OLD) = [0x00000000] [90uS]
01454 fallout2-ce     FAIL Open("critter.dat/FONT8.FON",OLD) = [0x00000000] [89uS]
01455 fallout2-ce     FAIL Lock("critter.dat/FONT8.FON",SHARED) [73uS]
01456 fallout2-ce     FAIL Open("master.dat/FONT8.FON",OLD) = [0x00000000] [109uS]
01457 fallout2-ce     FAIL Lock("master.dat/FONT8.FON",SHARED) [86uS]
01458 : 
fallout2-ce     FAIL Open("FONT8.FON",OLD) = [0x00000000] [52uS]
01459 : 
fallout2-ce     FAIL Open("/FONT9.FON",OLD) = [0x00000000] [94uS]
01460 fallout2-ce     FAIL Open("patch000.dat/FONT9.FON",OLD) = [0x00000000] [107uS]
01461 fallout2-ce     FAIL Lock("patch000.dat/FONT9.FON",SHARED) [73uS]
01462 fallout2-ce     FAIL Open("data/FONT9.FON",OLD) = [0x00000000] [91uS]
01463 fallout2-ce     FAIL Open("critter.dat/FONT9.FON",OLD) = [0x00000000] [89uS]
01464 fallout2-ce     FAIL Lock("critter.dat/FONT9.FON",SHARED) [73uS]
01465 fallout2-ce     FAIL Open("master.dat/FONT9.FON",OLD) = [0x00000000] [87uS]
01466 fallout2-ce     FAIL Lock("master.dat/FONT9.FON",SHARED) [73uS]
01467 fallout2-ce     FAIL Open("FONT9.FON",OLD) = [0x00000000] [49uS]

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Just can't stay away
Just can't stay away


See User information
@SinanSam460

Hi, are all data file on same drawer (ex.: fallout2/data)

So maybe you can "change" in source(s) to lock such drawer before loading data:
...
BPTR datadir Lock("PROGDIR:data"SHARED_LOCK);
BPTR olddir SetCurrentDir(datadir);
...
_load_data_files_
...
SetCurrentDir(olddir); // restore "original" dir
UnLock(datadir);
...


EDIT: forget above, as I see on Snoopy you already doing it.
Looks that "/" is what makes some files fail.

Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@all

Finally some good news :)
Thanks to BeWorld for his help and understanding...

Problems to solve:
- Videos not playing.
- Sound is just noise.
- Game crashes after quitting the game.
- More :)

Resized Image

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Attemping FallOut2-Community Edition Port
Quite a regular
Quite a regular


See User information
@SinanSam460

Congratulations on getting Fallout 2 working on AmigaOS 4! Can't wait to try it! It used to be my one of my favorite games years ago. Well done!

Go to top
Re: Attemping FallOut2-Community Edition Port
Home away from home
Home away from home


See User information
@Sinan

Good job

Go to top
Re: Attemping FallOut2-Community Edition Port
Just can't stay away
Just can't stay away


See User information
@SinanSam460

LOOKS AWESOME!!!!

Go to top
Re: Attemping FallOut2-Community Edition Port
Not too shy to talk
Not too shy to talk


See User information
@all

I have just uploaded WIP port of Fallout2-CE to OS4Depot.

CAUTION:
This is a work in progress port for AmigaOS4. Please see below for possible problems:

Based on big endian port for Wii:
https://github.com/ChrisNonyminus/fallout2-ce/tree/3ds-and-wii
Thanks to BeWorld for his help.

INSTALLATION:
-----------------
Purchase Fallout2 from Steam or GOG.
Copy all the files from Windows.
Copy the contents of this archive.
You can change resolution by editing f2_res.ini
Set SDL2_Prefs 2D Driver to opengles2 or opengl for better performance

BUGS:
------
Game save and load does not work.
Game videos are disabled.
Sound is not working very well. (Music is just noise, sound effects are not complete)

Here are the source codes.If someone helps me to improve the port, I'd be very happy.

https://drive.google.com/file/d/1gDqEL ... Y8za7gmG/view?usp=sharing

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top

  Register To Post
(1) 2 3 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project