05 December 2023, 00:13 | #3621 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
You can always delete game.prefs if it's messed up.
|
05 December 2023, 00:24 | #3622 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
Updated - The pixel height mode is only applied from the prefs if the display is RTG.
Fixing for AGA modes will require a bit more work due to the need to set up and tear down the copper in the right places. |
05 December 2023, 00:24 | #3623 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
excellent
|
05 December 2023, 00:25 | #3624 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
Let me know if you run into anything else.
|
05 December 2023, 00:28 | #3625 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
will do
|
05 December 2023, 00:28 | #3626 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
I wanted to get back to the PVS branch soon as it has a feature that will help me generate per level data files from the game itself. The lowest hanging fruit here is a map that says which zones must skip sky rendering. The mechanism to tag the zone during gameplay exists already, it just needs the ability to dump the data at the end and reload it as part of the level data set.
|
05 December 2023, 20:15 | #3627 | |
Amiga Games Database
Join Date: Jun 2006
Location: South West England
Posts: 1,309
|
Quote:
|
|
05 December 2023, 20:28 | #3628 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
Quote:
If you right click on the file names on that GitHub page can you not choose to download the link? Those are the binaries. |
|
05 December 2023, 21:06 | #3629 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
well it must be catching cos I went to build the latest from pippers main and got the following
Code:
m68k-amigaos-gcc -m68020-60 -mtune=68030 -noixemul -g -ggdb -O3 -c c/game_preferences.c -o c/game_preferences.o c/game_preferences.c:4:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_Persisted[]; ^~~~~ c/game_preferences.c:5:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_PersistedEnd[]; ^~~~~ c/game_preferences.c:7:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_FullScreen; ^~~~~ c/game_preferences.c:8:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_PixelMode; ^~~~~ c/game_preferences.c:9:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_VertMargin; ^~~~~ c/game_preferences.c:10:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_SimpleLighting; ^~~~~ c/game_preferences.c:11:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_FPSLimit; ^~~~~ c/game_preferences.c:12:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_DynamicLights; ^~~~~ c/game_preferences.c:13:8: error: unknown type name 'UBYTE' extern UBYTE Prefs_RenderQuality; ^~~~~ c/game_preferences.c:15:8: error: unknown type name 'UBYTE' extern UBYTE Vid_FullScreenTemp_b; ^~~~~ c/game_preferences.c:16:8: error: unknown type name 'UBYTE' extern UBYTE Draw_ForceSimpleWalls_b; ^~~~~ c/game_preferences.c:17:8: error: unknown type name 'UBYTE' extern UBYTE Draw_GoodRender_b; ^~~~~ c/game_preferences.c:18:8: error: unknown type name 'UBYTE' extern UBYTE Anim_LightingEnabled_b; ^~~~~ c/game_preferences.c:19:8: error: unknown type name 'LONG' extern LONG Vid_FPSLimit_l; ^~~~ c/game_preferences.c:20:8: error: unknown type name 'WORD' extern WORD Vid_LetterBoxMarginHeight_w; ^~~~ c/game_preferences.c: In function 'Game_ApplyPreferences': c/game_preferences.c:25:35: error: 'Vid_FullScreen_b' undeclared (first use in this function) Vid_FullScreenTemp_b = Vid_FullScreen_b = Prefs_FullScreen; ^~~~~~~~~~~~~~~~ c/game_preferences.c:25:35: note: each undeclared identifier is reported only once for each function it appears in c/game_preferences.c:26:9: error: 'Vid_isRTG' undeclared (first use in this function) if (Vid_isRTG) { ^~~~~~~~~ c/game_preferences.c:27:9: error: 'Vid_DoubleHeight_b' undeclared (first use in this function) Vid_DoubleHeight_b = Prefs_PixelMode; ^~~~~~~~~~~~~~~~~~ c/game_preferences.c: In function 'Game_LoadPreferences': c/game_preferences.c:37:5: error: unknown type name 'BPTR' BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_OLDFILE); ^~~~ c/game_preferences.c:37:24: warning: implicit declaration of function 'Open' [-Wimplicit-function-declaration] BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_OLDFILE); ^~~~ c/game_preferences.c:37:29: error: 'GAME_PREFS_PATH' undeclared (first use in this function) BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_OLDFILE); ^~~~~~~~~~~~~~~ c/game_preferences.c:37:46: error: 'MODE_OLDFILE' undeclared (first use in this function) BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_OLDFILE); ^~~~~~~~~~~~ c/game_preferences.c:38:9: error: 'DOSFALSE' undeclared (first use in this function) if (DOSFALSE == gamePrefsFH) { ^~~~~~~~ c/game_preferences.c:41:5: warning: implicit declaration of function 'Read' [-Wimplicit-function-declaration] Read(gamePrefsFH, Prefs_Persisted, (Prefs_PersistedEnd - Prefs_Persisted)); ^~~~ c/game_preferences.c:42:5: warning: implicit declaration of function 'Close' [-Wimplicit-function-declaration] Close(gamePrefsFH); ^~~~~ c/game_preferences.c: In function 'Game_SavePreferences': c/game_preferences.c:47:5: error: unknown type name 'BPTR' BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_READWRITE); ^~~~ c/game_preferences.c:47:29: error: 'GAME_PREFS_PATH' undeclared (first use in this function) BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_READWRITE); ^~~~~~~~~~~~~~~ c/game_preferences.c:47:46: error: 'MODE_READWRITE' undeclared (first use in this function) BPTR gamePrefsFH = Open(GAME_PREFS_PATH, MODE_READWRITE); ^~~~~~~~~~~~~~ c/game_preferences.c:48:9: error: 'DOSFALSE' undeclared (first use in this function) if (DOSFALSE == gamePrefsFH) { ^~~~~~~~ c/game_preferences.c:52:28: error: 'Vid_FullScreen_b' undeclared (first use in this function) Prefs_FullScreen = Vid_FullScreen_b; ^~~~~~~~~~~~~~~~ c/game_preferences.c:53:28: error: 'Vid_DoubleHeight_b' undeclared (first use in this function) Prefs_PixelMode = Vid_DoubleHeight_b; ^~~~~~~~~~~~~~~~~~ c/game_preferences.c:55:29: error: 'UBYTE' undeclared (first use in this function) Prefs_FPSLimit = (UBYTE)Vid_FPSLimit_l; ^~~~~ c/game_preferences.c:55:35: error: expected ';' before 'Vid_FPSLimit_l' Prefs_FPSLimit = (UBYTE)Vid_FPSLimit_l; ^~~~~~~~~~~~~~ c/game_preferences.c:56:35: error: expected ';' before 'Vid_LetterBoxMarginHeight_w' Prefs_VertMargin = (UBYTE)Vid_LetterBoxMarginHeight_w; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ c/game_preferences.c:60:5: warning: implicit declaration of function 'Write' [-Wimplicit-function-declaration] Write(gamePrefsFH, Prefs_Persisted, (Prefs_PersistedEnd - Prefs_Persisted)); ^~~~~ make: *** [Makefile:61: c/game_preferences.o] Error 1 |
05 December 2023, 21:19 | #3630 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
Quote:
|
|
05 December 2023, 21:24 | #3631 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
Is it failing to find the NDK ?
|
05 December 2023, 21:32 | #3632 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
probably, I did have to shut down the vm so anything could have gone wrong.
I will rebuild the thing (as per pippers post) and try again. |
05 December 2023, 22:46 | #3633 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
I'm about fit to drop and pass out, so good luck.
|
06 December 2023, 08:01 | #3634 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 684
|
I think I fixed it. Some includes were missing leading to undeclared types.
|
06 December 2023, 10:37 | #3635 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
|
06 December 2023, 14:19 | #3636 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
cheers guys, it builds fine now
|
06 December 2023, 17:06 | #3637 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
no issues found other than the menu displaying in double pixel mode when that is selected in game on AGA screens only, RTG menu works fine.
|
06 December 2023, 17:11 | #3638 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,714
|
|
06 December 2023, 17:18 | #3639 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
what you did works, as to say, in AGA screens it always starts in 1x1 pixel mode but, if you select double pixel mode in game and exit to the main menu it (the menu) is displayed in double pixel mode.
don't know if this is a new thing in the C version or has been there from the start. edit: just tried an older version from paraj that I hadn't deleted/copied over and it has the same behaviour so I guess its been that way for a while just went unnoticed Last edited by abu_the_monkey; 06 December 2023 at 17:28. |
09 December 2023, 17:32 | #3640 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
extend level zone limit beyond the original 256 per map
So, had a play with the engine code today and it would seem that the tables for CompactMap, BigMap and CurrentPointBrights in tables.bss are causing the issues with the automap and lighting in zones beyond the original 256 zone limit. Code:
Lvl_CompactMap_vl: ds.l 257 Lvl_BigMap_vl: ds.l 256*10 PointBrightsPtr_l: ds.l 1 CurrentPointBrights_vl: ds.l 2*256*10 Code:
Lvl_CompactMap_vl: ds.l 513 Lvl_BigMap_vl: ds.l 512*10 PointBrightsPtr_l: ds.l 1 CurrentPointBrights_vl: ds.l 2*512*10 other than consuming more memory what else might this affect? |
Currently Active Users Viewing This Thread: 4 (0 members and 4 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alien Breed 3D II The Killing Grounds RTG patch | Angus | Retrogaming General Discussion | 63 | 14 December 2022 15:20 |
Alien Breed & Alien Breed '92: SE - delay when picking up items / opening doors | Ian | support.WinUAE | 16 | 23 December 2016 15:50 |
Alien Breed 3D II : The Killing Grounds code booklet | alexh | support.Games | 19 | 10 October 2012 22:17 |
Alien Breed 3D 2 - The Killing Grounds | Ironclaw | support.Games | 12 | 13 September 2005 13:07 |
HD Version of Alien Breed I ? | Kintaro | request.Old Rare Games | 20 | 31 July 2003 10:48 |
|
|