Chaosforge Forum

  • October 31, 2024, 16:41
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Text Export Mechanism for player.wad and scores.wad  (Read 6282 times)

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Text Export Mechanism for player.wad and scores.wad
« on: March 07, 2011, 17:33 »

Just the ability to export the said data into text form for bragging rights/sharing with folks who don't have DoomRL installed.

It is not necessary to have an import function.  The output can just be text, or with coloured HTML.  Personally, I think that the normal text output would be sufficient.  The format can follow the usual screens that are used to display the information in-game.
Logged
I computed, therefore I was.

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #1 on: March 08, 2011, 01:58 »

Seconded.

Especially for player.wad. I keep browsing the player info alongside the wiki/manuals to decide which badge to go for, and a text export would be useful.

Text format would be sufficient, but color-coded information would have to be displayed differently from the player info screens (achieved/remaining badges for instance are only distinguished by color).
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Tavana

  • Elder Chaos Guard
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 663
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #2 on: March 08, 2011, 02:36 »

...there is actually a better plan than this already in the works. I don't want to spoil too much, but regardless this could be a feature as well.
Logged
Common words do not mean common understanding. Language is mercurial. Meanings are never constant.

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4576
    • View Profile
    • http://chaosforge.org/
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #3 on: March 08, 2011, 06:42 »

If I may have a suggestion for the more technically inclined... rename the file to player.wad.gz and unpack :>
Logged
at your service,
Kornel Kisielewicz

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #4 on: March 08, 2011, 07:51 »

Nice. You wouldn't be inclined to post the XSD for that, Kornel? Or would that be spoiling? ;)

(Unfortunately it doesn't list the unachieved badges, so I can't use it, but thelaptop is bound to get some street cred for casually leaning into the watercooler and whipping out his forty page hardcopy.)
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4576
    • View Profile
    • http://chaosforge.org/
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #5 on: March 08, 2011, 08:37 »

There is no XSD for that :/.
Logged
at your service,
Kornel Kisielewicz

fidsah

  • Greater Elder
  • Lance Corporal
  • *
  • *
  • Offline Offline
  • Posts: 29
  • Lost Soul
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #6 on: March 08, 2011, 09:06 »

Man, this makes the request in the Help Wanted thread for a system to tie these files into the forums pretty simple.
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #7 on: March 08, 2011, 09:31 »

If I may have a suggestion for the more technically inclined... rename the file to player.wad.gz and unpack :>
It looks terrible... and requires parsing the XML.

Why do double work when DoomRL already has the right parser for the stuff?  =P
Logged
I computed, therefore I was.

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #8 on: March 08, 2011, 11:00 »

Man, this makes the request in the Help Wanted thread for a system to tie these files into the forums pretty simple.
I think that's what Tavana was hinting at.
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4576
    • View Profile
    • http://chaosforge.org/
Re: Text Export Mechanism for player.wad and scores.wad
« Reply #9 on: March 08, 2011, 11:27 »

It looks terrible... and requires parsing the XML.

Why do double work when DoomRL already has the right parser for the stuff?  =P
True :). But I thought that XML would be easier for people wanting to parse it themselves. Also, as it stands, it would be hard to parse Lua through a PHP player.wad decoder.
Logged
at your service,
Kornel Kisielewicz
Pages: [1]