Giter Site home page Giter Site logo

Comments (10)

Incrementis avatar Incrementis commented on May 28, 2024

After installation:

  • Both sound sets !_DEMO and !_DEMOf can be found in CHARSND.2DA (see screenshot) only once.

grafik

  • All 17 soundfiles are found only once in the game's sound folder as expected(see screenshot).

grafik

  • The Strref entries are also found in the dialog.tlk as expected.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

After deinstallation:

  • The Strref entries are still in dialog.tlk as expected.
  • The soundfiles are deleted as expected
  • CHARSND.2DA does not contain the sound set entries as expected.
  • The deinstalled sound sets are not visible and selectable in game as expected.

Searching for the same string in dialog.tlk returns results for other soundsets, such as: see screenshot.
grafik
Regarding !_DEMO Soundset e.g. for “Battle Cry 1” no search results were found in dialog.tlk other than the one from the last installation.

This is just a side note and may not be relevant: it seems that strings in "[ ]" brackets are not output to the game console?!

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

More ideas to try:

  • Reducing the number of sound files for !_DEMO
  • Comment out PRETTY_PRINT_2DA in the code
  • Changing the location of the sound files to the WAV folder
  • Check “//WRITE INTO CHARSND.2DA” for inappropriate logic

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024
  • Comment out PRETTY_PRINT_2DA in the code :
    This will only result in the CHARSND.2DA file not being formatted correctly, which will not result in any changes in the game.

  • Reducing the number of sound files for !_DEMO:
    Reducing !_DEMO to just elment ("Battle Cry 1") gives the ability to choose the sound sets in the customization settings, but doesn't fix the doublicate.

  • Changing the location of the sound files to the WAV folder:
    This doesn't work because the sound set cannot be selected in the character customization.

NOTE:
Manually adding the sound files to the lang folder of the game folder results in the same duplication error. Just a reminder: The sound files were copied for the sound sets !_DEMO and !_DEMOF.
This indicates that there is no error in “//WRITE INTO CHARSND.2DA” code section.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

Copying only !_DEMO soundset sound files into the game's lang folder results in (see screenshot):
grafik
This fixes the issue.

Renaming sound file for !_DEMOFf to !_DUMMYf will result in (see screenshot):
grafik
This fixes the issue.

This allows us to narrow down the error to the name of the sound files.

To better understand the error, further name testing is required.

NOTE:
This may not be relevant, but it is interesting how the order of the sound sets changes when more than one sounds set is added.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

The following names do not lead to any problems (see screenshot):
grafik

The following names do not lead to any problems (see screenshot):
grafik

Strangely enough, the following names do not lead to any problems (see screenshot):
grafik
I expected some duplication here due to the addition of !_DEMOF.

NOTE:
Further investigation is needed.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

It seems that the number of sound files will result in duplicates. At least it seems to be a factor. If an item in this list for !_DEMO (see screenshot) is deleted, a duplicate will not be created.
grafik

NOTE:
Further investigation is needed.
So far we know that the name AND the number of sound files are an important factor to isolate the error.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

We start with the following sound files:
grafik
The sum of files is the same as the previous comment, but the postfix of files is the different. The result is that there is no duplication.

Adding gradualy soundfiles with the postfix:
e ▶️ no duplication
f ▶️ not duplication
g ▶️ duplication
deleting g and adding h ▶️ duplication
deleting h and adding i ▶️ duplication
deleting h and adding i ▶️ duplication
deleting i and adding j ▶️ duplication
deleting j and adding k ▶️ duplication
deleting k and adding l ▶️ duplication
deleting l and adding m ▶️ duplication

The result so far is that based on testing, the following postfixes do not result in duplication:
8, 9, a, b, c, d, e

We also now know that the number of sound files is probably not relevant.
Further investigations are needed.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

The next test starts with the following files (see screenshot). This creates duplicates. The new test names contain a maximum of 6 characters without the postfixes.
grafik

Sound files for !_DEMO remain unchanged, while the naming of sound files for !_DEMOF is changed.

!_DEMF ➡️ no duplication
!_DEM ➡️ no duplication
!_DEF ➡️ no duplication
!_DE ➡️ no duplication
!_DF ➡️ no duplication
!_D ➡️ duplication
grafik
This time the duplication affects !_D. The postixes f and b are used for !_D.
Changing the postfix from f to e fixes the duplication. We can assume without testing that the postfixes: 8, 9, a, b, c, d, e do not result in duplicates.

Further investigation is needed.

from ieee-audacity-savefiles-for-player-character-.

Incrementis avatar Incrementis commented on May 28, 2024

Because this error doesn't break the game. This is solved as follows:

  • Recommendation to use at least 4 characters when naming the sound files
  • Recommendation to use max 6 characters for naming sound files

Based on the findings at hand, this will significantly reduce the likelihood of duplicate sound sets.

from ieee-audacity-savefiles-for-player-character-.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.