@all
Thanks for BeWorld he pointed me to Wii BE Port at
https://github.com/ChrisNonyminus/fallout2-ce/tree/3ds-and-wiiI 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=sharingYou 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]