Who's Online |
127 user(s) are online ( 92 user(s) are browsing Forums)
Members: 1
Guests: 126
VooDoo,
more...
|
|
Headlines |
-
mce.lha - game/utility
Apr 23, 2024
-
theme_list.lha - utility/misc
Apr 23, 2024
-
faac.lha - audio/convert
Apr 22, 2024
-
faad2.lha - audio/convert
Apr 22, 2024
-
seq.lha - audio/misc
Apr 22, 2024
-
libfaac.lha - development/library/audio
Apr 22, 2024
-
libfaad.lha - development/library/audio
Apr 22, 2024
-
image2pdf.lha - utility/text/convert
Apr 22, 2024
-
libharfbuzz.lha - development/library/graphics
Apr 20, 2024
-
libpng.lha - development/library/graphics
Apr 20, 2024
|
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/22 20:00
#61
|
Not too shy to talk
|
@rjd324 Here is the latest version. https://drive.google.com/file/d/1wa2rH ... UHvtrUpu/view?usp=sharingBeworld (author of MorphOS port) told me to remove big endian fixes in db.cc, however that breaks the fonts.
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/21 20:55
#62
|
Not too shy to talk
|
@SinanSam460
I want to solve this annoying load/save game problem, but I haven't found any solution yet.
This is the output from the game, when I try to save some game.
endgameDeathEndingInit OVERRIDE_MAP_START: x: 88, y: 87 [Party Member 0]: Narg
[Party Members]: Total Critter Count: 2
Gsound: playing ambient map sfx: gntlwind Saving ".SAV" map.ARTEMPLE.SAV saved. AUTOMAP: Saving AutoMap DB index 126, level 0
AUTOMAP: Error reading automap database file header!
[Party Member 0]: Narg
[Party Members]: Total Critter Count: 23
Gsound: playing ambient map sfx: water LOADSAVE: Backing up save slot files..
LOADSAVE: 0 map files backed up.
LOADSAVE: Save name: SAVEGAME\SLOT04\SAVE.DAT LOADSAVE: Save function #0 data size written: 0 bytes. LOADSAVE: Save function #1 data size written: 4 bytes. LOADSAVE: Save function #2 data size written: 2784 bytes.
Saving ".SAV" map.ARCAVES.SAV saved. AUTOMAP: Saving AutoMap DB index 3, level 0
AUTOMAP: Error reading automap database file header! LOADSAVE: Save function #3 data size written: 33 bytes. LOADSAVE: Save function #4 data size written: 2784 bytes. LOADSAVE: Save function #5 data size written: 232 bytes. LOADSAVE: Save function #6 data size written: 376 bytes. LOADSAVE: Save function #7 data size written: 76 bytes. LOADSAVE: Save function #8 data size written: 16 bytes. LOADSAVE: Save function #9 data size written: 0 bytes. LOADSAVE: Save function #10 data size written: 12376 bytes. LOADSAVE: Save function #11 data size written: 4 bytes.
LOADSAVE: ** Error writing save function #12 data! **
LOADSAVE: Restoring save file backup...
LOADSAVE: Erasing save(bad) slot...
LOADSAVE: Erasing save(bad) slot...
Scripts: [Game Reset] Game Exit
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/20 18:05
#63
|
Not too shy to talk
|
@CapehillQuote: Capehill wrote:@SinanSam460
Endian or buffer size? I used AUDIO_S16SYS instead of AUDIO_S16..
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/20 17:20
#64
|
Not too shy to talk
|
@CapehillQuote: Thanks..that fixes the audio problem.. Now I have proper sound :)
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/19 20:22
#65
|
Not too shy to talk
|
@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-wiiThanks 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
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/18 16:41
#66
|
Not too shy to talk
|
@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 :)
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Attemping FallOut2-Community Edition Port
|
Posted on: 2023/2/18 10:10
#67
|
Not too shy to talk
|
@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]
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Qt 6 progress
|
Posted on: 2023/2/17 11:30
#68
|
Not too shy to talk
|
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/16 12:50
#69
|
Not too shy to talk
|
@AmigaOldskooler
I think I will upload the game on Friday or Saturday after testing it on X5000 and A1222.
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/16 6:43
#70
|
Not too shy to talk
|
@BSzili
You are right :)_
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 19:53
#72
|
Not too shy to talk
|
@kas1e I run this small code on Sam460 and it crashes. That means it will also crash on X5000. WinUAE works and A1222 works (I guess since FPU is emulated) Quote:
Mathias created a simple test case which can be checked on all machines:
#include
int main(int argc, char **argv)
{
// Declare a 16-byte buffer, it will be aligned on 16 bytes
printf("A buffer contains the same 4-byte pattern at index 1 (unaligned) and 8 (aligned)\n");
char buffer[16] = {0, 60, 127, 113, 58, 5, 6, 7, 60, 127, 113, 58, 12, 13, 14, 15};
volatile char * ptr;
// Read the reference pattern at an aligned address (buffer + 8)
ptr = buffer + 8;
printf("Read the reference pattern at an aligned address (buffer + 8) (addr = %p)\n", ptr);
printf("float = %f\n", *(float *)ptr);
// Read the same pattern at an unaligned address (buffer + 1)
ptr = buffer + 1;
printf("Read the same pattern at an unaligned address (buffer + 1) (addr = %p)\n", ptr);
printf("float = %f\n", *(float *)ptr);
return 0;
}
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 19:50
#73
|
Not too shy to talk
|
@m3x
Unfortunately it doesn't help...
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 11:12
#74
|
Not too shy to talk
|
@kas1e
I tried this code on WinUAE
A buffer contains the same 4-byte pattern at index 1 (unaligned) and 8 (aligned) Read the reference pattern at an aligned address (buffer + 8) (addr = 0x3d7f0ce4) float = 0.015591 Read the same pattern at an unaligned address (buffer + 1) (addr = 0x3d7f0cdd) float = 0.015591
I will try on real Amigas this week.
About bug report, can you tell me which one ?
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 10:56
#75
|
Not too shy to talk
|
@kas1e I don't have X1000..but it crashes on X5000/Sam460 and but runs on A1222. If interested, here are the sourcodes with my makefile. https://drive.google.com/file/d/1zZKbp ... moM7e0XH/view?usp=sharingDeath Rally is free to play on Steam (for Windows)
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 10:37
#76
|
Not too shy to talk
|
@geennaam
Thanks for analyze. Yes, Death Rally is reverse engineered.
Is there a gcc switch that handles these kinds of operations ?
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/15 5:35
#77
|
Not too shy to talk
|
@geennaam Here is a screenshot of PPC disassembly window
Edited by SinanSam460 on 2023/2/15 20:21:54
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Porting Death Rally - help needed
|
Posted on: 2023/2/14 21:39
#78
|
Not too shy to talk
|
@joerg Crash is as follows:
Crash occured in module drally_linux at address 0x7F2822F0
Type of crash: alignment exception
Alert number: 0x80000003
Register dump:
GPR (General Purpose Registers):
0: 7F2822D4 5B018220 00000000 00000001 5B24264E 5B242652 01F50000 01F50000
8: 3FC53923 5B24264E 3FE53923 5B018220 000001C8 5B02C534 5B3265A0 00000001
16: 00000000 00000000 5FD5D9D0 00000000 5B018DD8 7F21A558 0000000D 5B326588
24: 00000000 5B326578 00000000 00000000 0000000F 5B242540 00000003 5B018220
FPR (Floating Point Registers, NaN = Not a Number):
0: nan 0.788011 1.78442e-17 0
4: 4.5036e+15 4.5036e+15 0 0
8: -2.75573e-07 2.48016e-05 0.165806 0.5
12: 0.788011 0.333333 -nan -1.39828e+308
16: -3.49614e+307 -4.1353e+307 nan -2.19577e+306
20: nan -1.62943e+308 1.3926e+308 -2.68448e+38
24: 1.83323e+307 -6.05159e+302 6.61829e+37 -7.34871e+307
28: -2.59471e+306 4.90317e+306 7.97058e+307 413
FPSCR (Floating Point Status and Control Register): 0x82024000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x00000010
Instruction Pointer (ip) : 0x7F2822F0
Xtended Exception (xer) : 0x02080000
Count (ctr) : 0x5DFD3040
Link (lr) : 0x020A9C2C
DSI Status (dsisr) : 0x59920DE0
Data Address (dar) : 0x0183FB84
680x0 emulated registers:
DATA: 00000001 00000001 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 6FFA6000 A38BAC00 00000000 00000000 00000000 00000000 00000000 5B0182E0
FPU0: 0 0 0 0
FPU4: 0 0 0 0
Symbol info:
Instruction pointer 0x7F2822F0 belongs to module "drally_linux" (PowerPC)
Symbol: helper55 + 0xBC in section 1 offset 0x0006B2EC
Stack trace:
[race___54668h.c:63] drally_linux:helper55()+0xbc (section 1 @ 0x6B2EC)
[race___54668h.c:63] drally_linux:helper55()+0xa0 (section 1 @ 0x6B2D0)
[race_main.c:497] drally_linux:race_main()+0x13d8 (section 1 @ 0x4F874)
[___33010h.c:754] drally_linux:___33010h_cdecl()+0x27e8 (section 1 @ 0x1D8E8)
[___3266ch.c:255] drally_linux:___3266ch()+0xafc (section 1 @ 0x29644)
[shop_main.c:219] drally_linux:shop_main()+0x450 (section 1 @ 0x8122C)
[menu___194a8h.c:100] drally_linux:menu___194a8h()+0x280 (section 1 @ 0x7C9CC)
drally_linux:menu___194a8h_2()+0x18 (section 1 @ 0x7CCB4)
[menu_main.c:221] drally_linux:menu_main()+0x5dc (section 1 @ 0x7C690)
[___3e720h.c:69] drally_linux:___3e720h()+0xec (section 1 @ 0xC524)
[drally.c:46] drally_linux:main()+0x50 (section 1 @ 0x35A4)
native kernel module newlib.library.kmod+0x00002624
native kernel module newlib.library.kmod+0x00003350
native kernel module newlib.library.kmod+0x00003874
drally_linux:_start()+0x1e0 (section 1 @ 0x3280)
native kernel module kernel.debug+0x00081084
native kernel module kernel.debug+0x000810fc
PPC disassembly:
7f2822e8: fc000018 frsp f0,f0
7f2822ec: 813f001c lwz r9,28(r31)
*7f2822f0: d0090000 stfs f0,0(r9)
7f2822f4: 813f0018 lwz r9,24(r31)
7f2822f8: 1d29035e mulli r9,r9,862
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Porting Death Rally - help needed
|
Posted on: 2023/2/14 11:39
#79
|
Not too shy to talk
|
@all I have compiled BSzili's BE port of Death Rally using gcc crosscompiler and newlib https://github.com/BSzili/dRallyGame compiles fine. However there is strange problem. Game runs fine without crashes on A1222 While it crashes on X5000 and Sam460 with a crash related to this section in the source code ? What can be the problem ?
...
extern __BYTE__ ___1e6ed0h[];
...
double dRMath_cos(double dval){ return cos(dval); }
...
static void helper55(int n, float * xf, float * yf, double angle){
struct_35e_t * s_35e = (struct_35e_t *)___1e6ed0h;
angle = ((double)s_35e[n].Direction+angle)*A_PI/180.0;
*xf = ((double)s_35e[n].XLocation+12.0*dRMath_sin(angle));
*yf = ((double)s_35e[n].YLocation+12.0*dRMath_cos(angle)*L0_83);
}
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|
Re: Latest DOSBOX : with PPC dynamic recompiler and stuff , right there!
|
Posted on: 2023/2/12 8:39
#80
|
Not too shy to talk
|
@all I am trying to port Wii BigEndian port of Fallout2 game to AmigaOS4. https://github.com/ChrisNonyminus/fallout2-ce/tree/3ds-and-wiiThere is a assembler function called __lwbrx e.g. entriesDataSize = __lwbrx(&entriesDataSize, 0); I saw a reference about his code in this thread. How should I use in gcc code ?
|
Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
|
|
|