altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Missing convertion of stream.cfg to stream.toml #1702

Open DanielSchuech opened 1 year ago

DanielSchuech commented 1 year ago

Description of the problem

Using --convert-config-format converts correctly the resource.cfg of each resource to resource.toml and also the main field in the resource.toml will be changed to stream.toml but the stream.cfg will not be converted to stream.toml

Structure after converting looks like:

example_resource
├── stream
│   └── ...
├── resource.toml
└── stream.cfg

Reproduction steps

1) Resource with resource.cfg and stream.cfg 2) ./altv-server --convert-config-format 3) have a look into the resource folder

Expected behaviour

As written in the Discord Announcement: This change is current opt-in and all configurations can be converted, by adding --convert-config-format as a command line argument to your server.

This could be really helpfull dependening on the amount of resources a server uses.

Maybe it is on purpose that the stream.cfg is ignored?

Additional context

No response

Operating system

Ubuntu 20.04

Version

13.0-rc4 (rc)

Reproduction tested

litolax commented 1 year ago

Can't reproduce it on the latest rc (13.0-rc4) --convert-config-format converted my stream.cfg to stream.toml image

deluvas1911 commented 1 year ago

Issue is reproducible, but only on linux. Converting the same resource with windows works