Cube recipe editing in 1.13c

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Cube recipe editing in 1.13c

Post by ouapapaladam » Thu Feb 23, 2017 4:08 pm

Hi !

I'm playing single player 1.13c with plugy and i would like to change some cube recipes(especially rune ones).
I open the d2data.mpq and find no cubemain.txt in it.

Is it normal ?
Can someone explain me where to find and how to edit this file please ?

Thx ;)

User avatar
k0r3l1k
Moderator
Angel
Posts: 631
Joined: Sun Sep 09, 2007 3:11 am
Location: Arizona, Prescott
United States of America

Re: Cube recipe editing in 1.13c

Post by k0r3l1k » Thu Feb 23, 2017 4:42 pm

https://d2mods.info/filecenter/dload.ph ... le_id=1365

These are the files from 1.11, they should be mostly up to date regarding cube stuff, the only updates since then have been mostly to levels.txt monstats.txt and misc.txt.

You should be good to use the cubmain from this zip.
Image

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Thu Feb 23, 2017 4:52 pm

So i should make a new d2data.mpq with those files ?

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Cube recipe editing in 1.13c

Post by devurandom » Thu Feb 23, 2017 9:55 pm

ouapapaladam" wrote:So i should make a new d2data.mpq with those files ?
no because CubeMain.txt is in Patch_D2.mpq. Have a look there.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Fri Feb 24, 2017 6:07 pm

i see .xxx files only in patch_D2.mpq :(

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Fri Feb 24, 2017 6:18 pm

Ah ok nvm i found it it's File00000010.xxx Thx for the help !

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Cube recipe editing in 1.13c

Post by devurandom » Fri Feb 24, 2017 7:45 pm

Grab an mpq "list file" in the keeps file center and it wont display
File00000010.xxx.. anymore, instead it will display CubeMain.txt
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Fri Feb 24, 2017 8:59 pm

it works ! you're so pro man !

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Fri Feb 24, 2017 9:09 pm

Well sorry to abuse tour time ... but i can edit the code but it seems not effective in game.
Atm i have this in cubemain.txt :

2 rune 01 -> rune 02 1 100 2 "r01,qty=2" r02

I want to make a eld from 2 el only instead of 3 as you see but doesn't work in game.

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Cube recipe editing in 1.13c

Post by devurandom » Fri Feb 24, 2017 10:24 pm

The recipe looks fine if you have the values in the right fields.

Did you put a 0 for EOL at the end of line?
Did you run the game with -direct -txt at startup?
Does the old cube recipe for El to Eld still exist above the new one you added?
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

Stevebobwe
Posts: 14
Joined: Mon Jul 30, 2012 5:03 am

Re: Cube recipe editing in 1.13c

Post by Stevebobwe » Mon Feb 27, 2017 8:53 pm

Didn't see anyone else mention it but delete your .bin files in the same folders as your .txt files and don't have it open in excel when you start up the game. I've chased problems for no reason a few times when I forget one of those simple things.

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Sun Mar 05, 2017 1:26 pm

thanks for your answer guyz,

Yes there is a 0 at the end of the line, i didn't add this code i just changed old one and i tried with -direct -txt but still not work

I don't find the bin files you're talkink about :( it's in the .mpq ?

User avatar
SpiKe.
Forum Tech Support
Champion of the Light
Posts: 280
Joined: Thu Jul 28, 2011 5:25 pm
Location: Germany
Germany

Re: Cube recipe editing in 1.13c

Post by SpiKe. » Sun Mar 05, 2017 1:34 pm

The .bin files will be generated next to the .txt files when u run the game in -direct -txt mode.

ouapapaladam
Posts: 8
Joined: Thu Feb 23, 2017 3:59 pm

Re: Cube recipe editing in 1.13c

Post by ouapapaladam » Sun Mar 05, 2017 1:44 pm

Okey i see, when i delete them i have Unhandled Exception : Access violation(c0000005) :(

User avatar
SpiKe.
Forum Tech Support
Champion of the Light
Posts: 280
Joined: Thu Jul 28, 2011 5:25 pm
Location: Germany
Germany

Re: Cube recipe editing in 1.13c

Post by SpiKe. » Sun Mar 05, 2017 5:04 pm

Well, do they get regenerated when u delete them and start the game with -direct -txt? If not, it seems like some of the files u edited is corrupt.

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Cube recipe editing in 1.13c

Post by devurandom » Sun Mar 05, 2017 9:53 pm

ouapapaladam" wrote:Okey i see, when i delete them i have Unhandled Exception : Access violation(c0000005) :(
if the bin file was not generated in InstallPath\data\global\excel\ then how did you setup your "-direct -txt " option?
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

Return to “General Mod Making”