Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] are you reading from casc or from extracted files?

[DiscordArchive] are you reading from casc or from extracted files?

[DiscordArchive] are you reading from casc or from extracted files?

rektbyfaith
Administrator
0
04-11-2023, 05:56 PM
#1
Archived author: Tea • Posted: 2023-04-11T17:56:14.048000+00:00
Original source

are you reading from casc or from extracted files?
rektbyfaith
04-11-2023, 05:56 PM #1

Archived author: Tea • Posted: 2023-04-11T17:56:14.048000+00:00
Original source

are you reading from casc or from extracted files?

rektbyfaith
Administrator
0
04-11-2023, 05:57 PM
#2
Archived author: _mrfade_ • Posted: 2023-04-11T17:57:22.518000+00:00
Original source

Casc
rektbyfaith
04-11-2023, 05:57 PM #2

Archived author: _mrfade_ • Posted: 2023-04-11T17:57:22.518000+00:00
Original source

Casc

rektbyfaith
Administrator
0
04-11-2023, 05:57 PM
#3
Archived author: Tea • Posted: 2023-04-11T17:57:43.160000+00:00
Original source

then you are probably not opening the storage properly
rektbyfaith
04-11-2023, 05:57 PM #3

Archived author: Tea • Posted: 2023-04-11T17:57:43.160000+00:00
Original source

then you are probably not opening the storage properly

rektbyfaith
Administrator
0
04-11-2023, 06:01 PM
#4
Archived author: _mrfade_ • Posted: 2023-04-11T18:01:20.802000+00:00
Original source

```csharp
_casc = CASCHandler.OpenLocalStorage(path, "wow"); ///wow_classic
_casc.Root.SetFlags(LocaleFlags.All);
```
rektbyfaith
04-11-2023, 06:01 PM #4

Archived author: _mrfade_ • Posted: 2023-04-11T18:01:20.802000+00:00
Original source

```csharp
_casc = CASCHandler.OpenLocalStorage(path, "wow"); ///wow_classic
_casc.Root.SetFlags(LocaleFlags.All);
```

rektbyfaith
Administrator
0
04-11-2023, 06:02 PM
#5
Archived author: _mrfade_ • Posted: 2023-04-11T18:02:05.652000+00:00
Original source

I'll try with the EnUS locale quick see if that helps.
rektbyfaith
04-11-2023, 06:02 PM #5

Archived author: _mrfade_ • Posted: 2023-04-11T18:02:05.652000+00:00
Original source

I'll try with the EnUS locale quick see if that helps.

rektbyfaith
Administrator
0
04-11-2023, 06:04 PM
#6
Archived author: _mrfade_ • Posted: 2023-04-11T18:04:37.425000+00:00
Original source

So while my string table seems a little healthier, I am still bombing out trying to read the strings as such :

```csharp
[typeof(string)] = (id, data, recordOffset, fieldMeta, columnMeta, palletData, commonData, stringTable, header) => header.Flags.HasFlagExt(DB2Flags.Sparse) ? data.ReadCString() :
stringTable[recordOffset + (data.Position >> 3) + GetFieldValue<int>(id, data, fieldMeta, columnMeta, palletData, commonData)],
```
[Image: Capture.PNG?ex=690c3a75&is=690ae8f5&hm=b...b2ee2f823&]
rektbyfaith
04-11-2023, 06:04 PM #6

Archived author: _mrfade_ • Posted: 2023-04-11T18:04:37.425000+00:00
Original source

So while my string table seems a little healthier, I am still bombing out trying to read the strings as such :

```csharp
[typeof(string)] = (id, data, recordOffset, fieldMeta, columnMeta, palletData, commonData, stringTable, header) => header.Flags.HasFlagExt(DB2Flags.Sparse) ? data.ReadCString() :
stringTable[recordOffset + (data.Position >> 3) + GetFieldValue<int>(id, data, fieldMeta, columnMeta, palletData, commonData)],
```
[Image: Capture.PNG?ex=690c3a75&is=690ae8f5&hm=b...b2ee2f823&]

rektbyfaith
Administrator
0
04-11-2023, 06:20 PM
#7
Archived author: Tea • Posted: 2023-04-11T18:20:25.266000+00:00
Original source

its probably this https://github.com/TrinityCore/TrinityCo...b7e5076c5c
[Embed: Core/DataStores: Fixed string fields containing empty strings in so...]
… 10.0.5 db2 files

Closes #28805
https://github.com/TrinityCore/TrinityCo...b7e5076c5c
rektbyfaith
04-11-2023, 06:20 PM #7

Archived author: Tea • Posted: 2023-04-11T18:20:25.266000+00:00
Original source

its probably this https://github.com/TrinityCore/TrinityCo...b7e5076c5c
[Embed: Core/DataStores: Fixed string fields containing empty strings in so...]
… 10.0.5 db2 files

Closes #28805
https://github.com/TrinityCore/TrinityCo...b7e5076c5c

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)