Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*Geek Talk & Media
Developing a cross platform program, what to use?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="andargor" data-source="post: 1951628" data-attributes="member: 7231"><p>I wholly agree with this approach, and it has been my opinion for a long time that PCGen has not leveraged this. The data is mixed in with scripting which depends on code, so any changes in data have a great probability of breaking backward compatibility, even with recent minor versions.</p><p></p><p>Don't get me wrong, the PCGen people are working hard to make the program stable, and I don't want to seem to disparage that.</p><p></p><p>I've myself taken a stab at this approach, and other people as well. You may want to look at their work for ideas.</p><p></p><p>You may want to take a look at Vascant's effort in <a href="http://www.enworld.org/forums/showthread.php?t=109406" target="_blank">this thread</a>. What he's building is an NPC generator, but there may be ideas you can reuse. I don't know if he makes the source code available, but you can always ask.</p><p></p><p>Frugal has attempted a Java version of a Universal Character Generator (UCG) that implements an engine-data separation approach, and it is very promising. It uses XML as data and for processing directives. His code is available in the PCGen-XML yahoo group, <a href="http://groups.yahoo.com/group/pcgen-xml/" target="_blank">here</a>. You may have to subscribe to the group (free). The code is in the Files section, and is called charactergen-0.0.2.zip. He has a CVS set up <a href="http://www.purplewombat.co.uk/viewcvs/" target="_blank">here</a>. I can give you his email address, just contact me at <a href="mailto:andargor@yahoo.com">andargor@yahoo.com</a>.</p><p></p><p>For myself, I have a small demo of a C++ application using XML to load game system data <a href="http://www.andargor.com/files/panther-demo.zip" target="_blank">here</a>. It just generates a 25th level Barbarian, and it includes the SRD system definitions in XML.</p><p></p><p>It's a combination of C++, LibXML, and SpiderMonkey (Mozilla's Javascript engine). I know I warned you about Javascript, but that's because of the different ways browsers implement it. For offline use, it's great. What I use it for is to allow user scripting using a recognized language. This allows the game system to be defined outside of the C++ engine, and allows users to add custom content or other "modules".</p><p></p><p>I heven't worked on my engine in quite a while, time being at a premium these days. <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":)" title="Smile :)" data-smilie="1"data-shortname=":)" /></p><p></p><p>HTH,</p><p></p><p>Andargor</p><p></p><p>EDIT: I forgot to add that there are commercial products as well that use XML data, like Twin Rose's CSX. But of course, sources are not available.</p></blockquote><p></p>
[QUOTE="andargor, post: 1951628, member: 7231"] I wholly agree with this approach, and it has been my opinion for a long time that PCGen has not leveraged this. The data is mixed in with scripting which depends on code, so any changes in data have a great probability of breaking backward compatibility, even with recent minor versions. Don't get me wrong, the PCGen people are working hard to make the program stable, and I don't want to seem to disparage that. I've myself taken a stab at this approach, and other people as well. You may want to look at their work for ideas. You may want to take a look at Vascant's effort in [url=http://www.enworld.org/forums/showthread.php?t=109406]this thread[/url]. What he's building is an NPC generator, but there may be ideas you can reuse. I don't know if he makes the source code available, but you can always ask. Frugal has attempted a Java version of a Universal Character Generator (UCG) that implements an engine-data separation approach, and it is very promising. It uses XML as data and for processing directives. His code is available in the PCGen-XML yahoo group, [url=http://groups.yahoo.com/group/pcgen-xml/]here[/url]. You may have to subscribe to the group (free). The code is in the Files section, and is called charactergen-0.0.2.zip. He has a CVS set up [url=http://www.purplewombat.co.uk/viewcvs/]here[/url]. I can give you his email address, just contact me at [email]andargor@yahoo.com[/email]. For myself, I have a small demo of a C++ application using XML to load game system data [url=http://www.andargor.com/files/panther-demo.zip]here[/url]. It just generates a 25th level Barbarian, and it includes the SRD system definitions in XML. It's a combination of C++, LibXML, and SpiderMonkey (Mozilla's Javascript engine). I know I warned you about Javascript, but that's because of the different ways browsers implement it. For offline use, it's great. What I use it for is to allow user scripting using a recognized language. This allows the game system to be defined outside of the C++ engine, and allows users to add custom content or other "modules". I heven't worked on my engine in quite a while, time being at a premium these days. :) HTH, Andargor EDIT: I forgot to add that there are commercial products as well that use XML data, like Twin Rose's CSX. But of course, sources are not available. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Developing a cross platform program, what to use?
Top