The Forum is up for sale: XeNTaX Forum looking for new owner

Neues Datei-Format angeben.

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
User avatar
xennex
beginner
Posts: 27
Joined: Thu Oct 05, 2006 11:00 pm
Location: Guestrow, Germany

Neues Datei-Format angeben.

Post by xennex »

Ich habe leide keine große Engisch Kenntnisse, aber vieleicht kann mir ja einer helfen wie man ein neues Datei-Format anlegen kann.
Wollte das Spiel Scrapland hinzufügen, aber ich kann die Überschrift "adding new formats" nicht ändern.
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Post by Dinoguy1000 »

Not to be rude, but could you please post in English? (either that, or someone who knows German (at leaast, I think that's what he posted in...) could just 'reach over my head' and handle his request in the same language...)
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
Deniz Oezmen
VIP member
VIP member
Posts: 185
Joined: Mon Aug 28, 2006 2:07 pm
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Deniz Oezmen »

@Dinoguy1000: Translated, his first sentence reads "Unfortunately, I don't have great knowledge of English". ;-)
Seems like he has problems adding a new file format somewhere ...

@Xennex: Könntest Du noch kurz sagen, wo genau Du Schwierigkeiten hast? Versuchst Du ein neues Format ins Wiki einzutragen?
User avatar
xennex
beginner
Posts: 27
Joined: Thu Oct 05, 2006 11:00 pm
Location: Guestrow, Germany

Post by xennex »

Deniz Oezmen wrote:@Dinoguy1000: Translated, his first sentence reads "Unfortunately, I don't have great knowledge of English". ;-)
Seems like he has problems adding a new file format somewhere ...

@Xennex: Könntest Du noch kurz sagen, wo genau Du Schwierigkeiten hast? Versuchst Du ein neues Format ins Wiki einzutragen?
Auf der Seite GRAFs steht das man ein neues Format anlegen oder ein vorhandenes bearbeiten kann.
Ich wollte erst das Spiel eingeben dann die erweiterung.
Das Problem ist nur, dass ich "Adding a Format" nicht bearbeiten kann sondern nur von
== Introduction ==
bis
=== The Last Step ===
vieleicht kann es ja ein anderer übernehmen.

Hier der Code

Spieltitel: Scrapland
Dateierweiterung: *.packed
Formattyp: Archiv

4 Byte - Header(BFPK)
4 Byte - Nullen
4 int32 - Anzahl der Dateien

// Solange wiederholden bis Anzahl der Dateien
4 int32 - Verzeichnisnamenlänge = X1
X1 Byte - Verzeichnisname
4 int32 - Dateigröße
4 int32 - Datei-Offset

// Datei
X Byte - Datei
// Ende
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 680 times
Contact:

Post by Mr.Mouse »

Also, ich probier einmal auf Deutsch zu reden. Ich hoffe das klapt.

Du sollst ein neue page machen, and da das template einfuhren:

Code: Select all

{{GRAFTemplate1|
file_extension=FILE EXTENSION|
format_type=Archive|
endian_order=Little Endian|
date_posted=~~~~~|
format_specifications=None written yet.|
notes=None|
bms_script=Not written yet|
programs=None|
documentation=None|
games=None
}}
Und dann jeder "item" specifizieren, wie so:

Code: Select all

{{GRAFTemplate1|
file_extension=packed|
format_type=Archive|
endian_order=Little Endian|
date_posted=~~~~~|
format_specifications=4 Byte - Header(BFPK)
4 Byte - Nullen
4 int32 - Anzahl der Dateien

// Solange wiederholden bis Anzahl der Dateien
4 int32 - Verzeichnisnamenlänge = X1
X1 Byte - Verzeichnisname
4 int32 - Dateigröße
4 int32 - Datei-Offset

// Datei
X Byte - Datei
// Ende|
notes=None|
bms_script=Not written yet|
programs=None|
documentation=None|
games=Scrapland
}}
Vieleicht das Deniz das besser auf Deutsch kann erklaern. ;)
Deniz Oezmen
VIP member
VIP member
Posts: 185
Joined: Mon Aug 28, 2006 2:07 pm
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Deniz Oezmen »

Ich weiß nicht, ob ih Dich ganz richtig verstanden habe, aber die Seite "Adding a format" soll auch nicht bearbeitet werden.

Ich gehe im folgenden davon aus, daß Du ein Konto auf dem Wiki eingerichtet; ich weiß nicht, ob man sonst alles frei ändern kann:

1. Gehe auf die GRAFs-Seite, auf die Dein Spiel eingetragen werden soll. In Deinem Fall wäre das http://wiki.xentax.com/index.php/GRAFs/S. Diese Seite editierst Du und fügst an alphabetisch passender Stelle einen neuen Link ein. Hier würde sich

Code: Select all

* Scrapland (<b> [[Scrapland PACKED|*.packed]] </b>)
anbieten.

2. Wenn Du diese Änderungen übernommen hast, sollte in der Liste der von Dir hinzugefügte Eintrag als roter Link erscheinen. Wenn Du ihn anklickst, kommst Du zur eigentlichen Bearbeitungsseite. Dort fügst Du zunächst das Template-Gerüst ein:

Code: Select all

{{GRAFTemplate1|
file_extension=FILE EXTENSION|
format_type=Archive|
endian_order=Little Endian|
date_posted=~~~~~|
format_specifications=None written yet.|
notes=None|
bms_script=Not written yet|
programs=None|
documentation=None|
games=None
}}
3. ... und ich sehe gerade, daß Mr.Mouse in der Zwischenzeit die weiteren Details schon beschrieben hat. ;-)

Ich hoffe, das Prozedere ist dadurch etwas klarer geworden -- wenn nicht, einfach nochmal rückfragen. Am Anfang ist "wiki-en" etwas gewöhnungsbedürftig. Ein bißchen basteln zahlt sich aber aus.

@all: Only now did I notice that we have some kind of templates ... which means I entered all recent formats in a malformed manner. Oh well ... later. :|
User avatar
xennex
beginner
Posts: 27
Joined: Thu Oct 05, 2006 11:00 pm
Location: Guestrow, Germany

Post by xennex »

Habe es endlich hinbekommen, die Menü führung war etwas umständlich.
Werde es mit ein bischen Englisch Hinbekommen.
Danke an euch allen

And Mr.Mouse your german is very good ;-)
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Post by Dinoguy1000 »

Deniz Oezmen wrote:@Dinoguy1000: Translated, his first sentence reads "Unfortunately, I don't have great knowledge of English". ;-)
Seems like he has problems adding a new file format somewhere ...
Heh, seems like I need to learn German... :P
@all: Only now did I notice that we have some kind of templates ... which means I entered all recent formats in a malformed manner. Oh well ... later.
Eh... don't worry about it too much, I'm working on a new template anyways, as that one has some issues with section edits (namely taking you to editing the template itself, instead of the GRAF page).

@anyone: I got the (really) general gist of what was discussed here (xennex had a problem posting a new GRAf entry on the WIKI, Mr.Mouse pointed out my template and how to use it, other people said other stuff), but I was wondering if anyone could summarise it for me, so I have a somewhat better idea of what happened? Plz and thx?
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
Deniz Oezmen
VIP member
VIP member
Posts: 185
Joined: Mon Aug 28, 2006 2:07 pm
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Deniz Oezmen »

Dinoguy1000 wrote:Eh... don't worry about it too much, I'm working on a new template anyways
In that case I'll keep myself from rewriting everything. :-)
Dinoguy1000 wrote:I was wondering if anyone could summarise it for me, so I have a somewhat better idea of what happened?
Basically, Xennex misunderstood the directions at the "Adding a format" page a bit: He thought he had to edit that page itself (or the template page, for that matter) rather than the GRAFs page or the actual article page. Mr.Mouse and me pointed this out a bit more clearly.

I can't really tell whether the directions are at fault (regarding first-time Wiki editors) or if this was merely a language problem.


@Xennex: Vielen Dank für Deinen Eintrag. Unterstützung ist immer willkommen. ;-)
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Post by Dinoguy1000 »

Deniz Oezmen wrote:
Dinoguy1000 wrote:I was wondering if anyone could summarise it for me, so I have a somewhat better idea of what happened?
Basically, Xennex misunderstood the directions at the "Adding a format" page a bit: He thought he had to edit that page itself (or the template page, for that matter) rather than the GRAFs page or the actual article page. Mr.Mouse and me pointed this out a bit more clearly.

I can't really tell whether the directions are at fault (regarding first-time Wiki editors) or if this was merely a language problem.
Well, you're free to review and revise them, if you want... I have a horrible problem of being able to quite clearly know what I want to write for tutorials, but when it comes to actually writing them, I just blank. And yet, I've never had that problem with tests in school... :?
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
Deniz Oezmen
VIP member
VIP member
Posts: 185
Joined: Mon Aug 28, 2006 2:07 pm
Has thanked: 1 time
Been thanked: 14 times
Contact:

Post by Deniz Oezmen »

Dinoguy1000 wrote:Well, you're free to review and revise them, if you want... I have a horrible problem of being able to quite clearly know what I want to write for tutorials, but when it comes to actually writing them, I just blank. And yet, I've never had that problem with tests in school... :?
I think the instructions are quite clear and well-written, but maybe you should ask somebody who doesn't already know how to edit this particular wiki.

Explaining something one already knows is a surprisingly hard thing to do. Nevertheless, I think you did a good job with that article!
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Post by Dinoguy1000 »

Thanks, I worked quite hard on getting it to sound right, and I've recently been thinking about a rewrite to incorporate the FAQ section at the right into the main body, as well as introduce some new information. I'd definitely have to agree with writing about what you know being hard!
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
diegoc
n00b
Posts: 14
Joined: Sat Dec 02, 2006 6:22 pm

Hi

Post by diegoc »

Hi
Is possible view and extract the files in the Scrapland game? How?

Thanks in advance
Nukem
ultra-n00b
Posts: 7
Joined: Thu Sep 28, 2006 2:00 pm

Re: Hi

Post by Nukem »

diegoc wrote:Hi
Is possible view and extract the files in the Scrapland game? How?

Thanks in advance

I'd guess you use the BMS script from http://wiki.xentax.com/index.php/Scrapland_PACKED with the program here, but I'm a newbie myself, so that may be wrong... 8)
Post Reply