Search found 88 matches

by Cycl0ne
Tue Apr 02, 2024 9:44 pm
Forum: Other
Topic: Dungeon master space !
Replies: 63
Views: 50262

Re: Dungeon master space !

give me a mail and i can send you all sounds extracted fo the 3.6 dungeonmaster.
by Cycl0ne
Sun Mar 17, 2024 9:36 pm
Forum: Dungeon Strikes Back (DSB)
Topic: DSB Version 0.81
Replies: 8
Views: 6263

Re: DSB Version 0.81

All Oijnk links are defective. seems the site is down. https: errors too.
by Cycl0ne
Wed Mar 13, 2024 12:30 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

You are right. since the text itself is so big, when one at the itemlist[16] one forgets that there is this chapter + i allways interpreted it only for this chapter alone. it was not clear reading: Next Object ID, that this is a complex id and not an index. after extracting more data, i know now why...
by Cycl0ne
Tue Mar 12, 2024 2:22 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

@Christophe One suggestion for the WiKi: It says: Next object ID Maybe enter a paragraph about the Next Object ID. Its not the Id itself (like an Index) but a 16bit value with: Bits 15-14: Cell, Bits 13-10: Type, Bits 9-0: Index so to get to the next item, you need to decrypt this, go to the apropia...
by Cycl0ne
Fri Mar 08, 2024 7:25 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Error in LAY1 Excel spreadsheet
Replies: 14
Views: 2663

Re: Error in LAY1 Excel spreadsheet

hmm i used the modified powershell script from you: Param( [Parameter(Mandatory=$true)][ValidateScript({Test-Path -Path $_ -PathType Container})][String]$InputPath, [Parameter(Mandatory=$true)][ValidateScript({Test-Path -Path $_ -PathType Container})][String]$OutputPath, [Parameter(Mandatory=$true)]...
by Cycl0ne
Fri Mar 08, 2024 8:44 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Error in LAY1 Excel spreadsheet
Replies: 14
Views: 2663

Re: Error in LAY1 Excel spreadsheet

Hmmm, ok, i use the graphics.dat from the Amiga Version. Its also referenced in DEFS.h ok had a look: C437_ZONE_ENDGAME_RESTART_THIS_GAMEis referenced here in Amiga Version (ENDGAME.C): F1011_(C437_ZONE_ENDGAME_RESTART_THIS_GAME, "RESTART THIS GAME", G0446_as_Graphic561_PrimaryMouseInput_R...
by Cycl0ne
Fri Mar 08, 2024 8:26 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

Thanks, I have updated some ZONE names. Here some the names I have used (I think you made a few mistakes): i will recheck. About F0635_, can you describe what the function does in a few words? (I'll have a look into it later, as well as your question about G0435_B_CommandQueueLocked - I don't have ...
by Cycl0ne
Thu Mar 07, 2024 9:27 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Thanks Paul, i apreciate it! :) Found a bug in my code about the random ornaments, not sure if it was it, but at the moment im deep in Lay1 (DM Version 2.x up) and so proud it works like charm, all coordinats comes perfectly out of the system.
by Cycl0ne
Thu Mar 07, 2024 8:17 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

@Christophef Here another Bunch of ZONE #Defines for you: #define C427_ZONE_ENTRANCE_ANIM_VIEWPORT = 427 #define C429_ZONE_ENTRANCE_ANIM_FRAME = 429 #define C430_ZONE_ENTRANCE_DOOR_LEFT = 430 #define C431_ZONE_ENTRANCE_DOOR_RIGHT = 431 #define C432_ZONE_ENTRANCE_MICRODUNGEON = 432
by Cycl0ne
Wed Mar 06, 2024 10:13 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Hi Paul, thanks for the offer. But this nut i have to crack :wink: Otherwise it wouldnt be fun doing so. :lol: But what i accept are tips and wisdom like your int16 :D On the other hand, like you said: it doesnt care, in my javascript dungeonmaster game is used this algo from me, without even knowin...
by Cycl0ne
Wed Mar 06, 2024 12:25 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

but from christophef source they both use the same code. very very strange...

left amige, right pc same position after the start the first turn..

Image
by Cycl0ne
Tue Mar 05, 2024 11:54 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

I implemented it like yours for the c version to see if my python does the same: short F0169_DUNGEON_GetRandomOrnamentIndex(unsigned short P0301_ui_Value1, unsigned short P0302_ui_Value2, unsigned short P0303_i_Modulo) { int d0l = (uint16_t)P0301_ui_Value1 * 31417; short d0w = (d0l & 0xffff); d0...
by Cycl0ne
Tue Mar 05, 2024 9:56 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

lol, the online c compiler is buggy :-D everytime i press compile&run i get different values.. ok back to scratchboard..
by Cycl0ne
Tue Mar 05, 2024 9:09 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

one last question:
// P1 is a function of mapX, mapY
// P2 is a function of level, width, and height

will mapx/y and level width and height the normal C values? (0,0 = first square or 1,1 first square) and same with width: 18,18 or 19,19 for the first level as example?
by Cycl0ne
Tue Mar 05, 2024 8:46 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

ahhh thanks .. thats the clue.. i will dig further into it.. of course.. the first multiplication with *31417 is 0x4cf0fc8 thats hiiiiighhhhhh :-D
by Cycl0ne
Tue Mar 05, 2024 2:50 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Error in LAY1 Excel spreadsheet
Replies: 14
Views: 2663

Re: Error in LAY1 Excel spreadsheet

there is an error in the excel sheet. It stops at 436 in line 90.. but there are 2 more values there.. {"self": 437, "align": 10, "parent": 2, "x": 0, "y": 52, "info": "C437_ZONE_ENDGAME_RESTART_THIS_GAME"}, {"self": 438...
by Cycl0ne
Tue Mar 05, 2024 2:19 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

Here another cleanup for function F0635_ i call it now: CalcAlignment i changed the var names to proper reflect their values. int16_t* F0635_CalcAlignment( unsigned char* P2129_puc_Bitmap , REGISTER BOX_WORD* P2130_pi_XYZ , int16_t P2131_i_ZoneIndex , int16_t* P2132_pi_X , int16_t* P2133_pi_Y ) { RE...
by Cycl0ne
Mon Mar 04, 2024 7:49 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

Oh and while we are at it: #define C2500_ZONE_ITEMS_ON_FLOOR =2500 #define C2548_ZONE_ITEMS_IN_ALCOVES =2548 #define C2900_ZONE_ITEMS_ON_FLOOR_SET_2 =2900 #define C3000_ZONE_DISPLAY_LIGHTNING_BOLTS =3000 #define C3007_ZONE_DISPLAY_CLOUDS =3007 #define C3014_ZONE_DISPLAY_SPECIAL_CLOUDS =3014 #define ...
by Cycl0ne
Mon Mar 04, 2024 7:40 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

No problem, as you see im deep into layer1 8) Just converting it now to a dict structure/file..: {'General': {'start': 1, 'end': 17, 'entity': [ {'self': 1, 'align': 9, 'parent': 0, 'x': 320, 'y': 200}, {'self': 2, 'align': 1, 'parent': 1, 'x': 0, 'y': 0},.... 'Screens': {'start': 400, 'end': 438, '...
by Cycl0ne
Mon Mar 04, 2024 5:31 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Back to the source: ReDMCSB
Replies: 56
Views: 61208

Re: Back to the source: ReDMCSB

Hey @ChristopheF, in Dunview: AL0089_i_ZoneIndex = C1004_ZONE_WALL_ORNAMENT + (G0101_as_CurrentMapWallOrnamentsInfo[AP0116_i_WallOrnamentIndex].CoordinateSet * C15_UNKNOWN) + P0117_i_ViewWallIndex; the C15_UNKNOWN = C15_NUMBER_OF_COORDS_FOR_ONE_SET when its set 1 it takes the 1 multiplies it with th...
by Cycl0ne
Sun Mar 03, 2024 9:26 pm
Forum: Creative Endeavours
Topic: Dungeon Master Construction Kit (working title)
Replies: 25
Views: 13584

Re: Dungeon Master Construction Kit (working title)

hey thanks you too. at the moment its halted since im on a editor like adge. to get the data for the game.. the two maps i just imported from the csbwin editor through the ascii dumb and the data quality is complicated. the map feature is just for debug because i come from C and was now in a more OO...
by Cycl0ne
Sun Mar 03, 2024 3:48 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Hey Spehnx, got the same issue, cut the code for the randomcalc into a small c prg, maybe Christophef can give a clue. I tried it with 19/19 for the size, 18 18 , mapindex 1 and 0 and all variants.. i cant get the correct random number like the game. #include <stdio.h> int G0272_i_CurrentMapIndex = ...
by Cycl0ne
Sat Mar 02, 2024 9:48 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Ok here is a first Version, now with the complete decoded List Items (16):

https://github.com/cycl0ne/DungeonMasterTools/tree/main
by Cycl0ne
Sat Mar 02, 2024 3:25 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Nah i was refering to: (01,04,20) .. But yes, this confirms its random. While the one at: (1,6,44) is placed with the sensor(off).
by Cycl0ne
Sat Mar 02, 2024 12:11 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

@Sphenx: Thanks for the clarification. The code i alread found. there are 2 functions: F0169_DUNGEON_GetRandomOrnamentIndex F0170_DUNGEON_GetRandomOrnamentOrdinal This i already implemented last year in the Javascript Version (a bit different with different results, but overall the same): * is the f...
by Cycl0ne
Fri Mar 01, 2024 10:17 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

ok could you write it a bit more detailed on the page please? Since i read: the value you get you subtract -1. But with the word: Stored values are -1 of real data sounds better. or write: youu need to add +1 to get the real size. and for b) ah ok also here the english text is misleading. it says: F...
by Cycl0ne
Fri Mar 01, 2024 6:37 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Ah thank you so i can ignore.. now while fetching fresh data from dungeon, i got another question: a) http://dmweb.free.fr/?q=node/217 002Ch (44) 224 bytes - Map definitions --- 08h (08) 1 word: Map size Bits 15-11: Map height - 1 Bits 10-6: Map width - 1 it should say +1, since the values in the du...
by Cycl0ne
Wed Feb 28, 2024 11:14 am
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Hey Christophe,

question: Whats means CPSF in the code? i see it all over the place added to functions and vars: _CPSF ?
by Cycl0ne
Tue Feb 27, 2024 11:57 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

Thanks, i found it: while (L2298_ps_LayoutRecord->ParentRecordIndex) { switch (L2306_i_) { default: return NULL; case 0: L2301_ -= ((L2299_ps_LayoutRecord2->Data2 + 1) >> 1); case 5: L2300_i_ -= ((L2299_ps_LayoutRecord2->Data1 + 1) >> 1); break; case 3: L2301_ -= L2299_ps_LayoutRecord2->Data2 - 1; c...
by Cycl0ne
Tue Feb 27, 2024 8:21 pm
Forum: Editors and Tools (DMute, DM Builder, ADGE, etc.)
Topic: Working on a new Data Viewer like ADGE
Replies: 32
Views: 1613

Re: Working on a new Data Viewer like ADGE

i will take a look into it.. not sure where i decompressed it :-D

was this the latest? ReDMCSB_WIP20210206