Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (alibaba, howardR, basik85278), 756 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Editing WMP files with SED? #185931
02/27/08 04:42
02/27/08 04:42
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
It looks like we used to be able to open a WMP file in SED and edit it (when I open a WMP made in 6.x, it appears "normal", with readable text, etc). But when I try it with a good working WMP made in 7.07, all I see is gibberish.

How do we edit WMP files now in SED? Or can we? I'm trying to replace a bunch of model file references with the updated model file name, and I really don't want to have to do this by hand in WED...

Thanks.

Re: Editing WMP files with SED? [Re: Galen] #185932
02/27/08 07:31
02/27/08 07:31
Joined: Feb 2007
Posts: 50
I
iuselitec Offline
Junior Member
iuselitec  Offline
Junior Member
I

Joined: Feb 2007
Posts: 50
it looks like you can't anymore. the format is binary now.

Re: Editing WMP files with SED? [Re: iuselitec] #185933
02/27/08 11:43
02/27/08 11:43
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
In your gamestudio folder there is a folder called "data" in which you find a file called "options.scr". In there, you'll find the variable SAVE_WMPB. This variable indicates, if WED should save in binary or ASCII (text) format. If you turn it on, its binary, otherwise its plain text.

I hope this helps.

Re: Editing WMP files with SED? [Re: HeelX] #185934
02/27/08 13:00
02/27/08 13:00
Joined: Feb 2008
Posts: 4
Nanning,Guangxi,China
harrisyu Offline
Guest
harrisyu  Offline
Guest

Joined: Feb 2008
Posts: 4
Nanning,Guangxi,China
WOW ~ that's a good news for me too!Because I want to make a level exporter in Blender.

Thanks HeelX !

BTW:Is there any document for .wmp file format?
I know: http://www.coniserver.net/wiki/index.php/WMP
but it's uncompelete now.


3D Game Studio commercial 7.07 Tools:Blender/Silo/Bryce/Photoshop/Artrage/Flash I like platform game.
Re: Editing WMP files with SED? [Re: harrisyu] #185935
02/27/08 13:12
02/27/08 13:12
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
You should use the text representation of the WMP for convertion stuff. Better use the wmpIO.dll.

Re: Editing WMP files with SED? [Re: HeelX] #185936
02/27/08 13:21
02/27/08 13:21
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Thank you very much for the info HeelX--I'll try this tonight after work.

One other question: if I change it to ASCII in that data file, open my level again and save it, then make my changes/updates in SED, can I change the WMP file type *back* to binary again after that? Thanks...

Re: Editing WMP files with SED? [Re: Galen] #185937
02/27/08 14:03
02/27/08 14:03
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Yes, of course. WED uses itself the wmpio.dll which supports both ASCII and binary WMP files.

Re: Editing WMP files with SED? [Re: HeelX] #185938
02/27/08 23:48
02/27/08 23:48
Joined: Aug 2005
Posts: 336
Connecticut
Galen Offline OP
Senior Member
Galen  Offline OP
Senior Member

Joined: Aug 2005
Posts: 336
Connecticut
Worked like a charm. Thank you very much!


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1