Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 1,258 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Print Thread
Rate Thread
Page 1 of 2 1 2
File Packer #403060
06/13/12 21:28
06/13/12 21:28
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey
How can I do game.wrs to game.abc?


A8.40 Professional
Sancak Oyun Ekibi
Re: File Packer [Re: Sorrowful] #403063
06/13/12 23:20
06/13/12 23:20
Joined: Jun 2011
Posts: 75
algeria
T
Tonyjack221 Offline
Junior Member
Tonyjack221  Offline
Junior Member
T

Joined: Jun 2011
Posts: 75
algeria
This is impossible

Re: File Packer [Re: Tonyjack221] #403068
06/14/12 05:04
06/14/12 05:04
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Normally impossible, try finding the pack/unpack virtual calls in olly and rename manually the strings to *.abc from *.wrs. Note that this could damage the engine.

Last edited by Ch40zzC0d3r; 06/14/12 05:04.
Re: File Packer [Re: Ch40zzC0d3r] #403069
06/14/12 05:43
06/14/12 05:43
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,
Perhaps I don't understand what you want to achieve, but I think it is possible to rename a wrs to somewhat else and use add_resource to load it, because the engine won't load it automatically.

Best regards.

Re: File Packer [Re: Sorrowful] #403075
06/14/12 08:05
06/14/12 08:05
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey
I tried but I could not...Can you give an example?


A8.40 Professional
Sancak Oyun Ekibi
Re: File Packer [Re: Sorrowful] #403082
06/14/12 09:08
06/14/12 09:08
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

Copy th following files from 3dgs samples folder in a another one :
- samples.wrs
- knights_on_wheels.c
- skycube+6.dds
- terrain.hmp

Rename samples.wrs to samples.abc tongue

Add the following code in main function after "on_esc=quit":
Code:
add_resource("samples.abc");



You can aloso do (but I think you need to free the buffer when not needed anymore):
Code:
char *buffer = file_load("samples.abc", NULL, NULL);	add_resource(buffer);



Best regards.

Re: File Packer [Re: Sorrowful] #403113
06/14/12 16:14
06/14/12 16:14
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey



A8.40 Professional
Sancak Oyun Ekibi
Re: File Packer [Re: Sorrowful] #403114
06/14/12 17:28
06/14/12 17:28
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
simply press yes grin
the packer wants to pack this file to the resource file (adding itself to itself grin )
simply ignore this message and press yes


Visit my site: www.masterq32.de
Re: File Packer [Re: MasterQ32] #403118
06/14/12 17:40
06/14/12 17:40
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey
not,failed...


A8.40 Professional
Sancak Oyun Ekibi
Re: File Packer [Re: Sorrowful] #403258
06/17/12 07:51
06/17/12 07:51
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
You're loading the add_resource after loading the level-> intenional? Shouldn't add_resource be one of the first things to call in the main function?
I might be wrong...


~"I never let school interfere with my education"~
-Mark Twain
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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