Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old September 27, 2018, 17:08   #1
Join Date: Aug 2018
Posts: 23
shirish is on a distinguished road
Could we have the .save file in a format which is easy to read.

Currently the .save file is a mess . It is just a data file through which it's impossible to know, what if anything is wrong.

~/games/angband-t4nk074/lib/save$ file Shirish 
Shirish: data
$ cat Shirish 
SaveVNLAdescriptionShirish, dead (Quitting)xxxrng�K�����&�ޕPzd'�̸�"l*IӶ7���,`��0�չ	��H�����k���?�]xݧ5 �5W�Sam�G"
                                                                                                                     &�n�T&��w���}	H����tc��W&��EUD<G�x`�Qл�)���G�A�s�ԲǶ܋d���X�-options���(nonerogue_like_commandsuse_soundshow_damageuse_old_targetpickup_alwayspickup_invenshow_flavorsshow_targethighlight_playerdisturb
Wouldn't it be nice/better to have the save game as a .json or some readable file format. It would make it easier to understand what sort of info. the save file has and you can at least try to understand what went wrong if you want for analysis.

Right now, don't think there's a way to do that unless there is some specialized tool that can read that stuff .

Having it in some sort of json, xml format would make things lot more simpler and also extensible if need be.

There is possibility I may be missing something obvious, if it is, would be glad to be pointed out.

I am willing to test and give feedback if anybody is prepared to do something like that.
shirish is offline   Reply With Quote

json, savegame

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot read file '64x64.png' ZenDragon Vanilla 3 August 27, 2013 17:18
Save File failure CyclopsSlayer v4 2 June 8, 2012 16:43
where is the save file?? mlevin77 Development 3 March 15, 2012 12:40
Save File Debugger Sirridan Development 13 August 25, 2011 14:42
can't load save file. anti-save scumming feature? unbuttered_toast Vanilla 4 May 21, 2010 18:57

All times are GMT +1. The time now is 18:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.