GithubHelp home page GithubHelp logo

liptoh / ts-se-tool Goto Github PK

View Code? Open in Web Editor NEW
484.0 24.0 76.0 2.73 MB

Truck Simulator Save Editor Tool

License: Apache License 2.0

C# 100.00%
euro-truck-simulator-2 american-truck-simulator save-editor

ts-se-tool's People

Contributors

liptoh avatar titanic4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ts-se-tool's Issues

Error while loading save

Hello !

When I load my save, I've got an Array IndexOutOfRange Exception.
While reading stacktrace, it seems it comes while loading TrailerList.

Here the stacktrace (in french, sorry :D, but main issue is IndexOutOfRange)

errorlog.log
)

And here my save

Savegame.zip

errors managing savefiles

I've downloaded latest TS-SE-tool (v0.2.7.5) then tried to load a save (I wanted to put player into a vanilla truck, because of mods messup).
It didn't opened the savefile, saying was too old (v55). So I decrypted then I cut and pasted the name of my actual truck to an unused truck from the garages.

The game started. Then I saved the game while inside the vanilla truck. I closed the game then reopened TS-SE-Tool.

Opening the savefile I got the SQL error in this picture.

Screenshot (22)

The profile/save gets loaded inside the app and I can edit around. When I go for "SAVE" the app does an error, then does a messup with the save. (inside the game, I can't find any profile's save)

This is the stack trace from errorlog:


TS SE Tool - 0.2.7.5
17/02/2022 00:49:14
Populating Root Profiles failed

TS SE Tool - 0.2.7.5
17/02/2022 00:49:56
The given key was not present in the dictionary.

Stack Trace:
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at TS_SE_Tool.FormMain.WriteSaveFile()
   at TS_SE_Tool.FormMain.buttonWriteSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Value was either too large or too small for a UInt32.

18.08.2021 20:15:40
Value was either too large or too small for a UInt32.

Stack Trace:
at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
at TS_SE_Tool.SaveFileInfoData.Prepare(String[] _FileLines)
at TS_SE_Tool.FormMain.CheckSaveInfoData()
at TS_SE_Tool.FormMain.LoadSaveFile()
at TS_SE_Tool.FormMain.LoadSaveFile_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I am trying to open the save file, having already decrypted it by clicking on the decrypt button.
Help pls.

工具打开后无法使用

打开软件之后,弹出更新检测界面还是正常的,但关闭之后,便无法使用,应用陷入未响应状态,不论点什么都没有。
不知道有没有解决办法

The garage can't buy in EST2 1.44

After you buy a new garage in the program, it doesn't work in the game. Although the map icon is updated, you don't actually have this option. You still have to buy it once in the game
This is the problem I found after the 1.44 update. There are no more problems at present

SII Decrypt Library Outdated

In versión 1.42, Save File Version 56, the encryption change too. Now we can't read the information with actual SII_Decrypt

Cannot edit Steam Cloud Profiles

Hello, when I try to edit a profile synchronized with steam cloud, the program says that I need to disable steam Cloud.
ETS2 Profile Editor issue

Is steam cloud editing temporarily disabled and do I need to convert the profile to a local one?

Thanks in advvance

TS SE updater

Have installed the TSSE 2.5.2 It seems to work and allow me to create loads. However I get the "Cannot check for updates" ....
Any help would be appreciated.
Thank you

The tiniest sin

IMHO the second comment line is wrong :-)

    private void DetectGame()
    {
        try
        {
            //Searching for ETS2
            Process[] ets2proc = Process.GetProcessesByName("eurotrucks2");

            //Searching for **ETS2**
            Process[] atsproc = Process.GetProcessesByName("amtrucks");

Best
pf

[v0.2.7.0] Error whilst saving edited game save

Error: 'The given key was not present in the dictionary.'
Loading save file works correctly. Application crashed and corrupts existing save file when trying to save.

Am updated to the latest version v0.2.7.0 after doing clean re-install from previous version.

errorlog attached.

Error with UpdateUserColorsButtons

Version: 0.2.3.2

After loading local save an error is shown, might be to do with me not having all user colours set?

private void UpdateUserColorsButtons()
{
int padding = 6, width = 23;//, colorcount = 8;
for (int i = 0; i < MainForm.UserColorsList.Count; i++)
{
Button btn = null;
string btnname = "buttonUC" + i.ToString();
if (groupBoxProfileUserColors.Controls.ContainsKey(btnname))
{
btn = groupBoxProfileUserColors.Controls[btnname] as Button;
}
else
{
btn.Name = "buttonUC" + i.ToString();
btn.Text = null;
btn.Location = new Point(6 + (padding + width) * (i), 19);
btn.Size = new Size(width, 23);
btn.FlatStyle = FlatStyle.Flat;
btn.Enabled = false;
btn.Click += new EventHandler(MainForm.SelectColor);
groupBoxProfileUserColors.Controls.Add(btn);
}
if (btn != null)
{
btn.Enabled = true;
if (MainForm.UserColorsList[i].A == 0)
{
btn.Text = "X";
btn.BackColor = Color.FromName("Control");
UserColorsCB[i].Enabled = false;
}
else
{
btn.Text = "";
btn.BackColor = MainForm.UserColorsList[i];
}
}
}
}

Object reference not set to an instance of an object.

Stack Trace:
  at TS_SE_Tool.FormMain.UpdateUserColorsButtons()
  at TS_SE_Tool.FormMain.FillFormProfileControls()
  at TS_SE_Tool.FormMain.PopulateFormControlsk()
  at TS_SE_Tool.FormMain.worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
  at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
  at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

Some cities Chinese translation is not available

image
I tried edit the cities translation txt file. It didn't work.
I post these cities translation under, you can add in.
Ajaccio;阿雅克肖
Bastia;巴斯蒂亚
Bonifacio;博尼法乔
Călărași;克勒拉希
Calvi;卡尔维
Cernavodă;切尔纳沃德
Cluj-Napoca;克卢日-纳波卡
Edirne;埃迪尔内
Hunedoara;胡内多阿拉
İstanbul;伊斯坦布尔
Karlovo;卡尔洛沃
Kozloduy;科兹洛杜伊
L'Île-Rousse;利勒鲁斯
Mangalia;曼加利亚
Pernik;佩尔尼克
Pirdop;皮尔多普
Porto-Vecchio;韦基奥港
Reșița;雷希察
Târgu Mureș;特尔古穆列什
Tekirdağ;泰基尔达
Veliko Tarnovo;大特尔诺沃

Error during Writing save file

Сохранение нормально загружается, расшифровывается и редактируется, а при попытке сохранения программа выдает ошибку
errorlog.log

All of my options are unclickable.

Everything on my screen is greyed out and unusable. I've disabled steam cloud and don't know what I can do to get it working, I just want to remove my £10M debt haha

Error on save load

Value cannot be null.
Parameter name: path1

Stack Trace:
at System.IO.Path.Combine(String path1, String path2)
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinariesFromPrivateFolder(String privateInstall)
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeConnection..ctor(String connectionString)
at TS_SE_Tool.FormMain.LoadSaveFile()
at TS_SE_Tool.FormMain.LoadSaveFile_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Delete Trucks/Trailers

Suggestion: Have the ability to delete trucks/trailers from a save game. This should help in dealing with problematic save files, and other issues in the game.

TS-SE-Tool Ats Not Working

So i recently use this tool for edit my ets2 save data , ets2 save data is working, so i buy ats , so when i tried to edit my ats save data
there is say no profiles found
Screenshot_1
so i tried to fix that with add custom folder so i tried to add my profile folder then it shows this
Screenshot_2
can someone help me or the developer fix this, this is not important cause i can enjoy with ets2

ProMods cities

The new version only show ProMods cities in Source, but not show ProMods cities in Destination.

Error load save

The index and length must point to a position in the string.
Parameter name: length

Stack Trace:
в System.String.Substring(Int32 startIndex, Int32 length)
в TS_SE_Tool.Utilities.NumericUtilities.HexFloatToDecimalFloat(String _hexFloat)
в TS_SE_Tool.SaveFileInfoData.Prepare(String[] _FileLines)
в TS_SE_Tool.FormMain.CheckSaveInfoData()
в TS_SE_Tool.FormMain.LoadSaveFile()
в TS_SE_Tool.FormMain.LoadSaveFile_Click(Object sender, EventArgs e)
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Buy trucks and hire people

It would be good if you can buy trucks and hire people for garages, because from the game it is very tedious to hire and buy trucks for all garages

Issues with translation + level/skills editing doesn't work

The translation file from English to Italian is kind of lackluster. Some translations don't make much sense in context, while there are also some mistakes. I fixed a couple of them in the file (which I'm willing to share in a fork so this issue can be fixed), but I also noticed that some parts of the form don't translate at all regardless of language, namely the "Truck" button and all the Trailer settings buttons. I took a peek into the code, but I'm not a C# developer so I couldn't do much.

Another issue I found out is editing level and skills, which straight up does not work. I tried editing level and skills alone, then adding/removing money to confirm that the save was being edited, but neither attemps worked.

Save File

Error Message "Save File Version 52 Does Not Supported". ETS2/ATS v1.40. TS SaveEditor Tool v0.2.5.3

Linux Support

I am able to open the tool through Wine, but even if I go to select the folder it just asks me to select a different folder. If I choose the root (My Documents\My Games\ATS) it finds it, notices its root, and then adds it, but I cannot load anything. If I choose the Profiles folder for a custom folder, it does nothing (will not add it or let me add it). I get the following error when doing anything else in the application aside from choosing a folder.

2020-07-22_19-47

Any help would be appreciated, and any info you need please let me know.

1.38 update

the game have 1.38 now, can you upgrade the savegame editor to be compatible with the new ver. of the game?

Employee Management

Not sure if I'm missing how to do this in the editor but is it possible? If not, can there be an option under the company tag to hire, fire, and edit drivers?

Custom Job show only 5km

Every time he shows 5km...

// FIXME
//True Distance
int TrueDistance = (int)(int.Parse(distance) * ProgSettingsV.TimeMultiplier);

if (distance == "11111")
{
    TrueDistance = (int)(5 * ProgSettingsV.TimeMultiplier);
    unCertainRouteLength = "*";
}

es

Doesn't recognise new DLC

Program doesn't recognise newly purchased and installed DLC. I have reinstalled the program, regenerated the files, reinstalled the game, deactivated/reactivated my DLCs and no bueno.

Had a very high opinion until this fundamental feature clearly flaws the entire program.

Moving a truck with cargo

When moving a load to a truck through the program, the load rises to one static position for any event and sometimes it is not convenient. For example, you take a load and want to move it towards you in such a way that it is directed exactly parallel to your truck, but it is not (

При перемещении груза к грузовику через программу, груз встает в одно статичное положение при любом событии и иногда это не удобно. К примеру ты берешь груз и хочешь перемести его к себе таким образом, чтобы он был направлен ровно паралельно твоему грузовику, но это не так(

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.